yum : remove + install problems

Bruno Costacurta cd1 at biz.tiscali.be
Sat Oct 1 23:44:34 UTC 2005


On Saturday 01 October 2005 23:19, Jim Cornette wrote:
> Bruno Costacurta wrote:
> >Hi All,
> >
> >I tried to 'ymu remove firefox' but received hereafter errors.
> >Now 'yum list installed firefox' indicates wrongly that firefox is already
> >installed.
> >(please see hereafter output).
> >
> >How to force refresh / rebuild yum database ? Other actions ?
> >I tried 'yum clean all' but without results.
> >
> >Thanks,
> >Bruno
> >
> >(...)
> >yum remove firefox
> >Setting up Remove Process
> >Resolving Dependencies
> >--> Populating transaction set with selected packages. Please wait.
> >---> Package firefox.i386 0:1.0.4-4 set to be erased
> >---> Package firefox.i386 0:1.0.6-1.2.fc4 set to be erased
> >---> Package firefox.i386 0:1.0.7-1.1.fc4 set to be erased
> >--> Running transaction check
> >
> >Dependencies Resolved
> >
> >==========================================================================
> >=== Package                 Arch       Version          Repository       
> > Size
> > =========================================================================
> >==== Removing:
> > firefox                 i386       1.0.4-4          installed          50
> > M firefox                 i386       1.0.6-1.2.fc4    installed         
> > 50 M firefox                 i386       1.0.7-1.1.fc4    installed       
> >   50 M
> >
> >Transaction Summary
> >==========================================================================
> >=== Install      0 Package(s)
> >Update       0 Package(s)
> >Remove       3 Package(s)
> >Total download size: 0
> >Is this ok [y/N]: y
> >Downloading Packages:
> >Running Transaction Test
> >Finished Transaction Test
> >Transaction Test Succeeded
> >Running Transaction
> >  Removing  : firefox                      ######################### [1/3]
> >/var/tmp/rpm-tmp.7910: line
> >5: /usr/lib/firefox-1.0.6/firefox-rebuild-databases.pl: No such file or di
> >rectory
> >error: %postun(firefox-1.0.6-1.2.fc4.i386) scriptlet failed, exit status
> > 127 Removing  : firefox                      #########################
> > [2/3] /var/tmp/rpm-tmp.7910: line
> >5: /usr/lib/firefox-1.0.4/firefox-rebuild-databases.pl: No such file or di
> >rectory
> >error: %postun(firefox-1.0.4-4.i386) scriptlet failed, exit status 127
> >  Removing  : firefox                      ######################### [3/3]
> >/var/tmp/rpm-tmp.7910: line
> >5: /usr/lib/firefox-1.0.7/firefox-rebuild-databases.pl: No such file or di
> >rectory
> >error: %postun(firefox-1.0.7-1.1.fc4.i386) scriptlet failed, exit status
> > 127
> >
> >Removed: firefox.i386 0:1.0.4-4 firefox.i386 0:1.0.6-1.2.fc4 firefox.i386
> >0:1.0.7-1.1.fc4
> >Complete !
> >(...)
> >
> >yum list installed firefox
> >Installed Packages
> >firefox.i386                             1.0.7-1.1.fc4          installed
> >firefox.i386                             1.0.6-1.2.fc4          installed
> >firefox.i386                             1.0.4-4                installed
> >(...)
>
> To remove all firefox installations that you have listed,
> rpm -e firefox --allmatches
> Should remove all packages and all entries from the rpm database.
>
> For the record, yum clean all just clears the dep resolver files and the
> downloaded rpms from the /var/cache/yum/ subdirectories. If it does
> more, sorry for the misinformation.
>
> Jim
>
> --
> QOTD:
> 	If it's too loud, you're too old.

Thanks. It works. (note: I added --noscripts to avoid problem due to missing 
script files). 

Bruno




More information about the fedora-list mailing list