Bug 222400
Summary: | Packages updated but not the rpmdb updated. | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Jim Cornette <jim.cornette> | ||||
Component: | yum | Assignee: | Jeremy Katz <katzj> | ||||
Status: | CLOSED INSUFFICIENT_DATA | QA Contact: | |||||
Severity: | medium | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | rawhide | ||||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | All | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2007-01-31 23:04:11 UTC | Type: | --- | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
Description
Jim Cornette
2007-01-12 02:45:14 UTC
Created attachment 145423 [details]
yum log showing updating packages twice
Using the first listed multiversion rpm shows this output. rpm -qV atk-devel-1.13.1-1.fc7 [root@cornette-dell-hdb packages]# rpm -qV atk-devel-1.12.4-1.fc7 .......T /usr/include/atk-1.0/atk/atk-enum-types.h S.5....T /usr/include/atk-1.0/atk/atk.h .......T /usr/include/atk-1.0/atk/atkaction.h .......T /usr/include/atk-1.0/atk/atkcomponent.h .......T /usr/include/atk-1.0/atk/atkdocument.h .......T /usr/include/atk-1.0/atk/atkeditabletext.h .......T /usr/include/atk-1.0/atk/atkgobjectaccessible.h .......T /usr/include/atk-1.0/atk/atkhyperlink.h .......T /usr/include/atk-1.0/atk/atkhyperlinkimpl.h .......T /usr/include/atk-1.0/atk/atkhypertext.h .......T /usr/include/atk-1.0/atk/atkimage.h .......T /usr/include/atk-1.0/atk/atknoopobject.h .......T /usr/include/atk-1.0/atk/atknoopobjectfactory.h .......T /usr/include/atk-1.0/atk/atkobject.h .......T /usr/include/atk-1.0/atk/atkobjectfactory.h .......T /usr/include/atk-1.0/atk/atkregistry.h .......T /usr/include/atk-1.0/atk/atkrelation.h .......T /usr/include/atk-1.0/atk/atkrelationset.h .......T /usr/include/atk-1.0/atk/atkrelationtype.h .......T /usr/include/atk-1.0/atk/atkselection.h .......T /usr/include/atk-1.0/atk/atkstate.h .......T /usr/include/atk-1.0/atk/atkstateset.h .......T /usr/include/atk-1.0/atk/atkstreamablecontent.h .......T /usr/include/atk-1.0/atk/atktable.h .......T /usr/include/atk-1.0/atk/atktext.h .......T /usr/include/atk-1.0/atk/atkutil.h .......T /usr/include/atk-1.0/atk/atkvalue.h ....L... /usr/lib/libatk-1.0.so ..5....T /usr/lib/pkgconfig/atk.pc S.5....T /usr/share/gtk-doc/html/atk/AtkAction.html S.5....T /usr/share/gtk-doc/html/atk/AtkComponent.html S.5....T /usr/share/gtk-doc/html/atk/AtkDocument.html S.5....T /usr/share/gtk-doc/html/atk/AtkEditableText.html S.5....T /usr/share/gtk-doc/html/atk/AtkGObjectAccessible.html S.5....T /usr/share/gtk-doc/html/atk/AtkHyperlink.html S.5....T /usr/share/gtk-doc/html/atk/AtkHypertext.html S.5....T /usr/share/gtk-doc/html/atk/AtkImage.html S.5....T /usr/share/gtk-doc/html/atk/AtkNoOpObject.html S.5....T /usr/share/gtk-doc/html/atk/AtkNoOpObjectFactory.html S.5....T /usr/share/gtk-doc/html/atk/AtkObject.html S.5....T /usr/share/gtk-doc/html/atk/AtkObjectFactory.html S.5....T /usr/share/gtk-doc/html/atk/AtkRegistry.html S.5....T /usr/share/gtk-doc/html/atk/AtkRelation.html S.5....T /usr/share/gtk-doc/html/atk/AtkRelationSet.html S.5....T /usr/share/gtk-doc/html/atk/AtkSelection.html S.5....T /usr/share/gtk-doc/html/atk/AtkStreamableContent.html S.5....T /usr/share/gtk-doc/html/atk/AtkTable.html S.5....T /usr/share/gtk-doc/html/atk/AtkText.html S.5....T /usr/share/gtk-doc/html/atk/AtkUtil.html S.5....T /usr/share/gtk-doc/html/atk/AtkValue.html S.5....T /usr/share/gtk-doc/html/atk/atk-AtkHyperlinkImpl.html S.5....T /usr/share/gtk-doc/html/atk/atk-AtkState.html S.5....T /usr/share/gtk-doc/html/atk/atk-AtkStateSet.html .......T /usr/share/gtk-doc/html/atk/atk.devhelp .......T /usr/share/gtk-doc/html/atk/atk.devhelp2 .......T /usr/share/gtk-doc/html/atk/atk.html .......T /usr/share/gtk-doc/html/atk/home.png ..5....T /usr/share/gtk-doc/html/atk/index.html .......T /usr/share/gtk-doc/html/atk/index.sgml ..5....T /usr/share/gtk-doc/html/atk/ix01.html ..5....T /usr/share/gtk-doc/html/atk/ix02.html ..5....T /usr/share/gtk-doc/html/atk/ix03.html ..5....T /usr/share/gtk-doc/html/atk/ix04.html ..5....T /usr/share/gtk-doc/html/atk/ix05.html ..5....T /usr/share/gtk-doc/html/atk/ix06.html ..5....T /usr/share/gtk-doc/html/atk/ix07.html .......T /usr/share/gtk-doc/html/atk/left.png .......T /usr/share/gtk-doc/html/atk/right.png .......T /usr/share/gtk-doc/html/atk/style.css .......T /usr/share/gtk-doc/html/atk/up.png I had to take the list of removed rpms (the only database entry versions)and feed them to rpm -e --nodeps in order to correct the rpmdb. I first checked that the entries were only leftover by verification. Afterwards, no multiversions or long list of updates showed available. /root/scripts/sg-dupes-mv.sh Searching for duplicates No duplicates found. [root@cornette-dell-hdb packages]# yum list updates Loading "installonlyn" plugin Setting up repositories Reading repository metadata in from local files Updated Packages gnome-menus.i386 2.17.5-1.fc7 development > I had to take the list of removed rpms (the only database entry
> versions) and feed them to rpm -e --nodeps
If you are doing that with duplicates there is a pretty good chance
that you will remove something which you do not want to remove or
leave something which should be gone. 'rpm -V ...' is in order
for every package you were "fixing".
A safer course of action is to remove _newer_ packages from duplicate
pairs and to rerun an update transaction again. This should fix
lefover problems.
It would be the best, of course, if such shenanigans would be not
ever required.
That would put me back to where I started when the rpms installed but the datyabase entries were never entered into the database. Running it with the older entries does not seem to remove the packages as they should and replace only with the newer version entries. Updating the whole operation did not do me any good. I used the downloaded cache and ran --replacepkgs and --replacfiles which still left all the older versions which would come back with missing files for kernel when verified. The older versions always came back with time and filesize errors. Removing the older entries with --justdb seemed to get the system back on track. I'll check if the documentation for the older version is still in place as a check for the old rpm being removed completely.. I imaging it should be removed since the phantom kernel came back missing on verify. fortunatately this problem only happened once and never before or since. Either the cause was patched or I had a non-reproducable glitch in the update process. Closing bug as once bitten. |