Deprecation warnings in daily cron

Bug #548665 reported by Loïc Minier on 2010-03-26
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
apt-xapian-index (Ubuntu)
Medium
Unassigned
Lucid
Medium
Unassigned

Bug Description

Binary package hint: apt

Hi

Since a couple of days (after a large update of apt) I get these emails daily:
Subject: Anacron job 'cron.daily' on hostname

/etc/cron.daily/apt:

/etc/cron.daily/apt:
/usr/share/apt-xapian-index/plugins/apttags.py:28: DeprecationWarning: Attribute 'FindFile' of the 'apt_pkg.Configuration' object is deprecated, use 'find_file' instead.
  file = apt.apt_pkg.Config.FindFile("Dir::Cache::pkgcache")
/usr/share/apt-xapian-index/plugins/descriptions.py:25: DeprecationWarning: Attribute 'FindFile' of the 'apt_pkg.Configuration' object is deprecated, use 'find_file' instead.
  file = apt.apt_pkg.Config.FindFile("Dir::Cache::pkgcache")
/usr/share/apt-xapian-index/plugins/origin.py:26: DeprecationWarning: Attribute 'FindFile' of the 'apt_pkg.Configuration' object is deprecated, use 'find_file' instead.
  file = apt.apt_pkg.Config.FindFile("Dir::Cache::pkgcache")
/usr/share/apt-xapian-index/plugins/sections.py:24: DeprecationWarning: Attribute 'FindFile' of the 'apt_pkg.Configuration' object is deprecated, use 'find_file' instead.
  file = apt.apt_pkg.Config.FindFile("Dir::Cache::pkgcache")
/usr/share/apt-xapian-index/plugins/sizes.py:24: DeprecationWarning: Attribute 'FindFile' of the 'apt_pkg.Configuration' object is deprecated, use 'find_file' instead.
  file = apt.apt_pkg.Config.FindFile("Dir::Cache::pkgcache")
/usr/share/apt-xapian-index/plugins/software-center.py:31: DeprecationWarning: Attribute 'FindFile' of the 'apt_pkg.Configuration' object is deprecated, use 'find_file' instead.
  file = apt.apt_pkg.Config.FindFile("Dir::Cache::pkgcache")

We need to fix these before release

Thanks,

ProblemType: Bug
Architecture: amd64
Date: Fri Mar 26 10:36:24 2010
DistroRelease: Ubuntu 10.04
Package: apt 0.7.25.3ubuntu3
ProcEnviron:
 LANGUAGE=fr_FR:fr:en_GB:en
 PATH=(custom, user)
 LANG=fr_FR.UTF-8
 SHELL=/bin/zsh
ProcVersionSignature: Ubuntu 2.6.32-17.26-generic 2.6.32.10+drm33.1
SourcePackage: apt
Uname: Linux 2.6.32-17-generic x86_64

Loïc Minier (lool) wrote :
Changed in apt (Ubuntu):
milestone: none → ubuntu-10.04
importance: Undecided → Medium
Michael Vogt (mvo) on 2010-03-26
affects: apt (Ubuntu Lucid) → apt-xapian-index (Ubuntu Lucid)
Changed in apt-xapian-index (Ubuntu Lucid):
status: New → Confirmed
status: Confirmed → In Progress
Michael Vogt (mvo) wrote :

I filed a sync request for apt-xapian-index from debian/testing (0.25) that will fix this issue.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers