Dropbox installation - broken packages Ubuntu 14.04

Hello again,

I have a fresh install of Ubuntu 14.04 on Lenovo G50 and tried installing Dropbox. Using terminal I get the following output:

michael@michael-Lenovo-G50-30:~$ sudo apt-get -y install nautilus-dropbox
[sudo] password for michael:
Reading package lists… Done
Building dependency tree
Reading state information… Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies.
nautilus-dropbox : Depends: dropbox but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
michael@michael-Lenovo-G50-30:~$ ^C
michael@michael-Lenovo-G50-30:~$

Nautilus appears to be working fine. Any ideas?
Regards.

Run the following:

sudo apt-get update && sudo apt-get -y install dropbox nautilus-dropbox

If you get errors there, please post them here

Edit: Cleaned code slightly (thanks Mark!)

You may need fo correct the broken packages first … so maybe try

sudo apt-get remove --purge nautilus-dropbox

then

sudo apt-get install dropbox nautilus-dropbox

Sadly got the same result. Here is output:-
michael@michael-Lenovo-G50-30:~$ sudo apt-get remove --purge nautilus-dropbox
[sudo] password for michael:
Reading package lists… Done
Building dependency tree
Reading state information… Done
Package ‘nautilus-dropbox’ is not installed, so not removed
The following packages were automatically installed and are no longer required:
account-plugin-windows-live libupstart1
Use ‘apt-get autoremove’ to remove them.
0 to upgrade, 0 to newly install, 0 to remove and 12 not to upgrade.
michael@michael-Lenovo-G50-30:~$ sudo apt-get install dropbox nautilus-dropbox
Reading package lists… Done
Building dependency tree
Reading state information… Done
dropbox is already the newest version.
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies.
dropbox : Breaks: nautilus-dropbox
E: Unable to correct problems, you have held broken packages.
michael@michael-Lenovo-G50-30:~$ sudo apt-get update && sudo apt-get -y install dropbox nautilus-dropbox
Ign http://extras.ubuntu.com trusty InRelease
Ign http://gb.archive.ubuntu.com trusty InRelease
Hit http://extras.ubuntu.com trusty Release.gpg
Ign http://security.ubuntu.com trusty-security InRelease
Ign http://gb.archive.ubuntu.com trusty-updates InRelease
Hit http://extras.ubuntu.com trusty Release
Ign http://gb.archive.ubuntu.com trusty-backports InRelease
Hit http://gb.archive.ubuntu.com trusty Release.gpg
Get:1 http://security.ubuntu.com trusty-security Release.gpg [933 B]
Get:2 http://security.ubuntu.com trusty-security Release [63.5 kB]
Get:3 http://gb.archive.ubuntu.com trusty-updates Release.gpg [933 B]
Hit http://gb.archive.ubuntu.com trusty-backports Release.gpg
Hit http://gb.archive.ubuntu.com trusty Release
Get:4 http://gb.archive.ubuntu.com trusty-updates Release [63.5 kB]
Hit http://extras.ubuntu.com trusty/main Sources
Hit http://extras.ubuntu.com trusty/main amd64 Packages
Get:5 http://security.ubuntu.com trusty-security/main Sources [87.9 kB]
Hit http://gb.archive.ubuntu.com trusty-backports Release
Hit http://extras.ubuntu.com trusty/main i386 Packages
Hit http://gb.archive.ubuntu.com trusty/main Sources
Ign http://linux.dropbox.com saucy InRelease
Hit http://gb.archive.ubuntu.com trusty/restricted Sources
Hit http://gb.archive.ubuntu.com trusty/universe Sources
Hit http://gb.archive.ubuntu.com trusty/multiverse Sources
Hit http://gb.archive.ubuntu.com trusty/main amd64 Packages
Hit http://gb.archive.ubuntu.com trusty/restricted amd64 Packages
Get:6 http://security.ubuntu.com trusty-security/restricted Sources [2,061 B]
Hit http://gb.archive.ubuntu.com trusty/universe amd64 Packages
Get:7 http://security.ubuntu.com trusty-security/universe Sources [28.1 kB]
Hit http://gb.archive.ubuntu.com trusty/multiverse amd64 Packages
Hit http://gb.archive.ubuntu.com trusty/main i386 Packages
Hit http://linux.dropbox.com saucy Release.gpg
Get:8 http://security.ubuntu.com trusty-security/multiverse Sources [2,334 B]
Hit http://gb.archive.ubuntu.com trusty/restricted i386 Packages
Get:9 http://security.ubuntu.com trusty-security/main amd64 Packages [309 kB]
Ign http://extras.ubuntu.com trusty/main Translation-en_GB
Hit http://gb.archive.ubuntu.com trusty/universe i386 Packages
Hit http://gb.archive.ubuntu.com trusty/multiverse i386 Packages
Ign http://extras.ubuntu.com trusty/main Translation-en
Hit http://gb.archive.ubuntu.com trusty/main Translation-en_GB
Hit http://gb.archive.ubuntu.com trusty/main Translation-en
Hit http://gb.archive.ubuntu.com trusty/multiverse Translation-en_GB
Get:10 http://security.ubuntu.com trusty-security/restricted amd64 Packages [8,875 B]
Hit http://gb.archive.ubuntu.com trusty/multiverse Translation-en
Hit http://gb.archive.ubuntu.com trusty/restricted Translation-en_GB
Get:11 http://security.ubuntu.com trusty-security/universe amd64 Packages [111 kB]
Hit http://gb.archive.ubuntu.com trusty/restricted Translation-en
Hit http://gb.archive.ubuntu.com trusty/universe Translation-en_GB
Hit http://linux.dropbox.com saucy Release
Get:12 http://security.ubuntu.com trusty-security/multiverse amd64 Packages [3,683 B]
Hit http://gb.archive.ubuntu.com trusty/universe Translation-en
Get:13 http://security.ubuntu.com trusty-security/main i386 Packages [295 kB]
Get:14 http://gb.archive.ubuntu.com trusty-updates/main Sources [215 kB]
Get:15 http://gb.archive.ubuntu.com trusty-updates/restricted Sources [3,433 B]
Get:16 http://security.ubuntu.com trusty-security/restricted i386 Packages [8,846 B]
Get:17 http://gb.archive.ubuntu.com trusty-updates/universe Sources [125 kB]
Get:18 http://security.ubuntu.com trusty-security/universe i386 Packages [111 kB]
Get:19 http://gb.archive.ubuntu.com trusty-updates/multiverse Sources [5,138 B]
Get:20 http://security.ubuntu.com trusty-security/multiverse i386 Packages [3,838 B]
Get:21 http://gb.archive.ubuntu.com trusty-updates/main amd64 Packages [570 kB]
Hit http://security.ubuntu.com trusty-security/main Translation-en
Hit http://security.ubuntu.com trusty-security/multiverse Translation-en
Hit http://linux.dropbox.com saucy/main amd64 Packages
Hit http://security.ubuntu.com trusty-security/restricted Translation-en
Hit http://security.ubuntu.com trusty-security/universe Translation-en
Get:22 http://gb.archive.ubuntu.com trusty-updates/restricted amd64 Packages [11.8 kB]
Get:23 http://gb.archive.ubuntu.com trusty-updates/universe amd64 Packages [296 kB]
Get:24 http://gb.archive.ubuntu.com trusty-updates/multiverse amd64 Packages [12.0 kB]
Hit http://linux.dropbox.com saucy/main i386 Packages
Get:25 http://gb.archive.ubuntu.com trusty-updates/main i386 Packages [555 kB]
Get:26 http://gb.archive.ubuntu.com trusty-updates/restricted i386 Packages [11.8 kB]
Get:27 http://gb.archive.ubuntu.com trusty-updates/universe i386 Packages [297 kB]
Get:28 http://gb.archive.ubuntu.com trusty-updates/multiverse i386 Packages [12.1 kB]
Hit http://gb.archive.ubuntu.com trusty-updates/main Translation-en
Hit http://gb.archive.ubuntu.com trusty-updates/multiverse Translation-en
Hit http://gb.archive.ubuntu.com trusty-updates/restricted Translation-en
Hit http://gb.archive.ubuntu.com trusty-updates/universe Translation-en
Hit http://gb.archive.ubuntu.com trusty-backports/main Sources
Hit http://gb.archive.ubuntu.com trusty-backports/restricted Sources
Hit http://gb.archive.ubuntu.com trusty-backports/universe Sources
Hit http://gb.archive.ubuntu.com trusty-backports/multiverse Sources
Hit http://gb.archive.ubuntu.com trusty-backports/main amd64 Packages
Hit http://gb.archive.ubuntu.com trusty-backports/restricted amd64 Packages
Hit http://gb.archive.ubuntu.com trusty-backports/universe amd64 Packages
Hit http://gb.archive.ubuntu.com trusty-backports/multiverse amd64 Packages
Hit http://gb.archive.ubuntu.com trusty-backports/main i386 Packages
Hit http://gb.archive.ubuntu.com trusty-backports/restricted i386 Packages
Hit http://gb.archive.ubuntu.com trusty-backports/universe i386 Packages
Hit http://gb.archive.ubuntu.com trusty-backports/multiverse i386 Packages
Hit http://gb.archive.ubuntu.com trusty-backports/main Translation-en
Hit http://gb.archive.ubuntu.com trusty-backports/multiverse Translation-en
Hit http://gb.archive.ubuntu.com trusty-backports/restricted Translation-en
Hit http://gb.archive.ubuntu.com trusty-backports/universe Translation-en
Ign http://linux.dropbox.com saucy/main Translation-en_GB
Ign http://linux.dropbox.com saucy/main Translation-en
Fetched 3,213 kB in 7s (434 kB/s)
Reading package lists… Done
Reading package lists… Done
Building dependency tree
Reading state information… Done
dropbox is already the newest version.
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies.
dropbox : Breaks: nautilus-dropbox
E: Unable to correct problems, you have held broken packages.
michael@michael-Lenovo-G50-30:~$

