On 07/04/2012 07:38 AM, Miroslav Suchý wrote:
On 07/03/2012 09:20 PM, william wrote:

I have a few packages which don't have the file with that name in the
/var/lib/dpkg/info directory.
e.g.
e2fslibs is installed:
ii  e2fslibs 1.42-1ubuntu2 ext2/ext3/ext4 file
system libraries

which has the corresponding list file
ls /var/lib/dpkg/info/e2fslibs\:amd64.*
e2fslibs:amd64.list      e2fslibs:amd64.md5sums e2fslibs:amd64.postinst
e2fslibs:amd64.postrm e2fslibs:amd64.shlibs e2fslibs:amd64.symbols

so should the function be updated to look for e2fslibs:amd64 or i386 or
is the package name just false and should this be updated (file bug
report to ubuntu about the name)?
thats about 422 packages on my current desktop. But this is about the
installtime so we could also return just 0 or epoch?

I do not have Ubuntu. Just good plain Debian. But anyway - let assume there is no difference:

I tried this command on my machine:
# for i in $(dpkg -l |grep ii |awk '{print $2}' ); do ls /var/lib/dpkg/info/${i}.list >/dev/null; done

and I get empty output. So in my system I have /var/lib/dpkg/info/${package_name}.list for every package. This was run on Sid, but I should have even old lenny somewhere... Yes, still the same. File for every package. So I would say it is Ubuntu problem (or you have corrupted package db). If you feel it is not your local problem, please file Ubunutu bug report.

I have tested this also on squeeze with no problems, but should it then always exit with an error because we cannot find the installtime for the package?
Maybe it should then give a warning but no error.

I have filed a report on lp: https://bugs.launchpad.net/ubuntu/+source/e2fsprogs/+bug/1020833



_______________________________________________
Spacewalk-devel mailing list
Spacewalk-devel@redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-devel

Reply via email to