On 24/09/10 17:47, Michael Vogt wrote:
I would appreciate feedback if the different python-apt
version make a difference. I more suspect that its the new apt/libapt
(the amount of changes in python-apt is relatively small), any more
findings/information about that will help.
Hi!
I just finished doing that, and it seems you're right.
I rebuilt python-apt 0.7.96.1, 0.7.96.1build1, 0.7.97 and 0.7.97.1
against apt/apt-utils 0.8.0 and they all exhibit this bug:
r...@squeeze32:~# dpkg --list python-apt apt apt-utils
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Description
+++-==============-==============-============================================
ii apt 0.8.0 Advanced front-end for dpkg
ii apt-utils 0.8.0 APT utility programs
ii python-apt 0.7.96.1 Python interface to libapt-pkg
r...@squeeze32:~# unattended-upgrade --debug
Initial blacklisted packages:
Starting unattended upgrades script
Allowed origins are: ["('Debian', 'stable')", "('Debian', 'squeeze-security')", "('Debian',
'squeeze-updates')", "('Debian', 'testing')"]
Checking: python-apt (["<Origin component:'main' archive:'testing' origin:'Debian'
label:'Debian' site:'cdn.debian.net' isTrusted:True>"])
pkgs that look like they should be upgraded: python-apt
Fetched 0B in 0s (0B/s)
Segmentation fault
So, it seems that python-apt 0.7.96.1 only worked for me due to the
older apt/apt-utils 0.7.25.3:
r...@squeeze32:~# dpkg --list python-apt apt apt-utils
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Description
+++-==============-==============-============================================
hi apt 0.7.25.3 Advanced front-end for dpkg
hi apt-utils 0.7.25.3 APT utility programs
hi python-apt 0.7.96.1 Python interface to libapt-pkg
r...@squeeze32:~# unattended-upgrade --debugInitial blacklisted packages:
Starting unattended upgrades script
Allowed origins are: ["('Debian', 'stable')", "('Debian', 'squeeze-security')", "('Debian',
'squeeze-updates')", "('Debian', 'testing')"]
Checking: apt (["<Origin component:'main' archive:'testing' origin:'Debian'
label:'Debian' site:'cdn.debian.net' isTrusted:True>"])
pkg 'apt' is on hold
sanity check failed
Checking: apt-utils (["<Origin component:'main' archive:'testing' origin:'Debian'
label:'Debian' site:'cdn.debian.net' isTrusted:True>"])
package 'apt-utils' upgradable but fails to be marked for upgrade (E:Unable to
correct problems, you have held broken packages.)
Checking: python-apt (["<Origin component:'main' archive:'testing' origin:'Debian'
label:'Debian' site:'cdn.debian.net' isTrusted:True>"])
package 'python-apt' upgradable but fails to be marked for upgrade (E:Unable to
correct problems, you have held broken packages.)
Checking: tzdata (["<Origin component:'main' archive:'testing' origin:'Debian'
label:'Debian' site:'cdn.debian.net' isTrusted:True>"])
pkgs that look like they should be upgraded: tzdata
Get:1 http://cdn.debian.net squeeze/main tzdata 2010l-1 [764kB]
Fetched 764kB in 0s (0B/s)
<apt_pkg.AcquireItem object: Status: 2 Complete: 1 Local: 0 IsTrusted: 1 FileSize:
763772 DestFile:'/var/cache/apt/archives/tzdata_2010l-1_all.deb' DescURI:
'http://cdn.debian.net/debian/pool/main/t/tzdata/tzdata_2010l-1_all.deb' ID:1
ErrorText: ''>
check_conffile_prompt('/var/cache/apt/archives/tzdata_2010l-1_all.deb')
found pkg: tzdata
blacklist: []
InstCount=1 DelCount=0 BrokenCout=0
Packages that are upgraded: tzdata
Writing dpkg log to
'/var/log/unattended-upgrades/unattended-upgrades-dpkg_2010-09-24_18:23:46.527080.log'
All upgrades installed
I noticed this during the build against apt/apt-utils 0.8.0 -- I think
this is the same Python object that leads PyString_FromFormat to choke:
python/acquire.cc: In function 'PyObject* PkgAcquireNew(PyTypeObject*,
PyObject*, PyObject*)':
python/acquire.cc:331: warning: 'pkgAcquire::pkgAcquire(pkgAcquireStatus*)' is
deprecated (declared at /usr/include/apt-pkg/acquire.h:352)
Perhaps there was some incompatible change in that object in APT 0.8.0?
Regards,
--
Steven Chamberlain
ste...@pyro.eu.org
--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org