Re: a simple script for restoring downloaded debs
songbird wrote on 07/18/2014 06:02:
> the other night i accidentally deleted the debs i
> normally keep in the /var/cache/apt/archives directory
> and while i do keep a backup of them in another
> directory it is along with all the previous versions
> too, so it isn't as easy as just copying them.
> instead i have to figure out which is the installed
> version (because that is the one i am most interested
> in having in there in case i do have to do a reinstall).
Why not copy all files back and order something like "apt-get autoclean" to get
rid of the older packages?