[Bug 1404381] Re: dpkg option -p bug in 14.10
Adam Conrad
adconrad at 0c3.net
Sat Apr 11 03:47:35 UTC 2015
The whole point of "dpkg -p" is to print info from the "available" file,
it's working as advertised. However, if you're using an apt-based
frontend (as most people do), you should use "apt-cache" instead.
For the record, if you really want to use "dpkg -p" (and, thus, the
available file), the easiest way to keep it up to date is to use "sudo
dselect update" instead of "sudo apt-get update".
** Changed in: dpkg (Ubuntu)
Status: New => Invalid
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to dpkg in Ubuntu.
https://bugs.launchpad.net/bugs/1404381
Title:
dpkg option -p bug in 14.10
Status in dpkg package in Ubuntu:
Invalid
Bug description:
The dpkg option -p is reading the file /var/lib/dpkg/available.
But in 14.10, this file is not updated anymore, the file updated is
/var/lib/dpkg/status
So there's a bug,for exeample with a kernel-image:
$ dpkg -p linux-image-3.16.0-24-generic
dpkg-query: le paquet « linux-image-3.16.0-24-generic » n'est pas disponible
Utilisez dpkg --info (= dpkg-deb --info) pour examiner les fichiers
archives, et dpkg --contents (= dpkg-deb --contents) pour afficher leur
contenu.
Here you can see a screen of the folder, with the dates of update:
http://pix.toile-libre.org/?img=1419021081.png
/var/lib/dpkg/available is last modified in 10/26/2014 (date of my migration to 14.10), and
/var/lib/dpkg/status last modified today, 05/19/2014
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dpkg/+bug/1404381/+subscriptions
More information about the foundations-bugs
mailing list