[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: REinstalling packages with yum ?



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 city-fan org>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]