Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #195997
| From | Abdullah Ramazanoğlu <ar018@yahoo.com> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | Re: O/S upgrade - dpkg still shows old version for some packages |
| Date | 2018-05-22 19:00 +0200 |
| Message-ID | <vSiNH-Cz-5@gated-at.bofh.it> (permalink) |
| References | <vRWtP-3Th-9@gated-at.bofh.it> <vRWtP-3Th-7@gated-at.bofh.it> <vRXgd-4b0-11@gated-at.bofh.it> <vSh5f-8eJ-5@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Tue, 22 May 2018 11:33:40 +0000 John Horne said: > On Mon, 2018-05-21 at 20:50 +0300, Abdullah Ramazanoğlu wrote: >> ~$ 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@lists.alioth.de bian.org> > Architecture: amd64 > Version: 4.8.2~dfsg-1 > ... > ====== So there is no problem. 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. You can update this database with "dpkg --update-avail" but since you won't be using dselect anyway, it is futile to do so. So I would suggest use "dpkg -s" for actual installed package status, and forget about dselect's idea of available packages (dpkg -p). More information can be found in dpkg(1) man page. Regards -- Abdullah Ramazanoğlu
Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Re: O/S upgrade - dpkg still shows old version for some packages Greg Wooledge <wooledg@eeg.ccf.org> - 2018-05-21 19:10 +0200
Re: O/S upgrade - dpkg still shows old version for some packages Abdullah Ramazanoğlu <ar018@yahoo.com> - 2018-05-21 20:00 +0200
Re: O/S upgrade - dpkg still shows old version for some packages John Horne <john.horne@plymouth.ac.uk> - 2018-05-22 17:10 +0200
Re: O/S upgrade - dpkg still shows old version for some packages Abdullah Ramazanoğlu <ar018@yahoo.com> - 2018-05-22 19:00 +0200
Re: O/S upgrade - dpkg still shows old version for some packages John Horne <john.horne@plymouth.ac.uk> - 2018-05-23 19:30 +0200
Re: O/S upgrade - dpkg still shows old version for some packages Abdullah Ramazanoğlu <ar018@yahoo.com> - 2018-05-23 21:10 +0200
Re: O/S upgrade - dpkg still shows old version for some packages John Horne <john.horne@plymouth.ac.uk> - 2018-05-22 13:50 +0200
csiph-web