dab install debian-backports-keyring - doesn't work anymore

apmuthu

Renowned Member
Feb 26, 2009
808
8
83
Chennai - India & Singapore
github.com
The following code used in the Makefile for MediaWiki OpenVZ Template doe not work anymore.
Code:
dab install debian-backports-keyring
s

Any Workaround?

The manual means works:

Append the following to /etc/apt/sources.list
Code:
deb [URL]http://www.backports.org/debian[/URL] lenny-backports main contrib non-free

Then do the following:
Code:
wget -O - [URL]http://backports.org/debian/archive.key[/URL] | apt-key add -
apt-get update

Now we can install any backports package like:
Code:
apt-get -t lenny-backports install python-support
 
Last edited:
works here. post your dab.conf and Makefile.
 
Thanks Tom. It works now that I have the Source for the backports in the dab.conf file:
Code:
Suite: lenny
CacheDir: ../cache
Source: [URL]http://ftp.debian.org/debian[/URL] SUITE main contrib
Source: [URL]http://security.debian.org[/URL] SUITE updates/main updates/contrib 
Source: [URL]http://www.backports.org/debian[/URL] lenny-backports main contrib non-free
#Mirror: [URL]http://ftp.debian.org/debian[/URL] => [URL]ftp://mirror/debian[/URL]
Architecture: i386
.
.
.
.
Even though we are using the CacheDir that may have all the files from the first two standard sources (generally commented out for speed), if we are to use the third source (backports), then the first two sources should not be commented out.

As the second source above has updates not part of the url, the Release info is being ignored.
 
Sorry to re-post on this thread but I am encoutering the same issue described. I cannot install any package from backports from dab... Here are the relevant part from dab.conf :

Code:
Suite: squeeze
Source: ftp://mir1.ovh.net/debian SUITE main  contrib
Source: http://security.debian.org SUITE/updates main contrib non-free
Source: http://backports.debian.org/debian-backports SUITE-backports main contrib non-free
#Source: http://nibbler.personalized-software.ie/debian SUITE main
Architecture: i386
Name: debian-6.0-minimal-07-09-2010
Version: 6.0
Section: system
Without even using my build script just using dab manually I get the following results :
Code:
dab init
dab bootstrap --minimal
dab exec aptitude search keyring
i   debian-archive-keyring          - GnuPG archive keys of the Debian archive
dab install debian-backports-keyring
hint: ignoring provides for 'debian-backports-keyring' - package not in 'available' list.
no such package 'debian-backports-keyring' at /usr/share/perl5/PVE/DAB.pm line 1072.
no such package 'debian-backports-keyring' at /usr/share/perl5/PVE/DAB.pm line 1072.
I am doing something stupid ?
 
This will affect all build files that depend on backports like MediaWiki and EyeOS2.2

Informations on how to use the backports service are available at the new backports website. Users of the old backports service should change their sources.list to point to deb http://backports.debian.org/debian-backports lenny-backports main contrib non-free (or one of its mirrors). Please also note, that with the integration into Debian's infrastructure the GPG key used to sign the backports repository has been changed to Debian's official FTP-master key.
 
Yes I am. That's why my dab.conf says http://backports.debian.org and not http://www.backports.org :)
This means that the backports keyring is not necessary anymore, and all doc that refers to it should be updated.
Yes I was misled by this page : http://backports.debian.org/ that says
The backports service still uses its own version of the keyring. Therefore if you want to put packages onto backports you have to coordinate with the backports team to have your uploads accepted.
but this is only for uploads I should have seen it !

Anyway my question remains why is there only a limited subset of the available packages when using dab ?

Here is an example with dab :
Code:
dab exec aptitude search keyring
i   debian-archive-keyring          - GnuPG archive keys of the Debian archive
whereas if I run on the deployed template I get :
Code:
aptitude search keyring
i   debian-archive-keyring             - GnuPG archive keys of the Debian archive
i   debian-backports-keyring           - GnuPG archive key of the backports.org repository   
p   debian-edu-archive-keyring         - GnuPG archive keys of the Debian Edu archive  
p   debian-keyring                     - GnuPG (and obsolete PGP) keys of Debian Developers
p   debian-ports-archive-keyring       - GnuPG archive keys of the debian-ports archive  
p   emdebian-archive-keyring           - GnuPG archive keys for the emdebian repository  
...

Any thoughts ?
 
Anyway my question remains why is there only a limited subset of the available packages when using dab ?

Here is an example with dab :
Code:
dab exec aptitude search keyring
i   debian-archive-keyring          - GnuPG archive keys of the Debian archive
whereas if I run on the deployed template I get :
Code:
aptitude search keyring
i   debian-archive-keyring             - GnuPG archive keys of the Debian archive
i   debian-backports-keyring           - GnuPG archive key of the backports.org repository   
p   debian-edu-archive-keyring         - GnuPG archive keys of the Debian Edu archive  
p   debian-keyring                     - GnuPG (and obsolete PGP) keys of Debian Developers
p   debian-ports-archive-keyring       - GnuPG archive keys of the debian-ports archive  
p   emdebian-archive-keyring           - GnuPG archive keys for the emdebian repository  
...
Any thoughts ?

I assume that when dab adds sources to the template, it does not refresh the package list (apt-get update), so only the keyring available in the base system is available at that point?
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!