Re: RE : Remove packages dependencies with rpm

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Le Monday 11 July 2005 10:57, vous avez écrit :
> I'm sorry for my bit short message ;-)
>
> I use Mandrake 10.2 version with urpmi and urpme tools.
>
> I created a package (first-1.0.0-1mdk.noarch.rpm) with a dependencie rpm
> (bind-9.3.1-1mdk).
>
> When I uninstall my rpm (first), I thought dependencie rpm (bind) will be
> uninstall to...
>
> But, no question, no uninstall bind...

This is the normal behaviour of the rpm dependancies schema:
A requires is only the way to deny installation of a package without 
installing another package:

A req B, so you can install B alone, but you can install A only if you install 
B.

As B can be installed alone, nothing can inform rpm that uninstalling A should 
remove B.

A nice idea would be to ask to user in urpmi/smart/any rpm frontend "Hey, 
nothing require A anymore, do you want to remove it". But this has a big 
problem, lot of application are requires only by one or two packages. Let 
imagine scenario: you remove magic-compression-tools requiring tar, gzip, 
bzip2... the tools will ask you if you want to remove each of this tools: of 
course no ! (this example is bad a everybody know this tools are required by 
many other packages).

So well, uninstalling first does not remove bind, and there is no way to do 
this currently.

Attachment: pgpKDosmrnvou.pgp
Description: PGP signature


[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux