Warty -> Hoary upgrade problems.

Bug #14913 reported by Boris Fersing
8
Affects Status Importance Assigned to Milestone
firefox (Ubuntu)
Fix Released
High
Thom May

Bug Description

Hi,

I'm upgrating from warty ppc to hoary ppc, the dist-upgrade fails with this error :

Preparing to replace mozilla-firefox 0.99+1.0PR.1+revertedto0.9.3-0ubuntu3
(using .../mozilla-firefox_1.0.2-0ubuntu2_powerpc.deb) ...
rm: cannot remove `/usr/lib/mozilla-firefox/defaults/pref': Is a directory
dpkg: error processing
/var/cache/apt/archives/mozilla-firefox_1.0.2-0ubuntu2_powerpc.deb (--unpack):
 subprocess pre-installation script returned error exit status 1
Errors were encountered while processing:
 /var/cache/apt/archives/mozilla-firefox_1.0.2-0ubuntu2_powerpc.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

Thanks.

-Boris-

Revision history for this message
Thom May (thombot) wrote :

Nominating as RC

Revision history for this message
Matt Zimmerman (mdz) wrote :

I did warty->hoary upgrade tests on amd64 and powerpc yesterday, and didn't
encounter this bug. Is the cause apparent?

Revision history for this message
Thom May (thombot) wrote :

There is code in the preinst to deal with this directory specifically:
if [ "$1" = "upgrade" ]; then
    if [ -d "/usr/lib/mozilla-firebird/defaults/pref" ]; then
        rm -rf /usr/lib/mozilla-firebird/defaults/pref
    fi

Boris, what was the exact command line you were running to do the upgrade?

Revision history for this message
Boris Fersing (kernel-panic) wrote :

I was just running "apt-get dist-upgrade"

Revision history for this message
Thom May (thombot) wrote :

Just performed a full upgrade and encountered no problems; I'm moving the
deletion outside the upgrade case just in case.

Revision history for this message
Thom May (thombot) wrote :

This was "fixed" (in that the code to remove the troublesome directory was run
regardless, rather than just during upgrades) in ubuntu4 and ubuntu5 of firefox.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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