Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Upgrading to 22 interrupted. yum-complete-transaction does not work

I was trying to upgrade from 21 to 22, about 2G downloaded and then over 4k transactions, but a system shut down in the middle of process and it kinda got messed up.

The most recent boot seems to be the same 21 as before upgrade, but there are changes: significant changes in UI, yum commands get a deprecated warning and that they're replaced with dnf, etc and /etc/issue now shows Fedora 22.

Tried running yum-complete-transaction but get the following:

There are 1 outstanding transactions to complete. Finishing the most recent one The remaining transaction had 2814 elements left to run
--> Running transaction check
---> a long list of packages

But it doesn't run the rest of transactions, instead I got this:

Dependencies Resolved

Transaction size changed - this means we are not doing the
same transaction as we were before. Aborting and disabling
this transaction.

You could try running: package-cleanup --problems
                       package-cleanup --dupes
                       rpm -Va --nofiles --nodigest

Transaction files renamed to:
  /var/lib/yum/transaction-all.2015-06-20.06:02.49.disabled
  /var/lib/yum/transaction-done.2015-06-20.06:02.49.disabled

Would appreciated any help.

Upgrading to 22 interrupted. yum-complete-transaction does not work

I was trying to upgrade from 21 to 22, about 2G downloaded and then over 4k transactions, but a system shut down in the middle of process and it kinda got messed up.

The most recent boot seems to be the same 21 as before upgrade, but there are changes: significant changes in UI, yum commands get a deprecated warning and that they're replaced with dnf, etc and /etc/issue now shows Fedora 22.

Tried running yum-complete-transaction but get the following:

There are 1 outstanding transactions to complete. Finishing the most recent one The remaining transaction had 2814 elements left to run
--> Running transaction check
---> a long list of packages

But it doesn't run the rest of transactions, instead I got this:

Dependencies Resolved

Transaction size changed - this means we are not doing the
same transaction as we were before. Aborting and disabling
this transaction.

You could try running: package-cleanup --problems
                       package-cleanup --dupes
                       rpm -Va --nofiles --nodigest

Transaction files renamed to:
  /var/lib/yum/transaction-all.2015-06-20.06:02.49.disabled
  /var/lib/yum/transaction-done.2015-06-20.06:02.49.disabled

Would appreciated any help.

EDIT:

I did a yum upgrade:

# rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-22-$(uname -i)
# yum update yum
# yum clean all
# yum --releasever=22 distro-sync

I just don't want to end up with a broken system, if cannot complete the upgrade a way to push the transactions back to before upgrade would be fine.

Upgrading to 22 interrupted. yum-complete-transaction does not work

I was trying to upgrade from 21 to 22, about 2G downloaded and then over 4k transactions, but a system shut down in the middle of process and it kinda got messed up.

The most recent boot seems to be the same 21 as before upgrade, but there are changes: significant changes in UI, yum commands get a deprecated warning and that they're replaced with dnf, etc and /etc/issue now shows Fedora 22.

Tried running yum-complete-transaction but get the following:

There are 1 outstanding transactions to complete. Finishing the most recent one The remaining transaction had 2814 elements left to run
--> Running transaction check
---> a long list of packages

But it doesn't run the rest of transactions, instead I got this:

Dependencies Resolved

Transaction size changed - this means we are not doing the
same transaction as we were before. Aborting and disabling
this transaction.

You could try running: package-cleanup --problems
                       package-cleanup --dupes
                       rpm -Va --nofiles --nodigest

Transaction files renamed to:
  /var/lib/yum/transaction-all.2015-06-20.06:02.49.disabled
  /var/lib/yum/transaction-done.2015-06-20.06:02.49.disabled

Would appreciated any help.

EDIT:

I did a yum upgrade:

# rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-22-$(uname -i)
# yum update yum
# yum clean all
# yum --releasever=22 distro-sync

I just don't want to end up with a broken system, if cannot complete the upgrade a way to push the transactions back to before upgrade would be fine.

EDIT 2:

