Debian Backports appearing again in Package Updates

This bug was fixed a couple of versions ago, but since Virtualmin 3.74 it reappeared. Now it thinks again that backports packages are needed upgrades, even though their priority is lower than the installed packages.

Status: 
Closed (fixed)

Comments

I did make some changes related to version pinning in the new release, but it's possible it is not working correctly in some cases.

What packages are appearing incorrectly, and with what versions?

Also, what is the output from apt-cache policy on your system?

in my case:

dovecot-antispam a Dovecot plugin that helps train spam filters 1.2+20090702-1~bpo50+3
  dovecot-common secure mail server that supports mbox and maildir mailboxes 1.2.4-2~bpo50+1
  dovecot-imapd secure IMAP server that supports mbox and maildir mailboxes 1.2.4-2~bpo50+1
  dovecot-pop3d secure POP3 server that supports mbox and maildir mailboxes 1.2.4-2~bpo50+1
  mysql-common MySQL database common files 5.1.37-2~bpo50+1
  mysql-server MySQL database server (metapackage depending on the latest version) 5.1.37-2~bpo50+1
  postgresql object-relational SQL database (supported version) 8.4.1-1~bpo50+1
  postgresql-client front-end programs for PostgreSQL (supported version) 8.4.1-1~bpo50+1
  postgresql-client-common manager for multiple PostgreSQL client versions 99~bpo50+1
  postgresql-common PostgreSQL database-cluster manager 99~bpo50+1
  rubygems package management framework for Ruby libraries/applications 1.3.4-1~bpo50+1
  subversion Advanced version control system 1.6.4dfsg-1~bpo50+1

and

hannibal:~# apt-cache policy
Package files:
100 /var/lib/dpkg/status
     release a=now
500 http://software.virtualmin.com virtualmin-universal/main Packages
     release o=Virtualmin, Inc.,a=stable,l=Virtualmin Universal Packages for Deb                                                                                                                                                             ian,c=main
     origin software.virtualmin.com
500 http://software.virtualmin.com virtualmin-lenny/main Packages
     release o=Virtualmin, Inc.,a=stable,l=Virtualmin for Debian Lenny,c=main
     origin software.virtualmin.com
500 http://download.virtualbox.org lenny/non-free Packages
     release o=Sun Microsystems, Inc.,l=Sun Microsystems, Inc.,c=non-free
     origin download.virtualbox.org
500 http://www.symfony-project.org debian/ Packages
     origin www.symfony-project.org
500 http://etc.inittab.org ./ Packages
     release o=inittab.org,a=lenny,l=Alberto Gonzalez Iniesta Repository,c=
     origin etc.inittab.org
500 http://volatile.debian.org lenny/volatile/non-free Packages
     release o=volatile.debian.org,a=stable,l=debian-volatile,c=non-free
     origin volatile.debian.org
500 http://volatile.debian.org lenny/volatile/contrib Packages
     release o=volatile.debian.org,a=stable,l=debian-volatile,c=contrib
     origin volatile.debian.org
500 http://volatile.debian.org lenny/volatile/main Packages
     release o=volatile.debian.org,a=stable,l=debian-volatile,c=main
     origin volatile.debian.org
   1 http://www.backports.org lenny-backports/non-free Packages
     release v=None,o=Backports.org archive,a=lenny-backports,l=Backports.org ar                                                                                                                                                             chive,c=non-free
     origin www.backports.org
   1 http://www.backports.org lenny-backports/contrib Packages
     release v=None,o=Backports.org archive,a=lenny-backports,l=Backports.org ar                                                                                                                                                             chive,c=contrib
     origin www.backports.org
   1 http://www.backports.org lenny-backports/main Packages
     release v=None,o=Backports.org archive,a=lenny-backports,l=Backports.org ar                                                                                                                                                             chive,c=main
     origin www.backports.org
500 http://security.debian.org lenny/updates/non-free Packages
     release v=5.0,o=Debian,a=stable,l=Debian-Security,c=non-free
     origin security.debian.org
500 http://security.debian.org lenny/updates/contrib Packages
     release v=5.0,o=Debian,a=stable,l=Debian-Security,c=contrib
     origin security.debian.org
500 http://security.debian.org lenny/updates/main Packages
     release v=5.0,o=Debian,a=stable,l=Debian-Security,c=main
     origin security.debian.org
500 http://ftp.de.debian.org lenny/non-free Packages
     release v=5.0.3,o=Debian,a=stable,l=Debian,c=non-free
     origin ftp.de.debian.org
500 http://ftp.de.debian.org lenny/contrib Packages
     release v=5.0.3,o=Debian,a=stable,l=Debian,c=contrib
     origin ftp.de.debian.org
500 http://ftp.de.debian.org lenny/main Packages
     release v=5.0.3,o=Debian,a=stable,l=Debian,c=main
     origin ftp.de.debian.org
Pinned packages:

there you go :)

dunno why my previous post doesnt show, but if you click on edit (assuming you can) you will see it

I'm commenting just so I receive email updates from this thread.

Thanks for that output .. so I presume it is packages like dovecot-antispam for which an upgrade is offered when it shouldn't be?

If so, what is the output from apt-cache policy dovecot-antispam on your system?

uh, actually i do have the dovecot-antispam backport package installed, so ill do that with the dovecot-common package:

hannibal:~# apt-cache policy dovecot-common
dovecot-common:
  Installed: 1:1.0.15-2.3+lenny1
  Candidate: 1:1.0.15-2.3+lenny1
  Version table:
     1:1.2.4-2~bpo50+1 0
          1 http://www.backports.org lenny-backports/main Packages
 *** 1:1.0.15-2.3+lenny1 0
        500 http://security.debian.org lenny/updates/main Packages
        100 /var/lib/dpkg/status
     1:1.0.15-2.3 0
        500 http://ftp.de.debian.org lenny/main Packages

Ok, thanks .. which config file do you have this priority set in though, and what does it contain?

Virtualmin 3.74 expects to see the pinned version in the output of apt-cache policy , but unfortunately that doesn't seem to be happening..

/etc/apt/preferences is empty. the priority is low by default. i use these sources: deb http://www.backports.org/debian lenny-backports main contrib non-free see http://backports.org/dokuwiki/doku.php?id=instructions

Ok .. sounds like I no choice but to restore the old method for finding the actual pinned or priority versions. I will include this in the 3.7 release of the Virtualmin Package Updates module.

Automatically closed -- issue fixed for 2 weeks with no activity.