[svlug] Debian rebuild
kmself@ix.netcom.com
kmself at ix.netcom.com
Mon Oct 16 18:58:02 PDT 2000
On Mon, Oct 16, 2000 at 05:17:25PM -0700, J C Lawrence (claw at kanga.nu) wrote:
>
> Under Debian, is there a reasonably simple way to suck down new
> copies of all packages installed on the system, and to re-install
> them? The obvious way is to start with something based on:
>
> dpkg --get-selections | cut -d\t -f1
>
> to get a list of the installed packages. Problem is apt-get doesn't
> seem to have a facility to retrieve a named package if it is the
> same as the currently installed copy. Now I could hack the dpkg
> status file, but that seems a bit tacky...
$ apt-get --reinstall ?
If that doesn't force the download, the following might:
$ rm /var/cache/apt/archives/*.deb
$ dpkg --get-selections | grep 'install' | cut -d\t -f1 |
xargs apt-get --reinstall
--
Karsten M. Self <kmself at ix.netcom.com> http://www.netcom.com/~kmself
Evangelist, Opensales, Inc. http://www.opensales.org
What part of "Gestalt" don't you understand? There is no K5 cabal
http://gestalt-system.sourceforge.net/ http://www.kuro5hin.org
GPG fingerprint: F932 8B25 5FDD 2528 D595 DC61 3847 889F 55F2 B9B0
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 232 bytes
Desc: not available
Url : http://lists.svlug.org/archives/svlug/attachments/20001016/1459c670/attachment.bin
More information about the svlug
mailing list