On Sun, 30 Mar 2008 11:18:44 +0200 Francesco Poli wrote:

[...]
> Why do I get different results from the ones you get?!?
> Why?!?
> 
> What's wrong with my system?

I performed some other checks in order to understand what's going on.
I think I found what's wrong with aptcleanup.

IIUC, aptcleanup parses /etc/apt/preferences and creates a list of
pinned packages.
Then aptcleanup queries the BTS (by invoking apt-listbugs on the list of
pinned packages) in order to see whether the currently pinned packages
have RC bugs.  Finally, aptcleanup compares the list of currently pinned
packages with the list of RC-buggy pinned packages and spits out a new
preferences file which only pins RC-buggy packages.

OK, assuming that the above is correct, the list of pinned packages is
"fontconfig apt" on my system.
Let's query the BTS by hand:

# /usr/sbin/apt-listbugs -y -q list fontconfig apt
grave bugs of fontconfig (2.4.2-1.2 -> ) <done>
 #446124 - ttf-opensymbols: fails to install on etch (Fixed: fontconfig/2.5.0-1)
serious bugs of fontconfig (2.4.2-1.2 -> ) <done>
 #402014 - defoma, fontconfig: integration is broken, brokes updates of font 
packages (Fixed: fontconfig/2.5.0-1)
grave bugs of apt (0.7.9 -> ) <pending>
 #474947 - MMap, again; and won't be denied this time
 #465241 - bibtex2html has been installed with an unmet dependency
Summary:
 apt(2 bugs), fontconfig(2 bugs)

The problem is: aptcleanup looks at the last line

 apt(2 bugs), fontconfig(2 bugs)

and concludes that fontconfig is still RC-buggy.
But this is wrong, since the *currently installed* version
(fontconfig/2.4.2-1.2) is RC-buggy, while the version that *would* be
installed without the pinning (fontconfig/2.5.0-2) is fixed!

$ apt-cache policy fontconfig
fontconfig:
  Installed: 2.4.2-1.2
  Candidate: 2.4.2-1.2
  Package pin: 2.4.2-1.2
  Version table:
     2.5.0-2 1000
        500 http://mir2.ovh.net testing/main Packages
        500 http://debian.intergenia.de testing/main Packages
 *** 2.4.2-1.2 1000
        100 /var/lib/dpkg/status



-- 
 http://frx.netsons.org/progs/scripts/refresh-pubring.html
 New! Version 0.6 available! What? See for yourself!
..................................................... Francesco Poli .
 GnuPG key fpr == C979 F34B 27CE 5CD8 DC12  31B5 78F4 279B DD6D FCF4

Attachment: pgp87bgGUvgYA.pgp
Description: PGP signature

Reply via email to