Package: apt-listbugs
Version: 0.0.86
Severity: important

Hi and thanks for maintaining apt-listbugs!

I am experiencing a problem with its cron.daily script, though.
Some time ago, I pinned two packages in order to avoid installing
versions affected by a couple of bugs which I thought could have a
negative impact on my system.

/usr/share/doc/apt-listbugs/README.Debian.gz states:

| The pinning will be removed when the package no longer has any
| critical bugs, by cron.daily.

Hence, my understanding is that no manual intervention is required
in order to have those packages unpinned when the scary bugs are
fixed or no longer release-critical.

OK, my current /etc/apt/preferences is:

| Explanation: Pinned by apt-listbugs at Wed Jan 16 21:34:06 +0100 2008
| Explanation:   #454965: ttf-opensymbol: uninstallable
| Explanation:   #452718: ttf-opensymbol non-installable
| Package: fontconfig
| Pin: version 2.4.2-1.2
| Pin-Priority: 1000
| 
| Explanation: Pinned by apt-listbugs at Sat Feb 16 19:24:37 +0100 2008
| Explanation:   #465241: bibtex2html has been installed with an unmet 
dependency
| Explanation:   #466052: installation-reports: GRUB installation failed
| Package: apt
| Pin: version 0.7.9
| Pin-Priority: 1000

The system executes cron.daily scripts via anacron everyday, but nothing
seems to change in this file.
However:

  *  #454965 and #452718 were merged together and then downgraded from
     severity `serious' to `important' (on Sun, 23 Mar 2008)
  *  fontconfig (version 2.5.0-2, currently in testing) no longer has any
     release-critical bugs
  *  #466052 was fixed in apt version 0.7.11 (which migrated to testing on
     Thu, 21 Feb 2008)

I expected to see my /etc/apt/preferences modified as follows:

| Explanation: Pinned by apt-listbugs at Sat Feb 16 19:24:37 +0100 2008
| Explanation:   #465241: bibtex2html has been installed with an unmet 
dependency
| Package: apt
| Pin: version 0.7.9
| Pin-Priority: 1000

Instead, I still see both packages pinned (and thus not upgraded!).

Indeed, if I manually run the following command, I get an output identical
to my current /etc/apt/preferences file:

  # /usr/share/apt-listbugs/aptcleanup
  Explanation: Pinned by apt-listbugs at Wed Jan 16 21:34:06 +0100 2008
  Explanation:   #454965: ttf-opensymbol: uninstallable
  Explanation:   #452718: ttf-opensymbol non-installable
  Package: fontconfig
  Pin: version 2.4.2-1.2
  Pin-Priority: 1000
  
  Explanation: Pinned by apt-listbugs at Sat Feb 16 19:24:37 +0100 2008
  Explanation:   #465241: bibtex2html has been installed with an unmet 
dependency
  Explanation:   #466052: installation-reports: GRUB installation failed
  Package: apt
  Pin: version 0.7.9
  Pin-Priority: 1000


I cannot understand what's going on.


I tried to perform a debug test on fontconfig, as suggested in
/usr/share/doc/apt-listbugs/README.Debian.gz .
I ran the following command-line:

  # (echo 'VERSION 2'; echo '' ;
            ls -1 /var/cache/apt/archives/fontconfig_*.deb |
            sed 's/^/x x x x /') |
            /usr/sbin/apt-listbugs apt -d \
            2> /tmp/apt-listbugs.debug.stderr \
            1> /tmp/apt-listbugs.debug.stdout

The two generated files are attached.
The final part of /tmp/apt-listbugs.debug.stdout seems to suggest
that apt-listbugs is willing to let the upgrade of fontconfig happen...
Nonetheless, my /etc/apt/preferences file still pins the package,
and aptitude refrains from upgrading it.

What's wrong?
What did I fail to understand?

Thanks for your attention.


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

