Re:The App Store turns 10
by tonyarkles on Friday July 06, 2018 @01:06AM
(#17468998)
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.
[ Parent
| on HN ]
Package 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
Re:The App Store turns 10
by tonyarkles on Friday July 06, 2018 @02:48PM
(#17474117)
Ohhhhhhh 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.