However, it wouldn't install right away. I had to force libcairo2 to use the version from the backports repo instead of the mint repo. Then it worked.
A few weeks later, I was reinstalling LMDE on my laptop, I decided I wanted to automate this process with a script.
Code: Select all
#!/bin/sh
# This is a script to install Iceweasel 4.0 on LMDE (64bit).
# Written by cwgtex on 20 April 2011.
echo "*** Step 1: Adding the backports repo ***"
echo "# ICEWEASEL BACKPORT\ndeb http://mozilla.debian.net/ squeeze-backports iceweasel-4.0" > /etc/apt/sources.list.d/iceweasel4.list
echo "............COMPLETE"
echo "*** Step 3: Installing debian-keyring package ***"
apt-get install debian-keyring
echo "............COMPLETE"
echo "*** Step 3: Grabbing the signed key and updating ***"
wget -O- -q http://mozilla.debian.net/archive.asc | gpg --import
gpg --check-sigs --fingerprint --keyring /usr/share/keyrings/debian-keyring.gpg 06C4AE2A
gpg --export -a 06C4AE2A | sudo apt-key add -
apt-get update
echo "............COMPLETE"
echo "*** Step 4: Install iceweasel and dependencies ***"
apt-get install -t squeeze-backports libcairo2 xulrunner-2.0 libmozjs4d iceweasel
echo "............COMPLETE"
exit 0
Give your script execute permission:
Code: Select all
chmod 755 ./icey.sh
Code: Select all
sudo ./icey.sh