REinstalling packages with yum ?
Paul Howarth
paul at city-fan.org
Mon Jun 20 07:08:35 UTC 2005
On Sun, 2005-06-19 at 23:45 +0100, Chris Jones wrote:
> Hi,
>
> Is it possible to tell yum to reinstall a package that is already
> installed, with affecting any dependant packages ? A remove followed by
> reinstall will of course remove all dependant packages which I don't want.
>
> I actually think of the reinstall option available in synaptic with APT.
> I've just updated from FC3 to FC4 and I think a few packages could do
> with being reinstalled to fix some minor niggles. I had similar issues
> when I went from FC2 to FC3 and the reinstall feature in synaptic was
> very useful.
I don't think yum can do it but you could download the packages (they
might even be in your yum cache) and use rpm to reinstall it/them:
# rpm -Uvh --replacefiles --replacepkgs first.rpm second.rpm ...
Paul.
--
Paul Howarth <paul at city-fan.org>
More information about the fedora-list
mailing list