O/S upgrade - dpkg still shows old version for some packages
- Date: Mon, 21 May 2018 11:29:53 +0000
- From: John Horne <john.horne@xxxxxxxxxxxxxx>
- Subject: O/S upgrade - dpkg still shows old version for some packages
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.
(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
apt-get install nodejs
nodejs is already the newest version (4.8.2~dfsg-1).
dpkg -p memcached
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
Can anyone advise how we may get 'dpkg -p' to show the correct (currently
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.