Premature use of Breaks causes apt failure

Bug #56394 reported by Matt Zimmerman
16
Affects Status Importance Assigned to Milestone
firefox (Ubuntu)
Fix Released
High
Ian Jackson

Bug Description

apt attempts to upgrade to firefox 1.99+2.0b1+dfsg-1ubuntu2, but dpkg aborts due to a violation of Breaks (firefox-themes-ubuntu is installed by default).

mizar:[/tmp] sudo apt-get -f install
Password:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies...Done
The following extra packages will be installed:
  firefox
Suggested packages:
  latex-xft-fonts libthai0
The following packages will be upgraded:
  firefox
1 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
1 not fully installed or removed.
Need to get 0B/8640kB of archives.
After unpacking 262kB disk space will be freed.
Do you want to continue [Y/n]?
Reading changelogs... Done
dpkg: regarding .../firefox_1.99+2.0b1+dfsg-1ubuntu2_i386.deb containing firefox:
 firefox breaks firefox-themes-ubuntu (<= 0.4.5)
  firefox-themes-ubuntu (version 0.4.5) is installed.
dpkg: error processing /space/cache/apt/archives/firefox_1.99+2.0b1+dfsg-1ubuntu2_i386.deb (--unpack):
 installing firefox would break firefox-themes-ubuntu, and
 deconfiguration is not permitted (--auto-deconfigure might help)
Errors were encountered while processing:
 /space/cache/apt/archives/firefox_1.99+2.0b1+dfsg-1ubuntu2_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
zsh: exit 100 sudo apt-get -f install
mizar:[/tmp] sudo dpkg --configure -a
dpkg: dependency problems prevent configuration of firefox-gnome-support:
 firefox-gnome-support depends on firefox (= 1.99+2.0b1+dfsg-1ubuntu2); however:
  Version of firefox on system is 1.99+2.0b1+dfsg-1ubuntu1.
dpkg: error processing firefox-gnome-support (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 firefox-gnome-support

Matt Zimmerman (mdz)
Changed in firefox:
assignee: nobody → ijackson
importance: Untriaged → High
Revision history for this message
John Vivirito (gnomefreak) wrote :

I can confirm this.

Changed in firefox:
status: Unconfirmed → Confirmed
Revision history for this message
Adam Conrad (adconrad) wrote :

For those bitten, the following does the trick to work around it:

# dpkg --force-depends -P firefox-themes-ubuntu
# apt-get -f install
# apt-get dist-upgrade

Revision history for this message
Adam Conrad (adconrad) wrote :

The above is assuming that this comes on the tail-end of a failed dist-upgrade, of course.

Revision history for this message
John Vivirito (gnomefreak) wrote :

as far as i can tell this has been fixed. If this has not been fixed please re-open with information on what is happening. Thank you.

Changed in firefox:
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.