Re: [Fink-devel] sudo apt-get remove question

2010-06-12 Thread Martin Costabel
Koen van der Drift wrote:
 I'm trying to force remove a package, but get this output:
 
 $ sudo apt-get remove xml-parser-pm588
 Reading Package Lists... Done
 Building Dependency Tree... Done
 You might want to run `apt-get -f install' to correct these:
 Sorry, but the following packages have unmet dependencies:
intltool40: Depends: xml-parser-pm588 but it is not going to be  
 installed
software-license-pm588: Depends: data-section-pm588 but it is not  
 going to be installed
Depends: mro-compat-pm588 but it is not  
 going to be installed
Depends: sub-exporter-pm588 but it is not  
 going to be installed
Depends: sub-install-pm588 but it is not  
 going to be installed
Depends: text-template-pm but it is not  
 going to be installed
 E: Unmet dependencies. Try 'apt-get -f install' with no packages (or  
 specify a solution).
 
 
 I don't understand this, why would it complain about unmet  
 dependencies when I want to *remove* a package??

You will probably get the same complaint from apt-get whenever you ask 
it to do *anything*. It just refuses to work as long as it feels 
something is unclean in its database. dpkg is much less inhibited, you 
can use it to --remove --force-all whatever you wish.

OTOH, the complaint seems to indicate among other things that 
xml-parser-pm588 is not installed, at least not according to apt-get. I 
don't know if apt-get or apt-cache can give you more detailed 
information, but dpkg -l will.

-- 
Martin



--
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
___
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel


Re: [Fink-devel] sudo apt-get remove question

2010-06-12 Thread Koen van der Drift

On Jun 12, 2010, at 6:40 AM, Martin Costabel wrote:

 You will probably get the same complaint from apt-get whenever you  
 ask it to do *anything*. It just refuses to work as long as it feels  
 something is unclean in its database. dpkg is much less inhibited,  
 you can use it to --remove --force-all whatever you wish.

 OTOH, the complaint seems to indicate among other things that xml- 
 parser-pm588 is not installed, at least not according to apt-get. I  
 don't know if apt-get or apt-cache can give you more detailed  
 information, but dpkg -l will.



It is installed, from fink list --installed:

i   xml-parser-pm588   2.36-2   Perl ext interface to XML  
parser/expat

and from dpkg -l

ri  xml-parser-pm588  2.36-2Perl ext interface to  
XML parser/expat


In the end I was able to remove it one package at the time:

$ fink remove intltool40
$ fink remove xml-parser-pm588

- Koen.

--
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
___
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel


Re: [Fink-devel] sudo apt-get remove question

2010-06-12 Thread Martin Costabel
Koen van der Drift wrote:
[]
 and from dpkg -l
 
 ri  xml-parser-pm588  2.36-2Perl ext interface to  
 XML parser/expat

ri says that it is installed, but marked for removal. I don't quite 
know what this means, probably that a removal had been attempted, but 
was unsuccessful. Too unclean for apt-get.

-- 
Martin



--
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
___
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel