Kubuntu Firefox Installer Fails

Bug #694391 reported by Blackpaw
36
This bug affects 7 people
Affects Status Importance Assigned to Milestone
firefox (Ubuntu)
Fix Released
Medium
Chris Coulson

Bug Description

Binary package hint: kubuntu-firefox-installer

There appears to be a packaging error with the firefox branding package failing to install because it has the same desktop file (firefox.desktop) as kubuntu-firefox-installer.

The following errors occurred while applying changes:

Package: /var/cache/apt/archives/firefox-branding_4.0~b7+nobinonly-0ubuntu3_i386.deb
Error: trying to overwrite '/usr/share/applications/firefox.desktop', which is also in package kubuntu-firefox-installer 10.10ubuntu4

ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: kubuntu-firefox-installer (not installed)
ProcVersionSignature: Ubuntu 2.6.37-11.25-generic 2.6.37-rc7
Uname: Linux 2.6.37-11-generic i686
NonfreeKernelModules: nvidia
Architecture: i386
Date: Sun Dec 26 11:36:09 2010
InstallationMedia: Kubuntu 11.04 "Natty Narwhal" - Alpha i386 (20101217)
ProcEnviron:
 LANGUAGE=
 LANG=en_AU.UTF-8
 SHELL=/bin/bash
SourcePackage: kubuntu-firefox-installer

Revision history for this message
Harald Sitter (apachelogger) wrote :

In natty the firefox package appears to have lost the replaces on kubuntu-firefox-installer..

affects: kubuntu-firefox-installer (Ubuntu) → firefox (Ubuntu)
Revision history for this message
Micah Gersten (micahg) wrote :

bzr commit -m '* fix LP: #694391 - Kubuntu Firefox Installer Fails; Replace firefox.desktop
  again in firefox-branding
  - update debian/control' --fixes 'lp:694391'

summary: - Firefox Installer Fails
+ Kubuntu Firefox Installer Fails
Changed in firefox (Ubuntu):
assignee: nobody → Micah Gersten (micahg)
importance: Undecided → Medium
status: New → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :
Download full text (3.5 KiB)

This bug was fixed in the package firefox - 4.0~b8+nobinonly-0ubuntu1

---------------
firefox (4.0~b8+nobinonly-0ubuntu1) natty; urgency=low

  * New upstream release v4.0b8 (FIREFOX_4_0b8_RELEASE)

  [ Chris Coulson <email address hidden> ]
  * Add a hack to the launcher to handle being launched from an alternative,
    which is a symlink to the launcher script, and breaks the current launch
    mechanism. Also remove a useless stat() from the current script
    - update debian/firefox.sh.in
  * Re-add patch that got dropped to not remove and re-add search plugins
    during upgrade
    - add debian/patches/bz534663_attXXX_normalize_distribution_searchplugins.patch
    - update debian/patches/series
  * Move libmozgnome.so to the main package in common-binary-predeb-arch.
    The previous method of deleting it from -gnome-support and copying it to
    the main package from debian/tmp in each of the binary-predeb targets
    meant that we were shipping an unstripped copy, which caused a lintian
    error. This new method ensures we retain the stripped SO and we still
    only move it after dh_shlibdeps has run
    - update debian/rules
  * Support debug builds. By setting "debug" in DEB_BUILD_OPTIONS, firefox
    will build with --enable-debug and --disable-optimize
    - update debian/rules
    - update debian/mozconfig.in
  * Really build with --disable-gnomevfs this time
    - update debian/mozconfig.in
  * Refresh patches after landing of bmo: 588410 aka Fix make install to
    work with omnijar
    - remove debian/patches/bz588410_fix_make_install_with_omnijar.patch
    - update debian/patches/series
  * Generate the en-US xpi at build time again for importing in to Launchpad
    - update debian/rules
    - update debian/translation-support/install.rdf.in

  [ Jamie Strandboge <email address hidden> ]
  * update debian/usr.bin.firefox.apparmor.10.10:
    - deny write to /var/cache/fontconfig
    - allow read to @{HOME}/.local/share/applications/mimeapps.list
    - allow read to @{PROC}/[0-9]*/mountinfo (LP: #659450)
    - allow read to /tmp/.X[0-9]*-lock
    - deny read to @{HOME}/.local/share/recently-used.xbel
    - deny execute of /usr/bin/gconftool-2
    - allow read to @{HOME}/.thumbnails/*/*.png
    - allow read/write to @{HOME}/.gnome2/firefox*-bin-*
  * update debian/usr.bin.firefox.apparmor.{9.04,10.04}:
    - deny write to /var/cache/fontconfig
    - allow read to @{PROC}/[0-9]*/mountinfo (LP: #659450)
    - allow read to /tmp/.X[0-9]*-lock
    - deny execute of /usr/bin/gconftool-2
    - remove extraneous @{HOME}/.config/ibus/bus/
  * add debian/usr.bin.firefox.apparmor.11.04:
    - based on 10.10
    - remove redundant abstractions included by the gnome abstraction
      (LP: #692406)
  * debian/rules: updated for usr.bin.firefox.apparmor.11.04

  [ Micah Gersten <email address hidden> ]
  * Change xubuntu applications defaults list in natty apparmor profile; Path
    changed in xubuntu-default-settings (11.04.0)
    - update usr.bin.firefox.apparmor.11.04
  * fix LP: #694391 - Kubuntu Firefox Installer Fails; Add Replaces on
    kubuntu-firefox-installer again in firefox-branding
    - update debian/control

  [ Felix Geyer...

Read more...

Changed in firefox (Ubuntu):
status: Fix Committed → Fix Released
Revision history for this message
Alex Lowe (lengau) wrote :

I can confirm that this bug still exists ith 4.0~b8.

kubuntu-firefox-installer attempts to install firefox-branding before it itself has been removed.

Revision history for this message
Blackpaw (blackpaw) wrote :

This problem still exists in 4.0~b8+nobinonly-0ubuntu2.

Note, my testing process is the following:

sudo apt-get purge firefox*
sudo apt-get autoremove
sudo apt-get autoclean
sudo apt-get install kubuntu-firefox-installer

Then run:kubuntu-firefox-installer

that fails with the same error message as earlier. An 'apt-get install -f' gives the following:

sudo apt-get install -f
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following extra packages will be installed:
  firefox-branding
The following NEW packages will be installed:
  firefox-branding
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
4 not fully installed or removed.
Need to get 0 B/3,356 kB of archives.
After this operation, 3,760 kB of additional disk space will be used.
Do you want to continue [Y/n]? y
(Reading database ... 182281 files and directories currently installed.)
Unpacking firefox-branding (from .../firefox-branding_4.0~b8+nobinonly-0ubuntu2_i386.deb) ...
dpkg: error processing /var/cache/apt/archives/firefox-branding_4.0~b8+nobinonly-0ubuntu2_i386.deb (--unpack):
 trying to overwrite '/usr/share/applications/firefox.desktop', which is also in package kubuntu-firefox-installer 10.10ubuntu4
dpkg-deb: subprocess paste killed by signal (Broken pipe)
Errors were encountered while processing:
 /var/cache/apt/archives/firefox-branding_4.0~b8+nobinonly-0ubuntu2_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

Revision history for this message
Chris Coulson (chrisccoulson) wrote :

bzr commit -m '* Fix LP: #694391 - firefox-branding (rather than firefox) should
  replace kubuntu-firefox-installer
  - update debian/control.pp' --fixes 'lp:694391'
Committing to: /home/chr1s/src/firefox/4.0/
modified debian/changelog
modified debian/control
modified debian/control.pp
Committed revision 724.

Changed in firefox (Ubuntu):
assignee: Micah Gersten (micahg) → Chris Coulson (chrisccoulson)
status: Fix Released → In Progress
status: In Progress → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package firefox - 4.0~b8+nobinonly-0ubuntu3

---------------
firefox (4.0~b8+nobinonly-0ubuntu3) natty; urgency=low

  [ Chris Coulson <email address hidden> ]
  * Fix LP: #694391 - firefox-branding (rather than firefox) should
    replace kubuntu-firefox-installer
    - update debian/control.pp

  [ Micah Gersten <email address hidden> ]
  * Really fix LP: #696895 - FTBFS on armel; Add DEB_ENABLE_THUMB2 to
    DEB_DEFINES so thumb2 is actually enabled; Thanks to Jani Monoses for the
    fix
    - update debian/rules
  * Define the default for DEB_ENABLE_THUMB2 with the rest of the defaults
    - update debian/rules
 -- Micah Gersten <email address hidden> Wed, 05 Jan 2011 13:50:56 -0600

Changed in firefox (Ubuntu):
status: Fix Committed → Fix Released
Revision history for this message
Blackpaw (blackpaw) wrote :

Confirmed, fixed now with the RC2 package updates.

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.