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

Re: How can I get dselect to reinstall all installed packages?



On Wed, 15 Apr 1998, Louis W. Erickson wrote:

> I have a desire to get dselect to reinstall every package that I have
> installed, from my known-clean CD-rom.
> 
> (I've had a security issue arise, and don't know the extent of the
> possible changes.)
> 
> I don't want to have to remove every package, or to upgrade to a new
> version of Debian; I'm very happy with the packages I have installed.
> 
> Is there a way to get dselect to overwrite files with the same version,
> instead of skipping them?

Mount the cd, cd to main/binary-i386 and type:

  dpkg -iGROB stable/main/binary-i386

When dpkg is finished, do the same for contrib/binary-i386 (and
non-free/binary-i386 if that's on your cd as well.)

When you run dselect, it does something very much alike, but it runs dpkg
with the additional switch -E aka --skip-same-version, which makes it skip
packages that you've already installed.

You can read some of these things in the dpkg manpage or by typing 

  dpkg --help.

Cheers,


Joost


--
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org


Reply to: