Dear all,
I have more question on comparison of YUM and APT: 1) in apt systems, /var/lib/dpkg/status exists and keeps information about installed packages such as marked as remove and etc, what's its equivalent in yum systems? 2) in apt systems, /var/cache/apt/archives keeps *deb files as temporarily, What's its equivalent in yum systems? 3) apt-cache command search on local cache about a package such as 'apt-cache search MY_PACKAGE', now can i do it with yum systems? if true which command? 4) apt-get has -f (--fixed-broken), yum does has it? such as 'apt-get -f install' ? when you use 'apt-get -f install' or 'apt-get -f dist-upgrade' APT system resolve installed packages and solve any problem. 5) in apt systems at first we use 'apt-get update' to download information of packages.Then they are cached in /var/lib/apt/lists/ , What's equivalent of apt-get update and /var/lib/apt/lists/ ? 6) We use 'apt-cdrom add' to add cdrom repo to my machine, What's its equivalent in yum? 7) --purge and -e is different in dpkg or apt-get purge or apt-get reomve, Do you have same concept in yum?(remove doesn't remove information in status file, but purge remove them) 8) we have apt-file command that it search on repo and get a file as arg and returns package names that arg exist in them.Do you have in yum? 9) /var/lib/dpkg/available : list of installed packages.
--thank you, Mohsen
On Sat, 2012-10-06 at 06:54 -0500, Rex Dieter wrote:
On 10/06/2012 12:40 AM, Mohsen Pahlevanzadeh wrote:
Dear Matthew and Christopher,
At first, sorrry for late, and thank you for your reply and your attention. In Debian systems: Directory /var/lib/apt/ keeps cache of repos, then users can search offline with apt-cache search blahblah , What's this scenario in yum system? and Where the given directory ?
/var/cache/yum
Use yum -C or yum --cacheonly
-- rex
-- packaging mailing list packaging@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/packaging