[Spacewalk-list] Missing Ubuntu Package properties in Spacewalk

Robert Paschedag robert.paschedag at web.de
Mon Jan 21 06:26:49 UTC 2019


Am 20. Januar 2019 22:17:05 MEZ schrieb philippe bidault <philippe.bidault at gmail.com>:
>And you are right, my mistake, I was checking a previouly generated
>Packages.gz. I still need to use your script to have all the headers.
>
>And yes, you are right again, the bug you did create is similar to the
>issue I have described. I guess that a workaroud is to replace the
>"Depends" header.
>

I'm not yet sure, if there is a problem within the spacewalk code or if there might be a problem with that repo but with "debbuild" by Neal Gompa.

@Neal: just from top of my mind.... Maybe the package names within the "Depends" header need to be separated by ', ' (comma + space) and not ',' only?

Robert

>Philippe.
>
>On Sun, 20 Jan 2019 at 21:17, Robert Paschedag
><robert.paschedag at web.de>
>wrote:
>
>> Am 20. Januar 2019 20:48:24 MEZ schrieb Robert Paschedag <
>> robert.paschedag at web.de>:
>> >Am 20. Januar 2019 14:03:03 MEZ schrieb philippe bidault
>> ><philippe.bidault at gmail.com>:
>> >>Good news, I have upgraded to Spacewalk 2.9, and seems that the
>> >headers
>> >>issue did definively go away, no need to manually add them.
>>
>> What?? Now really all headers are added to packages.gz? I do not yet
>> believe this. The database schema would have been tuned a lot to
>support
>> all Debian headers.
>>
>> Can someone else confirm this? I'm currently not that often at the
>> customers site to test this.
>>
>> Robert
>>
>> >>
>> >>However, a new issue did come up. If I add for exemple this repo in
>> >SPW
>> >>:
>> >>
>>
>http://download.opensuse.org/repositories/systemsmanagement:/spacewalk:/2.9:/debclients/xUbuntu_18.04/
>> ,
>> >>I can notice that the "Depends" header is truncated for some
>packages
>> >>wich
>> >>results on a malformed Packages file.
>> >>
>> >>For exemple, original headers of package rhn-setup-gnome :
>> >>
>> >>Package: rhn-setup-gnome
>> >>Version: 2.9.36-1.ubuntu18.04.1
>> >>Architecture: all
>> >>Maintainer: Spacewalk Project <spacewalk-devel at redhat.com>
>> >>Installed-Size: 339*Depends: rhn-client-tools (=
>> >>2.9.36-1.ubuntu18.04.1),python2-rhn-setup (=
>> >>2.9.36-1.ubuntu18.04.1),python2-rhn-setup-gnome (=
>> >>2.9.36-1.ubuntu18.04.1),rhn-setup (=
>>
>>
>>>2.9.36-1.ubuntu18.04.1),libpam0g,libpam-modules,libpam-runtime,libpam-gnome-keyring*
>> >>
>> >>"Depends" header apparearing in the Package file generated by
>> >>Spacewalk:
>> >>
>> >>Package: rhn-setup-gnome
>> >>Version: 2.9.36-1.ubuntu18.04.1
>> >>Architecture: all
>> >>Maintainer: Spacewalk Project <spacewalk-devel at redhat.com>
>> >>Installed-Size: 339
>> >>*Depends: rhn-client-tools  (=
>> >>2.9.36-1.ubuntu18.04.1),python2-rhn-setup )*
>> >>
>> >>Result of this is the following error on the clients registered
>> >against
>> >>this channel :
>> >>
>> >>E: Problem parsing dependency 21
>> >>E: Error occurred while processing rhn-setup-gnome (NewVersion2)
>> >>E: Problem with MergeList
>>
>>
>>>/var/lib/apt/lists/space01-fr_dists_bionic-spacewalk29-client_repodata_binary-amd64_Packages
>> >>E: The package lists or status file could not be parsed or opened.
>> >>
>> >>which is due to the malformed/incomplet "Depends" header.
>> >>
>> >>Will try to dig, but if somebody did have this same issue or more
>> >>information, please let me know.
>> >>
>> >>Regards,
>> >>Philippe.
>> >
>> >Sounds like this , didn't it?
>> >https://bugzilla.redhat.com/show_bug.cgi?id=1658772
>> >
>> >Robert
>> >>
>> >>On Sat, 12 Jan 2019 at 02:12, Paul-Andre Panon <
>> >>paul-andre.panon at avigilon.com> wrote:
>> >>
>> >>> On Thu, 10 Jan 2019 09:47:25 +0100, philippe bidault
>> >>> <philippe.bidault at gmail.com> wrote:
>> >>>
>> >>> >Hi Paul-Andre,
>> >>>
>> >>> >Robert did send me some weeks ago a new script which fetch all
>the
>> >>> missing
>> >>> >headers. I am using it, and for the moment, seems to correctly
>work
>> >>:
>> >>>
>> >>>
>> >>>
>>
>https://www.redhat.com/archives/spacewalk-list/2018-December/msg00015.htm
>> >>> l
>> >>>
>> >>> >Regards,
>> >>> >Philippe.
>> >>>
>> >>> Ah, merci Phillipe and thanks Robert! That should do it going
>> >>forward.
>> >>>
>> >>> _______________________________________________
>> >>> Spacewalk-list mailing list
>> >>> Spacewalk-list at redhat.com
>> >>> https://www.redhat.com/mailman/listinfo/spacewalk-list
>> >>>
>>
>>
>> --
>> sent from my mobile device
>>


-- 
sent from my mobile device




More information about the Spacewalk-list mailing list