Red Hat Bugzilla – Bug 979083
yumdb/history data is not available after upgrade from F18 => F19 (possible chroot problem?)
Last modified: 2015-02-17 10:43:20 EST
Description of problem:
After upgrading a machine using fedup from F18 to F19 "yum history info" did not show the upgrade, and "yumdb info" was not available for any of the packages upgraded (so no "from_repo" data etc).
That's because the upgrade isn't a yum transaction. It's roughly:
rpm --root /sysroot -Uvh $(cat /sysroot/system-upgrade/package.list)
run from inside a F19 initrd, with your system mounted at /sysroot.
The initrd doesn't have yum in it, nor do I want to put yum in there.
However: all the relevant yum metadata is available on the target system, so if there's a way to generate the desired metadata outside of the RPM transaction, that'd be a great thing to put in the fedup 'upgrade-post' script hook.
> rpm --root /sysroot -Uvh $(cat /sysroot/system-upgrade/package.list)
> The initrd doesn't have yum in it, nor do I want to put yum in there.
Wow, that's impressive in it's purity of yum abuse. It sure is good we have such a cohesive packaging tools strategy.
> so if there's a way to generate the desired metadata outside of the RPM transaction
You can run "yumdb sync", but that's meant to be run as a fixup because something went wrong ... but given fedup is designed to be wrong. It's not obvious if it's better to try running that a lot, and see what problems it causes, or just give up.
*** Bug 1043960 has been marked as a duplicate of this bug. ***
This message is a notice that Fedora 19 is now at end of life. Fedora
has stopped maintaining and issuing updates for Fedora 19. It is
Fedora's policy to close all bug reports from releases that are no
longer maintained. Approximately 4 (four) weeks from now this bug will
be closed as EOL if it remains open with a Fedora 'version' of '19'.
Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version'
to a later Fedora version.
Thank you for reporting this issue and we are sorry that we were not
able to fix it before Fedora 19 is end of life. If you would still like
to see this bug fixed and are able to reproduce it against a later version
of Fedora, you are encouraged change the 'version' to a later Fedora
version prior this bug is closed as described in the policy above.
Although we aim to fix as many bugs as possible during every release's
lifetime, sometimes those efforts are overtaken by events. Often a
more recent Fedora release includes newer upstream software that fixes
bugs or makes them obsolete.
Fedora 19 changed to end-of-life (EOL) status on 2015-01-06. Fedora 19 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.
If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
Thank you for reporting this bug and we are sorry it could not be fixed.