Thanks for the Reply!!

As per your suggestion I've removed the content which I've added in the 
respective file, And reloaded the Setting by "apt-get update".

After the changes made, I get a new error.

- -error- -
# apt-get update
----- OUTPUT ---- TRUNCATED ----
Reading package lists... Done
W: The repository 'spacewalk://spacewalk.server.com channels: Release' does not 
have a Release file.
N: Data from such a repository can't be authenticated and is therefore 
potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration 
details.

root@ubuntu:~# rhn-channel -l
ubuntu-xenial-main
ubuntu-xenial-multiverse
ubuntu-xenial-restricted
ubuntu-xenial-universe
root@ubuntu:~#

Thank You,
Saravanan Arumugam
Unix/Linux Architect

-----Original Message-----
From: Robert Paschedag [mailto:[email protected]]
Sent: 22 November 2017 09:31 PM
To: [email protected]; Arumugam, Saravanan(Aswath) 
<[email protected]>; spacewalk-list 
([email protected]) <[email protected]>
Subject: Re: [Spacewalk-list] Issue after registering Ubuntu to spacewalk - In 
apt-get update

Am 22. November 2017 14:46:29 MEZ schrieb "Arumugam, Saravanan(Aswath)" 
<[email protected]>:
>Hello,
>
>I've setup Spacewalk server successfully and already sync'd Ubuntu
>16.04 channels.
>
>After that I've built a test Ubuntu Desktop and registered to spacewalk
>successfully.
>
>After Registering - I've added spacewalk Channel details under
>"/etc/apt/sources.list" and "/etc/apt/sources.list.d/spacewalk.list".
>with the following content.
>
>deb spacewalk://Spacewalk.server.com channels: main
>ubuntu-xenial-universe ubuntu-xenial-multiverse
>ubuntu-xenial-restricted
>
>I've attached the Repo Details along "repo_details.txt"
>
>After all the successful operation when I run "apt-get update" I get
>the following error
>
>--error-
>Reading package lists... Done
>W: The repository 'spacewalk://Spacewalk.server.com channels: Release'
>does not have a Release file.
>N: Data from such a repository can't be authenticated and is therefore
>potentially dangerous to use.
>N: See apt-secure(8) manpage for repository creation and user
>configuration details.
>E: Method gave invalid 400 URI Failure message: IncompleteRead:
>IncompleteRead(0 bytes read)
>E: Method gave invalid 400 URI Failure message: IncompleteRead:
>IncompleteRead(0 bytes read)
>E: Method gave invalid 400 URI Failure message: IncompleteRead:
>IncompleteRead(0 bytes read)
>E: Method gave invalid 400 URI Failure message: IncompleteRead:
>IncompleteRead(0 bytes read)
>E: Method gave invalid 400 URI Failure message: IncompleteRead:
>IncompleteRead(0 bytes read)
>E: Method gave invalid 400 URI Failure message: IncompleteRead:
>IncompleteRead(0 bytes read)
>E: Method gave invalid 400 URI Failure message: IncompleteRead:
>IncompleteRead(0 bytes read)
>E: Method gave invalid 400 URI Failure message: IncompleteRead:
>IncompleteRead(0 bytes read)
>root@ubuntu:/etc/apt#
>
>
>Thank You,
>Saravanan Arumugam
>
>________________________________
>
>Confidentiality Notice: This message is private and may contain
>confidential and proprietary information. If you have received this
>message in error, please notify us and remove it from your system and
>note that you must not copy, distribute or take any action in reliance
>on it. Any unauthorized use or disclosure of the contents of this
>message is not permitted and may be unlawful.

Don't add the repos manually into the spacewalk.list file! It gets overwritten 
every time "apt-get update" runs.

If the registration was successful and "rhn-channel -l" returns your subscribed 
channels, run "apt-get update" twice!!!

The first will update the spacewalk.list file, the second will actually 
download repo metadata.

Robert
________________________________


Confidentiality Notice: This message is private and may contain confidential 
and proprietary information. If you have received this message in error, please 
notify us and remove it from your system and note that you must not copy, 
distribute or take any action in reliance on it. Any unauthorized use or 
disclosure of the contents of this message is not permitted and may be unlawful.

_______________________________________________
Spacewalk-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/spacewalk-list

Reply via email to