Bug#574057: Hmmm...upon review apt-check is not failing
Dominique Brazziel
dbrazziel at snet.net
Wed Mar 17 22:30:05 UTC 2010
It does return the number of upgradeable packages/security updates:
./apt-check:99: DeprecationWarning: Attribute 'FileList' of the
'apt_pkg.Version' object is deprecated, use 'file_list' instead.
for (file, index) in ver.FileList:
./apt-check:100: DeprecationWarning: Attribute 'Archive' of the
'apt_pkg.PackageFile' object is deprecated, use 'archive' instead.
if (file.Archive.endswith("-security") and
24;0 <== 24 updates available, 0 security updates
But the update-notifier icon never appears. Anyway, I went
through apt-check and cleaned up the deprecated function/method
calls. The attached file (apt-check-0.9.73) runs without
warnings.
I'll keep drilling in the update.c module to find out
why the tray icon is not being displayed. I haven't seen
it for a number of days now and miss it. ;)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: apt-check-0.7.93
Type: text/x-python
Size: 3200 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-gnome-maintainers/attachments/20100317/bf4023f6/attachment.py>
More information about the pkg-gnome-maintainers
mailing list