error in postinst script

Bug #620361 reported by hostmaster
34
This bug affects 5 people
Affects Status Importance Assigned to Milestone
Ubuntu Mozilla PPA Bugs
Fix Released
Undecided
Jamie Strandboge
firefox (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Binary package hint: firefox

there is a bug in postinst script

http://bazaar.launchpad.net/~mozillateam/firefox/firefox-3.7.head/revision/554#debian/firefox-4.0.postinst.in

19 ubuntu_major=`cut -d '.' -f 1`
20 ubuntu_minor=`cut -d '.' -f 2`

no input data to this 'cut'. you probably mean something like this
ubuntu_major=`echo $RELEASE_NUMBER | cut -d '.' -f 1`
ubuntu_minor=`echo $RELEASE_NUMBER | cut -d '.' -f 2`

Upgrade freezes on:

Setting up firefox (3.6.9~hg20100817r34537+nobinonly-0ubuntu1~umd2~lucid) ...
update-alternatives: using /usr/bin/firefox to provide /usr/bin/x-www-browser (x-www-browser) in auto mode.

pstree:
  | | | | | | `-dpkg --status-fd 57 --configure firefox firefox-branding firefox-gnome-support
  | | | | | | `-firefox.postins /var/lib/dpkg/info/firefox.postinst configure ...
  | | | | | | `-cut -d . -f 1

Revision history for this message
vinz.lynx (vinz-lynx) wrote :

Hi,

I have this bug too on Ubuntu 10.04 i686 2.6.32-24-generic :

sudo dpkg --configure -a
Paramétrage de firefox (3.6.9~hg20100817r34537+nobinonly-0ubuntu1~umd2~lucid) ...

Then nothing

Bye

Revision history for this message
Chan Ju Ping (rewarp) wrote :

Same here. I am inclined to try the solutions offered on this thread.
http://ubuntuforums.org/showpost.php?p=7906895&postcount=8

Revision history for this message
Francisco José Cañizares Santofimia (telefrancisco) wrote :

#2 But that is supposed to be done when a new package is released, isn't it?

description: updated
Revision history for this message
Micah Gersten (micahg) wrote :

Marking Ubuntu task invalid. Please report PPA bugs agains the Ubuntu Mozilla PPA bugs project.

Changed in firefox (Ubuntu):
status: New → Invalid
Revision history for this message
Micah Gersten (micahg) wrote :

Thank you for reporting this to the Ubuntu Mozilla team. A mistake was made in the packaging branch that caused this. A fix was committed and new packages are building now. Please report any other issues you find with the Ubuntu Mozilla PPA packages to this project.

Changed in ubuntu-mozilla-ppa-bugs:
status: New → Fix Committed
Revision history for this message
Francisco José Cañizares Santofimia (telefrancisco) wrote :

#0 Is solved right now in latest umd3 package.

#2 You don't need to do that. In my case, I did an apt-get update, downloaded manually latest package (https://launchpad.net/~ubuntu-mozilla-daily/+archive/ppa/+build/1926418/+files/firefox_3.6.9~hg20100817r34537%2Bnobinonly-0ubuntu1~umd3~lucid_i386.deb
) to: /var/cache/apt/archives

then, I did a dpkg -i to that .deb

apt-get -f install

apt-get dist-upgrade (just to check...)

and solved.

Revision history for this message
hostmaster (homyakov) wrote :

Solved.
firefox 3.6.9~hg20100817r34537+nobinonly-0ubuntu1~umd3~lucid

Revision history for this message
vinz.lynx (vinz-lynx) wrote :

Hi,

Solved with pakage "firefox 3.6.9~hg20100817r34537+nobinonly-0ubuntu1~umd3~lucid"

just
apt-get update and upgrade

Thanks all

Revision history for this message
Micah Gersten (micahg) wrote :

Fix confirmed as working, marking Fix Released.

Changed in ubuntu-mozilla-ppa-bugs:
assignee: nobody → Jamie Strandboge (jdstrand)
status: Fix Committed → Fix Released
Revision history for this message
Chan Ju Ping (rewarp) wrote :

#6 Thanks for the info. I learnt something new again.

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.