Comment 4 for bug 207029

Revision history for this message
Matti Lindell (mlind) wrote :

I just ran into this issue when testing firefox-2 (2.0.0.13+1nobinonly-0ubuntu1) in a lvm snapshot volume. The first install went without problems. After purging the package and trying to reinstall the error occured:

$ sudo aptitude purge 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 following packages will be REMOVED:
  firefox-2{p}
0 packages upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
Need to get 0B of archives. After unpacking 26.7MB will be freed.
Do you want to continue? [Y/n/?] y
Writing extended state information... Done
(Reading database ... 115382 files and directories currently installed.)
Removing firefox-2 ...
Purging configuration files for firefox-2 ...
dpkg - warning: while removing firefox-2, directory `/etc/firefox/pref' not empty so not removed.
dpkg - warning: while removing firefox-2, directory `/etc/firefox' not empty so not removed.
dpkg - warning: while removing firefox-2, directory `/usr/lib/firefox/components' not empty so not removed.
Processing triggers for libc6 ...
ldconfig deferred processing now taking place
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
Writing extended state information... Done
Building tag database... Done

(hardy-snapshot)root@sandbox:/usr/lib/firefox$ sudo aptitude install 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 following NEW packages will be installed:
  firefox-2
0 packages upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B/9190kB of archives. After unpacking 26.7MB will be used.
Writing extended state information... Done
Selecting previously deselected package firefox-2.
(Reading database ... 114883 files and directories currently installed.)
Unpacking firefox-2 (from .../firefox-2_2.0.0.13+1nobinonly-0ubuntu1_i386.deb) ...
Setting up firefox-2 (2.0.0.13+1nobinonly-0ubuntu1) ...
Please restart any running Firefoxes, or you will experience problems.
cp: cannot stat `/usr/share/firefox-2/firefox-2-restart-required.update-notifier': No such file or directory
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.13+1nobinonly-0ubuntu1) ...
Please restart any running Firefoxes, or you will experience problems.
cp: cannot stat `/usr/share/firefox-2/firefox-2-restart-required.update-notifier': No such file or directory
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
Writing extended state information... Done
Building tag database... Done