On 28/01/07, Omer Zak <[EMAIL PROTECTED]> wrote:

On Sun, 2007-01-28 at 03:48 +0200, Oded Arbel wrote:
> On Sun, 2007-01-28 at 01:49 +0200, Hetz Ben Hamo wrote:
> > I could write a small shell script which grabs the content of "rpm
> > -qa" and run an "rpm -Uvh --force $name*" for each line, but then I'll
> > have a nightmare with dependencies.....
>
> rpm has an option -F : "Freshen". given a list of packages, it will only
> install packages that are already installed and their dependencies.
> You could simply cd to the RPMS directory of your DVD, and rpm -Fhv *

My question - how to do the same in Debian?


"aptitude reinstall" sounds like it should help here. Interactively you can
just select the "-- Install Packages" line and hit "L"

--Amos

Reply via email to