Re: ubuntu/debian package problem

2009-09-14 Thread Dotan Shavit
On Monday 14 September 2009, geoffrey mendelson wrote:
 Ok, I did something stupid. I have two similar ubuntu systems.
 Noticing that some packages I need are missing on one but not knowing
 which ones,
 I did a list of them using:

 dpkg --get-selections  installed-software

 Then I used grep to weed out only the installed ones, and went to the
 other system and entered:
 dpkg --set-selections  installed-software

 Then I tried to do a dselect, which wants to delete several packages I
 really want to keep.
 Is there any way to keep those packages? Or at least find out which
 ones are forcing removal of it, so I can deselect them?
If these packages were not deleted yet, just use get-selections again.

#


 Thanks in advance,

 Geoff.



___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: ubuntu/debian package problem

2009-09-14 Thread Shachar Shemesh

geoffrey mendelson wrote:
Ok, I did something stupid. I have two similar ubuntu systems. 
Noticing that some packages I need are missing on one but not knowing 
which ones,

I did a list of them using:

dpkg --get-selections  installed-software

Then I used grep to weed out only the installed ones, and went to the 
other system and entered:

dpkg --set-selections  installed-software

Then I tried to do a dselect, which wants to delete several packages I 
really want to keep.
Is there any way to keep those packages? Or at least find out which 
ones are forcing removal of it, so I can deselect them?
aptitude has a reverse dependency tracking tool. You can look at a 
package, and ask which package X on it, where X can be, among other 
things, conflict. This should tell you which packages are causing your 
package to be removed.


Shachar


--
Shachar Shemesh
Lingnu Open Source Consulting Ltd.
http://www.lingnu.com

___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il