update-alternatives error on firefox install
Pierre Frenkiel
pierre.frenkiel at gmx.com
Tue Mar 29 08:27:01 UTC 2016
On Tue, 29 Mar 2016, Mike Hommey wrote:
> How can it be missing? It's in the package!
I asked myself the same question!
dpkg -c gives for me the same result, but here is the install output
->> apt-get install -t jessie-backports firefox
Preparing to unpack .../firefox_45.0.1-1~bpo80+1_i386.deb ...
Unpacking firefox (45.0.1-1~bpo80+1) ...
Processing triggers for mime-support (3.58) ...
Processing triggers for desktop-file-utils (0.22-1) ...
Processing triggers for gnome-menus (3.13.3-6) ...
Processing triggers for man-db (2.7.0.2-5) ...
Processing triggers for hicolor-icon-theme (0.13-1) ...
Setting up firefox (45.0.1-1~bpo80+1) ...
update-alternatives: error: alternative path /usr/bin/firefox doesn't exist
dpkg: error processing package firefox (--configure):
subprocess installed post-installation script returned error exit status 2
Errors were encountered while processing:
firefox
E: Sub-process /usr/bin/dpkg returned an error code (1)
->>ls -l /usr/bin/firefox
ls: cannot access /usr/bin/firefox: No such file or directory
If this is not a bug, how do you explain that?
I also tried with aptitude, and got the same result.
I suppose that the link is not actually in the package, but is set by the
post-install script, which may be the culprit
cheers,
--
Pierre Frenkiel
More information about the pkg-mozilla-maintainers
mailing list