[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [Spacewalk-list] Issue after registering Ubuntu to spacewalk - In apt-get update



Am 22. November 2017 21:13:55 MEZ schrieb Robert Paschedag <robert paschedag web de>:
>Am 22. November 2017 17:19:14 MEZ schrieb "Arumugam, Saravanan(Aswath)"
><Saravanan Arumugam astrazeneca com>:
>>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:robert paschedag web de]
>>Sent: 22 November 2017 09:31 PM
>>To: spacewalk-list redhat com; Arumugam, Saravanan(Aswath)
>><Saravanan Arumugam astrazeneca com>; spacewalk-list
>>(spacewalk-list redhat com) <spacewalk-list redhat com>
>>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)"
>><Saravanan Arumugam astrazeneca com>:
>>>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.
>
>Yes. But this warning is - for now - the normal case. You will have to
>patch your system and gpg sign your repos. See @phils blog here at
>http://www.devops-blog.net/spacewalk/gpg-signing-apt-repository-in-spacewalk
>
>Robert
>
>_______________________________________________
>Spacewalk-list mailing list
>Spacewalk-list redhat com
>https://www.redhat.com/mailman/listinfo/spacewalk-list

You have to set the "allow_unauthenticated" option in apt or patch SW as I wrote in another answer.

Robert


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]