Upgrading to Ubuntu 11.10, freeze at download dropbox

Asked by Thanh Thieu

My computer is in the middle of upgrading to Ubuntu 11.10, then it freezes at downloading dropbox:

    Installing the upgrades -> Downloading Dropbox... 4%

It has stuck there overnight, and I'm sure it's not gonna run through that step.
If I press "Ctrl + C" to terminate the process, then I'll have a broken OS, and possibly not be able to start up the machine.
Any help is appreciated.

Tha`nh

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu update-manager Edit question
Assignee:
No assignee Edit question
Solved by:
Thanh Thieu
Solved:
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

Try:

sudo apt-get --purge remove nautilus-dropbox; sudo apt-get --purge autoremove; rm -r ~/.dropbox-dist

If it runs through ok, then redownload the deb and reinstall it

Revision history for this message
Thanh Thieu (komthanh) said :
#2

Hi,

Thanks for the quick response. The problem is I cannot open any terminal window, and the terminal that displays upgrading process is not responding (even with Ctrl + C).

Tha`nh

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#3

use CTRL+ALT+F1 then

You can do it all there and use CTRL+ALT+F7 to get back to desktop

Revision history for this message
Thanh Thieu (komthanh) said :
#4

These short keys are to switch between terminals and GUIs. I tried them and they didn't work. I force restart the machine and, as expected, it is broken (black screen, no boot up). Luckily, it is a virtual machine, and I have a backup of its hard drive, so I'm restoring it from my backup.
Nevertheless, I appreciate your effort in helping me to try to find a solution.

Tha`nh

Revision history for this message
Snoopy (carsten-koegler) said :
#5

I got the same problem while updating to 11.10

----8<----8<----8<----8<----8<----8<
Setting up menu (2.1.45ubuntu1) ...
Setting up mjpegtools (1:1.9.0-0.5ubuntu5) ...
Setting up mkvtoolnix (4.9.1-0ubuntu2) ...
Setting up modemmanager (0.5-1ubuntu1) ...
modemmanager start/running, process 5880
Setting up nautilus-dropbox (0.6.8-1) ...

Dropbox is the easiest way to share and store your files online. Want to learn more? Head to http://www.dropbox.com/

Downloading Dropbox... 26%
----8<----8<----8<----8<----8<----8<

If i try 'sudo apt-get --purge remove nautilus-dropbox', I get something like:
'Cannot get lock /var/lib/dpkg/lock. The ressource is not available' (translated from german)

Carsten

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#6

sudo fuser -vki /var/lib/dpkg/lock;sudo dpkg --configure -a

Will free up the packages

Revision history for this message
Snoopy (carsten-koegler) said :
#7

Thank you. That was fast.
I couldn't open a terminal window like Tha`nh experienced. So I logged into the first terminal (STRG+ALT+F1)
and did
   sudo fuser -vki /var/lib/dpkg/lock in the
The distribution upgrade process (the GUI version) realized my command and started a 'dpkg --configure -a' automatically.
The upgrade process ran over dropbox again, this time successfully.

----8<----8<----8<----8<----8<----8<
nautilus-dropbox (0.6.8-1) wird eingerichtet ...

Dropbox is the easiest way to share and store your files online. Want to learn more? Head to http://www.dropbox.com/

Downloading Dropbox... 100%
Unpacking Dropbox... 100%
Please restart all running instances of Nautilus, or you will experience problems. i.e. nautilus --quit
Dropbox installation successfully completed! You can start Dropbox from your applications menu.
python-cupshelpers (1.3.6+20110831-0ubuntu9.4) wird eingerichtet ...
----8<----8<----8<----8<----8<----8<

Thanx.
Carsten

Revision history for this message
Tomse (tomse-tomse) said :
#8

Same problem with upgrading to 12.04, same fix seems to work too.

Revision history for this message
Leo R (alphabravo) said :
#9

Had the same problem upgrading to 12.04. In my case the dropbox process took a full cpu while the updater waited at 65%
Maybe it would have even completed eventually. But after 10min at the same percentage I didn't want to wait any longer.
I could just kill the dropbox process and the upgrade finished successfully.

----------------------------------------------------------------------------------------------------------------
nautilus-dropbox (0.7.1-2) wird eingerichtet ...

Dropbox is the easiest way to share and store your files online. Want to learn more? Head to http://www.dropbox.com/

1%8Downloading Dropbox... 1%8Downloading Dropbox... 1%8Downloading Dropbox... 1%8Downloading Dropbox... 1%8Downloading Dropbox... 1%8Downloading Dropbox... 1%Downloading Dropbox... 1%8Downloading Dropbox... 1%8Downloading Dropbox... 1%
....
8Downloading Dropbox... 65%8Downloading Dropbox... 65%8Downloading Dropbox... 65%Downloading Dropbox... 65%8Downloading Dropbox... 65%
----------------------------------------------------------------------------------------------------------------

Revision history for this message
PabloAB (pabloab777) said :
#10

Yes, same problem upgrading to 12.04. It seems related with non transparent proxys. Waiting (and perhaps also quiting Dropbox) for about 10' gives a timeout message (get it from /var/log/dist-upgrade/term.log):
"Error: Trouble connecting to Dropbox servers. Maybe your Internet connection is down, or you need to set your http_proxy environment variable down
Please restart all running instances of Nautilus, or you will experience problems. i.e. nautilus --quit
Dropbox installation successfully completed! you can start Dropbox from your application menu"
And go on happily with upgrade process.
Of course I have the correct proxy on Network settings, even also: Acquire::http::Proxy "http://proxy_IP:port"; on /etc/apt/apt.conf.d/proxy
I tried before all this to kill nautilus nicely, with no luck:
$ nautilus -q
Could not register the application: Method 'DescribeAll' returned type '(a(savbav))', but expected '(a{s(bgav)})'

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#11

This is a known issue. You may find joy by downloading the client from the dropbox site manually may help