# package-cleanup --problems

Yum-utils package has been deprecated, use dnf instead.
See 'man yum2dnf' for more information.


Loaded plugins: langpacks, remove-with-leaves
Package compat-libcdio15-0.92-1.fc21.x86_64 has installed conflicts libcdio < ('0', '0.93', None): libcdio-0.92-4.fc21.x86_64
Package dnf-yum-1.0.0-1.fc22.noarch has installed conflicts yum < ('0', '3.4.3', '505'): yum-3.4.3-153.fc21.noarch
Package fedora-release-workstation-21-2.noarch has installed conflicts fedora-release-nonproduct: fedora-release-22-1.noarch
Package kernel-core-4.0.4-303.fc22.x86_64 has installed conflicts xorg-x11-drv-vmmouse < ('0', '13.0.99', None): xorg-x11-drv-vmmouse-13.0.0-13.fc21.x86_64
Package libreswan-3.13-1.fc22.x86_64 has installed conflicts openswan < ('0', '3.13', '1.fc22'): libreswan-3.13-1.fc21.x86_64
Package mutter-3.16.2-1.fc22.x86_64 has installed conflicts gnome-shell < ('0', '3.16.1', None): gnome-shell-3.14.4-2.fc21.x86_64
Package python-dnf-plugins-core-0.1.8-1.fc22.noarch has installed conflicts dnf-plugins-core <= ('0', '0.1.5', None): dnf-plugins-core-0.1.5-2.fc21.noarch

package-cleanup --dupes gives me a very long list, here's a few lines randomly taken:

# package-cleanup --dupes

Yum-utils package has been deprecated, use dnf instead.
See 'man yum2dnf' for more information.


Loaded plugins: langpacks, remove-with-leaves
libhbalinux-1.0.16-5.fc21.x86_64
libhbalinux-1.0.16-5.fc22.x86_64
cups-client-1.7.5-15.fc21.x86_64
cups-client-2.0.2-5.fc22.x86_64
efivar-libs-0.20-1.fc22.x86_64
efivar-libs-0.13-1.fc21.x86_64
librsync-1.0.0-1.fc21.x86_64
librsync-1.0.0-1.fc22.x86_64
gedit-plugin-multiedit-3.14.1-1.fc21.x86_64
gedit-plugin-multiedit-3.16.0-1.fc22.x86_64
rpm-plugin-selinux-4.12.0.1-9.fc22.x86_64
rpm-plugin-selinux-4.12.0.1-6.fc21.x86_64
abrt-2.5.1-3.fc22.x86_64
abrt-2.3.0-4.fc21.x86_64
libmediaart-0.7.0-1.fc21.x86_64
libmediaart-1.9.0-1.fc22.x86_64
giflib-4.1.6-12.fc22.x86_64
giflib-4.1.6-12.fc21.x86_64
libreoffice-graphicfilter-4.3.7.2-6.fc21.x86_64
libreoffice-graphicfilter-4.4.3.2-6.fc22.x86_64
perl-GSSAPI-0.28-13.fc22.x86_64
perl-GSSAPI-0.28-12.fc21.x86_64
festival-lib-1.96-29.fc21.x86_64
festival-lib-1.96-29.fc22.x86_64
trousers-0.3.13-3.fc21.x86_64
trousers-0.3.13-3.fc22.x86_64
liberation-narrow-fonts-1.07.4-4.fc22.noarch
liberation-narrow-fonts-1.07.4-4.fc21.noarch
libdb-utils-5.3.28-12.fc22.x86_64
libdb-utils-5.3.28-12.fc21.x86_64
xorg-x11-font-utils-7.5-25.fc21.x86_64
xorg-x11-font-utils-7.5-28.fc22.x86_64
abrt-python3-2.5.1-3.fc22.x86_64
abrt-python3-2.3.0-4.fc21.x86_64
perl-Sys-Syslog-0.33-311.fc22.x86_64
perl-Sys-Syslog-0.33-6.fc21.x86_64