Upgrading to iceweasel 8 results in dpkg error

Mikko Salakka miksala at welho.com
Wed Nov 9 07:41:27 UTC 2011


Hi

This morning I did an 'apt-get dist-upgrade' that was supposed to
upgrade iceweasel from the mozilla.debian.det -repository to version 8.
However, doing this caused the following error:


--------------------
Unpacking xulrunner-8.0 (from .../xulrunner-8.0_8.0-1~bpo60
+1_amd64.deb) ...
dpkg (subprocess): unable to execute new pre-installation script
(/var/lib/dpkg/tmp.ci/preinst): Exec format error
dpkg: error processing /var/cache/apt/archives/xulrunner-8.0_8.0-1~bpo60
+1_amd64.deb (--unpack):
 subprocess new pre-installation script returned error exit status 2
configured to not write apport reports
                                      Errors were encountered while
processing:
 /var/cache/apt/archives/xulrunner-8.0_8.0-1~bpo60+1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
---------------------

I managed to work around this easily by downgrading to iceweasel 3.6 and
now I'm able to continue to do what I was doing. Here's how in case
anyone is interested:

1. Alter the file /etc/apt/sources.list:
	- Change the line 'deb http://mozilla.debian.net/ squeeze-backports
iceweasel-release' to 'deb http://mozilla.debian.net/ squeeze-backports
iceweasel-3.6'

2. Alter the file /etc/apt/preferences:
	- Write down the Pin-Priority of squeeze-backports on a peace of paper.
	- Change the Pin-Priority of squeeze-backports to 1001

3. Do:
	- apt-get update
	- apt-get install iceweasel xulrunner-1.9.2 libmozjs3d
	- This will downgrade the required packages

4. Alter the file /etc/apt/preferences:
	- Change the Pin-Priority of squeeze-backports back to what it was
before the change

5. Do:
	- apt-get update
	- apt-get autoremove

Anyway, this is just to let the packagers know and possibly to help
anyone that might be stuck because of this. Thank you for your hard work
on packaging Firefox for Debian.

Mikko




More information about the pkg-mozilla-maintainers mailing list