Editing Package managers

Jump to: navigation, search

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision Your text
Line 57: Line 57:
 
! Show change log for a ''package''
 
! Show change log for a ''package''
 
|| <code>rpm -q --changelog ''package''</code>
 
|| <code>rpm -q --changelog ''package''</code>
|| <code>zcat /usr/share/doc/''package''/changelog.Debian.gz</code><br/><code>aptitude [-t release] changelog ''package''</code>
+
|| <code>zcat /usr/share/doc/package/changelog.Debian.gz</code><br/><code>aptitude [-t release] changelog package</code>
 
|| <code>view /usr/portage/''category''/''package''/ChangeLog</code>
 
|| <code>view /usr/portage/''category''/''package''/ChangeLog</code>
 
|| <code>pacman -Qc ''package''</code>
 
|| <code>pacman -Qc ''package''</code>
Line 123: Line 123:
 
! Which installed package(s) provide a given ''dependency''<ref name="dep">In rpm world, a ''dependency'' can be a package name, a file, or a special atom like <code>perl(IO::Zlib)</code> for a perl module. In deb world, this can be either real or virtual package name.</ref>?
 
! Which installed package(s) provide a given ''dependency''<ref name="dep">In rpm world, a ''dependency'' can be a package name, a file, or a special atom like <code>perl(IO::Zlib)</code> for a perl module. In deb world, this can be either real or virtual package name.</ref>?
 
|| <code>rpm -q --whatprovides ''dependency''</code>
 
|| <code>rpm -q --whatprovides ''dependency''</code>
|| <code>dpkg-query -W -f='${Package}: ${Provides}\n' '*' | grep ': .*''dependency''<nowiki>'</nowiki></code>
+
|| <code>dpkg-query -W -f='${Package}: ${Provides}\n' '*' | grep ': .*package'</code>
 
|| <code>equery belongs ''dependency''</code>
 
|| <code>equery belongs ''dependency''</code>
 
||
 
||
Line 129: Line 129:
 
! Which installed package(s) require a given ''dependency''<ref name="dep"/>?
 
! Which installed package(s) require a given ''dependency''<ref name="dep"/>?
 
|| <code>rpm -q --whatrequires ''dependency''</code>
 
|| <code>rpm -q --whatrequires ''dependency''</code>
|| <code>dpkg-query -W -f='${Package}: ${Depends}\n' '*' | grep ': .*''package''<nowiki>'</nowiki></code><br><code>aptitude why ''package''</code><ref name="why">Actualy shows the whole dpendency situation that leads to install this package</ref>
+
|| <code>dpkg-query -W -f='${Package}: ${Depends}\n' '*' | grep ': .*package'</code><br><code>aptitude why package</code><ref name="why">Actualy shows the whole dpendency situation that leads to install this package</ref>
 
|| <code>equery depends ''package''</code>
 
|| <code>equery depends ''package''</code>
 
|| <code>pacman -Qi ''package'' | grep Required</code>
 
|| <code>pacman -Qi ''package'' | grep Required</code>
Line 136: Line 136:
 
! Show what prevents installation of a package
 
! Show what prevents installation of a package
 
|| <code>(yum/rpm tells with --verbose option -v)</code>
 
|| <code>(yum/rpm tells with --verbose option -v)</code>
|| <code>aptitude why-not ''package''</code>
+
|| <code>aptitude why-not package</code>
 
|| <code>emerge -pv ''package''</code>
 
|| <code>emerge -pv ''package''</code>
 
||
 
||

Please note that all contributions to OpenVZ Virtuozzo Containers Wiki may be edited, altered, or removed by other contributors. If you don't want your writing to be edited mercilessly, then don't submit it here.
If you are going to add external links to an article, read the External links policy first!

To edit this page, please answer the question that appears below (more info):

Cancel Editing help (opens in new window)