Open main menu

OpenVZ Virtuozzo Containers Wiki β

Changes

Package managers

165 bytes added, 02:29, 26 December 2008
Commands
|| <code>rpm -q --whatprovides ''dependency''</code>
|| <code>dpkg-query -W -f='${Package}: ${Provides}\n' '*' | grep ': .*package'</code>
|| <code>-Dependencies are name of ebuilds (or virtual ebuilds). Obsolete???-</code>
|-
! Which installed package(s) require a given ''dependency''<ref name="dep"/>?
|| <code>rpm -K ''file.rpm''</code>
|| -???-
|| N/Aemerge -f ''package''
|-
! colspan="4" align="center" | <big>'''Repository queries'''</big>
|| <code>yum provides ''/some/file''</code>
|| First run: <br/><code>apt-file update</code><br/>and then:<br/><code>apt-file search ''/some/file''</code>
|| NNo command, only if the file is already installed:<code>equery belongs ''/Asome/file''<code>
|}
5
edits