Weblog entry #3 for jeremiah
I use the above crontab to get a fresh list of installed packages.
Comments on this Entry
[ Parent | Reply to this comment ]
[ Parent | Reply to this comment ]
Cheers,
[ Parent | Reply to this comment ]
Long answer: My understanding is that rpm -V "verifies" the rpm database. dpkg uses a flat file for a database; /var/lib/dpkg/available, so there is not the same need to verify a database for corruption in the same way as with rpm.
[ Parent | Reply to this comment ]
[ Parent | Reply to this comment ]
Or if the md5sums changed? Because that type of information is available in the .dsc file that gets uploaded with the package. All debs have a special version number as well - the version number of the upstream software, plus a number followed by a "-". So a deb usually has a version like this: libfoo-perl_1.01-1 with the last two characters (-1) being the version number of the deb package.
It is generally left to the higher level packaging tools like atp-get and aptitude to do the version number and signature checking, dpkg keeps track of the packages on the local system.
The entire package handling system is a toolset, the sum of its parts being more powerful than just rpm or yum for example.
[ Parent | Reply to this comment ]