Hi. Longtime Linux user here, but new to Kubuntu and the debian style package format. I suspect I'm just not understanding how this works.
I hopefully have a quick question. I see in the man page for dpkg that it tells you the following:
To make a local copy of the package selection states:
dpkg --get-selections >myselections
You might transfer this file to another computer, and install it there with:
dpkg --clear-selections
dpkg --set-selections <myselections
Note that this will not actually install or remove anything, but just set the selection state
on the requested packages. You will need some other application to actually download and
install the requested packages. For example, run dselect and choose "Install".
How do I apply these selections without dselect, as I don't appear to have it installed? I've looked at the man pages for apt-get, I've used aptitude a bit and also used Adept, and it's not immediately obvious to me how to apply these changes? I was expecting to maybe open Adept and see the package in a "marked for install, but not applied" state, but I don't see that. Both aptitute and Adept list the packages as "not installed" after running the --set-selections command. Am I doing something wrong?
Obviously, my goal here it to save a set of packages and be able to quickly install this set of packages on future Kubuntu machines. Any other tips on how I should accomplish this?
Thanks in advance for your help.
-David
I hopefully have a quick question. I see in the man page for dpkg that it tells you the following:
To make a local copy of the package selection states:
dpkg --get-selections >myselections
You might transfer this file to another computer, and install it there with:
dpkg --clear-selections
dpkg --set-selections <myselections
Note that this will not actually install or remove anything, but just set the selection state
on the requested packages. You will need some other application to actually download and
install the requested packages. For example, run dselect and choose "Install".
How do I apply these selections without dselect, as I don't appear to have it installed? I've looked at the man pages for apt-get, I've used aptitude a bit and also used Adept, and it's not immediately obvious to me how to apply these changes? I was expecting to maybe open Adept and see the package in a "marked for install, but not applied" state, but I don't see that. Both aptitute and Adept list the packages as "not installed" after running the --set-selections command. Am I doing something wrong?
Obviously, my goal here it to save a set of packages and be able to quickly install this set of packages on future Kubuntu machines. Any other tips on how I should accomplish this?
Thanks in advance for your help.
-David
Comment