Package: unattended-upgrades
Version: 0.42debian1
Severity: important

unattended-upgrades produces warnings on every run, resulting in an superfluous 
email every day. This makes the package unfit for it's usecase.

Some of the content:

/usr/bin/unattended-upgrade:385: DeprecationWarning: Attribute 'FindDir' of the 
'apt_pkg.Configuration' object is deprecated, use 'find_dir' instead.
  logdir = apt_pkg.Config.FindDir("APT::UnattendedUpgrades::LogDir",
/usr/bin/unattended-upgrade:387: DeprecationWarning: Attribute 'Find' of the 
'apt_pkg.Configuration' object is deprecated, use 'find' instead.
  logfile = logdir+apt_pkg.Config.Find("APT::UnattendedUpgrades::LogFile",
/usr/bin/unattended-upgrade:182: DeprecationWarning: Attribute 'ValueList' of 
the 'apt_pkg.Configuration' object is deprecated, use 'value_list' instead.
  allowed_origins = map(string.split, 
apt_pkg.Config.ValueList("Unattended-Upgrade::Allowed-Origins"))
/usr/bin/unattended-upgrade:185: DeprecationWarning: Attribute 'ValueList' of 
the 'apt_pkg.Configuration' object is deprecated, use 'value_list' instead.
  blacklisted_pkgs = 
apt_pkg.Config.ValueList("Unattended-Upgrade::Package-Blacklist")

[..]

  /usr/bin/unattended-upgrade:194: DeprecationWarning: Attribute 'BrokenCount' 
of the 'apt_pkg.DepCache' object is deprecated, use 'broken_count' instead.
  if cache._depcache.BrokenCount > 0:
/usr/bin/unattended-upgrade:199: DeprecationWarning: 
apt_pkg.GetPkgActionGroup() is deprecated. Please see apt_pkg.ActionGroup() for 
the replacement.
  actiongroup = apt_pkg.GetPkgActionGroup(cache._depcache)
/usr/bin/unattended-upgrade:207: DeprecationWarning: Deprecated, please use 
'is_upgradable' instead
  if (pkg.isUpgradable and
/usr/bin/unattended-upgrade:232: DeprecationWarning: apt_pkg.GetAcquire() is 
deprecated. Please see apt_pkg.Acquire() for the replacement.
  fetcher = apt_pkg.GetAcquire()
/usr/bin/unattended-upgrade:233: DeprecationWarning: apt_pkg.GetPkgSourceList() 
is deprecated. Please see apt_pkg.SourceList() for the replacement.
  list = apt_pkg.GetPkgSourceList()
/usr/bin/unattended-upgrade:234: DeprecationWarning: Attribute 'ReadMainList' 
of the 'apt_pkg.SourceList' object is deprecated, use 'read_main_list' instead.
  list.ReadMainList()
/usr/bin/unattended-upgrade:236: DeprecationWarning: 
apt_pkg.GetPackageManager() is deprecated. Please see apt_pkg.PackageManager() 
for the replacement.
  pm = apt_pkg.GetPackageManager(cache._depcache)
/usr/bin/unattended-upgrade:238: DeprecationWarning: Attribute 'GetArchives' of 
the 'apt_pkg.PackageManager' object is deprecated, use 'get_archives' instead.
  pm.GetArchives(fetcher,list,recs)
/usr/bin/unattended-upgrade:241: DeprecationWarning: Attribute 'Run' of the 
'apt_pkg.Acquire' object is deprecated, use 'run' instead.
  res = fetcher.Run()
/usr/bin/unattended-upgrade:246: DeprecationWarning: Attribute 'Items' of the 
'apt_pkg.Acquire' object is deprecated, use 'items' instead.
  for item in fetcher.Items:
/usr/bin/unattended-upgrade:290: DeprecationWarning: Attribute 'InstCount' of 
the 'apt_pkg.DepCache' object is deprecated, use 'inst_count' instead.
  logging.debug("InstCount=%i DelCount=%i BrokenCout=%i" % 
(cache._depcache.InstCount, cache._depcache.DelCount, 
cache._depcache.BrokenCount))
/usr/bin/unattended-upgrade:290: DeprecationWarning: Attribute 'DelCount' of 
the 'apt_pkg.DepCache' object is deprecated, use 'del_count' instead.
  logging.debug("InstCount=%i DelCount=%i BrokenCout=%i" % 
(cache._depcache.InstCount, cache._depcache.DelCount, 
cache._depcache.BrokenCount))
/usr/bin/unattended-upgrade:290: DeprecationWarning: Attribute 'BrokenCount' of 
the 'apt_pkg.DepCache' object is deprecated, use 'broken_count' instead.
  logging.debug("InstCount=%i DelCount=%i BrokenCout=%i" % 
(cache._depcache.InstCount, cache._depcache.DelCount, 
cache._depcache.BrokenCount))




-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.26-2-openvz-amd64 (SMP w/4 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash

Versions of packages unattended-upgrades depends on:
ii  apt                           0.7.25.3   Advanced front-end for dpkg
ii  apt-utils                     0.7.25.3   APT utility programs
ii  debconf [debconf-2.0]         1.5.30     Debian configuration management sy
ii  python                        2.5.4-9    An interactive high-level object-o
ii  python-apt                    0.7.94.2   Python interface to libapt-pkg
ii  ucf                           3.0025     Update Configuration File: preserv

unattended-upgrades recommends no packages.

Versions of packages unattended-upgrades suggests:
pn  mailx                         <none>     (no description available)

-- debconf information excluded



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to