View previous topic :: View next topic |
Author |
Message |
forestcat n00b
Joined: 18 Mar 2013 Posts: 1
|
Posted: Mon Mar 18, 2013 2:23 am Post subject: equery USE flag does not match dependencies of installed pac |
|
|
When I try to "emerge -avuDN --with-bdeps=y world", I get some blocks related to qtsvg, so I wanted to remove this package. However, 'equery depends' says that wpa_supplicant depends on qtsvg, while 'equery uses' says that wpa_supplicant is installed without the qt4 flag, which is what apparently brings in qtsvg as a dependency in the ebuild. Apparently equery depends is not aware of my USE flags or the flags used by the packages that are installed.
However, emerge --depclean qtsvg does not list any dependencies, so I suppose this is a better way to ensure that I can remove this package. Is this correct?
See output below.
Code: | $ equery depends qtsvg |
Quote: |
* These packages depend on qtsvg:
net-wireless/wpa_supplicant-2.0 (qt4 ? dev-qt/qtsvg:4)
|
Code: | $ equery uses =wpa_supplicant-2.0 |
Quote: |
[ Legend : U - final flag setting for installation]
[ : I - package is installed with flag ]
[ Colors : set, unset ]
* Found these USE flags for net-wireless/wpa_supplicant-2.0:
U I
- - ap : Add support for access point mode
+ + dbus : Enable dbus support for anything that needs it (gpsd, gnomemeeting, etc)
- - eap-sim : Add support for EAP-SIM authentication algorithm
- - fasteap : Add support for FAST-EAP authentication algorithm
- - gnutls : Adds support for net-libs/gnutls (TLS 1.0 and SSL 3.0 support)
- - p2p : Add support for Wi-Fi Direct mode
- - qt4 : Adds support for the Qt GUI/Application Toolkit version 4.x
+ + readline : Enables support for libreadline, a GNU line-editing library that almost everyone wants
+ + ssl : Adds support for Secure Socket Layer connections
- - wimax : Add support for Wimax EAP-PEER authentication algorithm
- - wps : Add support for Wi-Fi Protected Setup
|
Code: | $ equery depgraph wpa_supplicant-2.0 |
Quote: |
* dependency graph for net-wireless/wpa_supplicant-2.0
`-- net-wireless/wpa_supplicant-2.0 ~x86
`-- sys-apps/dbus-1.6.8-r1 (sys-apps/dbus) ~x86
`-- sys-apps/pcsc-lite-1.8.8 (sys-apps/pcsc-lite) ~x86
`-- dev-libs/libnl-3.2.21 (dev-libs/libnl) ~x86
`-- net-wireless/crda-1.1.3 (net-wireless/crda) ~x86
`-- net-libs/libpcap-1.3.0-r1 (net-libs/libpcap) x86
`-- dev-qt/qtgui-4.8.4-r1 (dev-qt/qtgui) x86
`-- dev-qt/qtsvg-4.8.4 (dev-qt/qtsvg) x86
`-- sys-libs/ncurses-5.9-r2 (sys-libs/ncurses) x86
`-- sys-libs/readline-6.2_p4 (sys-libs/readline) ~x86
`-- dev-libs/openssl-1.0.1e (dev-libs/openssl) ~x86
`-- net-libs/gnutls-3.1.9-r1 (net-libs/gnutls) ~x86
`-- dev-libs/libtommath-0.42.0-r1 (dev-libs/libtommath) ~x86
`-- sec-policy/selinux-networkmanager-9999 (sec-policy/selinux-networkmanager) M[package.mask]
`-- virtual/pkgconfig-0 (virtual/pkgconfig) x86
|
Code: | $ emerge -pv --depclean qtsvg |
Quote: |
Calculating dependencies... done!
>>> Calculating removal order...
>>> These are the packages that would be unmerged:
dev-qt/qtsvg
selected: 4.7.4
protected: none
omitted: none
All selected packages: dev-qt/qtsvg-4.7.4
>>> 'Selected' packages are slated for removal.
>>> 'Protected' and 'omitted' packages will not be removed.
Packages installed: 1037
Packages in world: 200
Packages in system: 42
Required packages: 1036
Number to remove: 1
|
|
|
Back to top |
|
|
dol-sen Retired Dev
Joined: 30 Jun 2002 Posts: 2805 Location: Richmond, BC, Canada
|
Posted: Mon Mar 18, 2013 7:46 am Post subject: |
|
|
Equery's reverse dependency lookup does not check that use flag conditions are met for the dep.
It just checks all installed pkgs for a dependency that matches the search criteria.
For it to do use flag validation and linking checks, would slow it down even further. The more installed pkgs you have the longer it will be to do a complete search run. _________________ Brian
Porthole, the Portage GUI frontend irc@freenode: #gentoo-guis, #porthole, Blog
layman, gentoolkit, CoreBuilder, esearch... |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|