genesismining / sgminer-gm

A multi-algo GPU miner
GNU General Public License v3.0
340 stars 146 forks source link

Unable to Install Build Dependencies #72

Closed Vercidium closed 6 years ago

Vercidium commented 6 years ago

I am attempting to setup sgminer on an Ubuntu 16.04.3 and I have managed to complete every step successfully so far. However when I run the command:

apt install git autoconf automake libtool build-essential

I get the errors:

The following packages have unmet dependencies:
amdgpu-pro : Depends: opencl-amdgpu-pro-icd (= 17.30-465504) but 16.40-348864 is to be installed
amdgpu-pro-lib32 : Depends: opencl-amdgpu-pro-icd:i386 (= 17.30-466504)
autoconf : Depends: m4 (>= 1.4.13)
automake : Depends: autotools-dev (>= 20020320.1) but it is not going to be installed
build-essential : Depends: g++ (>= 4:5.2) but it is not going to be installed
                  Depends: dpkg-dev (>= 1.17.11) but it is not going to be installed
git : Depends: liberror-perl but it is not going to be installed
      Depends: git-man (> 1:2.7.4) but it is not going to be installed
      Depends: git-man (< 1:2.7.4-.) but it is not going to be installed
libtool : Depends: autotools-dev but it is not going to be installled
          Recommends: libltdl-dev but it is not going to be installed
E: Unmet dependencies. Try "apt-get -f install" with no packages (or specify a solution).

What should I do?

Vercidium commented 6 years ago

Solution - I ran the command:

sudo apt-get -f install

And it removed an amdgpu-pro and amdgpu-pro-lib32 package which were only a few kilobytes large. My guess is somewhere along the path I started to install them and then cancelled it, causing a few broken packages to be left around.