dropbox crashed with OSError in unpack(): [Errno 1] Die Operation ist nicht erlaubt: '/var/lib/dropbox/.dropbox-dist'

Bug #941567 reported by madman
32
This bug affects 6 people
Affects Status Importance Assigned to Milestone
nautilus-dropbox (Ubuntu)
Confirmed
Medium
Unassigned

Bug Description

I tried ti reinstall dropbox because i gives me always the error message it couldnt establish a secure connection.

ProblemType: Crash
DistroRelease: Ubuntu 12.04
Package: nautilus-dropbox 0.7.1-2
ProcVersionSignature: Ubuntu 3.2.0-17.27-generic 3.2.6
Uname: Linux 3.2.0-17-generic x86_64
ApportVersion: 1.93-0ubuntu2
Architecture: amd64
CrashCounter: 1
Date: Sun Feb 26 19:28:54 2012
EcryptfsInUse: Yes
ExecutablePath: /usr/bin/dropbox
InstallationMedia: Kubuntu 12.04 LTS "Precise Pangolin" - Alpha amd64 (20120206)
InterpreterPath: /usr/bin/python2.7
ProcCmdline: /usr/bin/python /usr/bin/dropbox update
ProcEnviron:
 SHELL=/bin/bash
 TERM=xterm
 LANG=de_DE.UTF-8
 LANGUAGE=de_DE
PythonArgs: ['/usr/bin/dropbox', 'update']
SourcePackage: nautilus-dropbox
Title: dropbox crashed with OSError in unpack(): [Errno 1] Die Operation ist nicht erlaubt: '/var/lib/dropbox/.dropbox-dist'
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo

Revision history for this message
madman (becker1991) wrote :
tags: removed: need-duplicate-check
madman (becker1991)
visibility: private → public
Revision history for this message
Raphaël Hertzog (hertzog) wrote :

Did it query you for getting root rights?

You should not have permissions issues if you are root and "dropbox update" is supposed to ask for root rights (via policy kit).

Revision history for this message
madman (becker1991) wrote :

Installed it again with root rights, still the same error.

Revision history for this message
madman (becker1991) wrote :

Solved the mystery. My mtu was set too high for my provider (alice), which seemingly confused dropbox.

Revision history for this message
madman (becker1991) wrote :

How can i set the bug as "solved"?

Revision history for this message
Raphaël Hertzog (hertzog) wrote :

I'm marking it as invalid, per your request. But there's still something weird with the error reported. It doesn't make sense to not have the right to do unpack the new version. What filesystem are you using on /var/? Do you have some unusual security policy?

Changed in nautilus-dropbox (Ubuntu):
status: New → Invalid
Revision history for this message
madman (becker1991) wrote :

Im using Ext4 on var and use the kubuntu 12.04 beta, no special security policies made.

Revision history for this message
Platon Pukhlechev (ifalkorr-deactivatedaccount) wrote :

somehow dropbox with "dropbox update" downloading themself into /var not /home dir. but when installing by packet from site its downloading .dropbox-dist into home

Changed in nautilus-dropbox (Ubuntu):
status: Invalid → New
Revision history for this message
Raphaël Hertzog (hertzog) wrote :

Skai, this is normal and expected. But as explained, it should use pk-exec to get the required rights to install itself in /var/lib/dropbox. Doesn't that work for you?

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in nautilus-dropbox (Ubuntu):
status: New → Confirmed
Changed in nautilus-dropbox (Ubuntu):
importance: Undecided → Medium
Revision history for this message
Amr Ibrahim (amribrahim1987) wrote :

When I do a "dropbox update", I get this:

amr@PC:~$ dropbox update
Traceback (most recent call last):
  File "/usr/bin/dropbox", line 369, in handle_data_waiting
    self.unpack_dropbox()
  File "/usr/bin/dropbox", line 379, in unpack_dropbox
    name, i, total = one_member.next()
  File "/usr/bin/dropbox", line 278, in unpack
    os.lchown(filename, os.geteuid(), os.getegid())
OSError: [Errno 1] Operation not permitted: '/var/lib/dropbox/.dropbox-dist'

Revision history for this message
Amr Ibrahim (amribrahim1987) wrote :

But when I did a "gksudo dropbox update", everything went fine and dropbox got updated to the latest version.

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.