firefox-2 postinstall points to wrong location of restart-required.update-notifier
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
firefox (Ubuntu) |
Fix Released
|
High
|
Unassigned | ||
Hardy |
Fix Released
|
High
|
Alexander Sack | ||
Intrepid |
Fix Released
|
High
|
Unassigned |
Bug Description
Upgrading on hardy today for firefox-2 did not work (I'm sure I'm not the only one reporting this, but the LaunchPad search did not show up anything relevant... sorry of possibly duplication)
Upgrade fails because postinstall points to wrong location of a restartrequired script:
$ sudo aptitude safe-upgrade
[sudo] password for egonw:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
Building tag database... Done
The following partially installed packages will be configured:
firefox-2
0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B of archives. After unpacking 0B will be used.
Setting up firefox-2 (2.0.0.
Please restart any running Firefoxes, or you will experience problems.
cp: cannot stat `/usr/share/
dpkg: error processing firefox-2 (--configure):
subprocess post-installation script returned error exit status 1
Processing triggers for libc6 ...
ldconfig deferred processing now taking place
Errors were encountered while processing:
firefox-2
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:
Setting up firefox-2 (2.0.0.
Please restart any running Firefoxes, or you will experience problems.
cp: cannot stat `/usr/share/
dpkg: error processing firefox-2 (--configure):
subprocess post-installation script returned error exit status 1
Processing triggers for libc6 ...
ldconfig deferred processing now taking place
Errors were encountered while processing:
firefox-2
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
Building tag database... Done
The script is available from a differnt path:
$ dpkg -S firefox-
firefox-2: /usr/share/
Changed in firefox: | |
assignee: | nobody → mozilla-bugs |
status: | New → Incomplete |
Changed in firefox: | |
importance: | Undecided → High |
milestone: | none → ubuntu-8.04.1 |
status: | New → Confirmed |
status: | Confirmed → Triaged |
assignee: | mozilla-bugs → nobody |
importance: | Undecided → High |
status: | Confirmed → Triaged |
Changed in firefox: | |
assignee: | nobody → asac |
Confirming same bug on hardy x86_64.
After executing
$ sudo ln -s /usr/share/firefox /usr/share/ firefox- 2
the following
$ sudo dpkg --configure --pending
- completed successfully.