I'm a bit late updating a Lenovo laptop. Emerge wouldn't run due to a conflict with virtual/libcrypt. As a workaround, I ran...static-pie -suid -systemd -systemtap -test (-vanilla)" conflicts with
time emerge --changed-use --deep --update @world --exclude virtual/libcrypt
To quote Rowan and Martin "Later... that very same evening" (7 hours
and 265 packages) it finished. Now to tackle libcrypt. How do I handle
the following? As near as I can tell from the news item, glibc's
internal libcrypt is being replaced by an external libxcrypt but the
details are vague..
===================================================================== [thimk2][root][~] emerge -pv --changed-use --deep --update @world
These are the packages that would be merged, in order:
Calculating dependencies... done!
Total: 0 packages, Size of downloads: 0 KiB
WARNING: One or more updates/rebuilds have been skipped due to a dependency conflict:
sys-libs/glibc:2.2
(sys-libs/glibc-2.34-r10: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) -
sys-libs/glibc[crypt(+),static-libs(+)] required by (virtual/libcrypt-1-r1-1:0/1::gentoo, installed) USE="static-libs"
!!! The following installed packages are masked:
- virtual/libcrypt-1-r1::gentoo (masked by: package.mask) /usr/portage/profiles/base/package.mask:
# Sam James <sam@gentoo.org> (2021-11-22)
# Mask the older libcrypt virtual (which accepted glibc[crypt]) to ease
# dependency resolution. In a fair number of cases, this has helped
# upgrades go through cleanly.
# Read the news item if you need help!
# (This mask is undone in musl profiles where the transition is not yet being # made.)
# bug #699422.
For more information, see the MASKED PACKAGES section in the emerge
man page or refer to the Gentoo Handbook. =====================================================================
To quote Rowan and Martin "Later... that very same evening" (7 hours
and 265 packages) it finished. Now to tackle libcrypt. How do I handle
the following? As near as I can tell from the news item, glibc's
internal libcrypt is being replaced by an external libxcrypt but the
details are vague..
Hard to tell from your output what the status of any conflicts are
on your system. As the message correctly indicates, it cannot upgrade
glibc because virtual/libcrypt-1 requires the older version.
What would portage complain about before you excluded it?
As mentioned in the news item, most upgrades should have just happened on
its own without user interference, so it might also be as simple as re-running the @world command with --backtrack=1000
What is the output from:
emerge -1va =virtual/libcrypt-2
I know that the news item gives dire warnings about not unmerging
glibc. Can I safely unmerge virtual/libcrypt and replace it?
I know that the news item gives dire warnings about not unmerging
glibc. Can I safely unmerge virtual/libcrypt and replace it?
On Sun, 10 Apr 2022 at 15:32, Walter Dnes <waltdnes@waltdnes.org> wrote:
I know that the news item gives dire warnings about not unmerging
glibc. Can I safely unmerge virtual/libcrypt and replace it?
Sure, but you would probably get the same errors. I'm suspecting you have some USE flags configured which creates the conflict. Possibly you have set the USE="crypt" for glibc.
=====================================================================-static-pie -suid -systemd% -systemtap -test (-vanilla)" 17,047 KiB
[thimk2][root][~] USE="static-libs" emerge -pv -1 virtual/libcrypt
These are the packages that would be merged, in order:
Calculating dependencies... done!
[ebuild U ] sys-libs/glibc-2.34-r10:2.2::gentoo [2.33-r1:2.2::gentoo] USE="multiarch ssp (static-libs) -audit -caps (-cet) -compile-locales (-crypt*) (-custom-cflags) -doc -gd -headers-only (-multilib) -multilib-bootstrap -nscd -profile (-selinux)
[ebuild N ] virtual/libcrypt-2:0/2::gentoo USE="static-libs" 0 KiB [ebuild N ] sys-libs/libxcrypt-4.4.27:0/1::gentoo USE="(compat) (split-usr) static-libs (system) -test" 605 KiB
Total: 3 packages (1 upgrade, 2 new), Size of downloads: 17,651 KiB
=====================================================================
Notes...
1) Updating glibc
2) pulling in virtual/libcrypt-2
3) pulling in sys-libs/libxcrypt-4.4.27
4) ***NO BLOCKER MESSAGES***
I'll run it for real and let you guys know how things went.
Auto-cleaning packages...
No outdated packages were found on your system.
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 302 |
Nodes: | 16 (2 / 14) |
Uptime: | 97:57:22 |
Calls: | 6,766 |
Calls today: | 4 |
Files: | 12,295 |
Messages: | 5,376,385 |
Posted today: | 1 |