dpkg --set-selections
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Unix and Linux reviews > Free Debian support > Linux Debian support > dpkg --set-selections




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    dpkg --set-selections  
Al Bogner


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
03-07-05 10: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





[ Post a follow-up to this message ]



    Re: dpkg --set-selections  
Neil Woods


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
03-08-05 01:45 AM

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 */





[ Post a follow-up to this message ]



    Re: dpkg --set-selections  
Andreas Janssen


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
03-08-05 12:45 PM

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





[ Post a follow-up to this message ]



    Re: dpkg --set-selections  
Al Bogner


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
03-08-05 12:45 PM

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





[ Post a follow-up to this message ]



    Re: dpkg --set-selections  
Andreas Janssen


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
03-08-05 10: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





[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 12:13 PM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register