Web lists-archives.com

Re: O/S upgrade - dpkg still shows old version for some packages

On Tue, 2018-05-22 at 19:57 +0300, Abdullah Ramazanoğlu wrote:

> dpkg -p is shows the available packages for dselect. Since apt and dselect
> uses different mechanisms for tracking package status, dselect's availability
> database (/var/lib/dpkg/available) is not getting updated, hence reflects
> initial installation status.
Wow! I know nothing about Debian's internals, but you're saying that one
command (dpkg) will use different mechanisms and which one is used depends on
the command options used. That seems really confusing!

> So I would suggest use "dpkg -s" for actual installed package status, and
> forget about dselect's idea of available packages (dpkg -p).
Okay, thanks for that. And thanks for the info generally.


John Horne | Senior Operations Analyst | Technology and Information Services
University of Plymouth | Drake Circus | Plymouth | Devon | PL4 8AA | UK

This email and any files with it are confidential and intended solely for the use of the recipient to whom it is addressed. If you are not the intended recipient then copying, distribution or other use of the information contained is strictly prohibited and you should not rely on it. If you have received this email in error please let the sender know immediately and delete it from your system(s). Internet emails are not necessarily secure. While we take every care, Plymouth University accepts no responsibility for viruses and it is your responsibility to scan emails and their attachments. Plymouth University does not accept responsibility for any changes made after it was sent. Nothing in this email or its attachments constitutes an order for goods or services unless accompanied by an official order form.