Can't download ppa packages

Asked by Sam Jackson

I am trying to download ppa packages to change some themes, but when I try to do so in terminal, it won't install the packages. Here is an example of the terminal command and response I get.:

sj@sj-Lenovo-ideapad-110-15ISK:~$ sudo apt-get install xenlism-wildfire-icon-theme
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
 numix-icon-theme-circle : Depends: numix-icon-theme but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
sj@sj-Lenovo-ideapad-110-15ISK:~$

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Manfred Hampl (m-hampl) said :
#1

For diagnistic purposes please provide the output of the commands

uname -a
lsb_release -crid
apt-cache policy numix-icon-theme-circle numix-icon-theme
sudo dpkg --audit
sudo apt-get -f install

Revision history for this message
Sam Jackson (sjjackson) said :
#2

sj@sj-Lenovo-ideapad-110-15ISK:~$ uname -a
Linux sj-Lenovo-ideapad-110-15ISK 4.8.0-56-generic #61~16.04.1-Ubuntu SMP Wed Jun 14 11:58:22 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
sj@sj-Lenovo-ideapad-110-15ISK:~$ lsb_release -crid
Distributor ID: Ubuntu
Description: Ubuntu 16.04.2 LTS
Release: 16.04
Codename: xenial
sj@sj-Lenovo-ideapad-110-15ISK:~$ apt-cache policy numix-icon-theme-circle numix-icon-theme
numix-icon-theme-circle:
  Installed: 2.0.3+14~201704051631~ubuntu16.04.1
  Candidate: 2.0.3+14~201704051631~ubuntu16.04.1
  Version table:
 *** 2.0.3+14~201704051631~ubuntu16.04.1 500
        500 http://ppa.launchpad.net/numix/ppa/ubuntu xenial/main amd64 Packages
        500 http://ppa.launchpad.net/numix/ppa/ubuntu xenial/main i386 Packages
        100 /var/lib/dpkg/status
numix-icon-theme:
  Installed: (none)
  Candidate: 0.3+898~201705182216~ubuntu16.04.1
  Version table:
     0.3+898~201705182216~ubuntu16.04.1 500
        500 http://ppa.launchpad.net/numix/ppa/ubuntu xenial/main amd64 Packages
        500 http://ppa.launchpad.net/numix/ppa/ubuntu xenial/main i386 Packages
sj@sj-Lenovo-ideapad-110-15ISK:~$ sudo dpkg --audit
[sudo] password for sj:
The following packages have been unpacked but not yet configured.
They must be configured using dpkg --configure or the configure
menu option in dselect for them to work:
 numix-icon-theme-circle Numix Circle icons

sj@sj-Lenovo-ideapad-110-15ISK:~$ sudo apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following packages were automatically installed and are no longer required:
  dkms linux-headers-4.8.0-36 linux-headers-4.8.0-36-generic
  linux-headers-4.8.0-51 linux-headers-4.8.0-51-generic
  linux-image-4.8.0-36-generic linux-image-4.8.0-51-generic
  linux-image-extra-4.8.0-36-generic linux-image-extra-4.8.0-51-generic
  linux-signed-image-4.8.0-51-generic snap-confine
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
  numix-icon-theme
The following NEW packages will be installed:
  numix-icon-theme
0 upgraded, 1 newly installed, 0 to remove and 1 not upgraded.
1 not fully installed or removed.
Need to get 0 B/2,176 kB of archives.
After this operation, 48.7 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
(Reading database ... 515132 files and directories currently installed.)
Preparing to unpack .../numix-icon-theme_0.3+898~201705182216~ubuntu16.04.1_all.deb ...
Unpacking numix-icon-theme (0.3+898~201705182216~ubuntu16.04.1) ...
dpkg: error processing archive /var/cache/apt/archives/numix-icon-theme_0.3+898~201705182216~ubuntu16.04.1_all.deb (--unpack):
 trying to overwrite '/usr/share/icons/Numix/64/actions/distribute-horizontal-center.svg', which is also in package numix-white-icons 1.1.5~xenial~NoobsLab.com
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Errors were encountered while processing:
 /var/cache/apt/archives/numix-icon-theme_0.3+898~201705182216~ubuntu16.04.1_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

Revision history for this message
Manfred Hampl (m-hampl) said :
#3

The problem that you have is not caused by xenlism-wildfire-icon-theme but is already there because of other packages from PPAs.

There is a conflict between two packages:
Both numix-icon-theme from the numix/ubuntu PPA and numix-white-icons from the noobslab/ubuntu PPA want to install the file '/usr/share/icons/Numix/64/actions/distribute-horizontal-center.svg'

I see the following options:
1. uninstall numix-white-icons from noobslab/ubuntu
or
2. add options to the installation command that allow one package to unconditionally overwrite file from another package.
Something like: sudo apt-get -o Dpkg::Options::="--force-overwrite" -f install

Revision history for this message
Sam Jackson (sjjackson) said :
#4

I tried to remove the numix-white theme, and got the following:

sj@sj-Lenovo-ideapad-110-15ISK:~$ sudo apt-get purge numix-icon-theme-white
[sudo] password for sj:
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package numix-icon-theme-white

Also, I get the "unable to locate" command when I tried to install any theme package.

Revision history for this message
Sam Jackson (sjjackson) said :
#5

sj@sj-Lenovo-ideapad-110-15ISK:~$ sudo apt-get install moka-icon-theme faba-icon-theme faba-mono-icons
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
 numix-icon-theme-circle : Depends: numix-icon-theme but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
sj@sj-Lenovo-ideapad-110-15ISK:~$

Revision history for this message
Manfred Hampl (m-hampl) said :
#6

Read my instructions and your output. The package name is numix-white-icons and not numix-icon-theme-white

Can you help with this problem?

Provide an answer of your own, or ask Sam Jackson for more information if necessary.

To post a message you must log in.