0

This question already has an answer here:

I am currently using Ubuntu 16.04 and have been unable to install Skype, despite numerous attempts.

I have tried to use the following commands:

sudo add-apt-repository "deb http://archive.canonical.com/   $(lsb_release -sc) partner"
sudo apt-get update 
sudo apt-get install skype

and obtained the following:

X:~$ sudo add-apt-repository "deb http://archive.canonical.com/   $(lsb_release -sc) partner"
[sudo] password for X: 
X:~$ sudo apt-get install
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  linux-headers-4.4.0-31 linux-headers-4.4.0-31-generic linux-headers-4.4.0-64
  linux-headers-4.4.0-64-generic linux-headers-4.4.0-66
  linux-headers-4.4.0-66-generic linux-headers-4.4.0-70
  linux-headers-4.4.0-70-generic linux-image-4.4.0-31-generic
  linux-image-4.4.0-64-generic linux-image-4.4.0-66-generic
  linux-image-4.4.0-70-generic linux-image-extra-4.4.0-31-generic
  linux-image-extra-4.4.0-64-generic linux-image-extra-4.4.0-66-generic
  linux-image-extra-4.4.0-70-generic
Use 'sudo apt autoremove' to remove them.
0 to upgrade, 0 to newly install, 0 to remove and 0 not to upgrade.
X:~$ sudo apt-get install skype
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.

Then I tried the following commands:

sudo apt-get remove skype skype-bin:i386 skype:i386
sudo apt-get install sni-qt:i386
rm -rf ~/.Skype
sudo dpkg --add-architecture i386
sudo apt-get update

and got these results:

sudo apt-get remove skype skype-bin:i386 skype:i386
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package 'skype' is not installed, so not removed
Package 'skype:i386' is not installed, so not removed
Package 'skype-bin:i386' is not installed, so not removed
The following packages were automatically installed and are no longer required:
  linux-headers-4.4.0-31 linux-headers-4.4.0-31-generic linux-headers-4.4.0-64
  linux-headers-4.4.0-64-generic linux-headers-4.4.0-66
  linux-headers-4.4.0-66-generic linux-headers-4.4.0-70
  linux-headers-4.4.0-70-generic linux-image-4.4.0-31-generic
  linux-image-4.4.0-64-generic linux-image-4.4.0-66-generic
  linux-image-4.4.0-70-generic linux-image-extra-4.4.0-31-generic
  linux-image-extra-4.4.0-64-generic linux-image-extra-4.4.0-66-generic
  linux-image-extra-4.4.0-70-generic
Use 'sudo apt autoremove' to remove them.
0 to upgrade, 0 to newly install, 0 to remove and 0 not to upgrade.
X:~$ sudo apt-get install sni-qt:i386
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.
 sni-qt:i386 : Depends: libqtcore4:i386 (>= 4:4.7.3-1ubuntu3~) but it is not going to be installed
               Depends: libdbusmenu-qt2:i386 but it is not going to be installed
               Depends: libqt4-dbus:i386 (>= 4:4.6.1) but it is not going to be installed
               Depends: libqtgui4:i386 (>= 4:4.8.6+git64-g5dc8b2b+dfsg) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

marked as duplicate by karel, Eric Carvalho, David Foerster, LnxSlck, pa4080 Apr 6 '18 at 9:39

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

0

Are you by any chance using the Xorg edgers ppa?

I had a similar problem with similar error messages and the unmet dependencies were due to some newer packages installed from the edgers ppa.

Since I did not really use it, i just removed it with sudo ppa-purge ppa:xorg-edgers/ppa.

VLC Media Player was another program that refused to install tiwh this ppa added.

Not the answer you're looking for? Browse other questions tagged or ask your own question.