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

Re: how to identify reverse dependencies?



Ahoj,

Dňa Wed, 15 Oct 2014 10:31:02 +0300 Andrei POPESCU
<andreimpopescu@gmail.com> napísal:

> Using Debian package dependencies this is expressed as
> Depends: libpam-systemd by those packages that actually require those 
> interfaces
> 
> $ aptitude search '?depends(libpam-systemd)'

Not always right results:

aptitude search -w 60 -F "%c%a %p %v" '~i?depends(libsystemd0)'
ih cups-daemon                                1.7.5-1                
ih dbus                                       1.8.8-1sla1   
ih fcgiwrap                                   1.1.0-2       
ih gvfs-daemons                               1.20.3-1      
ih libpolkit-backend-1-0                      0.105-6.1     
ih libpolkit-gobject-1-0                      0.105-6.1     
ih libpulse0                                  5.0-6         
ih php5-fpm                                   5.6.0+dfsg-1  
ih systemd                                    204-14        
ih udisks2                                    2.1.3-3       

But e.g. my dbus package doesn't depends on systemd at all:

LANG=en aptitude show dbus | grep Depends -A2
Depends: libaudit1 (>= 1:2.2.1), libc6 (>= 2.17), libcap-ng0, libdbus-1-3 (>=
         1.7.6), libexpat1 (>= 2.0.1), libselinux1 (>= 2.0.65), adduser,
         lsb-base (>= 3.2-14)

regards

-- 
Slavko
http://slavino.sk

Attachment: signature.asc
Description: PGP signature


Reply to: