Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
glibc Update 2.33-r1 nach 2.33-r2
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
alexander_ro
Guru
Guru


Joined: 22 Nov 2014
Posts: 427

PostPosted: Fri Jul 16, 2021 8:54 am    Post subject: glibc Update 2.33-r1 nach 2.33-r2 Reply with quote

Hallo ... :)

Das sind zwei verschiedene System aber das gleiche Problem

Code:

emerge --ask --update --deep --with-bdeps=y --newuse @world

 * IMPORTANT: 29 news items need reading for repository 'gentoo'.
 * Use eselect news read to view new items.


These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild     U  ] dev-perl/Net-LibIDN-0.120.0-r3 [0.120.0-r2] USE="-test%"
[ebuild     U  ] dev-perl/Net-LibIDN2-1.0.0-r2 [1.0.0-r1]
[ebuild     U ~] dev-perl/Net-Server-2.10.0 [2.9.0] USE="-test%"
[ebuild     U ~] dev-perl/Net-RBLClient-0.500.0-r3 [0.500.0-r2] USE="-test%"

WARNING: One or more updates/rebuilds have been skipped due to a dependency conflict:

sys-libs/glibc:2.2

  (sys-libs/glibc-2.33-r2:2.2/2.2::gentoo, ebuild scheduled for merge) USE="multiarch ssp (static-libs) (-audit) -caps (-cet) -compile-locales (-crypt) -custom-cflags -doc -gd -headers-only (-multilib) -multilib-bootstrap -nscd -profile (-selinux) (-static-pie) -suid -systemtap -test (-vanilla)" conflicts with
    sys-libs/glibc[crypt(+),static-libs(+)] required by (virtual/libcrypt-1-r1:0/1::gentoo, installed) USE="static-libs"

Hier will er die neue Version 2.33-r2 installieren. Die libcrypt soll ja nicht mehr verwendet werden. Ich habe die dann auf einem Testsystem glibc und libxcrypt von Hand installiert.

Code:

emerge sys-libs/libxcrypt =sys-libs/glibc-2.33-r2


Mache ich jetzt auf dem Testsystem ein Update will er wieder die alte glibc mit libcrypt installieren:
Code:

emerge --ask --update --deep --with-bdeps=y --newuse @world

 * IMPORTANT: 9 news items need reading for repository 'gentoo'.
 * Use eselect news read to view new items.


These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild     UD ] sys-libs/glibc-2.33-r1 [2.33-r2] USE="(crypt*)"
[ebuild  N     ] virtual/libcrypt-1-r1  USE="static-libs"


Warum will er dann wieder die alte Version installieren?

Grüße
Alexander
Back to top
View user's profile Send private message
Josef.95
Advocate
Advocate


Joined: 03 Sep 2007
Posts: 4693
Location: Germany

PostPosted: Fri Jul 16, 2021 10:57 am    Post subject: Reply with quote

Hi,
glibc[-crypt] braucht >=virtual/libcrypt-2
virtual/libcrypt-1 ist inkompatibel.

Schau dazu am besten auch mal in der News --> https://www.gentoo.org/support/news-items/2021-06-30-libxcrypt-migration.html da ist recht gut beschrieben was es alles für die libxcrypt Migration braucht.

Wenn portage das nicht gleich so schluckt, dann hilft es mitunter (so von portage auch meist selbst vorgeschlagen) virtual/libcrypt-1 hart zu maskieren -->
Code:
echo "virtual/libcrypt:0/1" >> /etc/portage/package.mask
Damit löst portage die deps von >=virtual/libcrypt-2 dann meist besser/leichter auf.
Back to top
View user's profile Send private message
alexander_ro
Guru
Guru


Joined: 22 Nov 2014
Posts: 427

PostPosted: Fri Jul 16, 2021 11:36 am    Post subject: Reply with quote

Vielleicht verstehe ich da den Englischen Text falsch ich hatte die News auf meinem Rechner schon gelesen.

Die libcrypt2 braucht man wenn man nicht auf die neue glibc Updaten will. Die libxcrypt man beachte das (x) im Namen braucht man mit der neuen.
Back to top
View user's profile Send private message
Josef.95
Advocate
Advocate


Joined: 03 Sep 2007
Posts: 4693
Location: Germany

PostPosted: Fri Jul 16, 2021 11:46 am    Post subject: glibc Update 2.33-r1 nach 2.33-r2 Reply with quote

Ah ok sorry. Wenn jemand mit
Code:
 * IMPORTANT: 29 news items need reading for repository 'gentoo'.
 * Use eselect news read to view new items.
im Forum nachfragt, dann gehe ich meist davon aus das die News nicht gelesen wurden.
Back to top
View user's profile Send private message
alexander_ro
Guru
Guru


Joined: 22 Nov 2014
Posts: 427

PostPosted: Fri Jul 16, 2021 11:53 am    Post subject: Reply with quote

Kein Problem kannst Du ja nicht wissen.

Ich habe das Problem jetzt entdeckt. Da war vor kurzem ein glibc Sicherheitsproblem wo als Lösung die glibc2.33-r1 zu installieren empfohlen wurde. Das habe ich so gemacht:

Code:

# glibc wegen Bug: GLSA 202107-07
>=sys-libs/glibc-2.33-r1 ~arm


Jetzt ist diese glibc ja als Stabile Version markiert. Wenn ich den Eintrag oben entferne will er das glibc Update noch gar nicht machen. Sorry ich hatte das vergessen ... :(
Back to top
View user's profile Send private message
Josef.95
Advocate
Advocate


Joined: 03 Sep 2007
Posts: 4693
Location: Germany

PostPosted: Fri Jul 16, 2021 11:58 am    Post subject: Reply with quote

Ah ok, ich hatte mich schon gewundert warum man auf einem stable System mit ~arch testing glibc herum experimentiert :)
Back to top
View user's profile Send private message
alexander_ro
Guru
Guru


Joined: 22 Nov 2014
Posts: 427

PostPosted: Fri Jul 16, 2021 3:06 pm    Post subject: Reply with quote

Also ich konnte das ohne Probleme installieren:

Code:
emerge sys-libs/libxcrypt =sys-libs/glibc-2.33-r2


Die libcrypt wird ersetzt mit libxcrypt man achte auf das "x".

Das Merkwürdig war bei mir nur das er das bei einem Gesamt Update des Systems wieder mit der alten Ersetzen wollte. Das liegt vermutlich daran das die 2.33-r2 nur Testing ist und der Rest von meinem System stable. Ich wollte das aber so nicht ich hatte Testing glibc 2.33-r1 nur wegen dem Sicherheitsproblem installiert. Da die jetzt stable ist habe ich das wieder herausgenommen und dann wird auch kein Update mehr versucht.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum