F29 upgrade to F30 hangs

Yes - the rpms were downloaded - just tried to do an install of the dnf modules and received the message that there were dependencies - is it possible to for the system to install the dependencies without know what they are in advance, i.e. the system will determine the dependencies and install them?

Direct `dnf` dependencies
$ dnf -q repoquery --requires --resolve --queryformat "%{NAME}" dnf
bash
python3-dnf
systemd
Recursive `dnf` dependencies
$ dnf -q repoquery --recursive --requires --resolve --queryformat "%{NAME}" dnf
acl
alternatives
audit-libs
basesystem
bash
brotli
bzip2-libs
ca-certificates
coreutils
coreutils-common
coreutils-single
cracklib
crypto-policies
cryptsetup-libs
curl
curl-minimal
cyrus-sasl-lib
dbus
dbus-broker
dbus-common
device-mapper
device-mapper-libs
dnf-data
elfutils-default-yama-scope
elfutils-libelf
elfutils-libs
expat
fedora-gpg-keys
fedora-release
fedora-release-cinnamon
fedora-release-cloud
fedora-release-common
fedora-release-container
fedora-release-coreos
fedora-release-iot
fedora-release-kde
fedora-release-matecompiz
fedora-release-server
fedora-release-silverblue
fedora-release-snappy
fedora-release-soas
fedora-release-workstation
fedora-release-xfce
fedora-repos
file-libs
filesystem
gawk
gdbm-libs
generic-release
generic-release-common
glib2
glibc
glibc-all-langpacks
glibc-common
glibc-langpack-en
glibc-minimal-langpack
gmp
gnupg2
gnutls
gpgme
grep
gzip
ima-evm-utils
iptables-libs
json-c
keyutils-libs
kmod-libs
krb5-libs
libacl
libarchive
libargon2
libassuan
libattr
libblkid
libcap
libcap-ng
libcom_err
libcomps
libcurl
libcurl-minimal
libdb
libdb-utils
libdnf
libfdisk
libffi
libgcc
libgcrypt
libgpg-error
libidn2
libksba
libmetalink
libmodulemd
libmodulemd1
libmount
libnghttp2
libnsl2
libpcap
libpsl
libpwquality
librepo
libreport-filesystem
libseccomp
libselinux
libsemanage
libsepol
libsigsegv
libsmartcols
libsolv
libssh
libssh-config
libstdc++
libtasn1
libtirpc
libunistring
libusbx
libutempter
libuuid
libverto
libxcrypt
libxml2
libyaml
libzstd
lua-libs
lz4-libs
mpfr
ncurses
ncurses-base
ncurses-libs
nettle
npth
openldap
openssl-libs
p11-kit
p11-kit-trust
pam
pcre
pcre2
popt
publicsuffix-list-dafsa
python-pip-wheel
python-setuptools-wheel
python3
python3-dnf
python3-gpg
python3-hawkey
python3-libcomps
python3-libdnf
python3-libs
python3-rpm
qrencode-libs
readline
rpm
rpm-build-libs
rpm-libs
rpm-sign-libs
sed
setup
shadow-utils
sqlite-libs
systemd
systemd-libs
systemd-pam
systemd-rpm-macros
tzdata
util-linux
xz-libs
zchunk-libs
zlib

As you downloaded the previously installed packages from the Fedora 30 repository, reinstalling them should fix the most critical issues:

sudo rpm -i rpms/*.rpm
sudo rpm -i --nodeps rpms/*.rpm

Use the second command only if the first fails to resolve the dependencies.

Wow! that is quite a list of dependencies. I have stored the rpms in the directory /root/rpms so should I execute the above command(s) from that directory or from / and specify the path to the rpms or does it matter?

oh - I see my answer - missed the cd in the first line

Argh - no success with the first command (rpm -i *.rpm) as the system noted there were dependencies. When tried the second command (rpm -i --nodeps *.rpm) there were multiple screens of messages - an example of which was /usr/bin/jemalloc.sh conflicts between attempted install of jemalloc-5.1.0-3.fc30.i686 and jemalloc-5.1.0-3.fc30.x86_64 (not sure where the i686 module is coming from). Didn’t think that was a good sign but tried the rpm --rebuilddb and then the ‘dnf clean all’ command - received the message the dnf command was not found (it was likely one of those that flew off the screen in the long list of the conflicts between the i686 and x86_64 modules.

You can try to remove the i686-packages to avoid multilib-related issues:

sudo rpm --nodeps -e $(rpm -q -a | grep -e i686)
mkdir -p ~/rpms-i686
mv -f rpms/*.i686.rpm ~/rpms-i686

Also move the i686-packages in a separate directory if any and repeat the previous step.

A bit of progress. Moved the i686 rpms to their own directory. Ran the ‘rpm -i --nodeps’ on the remaining x86_64 modules - all looked good - a number of messages about some were already installed. Next ran the ‘rpm --rebuilddb’ and then tried the 'dnf clean all" and received the message ‘-bash: dnf: command not found’. Not sure where the command was installed to but looked in the /etc directory and did find a dnf directory.

What does it say if you try to install these packages specifically?

sudo rpm -i rpms/dnf-*.rpm
sudo rpm -i rpms/python3-dnf-*.rpm

This issue might be even more serious than I assumed initially.
If you do not have much progress, then it’s probably better to save your time and just reinstall the system.

1 Like

Tried the suggested commands - the first one returned a message of ‘error failed dependencies’ - the dependencies were 3 python modules. The second was similar but in that case it was 9 phython modules.

I have since re-installed Fedora 30 and am starting to customize to my previous setup.

Thanks for your assistance and patience with working through this problem. I do have an issue with the re-install but will post that as a separate topic.

2 Likes

Well, at least we can consider this path as an example of a deadlock, which probably does not have a simple solution.