3 ms·
Apt is so close. So close! The one feature that would make it so much better is to be able to export the list of packages that I’ve directly asked for (maybe yo
by tonyarkles 8y ago
Apt is so close. So close! The one feature that would make it so much better is to be able to export the list of packages that I’ve directly asked for (maybe you can do that?). On the other side, apt install could consume that. Being able to take a new machine running, say, Ubuntu 18.04 and get all of the stuff installed that I had on my old 14.04 box in a really easy way would be deadly.
- stevekemp 8y agoPackage names/dependencies change through releases, but you can kinda do what you want via dpkg. Export the packages: dpkg --get-selections > list.txt Then install those same packages on a new box: dpkg --set-selections < list.txt apt-get -f install
- tonyarkles 8y agoOhhhhhhh that's pretty cool! Just looking through the list here though, that's going to dump out the list of all of the installed packages, not just the ones I've requested explicitly I think. That's the part that the App Store gets really right. I still want all of the dependencies for the packages that are getting installed, but a way shorter list of "these are the things you've explicitly asked for" It seems like that is actually inside Apt somewhere too... since it does keep track of packages to auto-remove when their reverse dependencies go away.