[Spacewalk-list] strange behavior with SW 2.7 and Debian 8 Clients

Andrei Popenta andrei.popenta at visma.com
Thu Aug 2 13:58:07 UTC 2018


Hi Thomas,

I think this is because of the multi-arch header that's missing for some
packages.
You can find more info here:
https://www.redhat.com/archives/spacewalk-list/2018-March/msg00072.html
https://github.com/rpasche/spacewalk-debian-sync/tree/add-multiarch-header



On Thu, 2 Aug 2018 at 13:31, Thomas Müller <4thomasmueller at gmail.com> wrote:

> Hi @all,
>
> we've set up a spacewalk server 2.7 and registered debian8, debian8 and
> oracle linux systems to it.
> The oracle and debian9 systems work like a charm with spacewalk, but the
> debian8 systems removes all rhn- and spacewalk tools after installing a
> package.
>
> Some investigations shows any unresolved dependencies (python:any) (??)
> But - if we change the /etc/apt/sources.list to let the system look at the
> original debian repositories all works as expected.
>
> sources.list spacewalk only:
>
> # Debian 8 (Jessie)
> #
> # wird durch Spacewalk verwaltet
> #
> # deb http://ftp.de.debian.org/debian/ jessie main
> # deb-src http://ftp.de.debian.org/debian/ jessie main
>
> # deb http://security.debian.org/ jessie/updates main contrib
> # deb-src http://security.debian.org/ jessie/updates main contrib
>
> # jessie-updates, previously known as 'volatile'
> # deb http://ftp.de.debian.org/debian/ jessie-updates main contrib
> # deb-src http://ftp.de.debian.org/debian/ jessie-updates main contrib
>
> spacewalk.list:
>
> deb [trusted=yes] spacewalk://it-srv-space01.nbintern.net debian8 repodata
> deb [trusted=yes] spacewalk://it-srv-space01.nbintern.net
> debian8-main-security repodata
> deb [trusted=yes] spacewalk://it-srv-space01.nbintern.net
> debian8-main-update repodata
> deb [trusted=yes] spacewalk://it-srv-space01.nbintern.net debian8-contrib
> repodata
> deb [trusted=yes] spacewalk://it-srv-space01.nbintern.net
> debian8-contrib-security repodata
> deb [trusted=yes] spacewalk://it-srv-space01.nbintern.net
> debian8-contrib-update repodata
> deb [trusted=yes] spacewalk://it-srv-space01.nbintern.net debian8-nonfree
> repodata
> deb [trusted=yes] spacewalk://it-srv-space01.nbintern.net
> debian8-nonfree-security repodata
> deb [trusted=yes] spacewalk://it-srv-space01.nbintern.net
> debian8-nonfree-update repodata
> deb [trusted=yes] spacewalk://it-srv-space01.nbintern.net debian8-main
> repodata
>
> apt install atop:
>
> Paketlisten werden gelesen... Fertig
> Abhängigkeitsbaum wird aufgebaut.
> Statusinformationen werden eingelesen.... Fertig
> atop ist schon die neueste Version.
> Probieren Sie »apt-get -f install«, um dies zu korrigieren:
> Die folgenden Pakete haben unerfüllte Abhängigkeiten:
>  apt-transport-spacewalk : Hängt ab von: python:any (>= 2.6.6-7~) ist aber
> nicht installierbar
>  python-cffi : Hängt ab von: python:any (>= 2.7.5-5~) ist aber nicht
> installierbar
>  python-cryptography : Hängt ab von: python:any (>= 2.7.5-5~) ist aber
> nicht installierbar
>  python-openssl : Hängt ab von: python:any (>= 2.7.5-5~) ist aber nicht
> installierbar
>                   Hängt ab von: python:any (< 2.8) ist aber nicht
> installierbar
>  python-pkg-resources : Hängt ab von: python:any (>= 2.7) ist aber nicht
> installierbar
>                         Hängt ab von: python:any (< 2.8) ist aber nicht
> installierbar
>  python-pycparser : Hängt ab von: python:any (>= 2.7.5-5~) ist aber nicht
> installierbar
>                     Hängt ab von: python:any (< 2.8) ist aber nicht
> installierbar
>  python-six : Hängt ab von: python:any (>= 2.7.5-5~) ist aber nicht
> installierbar
>               Hängt ab von: python:any (< 2.8) ist aber nicht installierbar
>  rhn-client-tools : Hängt ab von: python:any ist aber nicht installierbar
>                     Empfiehlt: apt-spacewalk ist aber nicht installierbar
> E: Unerfüllte Abhängigkeiten. Versuchen Sie »apt-get -f install« ohne
> Angabe eines Pakets (oder geben Sie eine Lösung an).
>
> apt install -f:
>
> Paketlisten werden gelesen... Fertig
> Abhängigkeitsbaum wird aufgebaut.
> Statusinformationen werden eingelesen.... Fertig
> Abhängigkeiten werden korrigiert ... Fertig
> Das folgende Paket wurde automatisch installiert und wird nicht mehr
> benötigt:
>   python-ply
> Verwenden Sie »apt-get autoremove«, um es zu entfernen.
> Die folgenden Pakete werden ENTFERNT:
>   apt-transport-spacewalk python-cffi python-cryptography python-openssl
> python-pkg-resources python-pycparser python-rhn python-six
>   rhn-client-tools rhncfg rhnsd
> 0 aktualisiert, 0 neu installiert, 11 zu entfernen und 1 nicht
> aktualisiert.
> Nach dieser Operation werden 6.971 kB Plattenplatz freigegeben.
> Möchten Sie fortfahren? [J/n]
>
> As stated, if the souces.list is
>
> # Debian 8 (Jessie)
> #
> # wird durch Spacewalk verwaltet
> #
> deb http://ftp.de.debian.org/debian/ jessie main
> # deb-src http://ftp.de.debian.org/debian/ jessie main
>
> deb http://security.debian.org/ jessie/updates main contrib
> # deb-src http://security.debian.org/ jessie/updates main contrib
>
> # jessie-updates, previously known as 'volatile'
> deb http://ftp.de.debian.org/debian/ jessie-updates main contrib
> # deb-src http://ftp.de.debian.org/debian/ jessie-updates main contrib
>
> no issue....
>
>
> --
> Mit freundlichen Grüßen
> Thomas Müller
> _______________________________________________
> Spacewalk-list mailing list
> Spacewalk-list at redhat.com
> https://www.redhat.com/mailman/listinfo/spacewalk-list
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20180802/6de1d23a/attachment.htm>


More information about the Spacewalk-list mailing list