build doesn't take account of backports repo for iceweasel
Hi,
I tried to build a live-system with newer packages from squeeze-backports, and
run into a strange behaviour.
I announced the repos
deb http://backports.debian.org/debian-backports squeeze-backports main
deb http://mozilla.debian.net/ squeeze-backports iceweasel-release
in config/chroot_sources
and config/binary_sources
in config/chroot_apt and config/binary_apt I put a preferences-file
with apt pinning:
Package: *
Pin: release a=squeeze-backports
Pin-Priority: 1000
Now building the image.
While other packages from backports (including kernel) are included in the new
image, iceweasel is not. But all settings inside the image seem to be ok. So
after booting the image, a apt-get install iceweasel upgrades the browser
correctly.
But now the strange thing: Inside the chroot
:/# dpkg -l |grep iceweasel
ii iceweasel 7.0.1-4~bpo60+1
there is also the right version installed.
And if I make
lb clean --binary
lb build
and build without cleaning the chroot the right package is inside the image.
The logging of the build prozess (greped by iceweasel) says:
:/# cat binary.log |grep iceweasel
~~~~~~~~~~~~~~~~
Del iceweasel 7.0.1-4~bpo60+1 [1556 kB]
hplip-cups{a} hplip-data{a} iceweasel kbd{a} kerneloops
hplip-cups{a} hplip-data{a} iceweasel kbd{a} kerneloops
Selecting previously deselected package iceweasel.
Unpacking iceweasel (from .../iceweasel_3.5.16-10_i386.deb) ...
Adding 'diversion of /usr/bin/firefox to /usr/bin/firefox.real by iceweasel'
Setting up iceweasel (3.5.16-10) ...
update-alternatives: using /usr/bin/iceweasel to provide /usr/bin/x-www-
browser (x-www-browser) in auto mode.
update-alternatives: using /usr/bin/iceweasel to provide /usr/bin/gnome-www-
browser (gnome-www-browser) in auto mode.
Del iceweasel 7.0.1-4~bpo60+1 [1556 kB]
iceweasel is already the newest version.
Del iceweasel 7.0.1-4~bpo60+1 [1556 kB]
icedove-l10n-de iceweasel-l10n-de
Selecting previously deselected package iceweasel-l10n-de.
Unpacking iceweasel-l10n-de (from .../iceweasel-l10n-
de_1%3a3.5.15+debian-1_all.deb) ...
Setting up iceweasel-l10n-de (1:3.5.15+debian-1) ...
Del iceweasel 7.0.1-4~bpo60+1 [1556 kB]
Ign http://mozilla.debian.net/ squeeze-backports/iceweasel-release
Translation-en
Ign http://mozilla.debian.net squeeze-backports/iceweasel-release i386
Packages
Get:15 http://mozilla.debian.net squeeze-backports/iceweasel-release i386
Packages [7560 B]
Del iceweasel 7.0.1-4~bpo60+1 [1556 kB]
Ign http://mozilla.debian.net/ squeeze-backports/iceweasel-release
Translation-en
Get:5 http://mozilla.debian.net squeeze-backports/iceweasel-release i386
Packages [7560 B]
Ign http://mozilla.debian.net/ squeeze-backports/iceweasel-release
Translation-en
Ign http://mozilla.debian.net squeeze-backports/iceweasel-release i386
Packages
Hit http://mozilla.debian.net squeeze-backports/iceweasel-release i386
Packages
iceweasel libavcodec52 libavformat52 libpostproc51 libswscale0 libva1
iceweasel-l10n-de
iceweasel libavcodec52 libavformat52 libpostproc51 libswscale0 libva1
Removing iceweasel-l10n-de ...
Preparing to replace iceweasel 3.5.16-10 (using
.../iceweasel_7.0.1-4~bpo60+1_i386.deb) ...
Leaving 'diversion of /usr/bin/firefox to /usr/bin/firefox.real by iceweasel'
Unpacking replacement iceweasel ...
Setting up iceweasel (7.0.1-4~bpo60+1) ...
Installing new version of config file /etc/iceweasel/profile/bookmarks.html
...
Ign http://mozilla.debian.net/ squeeze-backports/iceweasel-release
Translation-en
Ign http://mozilla.debian.net squeeze-backports/iceweasel-release i386
Packages
Hit http://mozilla.debian.net squeeze-backports/iceweasel-release i386
Packages
Ign http://mozilla.debian.net/ squeeze-backports/iceweasel-release
Translation-en
Ign http://mozilla.debian.net squeeze-backports/iceweasel-release i386
Packages
Hit http://mozilla.debian.net squeeze-backports/iceweasel-release i386
Packages
Ign http://mozilla.debian.net/ squeeze-backports/iceweasel-release
Translation-en
Ign http://mozilla.debian.net squeeze-backports/iceweasel-release i386
Packages
Hit http://mozilla.debian.net squeeze-backports/iceweasel-release i386
Packages
~~~~~~~~~~~~~
conspicuous is,
at the Beginning:
Del iceweasel 7.0.1-4~bpo60+1 [1556 kB]
Selecting previously deselected package iceweasel.
Unpacking iceweasel (from .../iceweasel_3.5.16-10_i386.deb) ...
and afterwords:
Preparing to replace iceweasel 3.5.16-10 (using
.../iceweasel_7.0.1-4~bpo60+1_i386.deb) ...
Leaving 'diversion of /usr/bin/firefox to /usr/bin/firefox.real by iceweasel'
Unpacking replacement iceweasel ...
Setting up iceweasel (7.0.1-4~bpo60+1) ...
Installing new version of config file /etc/iceweasel/profile/bookmarks.html
Has anybody an Idea?
cheers
Stefan
Reply to: