Web lists-archives.com

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




On Mon, 2018-05-21 at 20:50 +0300, Abdullah Ramazanoğlu wrote:
> On Mon, 21 May 2018 13:06:37 -0400 Greg Wooledge said:
>
> > On Mon, May 21, 2018 at 11:29:53AM +0000, John Horne wrote:
> > > dpkg -p nodejs
> > > ...
> > > Version: 0.10.37-1chl1~lucid1
> > >
> > > nodejs -v
> > > v4.8.2
> >
> > You probably have nodejs installed locally, outside of the packaging
> > system.  What does "type -a nodejs" tell you (in bash)?
>
> ~$ apt-cache policy nodejs
>
> might give a more complete view.
>
the output for this shows:

======
nodejs:
  Installed: 4.8.2~dfsg-1
  Candidate: 4.8.2~dfsg-1
  Version table:
 *** 4.8.2~dfsg-1 500
        500 http://http.debian.net/debian stretch/main amd64 Packages
        100 /var/lib/dpkg/status
======


I also tried 'dpkg -s' as you suggested. The output was:

======
Package: nodejs
Status: install ok installed
Priority: optional
Section: web
Installed-Size: 13928
Maintainer: Debian Javascript Maintainers <pkg-javascript-devel@xxxxxxxxxxxxxxx
bian.org>
Architecture: amd64
Version: 4.8.2~dfsg-1
...
======



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.