Kernel: Linux 2.6.24-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages apt-listbugs depends on:
ii  apt                          0.7.9       Advanced front-end for dpkg
ii  libdpkg-ruby1.8              0.3.2       modules/classes for dpkg on ruby 1
ii  libhttp-access2-ruby1.8      2.0.6-3     HTTP accessing library for ruby
ii  libintl-gettext-ruby1.8      0.11-11     Gettext wrapper for Ruby 1.8
ii  liblocale-ruby1.8            0.1-6       extension to the Ruby intepreter f
ii  libruby1.8 [libzlib-ruby1.8] 1.8.6.114-1 Libraries necessary to run Ruby 1.
ii  libxml-parser-ruby1.8        0.6.8-3     Interface of expat for the scripti
ii  ruby                         4.1         An interpreter of object-oriented 

apt-listbugs recommends no packages.

-- no debconf information
Exception `LoadError' at /usr/lib/ruby/1.8/xml/encoding-ja.rb:12 - no such file 
to load -- uconv
Set XSD::XMLParser::XMLParser as XML processor.
Wire dump:

= Request

! CONNECT TO bugs.debian.org:80
! CONNECTION ESTABLISHED
POST /cgi-bin/soap.cgi HTTP/1.1
SOAPAction: ""
Content-Type: text/xml; charset=utf-8
User-Agent: SOAP4R/1.5.5 (/114, ruby 1.8.6 (2008-03-03) [x86_64-linux])
Date: Fri Mar 28 23:43:25 +0100 2008
Content-Length: 1051
Host: bugs.debian.org

<?xml version="1.0" encoding="utf-8" ?>
<env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema";
    xmlns:env="http://schemas.xmlsoap.org/soap/envelope/";
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>
  <env:Body>
    <n1:get_bugs xmlns:n1="Debbugs/SOAP/"
        env:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/";>
      <keyvalue n2:arrayType="xsd:anyType[4]"
          xmlns:n2="http://schemas.xmlsoap.org/soap/encoding/";
          xsi:type="n2:Array">
        <item xsi:type="xsd:string">severity</item>
        <item n2:arrayType="xsd:anyType[3]"
            xsi:type="n2:Array">
          <item xsi:type="xsd:string">critical</item>
          <item xsi:type="xsd:string">grave</item>
          <item xsi:type="xsd:string">serious</item>
        </item>
        <item xsi:type="xsd:string">package</item>
        <item n2:arrayType="xsd:anyType[1]"
            xsi:type="n2:Array">
          <item xsi:type="xsd:string">fontconfig</item>
        </item>
      </keyvalue>
    </n1:get_bugs>
  </env:Body>
</env:Envelope>

= Response

HTTP/1.1 200 OK
Date: Fri, 28 Mar 2008 22:42:57 GMT
Server: Apache/2.2.3 (Debian) mod_python/3.2.10 Python/2.4.4
SOAPServer: SOAP::Lite/Perl/0.69
Content-Length: 589
Content-Type: text/xml; charset=utf-8

<?xml version="1.0" encoding="UTF-8"?><soap:Envelope 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"; 
xmlns:xsd="http://www.w3.org/2001/XMLSchema"; 
soap:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"; 
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/";><soap:Body><get_bugsResponse
 xmlns="Debbugs/SOAP/"><soapenc:Array soapenc:arrayType="xsd:int[2]" 
xsi:type="soapenc:Array"><item xsi:type="xsd:int">402014</item><item 
xsi:type="xsd:int">446124</item></soapenc:Array></get_bugsResponse></soap:Body></soap:Envelope>

fetching 402014 446124.. 
Wire dump:

= Request

POST /cgi-bin/soap.cgi HTTP/1.1
SOAPAction: ""
Content-Type: text/xml; charset=utf-8
User-Agent: SOAP4R/1.5.5 (/114, ruby 1.8.6 (2008-03-03) [x86_64-linux])
Date: Fri Mar 28 23:43:27 +0100 2008
Content-Length: 647
Host: bugs.debian.org

<?xml version="1.0" encoding="utf-8" ?>
<env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema";
    xmlns:env="http://schemas.xmlsoap.org/soap/envelope/";
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>
  <env:Body>
    <n1:get_status xmlns:n1="Debbugs/SOAP/"
        env:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/";>
      <bugnumber n2:arrayType="xsd:string[2]"
          xmlns:n2="http://schemas.xmlsoap.org/soap/encoding/";
          xsi:type="n2:Array">
        <item xsi:type="xsd:int">402014</item>
        <item xsi:type="xsd:int">446124</item>
      </bugnumber>
    </n1:get_status>
  </env:Body>
</env:Envelope>

= Response

HTTP/1.1 200 OK
Date: Fri, 28 Mar 2008 22:42:58 GMT
Server: Apache/2.2.3 (Debian) mod_python/3.2.10 Python/2.4.4
SOAPServer: SOAP::Lite/Perl/0.69
Content-Length: 3893
Content-Type: text/xml; charset=utf-8

<?xml version="1.0" encoding="UTF-8"?><soap:Envelope 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"; 
xmlns:apachens="http://xml.apache.org/xml-soap"; 
xmlns:xsd="http://www.w3.org/2001/XMLSchema"; 
soap:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"; 
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/";><soap:Body><get_statusResponse
 xmlns="Debbugs/SOAP/"><s-gensym3 xsi:type="apachens:Map"><item><key 
xsi:type="xsd:int">402014</key><value><source 
xsi:type="xsd:string">unknown</source><done xsi:type="xsd:string">Touko Korpela 
&lt;[EMAIL PROTECTED]&gt;</done><found_versions 
soapenc:arrayType="xsd:anyType[0]" xsi:type="soapenc:Array" /><blocks 
xsi:type="xsd:string" /><date xsi:type="xsd:int">1165506486</date><fixed 
xsi:type="apachens:Map"><item><key 
xsi:type="xsd:string">fontconfig/2.5.0-1</key><value xsi:nil="true" 
/></item></fixed><fixed_versions soapenc:arrayType="xsd:string[1]" 
xsi:type="soapenc:Array"><i!
 tem 
xsi:type="xsd:string">fontconfig/2.5.0-1</item></fixed_versions><mergedwith 
xsi:type="xsd:string" /><found /><unarchived xsi:type="xsd:string" /><blockedby 
xsi:type="xsd:string" /><keywords 
xsi:type="xsd:string">etch-ignore</keywords><msgid 
xsi:type="xsd:string">&lt;[EMAIL PROTECTED]&gt;</msgid><id 
xsi:type="xsd:int">402014</id><forwarded xsi:type="xsd:string" /><severity 
xsi:type="xsd:string">serious</severity><owner xsi:type="xsd:string" 
/><log_modified xsi:type="xsd:int">1200513063</log_modified><location 
xsi:type="xsd:string">db-h</location><subject xsi:type="xsd:string">defoma, 
fontconfig: integration is broken, brokes updates of font 
packages</subject><originator xsi:type="xsd:string">Eugeniy Meshcheryakov 
&lt;[EMAIL PROTECTED]&gt;</originator><pending 
xsi:type="xsd:string">done</pending><tags 
xsi:type="xsd:string">etch-ignore</tags><fixed_date 
soapenc:arrayType="xsd:anyType[0]" xsi:type="soapenc:Array" /><package 
xsi:type="x!
 sd:string">fontconfig</package><found_date soapenc:arrayType="xsd:anyT
ype[0]" xsi:type="soapenc:Array" /></value></item><item><key 
xsi:type="xsd:int">446124</key><value><source 
xsi:type="xsd:string">unknown</source><found_versions 
soapenc:arrayType="xsd:string[1]" xsi:type="soapenc:Array"><item 
xsi:type="xsd:string">fontconfig/2.4.2-1.2</item></found_versions><done 
xsi:type="xsd:string">Keith Packard &lt;[EMAIL PROTECTED]&gt;</done><blocks 
xsi:type="xsd:string" /><date xsi:type="xsd:int">1192033264</date><fixed 
xsi:type="apachens:Map"><item><key 
xsi:type="xsd:string">fontconfig/2.5.0-1</key><value xsi:nil="true" 
/></item></fixed><fixed_versions soapenc:arrayType="xsd:string[1]" 
xsi:type="soapenc:Array"><item 
xsi:type="xsd:string">fontconfig/2.5.0-1</item></fixed_versions><mergedwith 
xsi:type="xsd:string" /><found xsi:type="apachens:Map"><item><key 
xsi:type="xsd:string">fontconfig/2.4.2-1.2</key><value xsi:nil="true" 
/></item></found><unarchived xsi:type="xsd:string" /><blockedby 
xsi:type="xsd:string" /><keywords xsi:type="xsd:string" /><msgid !
 xsi:type="xsd:string">&lt;[EMAIL PROTECTED]&gt;</msgid><id 
xsi:type="xsd:int">446124</id><forwarded xsi:type="xsd:string" /><severity 
xsi:type="xsd:string">grave</severity><owner xsi:type="xsd:string" 
/><log_modified xsi:type="xsd:int">1195024542</log_modified><location 
xsi:type="xsd:string">db-h</location><subject 
xsi:type="xsd:string">ttf-opensymbols: fails to install on 
etch</subject><originator xsi:type="xsd:string">Sven Luther &lt;[EMAIL 
PROTECTED]&gt;</originator><pending xsi:type="xsd:string">done</pending><tags 
xsi:type="xsd:string" /><fixed_date soapenc:arrayType="xsd:anyType[0]" 
xsi:type="soapenc:Array" /><package 
xsi:type="xsd:string">fontconfig</package><found_date 
soapenc:arrayType="xsd:anyType[0]" xsi:type="soapenc:Array" 
/></value></item></s-gensym3></get_statusResponse></soap:Body></soap:Envelope>

#<SOAP::Mapping::Object:0x15a82521c478 {}source="unknown" 
{}found_versions=["fontconfig/2.4.2-1.2"] {}done="Keith Packard <[EMAIL 
PROTECTED]>" {}blocks="" {}date=1192033264 {}fixed={"fontconfig/2.5.0-1"=>nil} 
{}fixed_versions=["fontconfig/2.5.0-1"] {}mergedwith="" 
{}found={"fontconfig/2.4.2-1.2"=>nil} {}unarchived="" {}blockedby="" 
{}keywords="" {}msgid="<[EMAIL PROTECTED]>" {}id=446124 {}forwarded="" 
{}severity="grave" {}owner="" {}log_modified=1195024542 {}location="db-h" 
{}subject="ttf-opensymbols: fails to install on etch" {}originator="Sven Luther 
<[EMAIL PROTECTED]>" {}pending="done" {}tags="" {}fixed_date=[] 
{}package="fontconfig" {}found_date=[]>
#<SOAP::Mapping::Object:0x15a825225e9c {}source="unknown" {}done="Touko Korpela 
<[EMAIL PROTECTED]>" {}found_versions=[] {}blocks="" {}date=1165506486 
{}fixed={"fontconfig/2.5.0-1"=>nil} {}fixed_versions=["fontconfig/2.5.0-1"] 
{}mergedwith="" {}found=#<SOAP::Mapping::Object:0x15a825222a6c> {}unarchived="" 
{}blockedby="" {}keywords="etch-ignore" {}msgid="<[EMAIL PROTECTED]>" 
{}id=402014 {}forwarded="" {}severity="serious" {}owner="" 
{}log_modified=1200513063 {}location="db-h" {}subject="defoma, fontconfig: 
integration is broken, brokes updates of font packages" {}originator="Eugeniy 
Meshcheryakov <[EMAIL PROTECTED]>" {}pending="done" {}tags="etch-ignore" 
{}fixed_date=[] {}package="fontconfig" {}found_date=[]>
bug_number:#446124 greater:false less:false delete too new bug:false
 ... fixed_max > found_max: assuming that this bug is fixed for this version
in conclusion, For bug 446124 comparing fixed: [fontconfig/2.5.0-1]->2.5.0-1, 
found:[fontconfig/2.4.2-1.2]->2.4.2-1.2, and new_ver:2.5.0-2 results in 
removal:true 
bug_number:#402014 greater:false less:false delete too new bug:false
 ... found_max is nil: this means this bug report is found later than the 
version installed, or filed before stone-age
 ... but this bug report has fixed information, assume it is fixed
in conclusion, For bug 402014 comparing fixed: [fontconfig/2.5.0-1]->2.5.0-1, 
found:[]->, and new_ver:2.5.0-2 results in removal:true 

Reply via email to