hi, how can i "MOVE" old packaged (.deb) from /var/cache/apt/archives to another folder? (maybe /home/user/old-packs)
there is a command to totally remove them:
apt-get autoclean: To remove all stored archives in your cache for packages that can not be downloaded anymore (thus packages that are no longer in the repository or that have a newer version in the repository).
sudo apt-get autoclean
however i want to "move" them
the output of auto clean is
do you know a way to pipe it to mv? i'm not so good at shell scripting though
Reading package lists... Done
Building dependency tree
Reading state information... Done
Del lib**** x.y.z-7 [18.1 kB]
Del lib***** 4:0.1.2.30ubuntu1 [98.3 kB]
Del python 4:2.2.2-0ubuntu1 [662 kB]
and by the way: autoclean does keep the archives i might need to reinstall (or even those i haven't installed yet), right?