testOriginMatcherWithVersionInUpdatesAndSecurity failed withAssertionError: None == None : no package 'ecryptfs-utils' installed
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
update-manager (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
On raring, update-manager 1:0.174.3 testsuite fails in autopkgtest with:
.......
=======
FAIL: testOriginMatch
-------
Traceback (most recent call last):
File "/tmp/tmp.
"no package '%s' installed" % pkg.name)
AssertionError: None == None : no package 'ecryptfs-utils' installed
-------
Ran 61 tests in 31.644s
FAILED (failures=1)
On amd64 the package is libc6-prof
ProblemType: Bug
DistroRelease: Ubuntu 13.04
Package: update-manager 1:0.174.3
ProcVersionSign
Uname: Linux 3.7.0-5-generic x86_64
ApportVersion: 2.7-0ubuntu1
Aptdaemon:
Architecture: amd64
Date: Thu Dec 13 08:51:40 2012
MarkForUpload: True
PackageArchitec
ProcEnviron:
TERM=xterm
PATH=(custom, no user)
XDG_RUNTIME_
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: update-manager
UpgradeStatus: Upgraded to raring on 2012-01-31 (316 days ago)
pkg.current_ver is always None despite its status in Installed in dpkg status file.
>>> import apt ubuntu/ update- manager- 0.174.3/ tests/aptroot- update- origin' ) libvirt' ]
>>> c = apt.Cache(rootdir = '/home/
>>> c.update()
True
>>> c.open()
>>> p=c['python-
>>> p._pkg.current_ver
>>>
$ ls -l /home/ubuntu/ update- manager- 0.174.3/ tests/aptroot- update- origin/ var/lib/ dpkg/status update- manager- 0.174.3/ tests/aptroot- update- origin/ var/lib/ dpkg/status
-rw-r--r-- 1 root root 11185 Dec 13 10:04 /home/ubuntu/
$ head -5 /home/ubuntu/ update- manager- 0.174.3/ tests/aptroot- update- origin/ var/lib/ dpkg/status
Package: python-libvirt
Status: install ok installed
Installed-Size: 1
Version: 0.7.5-5ubuntu27.16
Description: foo