[Spacewalk-list] help with ubuntu16 client and spacewalk2.9 server

Nicole Beck nskyrca at syr.edu
Tue Aug 27 19:26:27 UTC 2019


Hi Robert,

Here are the pertinent lines for "apt-get --simulate upgrade".

root at beaker:/etc/apt/sources.list.d# apt-get --simulate upgrade  python-wadllib
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following package was automatically installed and is no longer required:
  libsigsegv2
Use 'apt autoremove' to remove it.
The following packages have been kept back:
  libdrm2 libparse-debianchangelog-perl libpython-stdlib linux-image-virtual
  lsb-release open-vm-tools python python-minimal python3 ubuntu-minimal
The following packages will be upgraded:
...
  python-wadllib python2.7 python2.7-minimal python3-apparmor python3-apport
...
Inst python-wadllib [1.3.2-3] (1.3.2-3ubuntu0.16.04.1 Ubuntu:16.04/ubuntu16-xenial-updates [all])
...
Conf python-wadllib (1.3.2-3ubuntu0.16.04.1 Ubuntu:16.04/ubuntu16-xenial-updates [all])


I have everything commented out of /etc/apt/sources.list so it is getting the packages from /etc/apt/sources.list.d/spacewalk.list.  

I'm not sure if this is helpful or not, but " apt list --upgradable|wc" is 496, but in spacewalk, Systems - Software - Packages - Upgrade shows 247.

Thanks!
Nicole

-----Original Message-----
From: spacewalk-list-bounces at redhat.com <spacewalk-list-bounces at redhat.com> On Behalf Of Robert Paschedag
Sent: Tuesday, August 27, 2019 2:43 PM
To: spacewalk-list at redhat.com
Subject: Re: [Spacewalk-list] help with ubuntu16 client and spacewalk2.9 server

Can you check from the client with "apt-get", if the package "python-wadllib" is really an upgrade candidate?

Might be an error, that spacewalk "thinks" it is an update for the server but it isn't.

Robert

⁣sent from my mobile device​


-------- Originale Nachricht --------
Von: Nicole Beck <nskyrca at syr.edu>
Gesendet: Tue Aug 27 19:13:51 GMT+02:00 2019
An: "'spacewalk-list at redhat.com'" <spacewalk-list at redhat.com>
Betreff: [Spacewalk-list] help with ubuntu16 client and spacewalk2.9 server

Hello,
I'm trying to get an Ubuntu 16 xenial client setup to do updates from a spacewalk 2.9 server installed on CentOS7.  I am able to register the client, install and remove, or update a single package thru the spacewalk web interface. But when I try to update all of the packages on (choose system - Software - Packages tab - Upgrade tab - choose Select All - Upgrade packages - confirm), then run "rhn_check -vvv" on the client, it fails with:

...
Apt-Spacewalk: Updating sources.list
D: Failed to update package['python-wadllib', '1.3.2', '3ubuntu0.16.04.1', '', 'all-deb']
D: Sending back response(1, 'update failed', {})
D: do_call packages.checkNeedUpdate('rhnsd=1',){}
D: Called refresh_list
Updating package profile
D: rpcServer: Calling XMLRPC registration.welcome_message
D: rpcServer: Calling XMLRPC registration.update_packages
D: local action status: (0, 'package list refreshed', {})
D: rpcServer: Calling XMLRPC registration.welcome_message

I could use the web interface to update the single package that it says it is failing on.

I used the steps listed in https://www.redhat.com/archives/spacewalk-list/2019-January/msg00006.html to get this setup. I installed the 2.8 spacewalk client referenced in the thread, and I signed the repos per the documentation at http://www.devops-blog.net/spacewalk/gpg-signing-apt-repository-in-spacewalk. I checked, and I think the necessary patches referenced in that document are already the client and server. I used spacewalks spacewalk-repo-sync command to sync the Ubuntu repositories. However, I did not run the script to setup multiarch headers that is referenced in https://www.redhat.com/archives/spacewalk-list/2018-September/msg00072.html. Is that still needed? The documentation for Ubuntu and spacewalk isn't that great, some is for older versions of spacewalk, so I'm piecing things together and I'm not sure what is still needed and what is not, of if I installed things correctly.

Any suggestions are appreciated.

Thanks!
Nicole


------------------------------------------------------------------------

_______________________________________________
Spacewalk-list mailing list
Spacewalk-list at redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-list

_______________________________________________
Spacewalk-list mailing list
Spacewalk-list at redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-list




More information about the Spacewalk-list mailing list