|
Home > Archive > Linux Debian support > March 2005 > dpkg --set-selections
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
dpkg --set-selections
|
|
| Al Bogner 2005-03-07, 5:45 pm |
| I have created a file with "dpkg --get-selections". Now I would like
to import these files on another pc and install these packages.
I tried "dpkg --set-selections < packagefiles.txt" and now I am
unsure how to go on. Do I need aptitude in any case? I want to
install the new files only, already installed files should be
untouched.
Al
| |
| Neil Woods 2005-03-07, 8:45 pm |
| On Mon, Mar 07 2005, Al Bogner wrote:
> I have created a file with "dpkg --get-selections". Now I would like
> to import these files on another pc and install these packages.
>
> I tried "dpkg --set-selections < packagefiles.txt" and now I am
> unsure how to go on. Do I need aptitude in any case? I want to
> install the new files only, already installed files should be
> untouched.
Just run dselect and choose [I]nstall.
--
Neil Woods <cnw+usenet@pobox.com>
/* The Unixverse ends on Tue, 19 Jan 2038 03:14:07 +0000 */
| |
| Andreas Janssen 2005-03-08, 7:45 am |
| Hello
Neil Woods (<cnw+usenet@pobox.com> ) wrote:
> On Mon, Mar 07 2005, Al Bogner wrote:
>
>
> Just run dselect and choose [I]nstall.
Or run apt-get dselect-upgrade.
best regards
Andreas Janssen
--
Andreas Janssen <andreas.janssen@bigfoot.com>
PGP-Key-ID: 0xDC801674 ICQ #17079270
Registered Linux User #267976
http://www.andreas-janssen.de/debian-tipps-sarge.html
| |
| Al Bogner 2005-03-08, 7:45 am |
| Neil Woods wrote:
> On Mon, Mar 07 2005, Al Bogner wrote:
>
>
> Just run dselect and choose [I]nstall.
I tried this with aptitude and some but not all packages were
installed. Is my syntax as mentioned above correct:
"dpkg --set-selections < packagefiles.txt"
Especially I had the problem, that the running kernel should be
installed again. Ok I can block this, but probably I did something
wrong with the upgrade. I pressed "g" with aptitude.
What do I have to do to remove / purge packages, which are already
installed, but not listed in "packagefiles.txt"?
Al
| |
| Andreas Janssen 2005-03-08, 5:45 pm |
| Hello
Al Bogner (<root.forward.dev.null@n04c-nospam.pinguin.uni.cc> ) wrote:
> What do I have to do to remove / purge packages, which are already
> installed, but not listed in "packagefiles.txt"?
You can create a diff of the packagefiles.txt and the new result of dpkg
--get-selections. There is also a way to make dpkg list packages that
have been marked removed on the source computer:
/usr/bin/dpkg --get-selections \*
best regards
Andreas Janssen
--
Andreas Janssen <andreas.janssen@bigfoot.com>
PGP-Key-ID: 0xDC801674 ICQ #17079270
Registered Linux User #267976
http://www.andreas-janssen.de/debian-tipps-sarge.html
|
|
|
|
|