On Wed, 2017-10-18 at 10:02 +0200, Kamil Paral wrote:
I'd also like to see the logs. If the system is broken enough
that
journalctl doesn't work, you can copy the files out of /var/log/journal
and examine them later with journalctl from another system.
I put them in the previous message.
My standard strategy for dealing with this situation is to remove
the
older side of all the duplicate pairs with:
rpm -e --justdb --noscripts
and then 'dnf reinstall' the newer side. You can hack up a script to
help with this, of course (I don't keep one around, I just reinvent it
every time).
Thanks, "--justdb" is something that I missed to do cope with the files.
"dnf reinstall" is also useful - I didn't know that and I had to reinstall
packages to "fix" missing/changed files with "rpm -U --force" which
requires more effort.
For the reference for people with similar problems reading that list in the future, in the
meantime I used the more bumpy way and removed all fc27 packages using "rpm -e $(cat
list-of-fc27-packages)" to perform an update once again. However, it resulted in the
fact that fc27 packages were removed (only fc26 packages remained), but applications
started to complain that there is no gllibc in F26 version (only F27). "rpm -V"
reports that files are corrupted. I suspect that "rpm -e" removed newer
packages, but as the files were conflicted (and already upgraded to F27 at the filesystem)
they remained. I needed to manually reinstall (rpm -U --force) the key packages to bring
dnf to life again (e.g. issue with SSL certificated in curl). Later on I redownloaded f27
packages ("sudo dnf system-upgrade download --releasever=27"), forced proper
system state (symlink, etc.) with "sudo dnf system-upgrade reboot" (system
didn't reboot as I was chrooted) and manually call "sudo dnf --releasever=27 s
ystem-upgrade upgrade" (taken from "dnf-system-upgrade.service" file) to
observe the output. Everything went fine and after restart I was able to boot my Fedora
27!
Most things seem to work at the first look (I had to downgrade Firefox to 56 to bring all
legacy packages to life), but I still have some conflicted packages.
$ sudo dnf update
Last metadata expiration check: 1:23:03 ago on 2017-10-18T20:16:58 CEST.
Dependencies resolved.
Problem 1: cannot install both chromium-libs-media-freeworld-59.0.3071.109-5.fc27.x86_64
and chromium-libs-media-freeworld-61.0.3163.100-1.fc27.x86_64
- cannot install the best update candidate for package
chromium-libs-media-freeworld-61.0.3163.100-1.fc27.x86_64
- cannot install the best update candidate for package
chromium-libs-media-61.0.3163.100-1.fc27.x86_64
Problem 2: package libcrypt-nss-2.26-8.fc27.i686 requires glibc(x86-32) = 2.26-8.fc27,
but none of the providers can be installed
- cannot install both glibc-2.26-14.fc27.i686 and glibc-2.26-8.fc27.i686
- cannot install both glibc-2.26-8.fc27.i686 and glibc-2.26-14.fc27.i686
- cannot install the best update candidate for package libcrypt-nss-2.26-8.fc27.i686
- cannot install the best update candidate for package glibc-2.26-8.fc27.i686
Problem 3: package pam-1.3.0-6.fc27.i686 requires libcrypt.so.1, but none of the
providers can be installed
- libcrypt-nss-2.26-8.fc27.i686 has inferior architecture
- cannot install both libcrypt-nss-2.26-14.fc27.x86_64 and
libcrypt-nss-2.26-8.fc27.x86_64
- package libcrypt-nss-2.26-14.fc27.x86_64 conflicts with libcrypt provided by
libcrypt-2.26-14.fc27.i686
- package libcrypt-2.26-8.fc27.i686 conflicts with libcrypt-nss provided by
libcrypt-nss-2.26-14.fc27.x86_64
- cannot install both libcrypt-nss-2.26-8.fc27.x86_64 and
libcrypt-nss-2.26-14.fc27.x86_64
- cannot install the best update candidate for package pam-1.3.0-6.fc27.i686
- cannot install the best update candidate for package libcrypt-nss-2.26-8.fc27.x86_64
Problem 4: package cups-libs-1:2.2.4-6.fc27.i686 requires libcrypt.so.1, but none of the
providers can be installed
- package libcrypt-nss-2.26-14.fc27.x86_64 conflicts with libcrypt provided by
libcrypt-2.26-14.fc27.i686
- package libcrypt-nss-2.26-8.fc27.i686 requires glibc(x86-32) = 2.26-8.fc27, but none
of the providers can be installed
- problem with installed package libcrypt-nss-2.26-8.fc27.x86_64
- libcrypt-2.26-8.fc27.i686 has inferior architecture
- glibc-2.26-8.fc27.i686 has inferior architecture
- package libcrypt-nss-2.26-8.fc27.x86_64 requires glibc(x86-64) = 2.26-8.fc27, but none
of the providers can be installed
- package libcrypt-2.26-8.fc27.x86_64 requires glibc(x86-64) = 2.26-8.fc27, but none of
the providers can be installed
- cannot install both glibc-2.26-14.fc27.x86_64 and glibc-2.26-8.fc27.x86_64
- cannot install both glibc-2.26-8.fc27.x86_64 and glibc-2.26-14.fc27.x86_64
- cannot install the best update candidate for package glibc-2.26-8.fc27.x86_64
- cannot install the best update candidate for package cups-libs-1:2.2.4-6.fc27.i686
Problem 5: problem with installed package libcrypt-nss-2.26-8.fc27.i686
- package libcrypt-nss-2.26-8.fc27.i686 requires glibc(x86-32) = 2.26-8.fc27, but none
of the providers can be installed
- package glibc-2.26-8.fc27.i686 requires glibc-common = 2.26-8.fc27, but none of the
providers can be installed
- cannot install both glibc-common-2.26-14.fc27.x86_64 and
glibc-common-2.26-8.fc27.x86_64
- cannot install both glibc-common-2.26-8.fc27.x86_64 and
glibc-common-2.26-14.fc27.x86_64
- cannot install the best update candidate for package glibc-common-2.26-8.fc27.x86_64
=======================================================================================
Package Arch Version
Repository Size
=======================================================================================
Upgrading:
firefox x86_64 57.0-0.4.fc27
updates-testing 84 M
nss-softokn i686 3.33.0-1.1.fc27
updates-testing 417 k
nss-softokn x86_64 3.33.0-1.1.fc27
updates-testing 391 k
nss-softokn-freebl i686 3.33.0-1.1.fc27
updates-testing 238 k
nss-softokn-freebl x86_64 3.33.0-1.1.fc27
updates-testing 235 k
Skipping packages with conflicts:
(add '--best --allowerasing' to command line to force their upgrade):
chromium-libs-media-freeworld x86_64 59.0.3071.109-5.fc27
rpmfusion-free 2.2 M
glibc i686 2.26-14.fc27
updates-testing 4.6 M
glibc x86_64 2.26-14.fc27
updates-testing 3.6 M
glibc-common x86_64 2.26-14.fc27
updates-testing 843 k
libcrypt i686 2.26-8.fc27
fedora 73 k
libcrypt i686 2.26-14.fc27
updates-testing 44 k
libcrypt-nss x86_64 2.26-14.fc27
updates-testing 36 k
Skipping packages with broken dependencies:
libcrypt x86_64 2.26-8.fc27
fedora 72 k
Transaction Summary
=====================================================================================================================
Upgrade 5 Packages
Skip 8 Packages
Total download size: 85 M
Is this ok [y/N]:
chromium-libs-media-freeworld seems to be a problem with rpmfusion repo, but the other
issues seems to be related and I'm not sure why. "sudo dnf repoquery
--duplicated" returns nothing. libcrypt-nss seems to conflict with glibc-based
libcrypt. Do I have to switch to "libcrypt"?
$ rpm -qa | grep libcrypt
libcrypt-nss-2.26-8.fc27.x86_64
libcryptui-3.12.2-11.fc27.x86_64
libcrypt-nss-2.26-8.fc27.i686
$ rpm -q glibc
glibc-2.26-8.fc27.x86_64
glibc-2.26-8.fc27.i686
How can I solve that?
Marcin