[Spacewalk-list] Merging git pull request 500 with CENTOS spacewalk installation via yum

Rene Loef (CS Net) r.loef at corp.csnet.nl
Tue Apr 11 13:14:49 UTC 2017


I managed to download the git repo for branch 2.5 and compile the rhn.jar file in that one. (with the modifications from the git pull 500)
I placed the rhn.jar file in /usr/share/rhn/lib/rhn.jar
md5sum is 7bcfa90121bf9cf9dc86d13548b41995

I recreated the channel and repushed the deb file;
rhnpush -c debian-8-testing -u *****  -p ***** /tmp/samba-libs_4.2.14+dfsg-0+deb8u5_amd64.deb -v
Connecting to https://localhost/APP
Package /tmp/samba-libs_4.2.14+dfsg-0+deb8u5_amd64.deb Not Found on RHN Server -- Uploading
Uploading package /tmp/samba-libs_4.2.14+dfsg-0+deb8u5_amd64.deb
Using POST request

After that I’m able to find the files;
/var/satellite/redhat/1/bbf/samba-libs
/var/satellite/redhat/1/bbf/samba-libs/2:4.2.14+dfsg-0+deb8u5
/var/satellite/redhat/1/bbf/samba-libs/2:4.2.14+dfsg-0+deb8u5/amd64-deb
/var/satellite/redhat/1/bbf/samba-libs/2:4.2.14+dfsg-0+deb8u5/amd64-deb/bbf51f341c08925de1c0eb4c0f40118ab5a5ae452426c01ef0ccb5f77827b612
/var/satellite/redhat/1/bbf/samba-libs/2:4.2.14+dfsg-0+deb8u5/amd64-deb/bbf51f341c08925de1c0eb4c0f40118ab5a5ae452426c01ef0ccb5f77827b612/samba-libs-2:4.2.14+dfsg-0+deb8u5.amd64-deb.deb

But I’m unable to ‘see’ it as a possible update for my test server (on which I’m certain he needs it as an update).
I also can’t install the package since it isn’t shown there..

I do however see it as a package in the channel.. (but I already was able to see it before these changes).

I noticed that a lot of packages which are installed on the server are not clickable and a few are (for the debian based server, the CentOS host itself has lots of clickable packages).
For example, the package name apache2-2.4.10-10+deb8u8 is clickable, but the package adduser-3.113+nmu3-0 is not.

René

From: spacewalk-list-bounces at redhat.com [mailto:spacewalk-list-bounces at redhat.com] On Behalf Of Rene Loef (CS Net)
Sent: donderdag 6 april 2017 11:07
To: 'Mark Hlawatschek' <hlawatschek at atix.de>; 'spacewalk-list at redhat.com' <spacewalk-list at redhat.com>
Subject: Re: [Spacewalk-list] Merging git pull request 500 with CENTOS spacewalk installation via yum

Hi,

I’ve installed the rpm files, but after re-adding the channel and importing the files, they still don’t show up.
I also noticed that the rhn.jar file didn’t change (md5sum didn’t change after the installation), so I might have done something wrong?

I’ve now deleted the channel and am only importing one .deb file so I can react a bit faster..
(file I’m currently importing as a test is samba-libs_4.2.14+dfsg-0+deb8u5_amd64.deb)

René

From: Mark Hlawatschek [mailto:hlawatschek at atix.de]
Sent: woensdag 5 april 2017 16:55
To: spacewalk-list at redhat.com<mailto:spacewalk-list at redhat.com>
Cc: Rene Loef (CS Net) <r.loef at corp.csnet.nl<mailto:r.loef at corp.csnet.nl>>
Subject: Re: [Spacewalk-list] Merging git pull request 500 with CENTOS spacewalk installation via yum

Hi Rene,

you need to patch the file java/code/src/com/redhat/rhn/taskomatic/task/repomd/DebPackageWriter.java inside the spacewalk source code, rebuild rhn.jar and place the jar file to correct tomcat directory.
After that you need to completely delete and rebuild your debian channel.

To make things easier I’ll send you the required src.rpm …

Regards,

Mark

Am 05.04.2017 um 10:05 schrieb Rene Loef (CS Net) <r.loef at corp.csnet.nl<mailto:r.loef at corp.csnet.nl>>:

Hi,

I’m trying to get a fresh installation of spacewalk working with debian clients. I had most of the packages imported successfully, but am not seeing all packages as updateable in spacewalk.
I came across git pull request 500 for spacewalk, which seems to describe my problem..

I’m now trying to merge these changes and for most of the files this is not a problem. I’m only having trouble locating the last file that needs to be changes, e.g. ‘DebPackageWriter.java<https://github.com/spacewalkproject/spacewalk/pull/444/files#diff-f2fd3572f9a35f9af096f5e7e6295734>’
I’m unable to locate this file on my spacewalk server, so I’m at a standstill on how to go about changing that one..

Am I doing it all wrong, or am I almost there?
A bit of help would be much appreciated.

Cheers,
René
_______________________________________________
Spacewalk-list mailing list
Spacewalk-list at redhat.com<mailto:Spacewalk-list at redhat.com>
https://www.redhat.com/mailman/listinfo/spacewalk-list


--
Mark Hlawatschek


ATIX AG
https://www.atix.de




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20170411/fd73e997/attachment.htm>


More information about the Spacewalk-list mailing list