Web lists-archives.com

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




Hello,

We have a virtual Debian 7 (LTS) server, and I have been running through the
upgrade process of going from 7 to 8 and then straight to Debian 9. Generally
no problems with this.

However, when using 'dpkg -p' I notice that some of the packages are showing
their old (debian 7) version numbers. I know the packages have been updated
since (typically) using a '--version' option for the command shows the later
version, and if I try and install the package dpkg says that it is already at
the latest version.
For example:
============
(This package was installed on Deb 7 using a specific APT sources.list file.
That file was removed prior to the upgrade to Debian 8.)

dpkg -p nodejs
...
Version: 0.10.37-1chl1~lucid1

nodejs -v
v4.8.2

apt-get install nodejs
...
nodejs is already the newest version (4.8.2~dfsg-1).


dpkg -p memcached
...
Version: 1.4.13-0.2+deb7u4

memcached -V
memcached 1.4.33
============

I'm not completely familiar with how Debian records package versions, but I
assume that for some reason during the upgrade the relevant files were not
updated.

Can anyone advise how we may get 'dpkg -p' to show the correct (currently
installed) versions?



Thanks,

John.

--
John Horne | Senior Operations Analyst | Technology and Information Services
University of Plymouth | Drake Circus | Plymouth | Devon | PL4 8AA | UK
________________________________
[http://www.plymouth.ac.uk/images/email_footer.gif]<http://www.plymouth.ac.uk/worldclass>

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.