Try

sudo apt-get remove --purge dropbox nautilus-dropbox

then

sudo apt-get install dropbox

Here is the output, which I hope you can make sense of. Meanwhile I shall try a fresh install from Dropbox site.

michael@michael-Lenovo-G50-30:~$ sudo apt-get remove --purge dropbox nautilus-dropbox
[sudo] password for michael:
Reading package lists… Done
Building dependency tree
Reading state information… Done
Package ‘nautilus-dropbox’ is not installed, so not removed
The following packages were automatically installed and are no longer required:
account-plugin-windows-live libupstart1
Use ‘apt-get autoremove’ to remove them.
The following packages will be REMOVED
dropbox*
0 to upgrade, 0 to newly install, 1 to remove and 12 not to upgrade.
After this operation, 414 kB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database … 228666 files and directories currently installed.)
Removing dropbox (2015.02.12) …
Purging configuration files for dropbox (2015.02.12) …
Processing triggers for man-db (2.6.7.1-1ubuntu1) …
Processing triggers for hicolor-icon-theme (0.13-1) …
Processing triggers for gnome-menus (3.10.1-0ubuntu2) …
Processing triggers for desktop-file-utils (0.22-1ubuntu1) …
Processing triggers for bamfdaemon (0.5.1+14.04.20140409-0ubuntu1) …
Rebuilding /usr/share/applications/bamf-2.index…
Processing triggers for mime-support (3.54ubuntu1.1) …
michael@michael-Lenovo-G50-30:~$ sudo apt-get install dropbox
Reading package lists… Done
Building dependency tree
Reading state information… Done
Package dropbox is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package ‘dropbox’ has no installation candidate
michael@michael-Lenovo-G50-30:~$

Dropbox loaded and installed without issues via terminal using the code:
sudo apt-get -y install nautilus-dropbox

Running perfectly thanks to you guys. Great support, very much appreciated.
Regards.

Bit late to the party, but have you noticed that you have Saucy for dropbox:

http://linux.dropbox.com saucy
You could replace that with trusty (for future reference)

Well spotted :slight_smile:

If I were you I’d remove that repo altogether … it’s a non-default repo and may contain a version of nautilus-dropbox that’s buggering things up.

nautilus-dropbox from the default multiverse repo doesn’t depend on dropbox, in fact it specifically conflicts with it.