Re: Apt error (tried other mailing list & Google), please help!

Panu Matilainen <[email protected]> Thu, 23 Sep 2004 21:19:02 +0300
Newsgroups gmane.linux.conectiva.apt-rpm
Message-ID <[email protected]>
On Thu, 2004-09-23 at 21:09, Richard Bos wrote:
> Op donderdag 23 september 2004 19:02, schreef Panu Matilainen:
> > > stat64("/usr/bin/aptrpm", 0xbfffecfc)   = -1 ENOENT (No such file or
> > > directory)
> >
> > Things usually work because this check is by default done on /bin/rpm.
> > Depending on how you look at it, it's either a configuration or
> > packaging error (a missing dependency) in the apt package you're using.
> > Somewhere in /etc/apt/apt.conf.d files "Dir::Bin::rpm" config item is
> > set to "/usr/bin/aptrpm" - delete that setting and it should start
> 
> Hmmm, I think it will be the file /etc/apt/apt.conf.  if so, it means that 
> Guido has an old aptrpm version installed or ..... something else but what...
> 
> > working. Or alternatively install the package providing /usr/bin/aptrpm,
> > Richard can help with this...
> 
> I used to ship aptrpm till I changed it to just apt..., and that is about a 
> long time ago.  My cvs log goes back 1 year (only) and no aptrpm is mentioned 
> in the log or diff.

Ok - things like this can easily happen with %config(noreplace) - you
modify the local config just a little bit and if things change enough to
cause breakage (like in this case) the configuration fitting the new
scheme still sits in <some-conf-file>.rpmnew. Which is probably what's
happened here...

	- Panu -