Your message dated Sat, 09 Jul 2011 18:31:37 +0100
with message-id <[email protected]>
and subject line Re: Bug#633366: Fails to run at all
has caused the Debian Bug report #633366,
regarding Fails to run at all
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
633366: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=633366
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: debsecan
Version: 0.4.14
Severity: grave


Mailbox of root is filled E-Mails like these from cron:

 Subject: Cron <daemon@juhtolv> test -x /usr/bin/debsecan && /usr/bin/debsecan 
--cron (failed)


Traceback (most recent call last):
  File "/usr/bin/debsecan", line 1323, in <module>
    rate_system(target, options, fetch_data(options, config), history)
  File "/usr/bin/debsecan", line 1300, in rate_system
    if v.is_vulnerable (bp, sp):
  File "/usr/bin/debsecan", line 430, in is_vulnerable
    return src_ver < self.unstable_version \
  File "/usr/bin/debsecan", line 92, in __cmp__
    return apt_pkg.VersionCompare(self.__asString, other.__asString)
AttributeError: 'module' object has no attribute 'VersionCompare'


-- System Information:
Debian Release: wheezy/sid
  APT prefers stable
  APT policy: (990, 'stable'), (500, 'testing-proposed-updates'), (500, 
'stable-updates'), (500, 'proposed-updates'), (102, 'testing'), (101, 
'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.39-2-686-pae (SMP w/1 CPU core)
Locale: LANG=fi_FI.utf8, LC_CTYPE=fi_FI.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages debsecan depends on:
ii  debconf [debconf-2.0]         1.5.39     Debian configuration management sy
ii  python                        2.6.6-14   interactive high-level object-orie
ii  python-apt                    0.8.0      Python interface to libapt-pkg

Versions of packages debsecan recommends:
ii  cron                          3.0pl1-116 process scheduling daemon
ii  postfix [mail-transport-agent 2.8.2-1+b1 High-performance mail transport ag

debsecan suggests no packages.

-- Configuration Files:
/etc/default/debsecan changed:
REPORT=true
SUITE=squeeze
MAILTO=root
SOURCE=


-- debconf information:
* debsecan/source:
* debsecan/mailto: root
* debsecan/suite: squeeze
* debsecan/report: true

-- 
Juhapekka "naula" Tolvanen * http colon slash slash iki dot fi slash juhtolv
"Quidquid Latine dictum sit altum videtur."



--- End Message ---
--- Begin Message ---
Version: 0.4.15

On Sat, 2011-07-09 at 20:06 +0300, Juhapekka Tolvanen wrote:
> Mailbox of root is filled E-Mails like these from cron:
> 
>  Subject: Cron <daemon@juhtolv> test -x /usr/bin/debsecan && 
> /usr/bin/debsecan --cron (failed)
[...]
>   File "/usr/bin/debsecan", line 92, in __cmp__
>     return apt_pkg.VersionCompare(self.__asString, other.__asString)
> AttributeError: 'module' object has no attribute 'VersionCompare'

This is due to the fact that you're using the python-apt from
testing/unstable, but the debsecan package from stable.  python-apt
changed its API, and the debsecan package in stable uses the old API.

python-apt has Breaks: to try to ensure that you can't get your system
in to a state where this happens, but they're unfortunately currently
wrong as the fix on the debsecan side was only partially applied in
0.4.14.  An update there is pending (see #629512), but in any case this
is fixed in debsecan 0.4.15 so I'm marking it as such.

Regards,

Adam



--- End Message ---

Reply via email to