{"id":406,"date":"2009-07-08T22:14:29","date_gmt":"2009-07-08T20:14:29","guid":{"rendered":"http:\/\/glandium.org\/blog\/?p=406"},"modified":"2010-01-27T08:52:23","modified_gmt":"2010-01-27T07:52:23","slug":"how-to-install-iceweasel-3-5-on-lenny","status":"publish","type":"post","link":"https:\/\/glandium.org\/blog\/?p=406","title":{"rendered":"How to install Iceweasel 3.5 on Lenny"},"content":{"rendered":"<p>In my previous posts about the release of Iceweasel 3.5, some people succeeded in installing Iceweasel on Lenny by rebuilding xulrunner-1.9.1 (not without some trouble).<\/p>\n<p>Actually, thanks to the <a href=\"http:\/\/wiki.debian.org\/Projects\/ImprovedDpkgShlibdeps\">improved dpkg-shlibdeps<\/a>, it's almost painless to install the packages from testing\/experimental. The old days where pulling a package from testing or unstable would pull a new libc6 and a bunch of other packages are long gone (though, as we will see, things could be even better).<\/p>\n<p>So, if you are a Lenny user, are not afraid with a few packages from testing on your system, and want to use Iceweasel 3.5, here are the steps you can go through to install it:<\/p>\n<ul>\n<li>Add the testing and experimental sources to your apt sources:<br \/>\n<code>$ echo deb http:\/\/ftp.fr.debian.org\/debian testing main > \/etc\/apt\/sources.list.d\/testing.list<br \/>\n$ echo deb http:\/\/ftp.fr.debian.org\/debian experimental main > \/etc\/apt\/sources.list.d\/experimental.list<br \/>\n<\/code><\/li>\n<li>Set the default distribution to \"stable\":<br \/>\n<code>$ echo 'APT::Default-Release \"stable\";' > \/etc\/apt\/apt.conf.d\/default<\/code><\/li>\n<li><code>apt-get update<\/code><\/li>\n<li>Install a few dependencies from \"testing\":<br \/>\n<code>$ apt-get install -t testing libstartup-notification0 libsqlite3-0 libnss3-1d libhunspell-1.2-0 libasound2<\/code><\/li>\n<li>Install iceweasel:<br \/>\n<code>$ apt-get install iceweasel\/experimental<\/code><\/li>\n<\/ul>\n<p>The latter won't work until xulrunner-1.9.1 reaches experimental (<b>Update:<\/b> it got there), but the following alternative procedure will do in the meanwhile:<\/p>\n<ul>\n<li>Tentatively install xulrunner-1.9.1 (provided you downloaded it following the <a href=\"\/blog\/?p=391\">previous instructions<\/a>):<br \/>\n<code>$ dpkg -i xulrunner-1.9.1_1.9.1-1_*.deb libmozjs2d_1.9.1-1_*.deb<\/code><br \/>\nYou will get dependency problems, ignore them.<\/li>\n<li>Fix the dependency problems:<br \/>\n<code>$ apt-get -f install<\/code><br \/>\nThis will install all the required packages from Lenny.<\/li>\n<li>Install iceweasel:<br \/>\n<code>$ apt-get install iceweasel\/experimental<\/code><\/li>\n<\/ul>\n<p>Now, the sad thing about this, is that technically, you shouldn't need to install libstartup-notification0 and libasound2 from testing at all. The same might even apply for libhunspell-1.2-0. The reason is that technically, xulrunner-1.9.1, which has a versioned dependency on these libraries, doesn't actually require the versions it demands, and earlier versions could work as well. The ones from Lenny should be enough.<\/p>\n<p>The reason why this happens is that these libraries don't provide symbols files, which are the basis for the <a href=\"http:\/\/wiki.debian.org\/Projects\/ImprovedDpkgShlibdeps\">improved dpkg-shlibdeps<\/a> to make better dependencies, ones that would allow xulrunner-1.9.1 from experimental to work with Lenny's libstartup-notification0, libasound2, and libhunspell-1.2-0.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In my previous posts about the release of Iceweasel 3.5, some people succeeded in installing Iceweasel on Lenny by rebuilding xulrunner-1.9.1 (not without some trouble). Actually, thanks to the improved dpkg-shlibdeps, it&#8217;s almost painless to install the packages from testing\/experimental. The old days where pulling a package from testing or unstable would pull a new [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7,11],"tags":[23],"class_list":["post-406","post","type-post","status-publish","format-standard","hentry","category-firefox","category-xulrunner","tag-en"],"_links":{"self":[{"href":"https:\/\/glandium.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/406","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/glandium.org\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/glandium.org\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/glandium.org\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/glandium.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=406"}],"version-history":[{"count":13,"href":"https:\/\/glandium.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/406\/revisions"}],"predecessor-version":[{"id":634,"href":"https:\/\/glandium.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/406\/revisions\/634"}],"wp:attachment":[{"href":"https:\/\/glandium.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=406"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/glandium.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=406"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/glandium.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=406"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}