I can't install many different kinds of packages on my Ubuntu 14.04 64bit system.
I have run the command
sudo dpkg --add-architecture i386
as many of the related questions have suggested, but when I run
sudo apt-get install skype
I get:
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:
skype : Depends: skype-bin
E: Unable to correct problems, you have held broken packages.
Steam fails too:
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:
steam:i386 : Depends: libgl1-mesa-dri:i386 but it is not going to be installed
Depends: libgl1-mesa-glx:i386 but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
Also, even something I thought was simple like samba fails to install:
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:
samba : Depends: samba-common (= 2:4.1.6+dfsg-1ubuntu2) but 2:4.1.6+dfsg-1ubuntu2.14.04.1 is to be installed
Depends: samba-common-bin (= 2:4.1.6+dfsg-1ubuntu2) but 2:4.1.6+dfsg-1ubuntu2.14.04.1 is to be installed
Depends: samba-dsdb-modules but it is not going to be installed
Depends: samba-libs (= 2:4.1.6+dfsg-1ubuntu2) but 2:4.1.6+dfsg-1ubuntu2.14.04.1 is to be installed
Recommends: attr
Recommends: samba-vfs-modules but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
Here are the uncommented lines from /etc/apt/sources.list
:
deb http://archive.ubuntu.com/ubuntu trusty main restricted
deb-src http://archive.ubuntu.com/ubuntu trusty main restricted
deb http://archive.ubuntu.com/ubuntu trusty universe
deb-src http://archive.ubuntu.com/ubuntu trusty universe
deb http://archive.ubuntu.com/ubuntu trusty multiverse
deb-src http://archive.ubuntu.com/ubuntu trusty multiverse
deb http://archive.canonical.com/ trusty partner
deb http://extras.ubuntu.com/ubuntu trusty main
deb-src http://extras.ubuntu.com/ubuntu trusty main
I believe this has something to do with the "new" (?) multiarch system in Ubuntu 14.04 (my last system ran 13.04), but I don't really know what to do to fix this problem. I have seen many suggests that involve crowbaring packages from older distributions into 14.04, but I don't want to do that unless as a last resort.
The only PPA I have installed is the one for Google Chrome.
How do I fix this?
trusty-updates
is present in yoursources.list
, but thesamba
package is fromtrusty-updates
. – saiarcot895 Jun 12 '14 at 00:50samba
seems to suggest deeper problems. – user292735 Jun 12 '14 at 01:14cat /var/lib/dpkg/arch
. Did you update all the repositories by runningsudo apt-get update
? – Avinash Raj Jun 12 '14 at 01:22sudo apt-get check
,sudo dpkg -C
? – Braiam Jun 13 '14 at 00:18trusty-updates
, update, and redownload. – saiarcot895 Jun 13 '14 at 00:55