Debian

Derek Broughton news at pointerstop.ca
Thu Sep 20 12:32:30 UTC 2007


sktsee wrote:

> On Wed, 2007-09-19 at 19:30 +0100, Liam Proven wrote:
>> On 17/09/2007, Mihamina (R12y) Rakotomandimby
>> <mihamina.rakotomandimby at etu.univ-orleans.fr> wrote:

>> > Nope. apt cant be used without dpkg.
>> 
>> Yes, it can.
> 
> Hmmm...
> 
> $ mv /usr/bin/dpkg /usr/bin/dpkg.bak
> $ sudo apt-get remove libdvdplay0
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> The following packages will be REMOVED:
>   libdvdplay0
> 0 upgraded, 0 newly installed, 1 to remove and 1 not upgraded. Need to
> get
> 0B of archives.
> After unpacking 119kB disk space will be freed. Do you want to continue
> [Y/n]? y
> Could not exec dpkg!
> E: Sub-process /usr/bin/dpkg returned an error code (100)
> 
> I don't think so.

You're making the same error Mihamina made.  apt is not apt-get.  apt is a
whole family of tools, most (all?) of which use libapt.  Some of those
tools do not directly or indirectly invoke dpkg.
-- 
derek





More information about the ubuntu-users mailing list