Re: undo the command "apt-get clean"
Am 2005-12-30 02:44:46, schrieb mastrasser@web.de:
> Hello,
>
> Unfortunatly I have done an "apt-get clean", which removes all
> downloaded files from /var/cache/apt/archives.
> How can I download these files again?
cd /var/lib/dpkg/info/
apt-get -d --reinstall install `ls *.list |sed s/\.list$//`
-d download only
--reinstall trys to reinstall all given packages
Greetings
Michelle Konzack
Systemadministrator
Tamay Dogan Network
Debian GNU/Linux Consultant
--
Linux-User #280138 with the Linux Counter, http://counter.li.org/
##################### Debian GNU/Linux Consultant #####################
Michelle Konzack Apt. 917 ICQ #328449886
50, rue de Soultz MSM LinuxMichi
0033/3/88452356 67100 Strasbourg/France IRC #Debian (irc.icq.com)
Reply to: