I followed the installation instructions in the website:
https://git.skewed.de/count0/graph-tool/-/wikis/installation-instructions
for installing graph-tool on Ubuntu 18.04, but when I write "sudo apt-get install python3-graph-tool" in the terminal, it gives me the following error:
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:
python3-graph-tool : Depends: libboost-context1.67.0 but it is not installable
Depends: libboost-iostreams1.67.0 but it is not installable
Depends: libboost-python1.67.0 but it is not installable
Depends: libboost-python1.67.0-py38 but it is not installable
Depends: libboost-regex1.67.0-icu63 but it is not installable
Depends: libc6 (>= 2.29) but 2.27-3ubuntu1 is to be installed
Depends: libgcc-s1 (>= 3.4) but it is not installable
Depends: libgomp1 (>= 9) but 8.4.0-1ubuntu1~18.04 is to be installed
Depends: libstdc++6 (>= 9) but 8.4.0-1ubuntu1~18.04 is to be installed
E: Unable to correct problems, you have held broken packages.
Does anyone know how I can fix it?
try to change the distribution
deb [ arch=amd64 ] https://downloads.skewed.de/apt DISTRIBUTION main
of the options on the page (bullseye, buster, sid, bionic, eoan, focal, groovy), only "focal" worked correctly for me.
Related
I'm using python 3.6.9 on Ubuntu 18.04
$ sudo apt-get install python3-venv
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:
python3-venv : Depends: python3.6-venv (>= 3.6.5-2~) but it is not going to be installed
Depends: python3 (= 3.6.5-3) but 3.6.7-1~18.04 is to be installed
E: Unable to correct problems, you have held broken packages.
I am trying to install mysqlclient using pip and getting red text, saying there is no config.h file. I started fixing that and stucked on installing libmysqlcppconn-dev on Ubuntu 20. Terminal says
The following packages have unmet dependencies:
libmysqlcppconn-dev : Depends: libmysqlcppconn8-2 (= 8.0.27-1ubuntu18.04) but it is not going to be installed
After trying sudo apt install -f libmysqlcppconn8-2 I see
The following packages have unmet dependencies:
libmysqlcppconn8-2 : Depends: mysql-community-client-plugins but it is not installable
How can I fix that? Thanks everybody.
I'm having problems upgrading Python from 2.7.12 to 3.4.2 on my Lubuntu 16.10 machine. I'm a Linux noob so was hoping that the update was as simple as apt-get update...then read somewhere that apt-get install would remove older versions and replace with the newer version. So I tried it, but this is what I got:
$ sudo apt-get install python 3.4.2
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'libdc1394-22' for regex '3.4.2'
Note, selecting 'libdc1394-22-dbg' for regex '3.4.2'
Note, selecting 'libdc1394-22-dev' for regex '3.4.2'
Note, selecting 'libdc1394-22-doc' for regex '3.4.2'
Note, selecting 'libghc-adjunctions-dev-4.3-4e2a8:i386' for regex '3.4.2'
Note, selecting 'libdc1394-20-dev' for regex '3.4.2'
Note, selecting 'libghc-adjunctions-prof-4.3-4e2a8:i386' for regex '3.4.2'
Note, selecting 'libghc-monadcatchio-transformers-prof-0.3.1.3-4c2d4:i386' for regex '3.4.2'
Note, selecting 'libghc-monadcatchio-transformers-dev-0.3.1.3-4c2d4:i386' for regex '3.4.2'
Note, selecting 'libghc-adjunctions-dev:i386' instead of 'libghc-adjunctions-dev-4.3-4e2a8:i386'
Note, selecting 'libghc-adjunctions-prof:i386' instead of 'libghc-adjunctions-prof-4.3-4e2a8:i386'
Note, selecting 'libghc-monadcatchio-transformers-dev:i386' instead of 'libghc-monadcatchio-transformers-dev-0.3.1.3-4c2d4:i386'
Note, selecting 'libghc-monadcatchio-transformers-prof:i386' instead of 'libghc-monadcatchio-transformers-prof-0.3.1.3-4c2d4:i386'
python is already the newest version (2.7.11-2).
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies.
libdc1394-22-dev : Depends: libraw1394-dev but it is not going to be installed
libghc-adjunctions-dev:i386 : Depends: libghc-array-dev-0.5.1.0-98220:i386
Depends: libghc-base-dev-4.8.2.0-a3ce8:i386
Depends: libghc-comonad-dev-4.2.7.2-48e3c:i386
Depends: libghc-containers-dev-0.5.6.2-5879d:i386
Depends: libghc-contravariant-dev-1.4-fd0fc:i386
Depends: libghc-distributive-dev-0.5.0.2-5a38b:i386
Depends: libghc-free-dev-4.12.4-5b9a8:i386
Depends: libghc-mtl-dev-2.2.1-05005:i386
Depends: libghc-profunctors-dev-5.2-04b6a:i386
Depends: libghc-semigroupoids-dev-5.0.1-71922:i386
Depends: libghc-semigroups-dev-0.18.1-1d980:i386
Depends: libghc-tagged-dev-0.8.4-b253b:i386
Depends: libghc-transformers-dev-0.4.2.0-a5bbd:i386
Depends: libghc-transformers-compat-dev-0.4.0.4-8aa40:i386
Depends: libghc-void-dev-0.7.1-dfe8d:i386
Depends: libc6:i386 (>= 2.0) but it is not going to be installed
libghc-adjunctions-prof:i386 : Depends: libghc-array-prof-0.5.1.0-98220:i386
Depends: libghc-base-prof-4.8.2.0-a3ce8:i386
Depends: libghc-comonad-prof-4.2.7.2-48e3c:i386
Depends: libghc-containers-prof-0.5.6.2-5879d:i386
Depends: libghc-contravariant-prof-1.4-fd0fc:i386
Depends: libghc-distributive-prof-0.5.0.2-5a38b:i386
Depends: libghc-free-prof-4.12.4-5b9a8:i386
Depends: libghc-mtl-prof-2.2.1-05005:i386
Depends: libghc-profunctors-prof-5.2-04b6a:i386
Depends: libghc-semigroupoids-prof-5.0.1-71922:i386
Depends: libghc-semigroups-prof-0.18.1-1d980:i386
Depends: libghc-tagged-prof-0.8.4-b253b:i386
Depends: libghc-transformers-prof-0.4.2.0-a5bbd:i386
Depends: libghc-transformers-compat-prof-0.4.0.4-8aa40:i386
Depends: libghc-void-prof-0.7.1-dfe8d:i386
libghc-monadcatchio-transformers-dev:i386 : Depends: libghc-base-dev-4.8.2.0-a3ce8:i386
Depends: libghc-extensible-exceptions-dev-0.1.1.4-81599:i386
Depends: libghc-monads-tf-dev-0.1.0.3-8aa05:i386
Depends: libghc-transformers-dev-0.4.2.0-a5bbd:i386
Depends: libc6:i386 (>= 2.0) but it is not going to be installed
libghc-monadcatchio-transformers-prof:i386 : Depends: libghc-base-prof-4.8.2.0-a3ce8:i386
Depends: libghc-extensible-exceptions-prof-0.1.1.4-81599:i386
Depends: libghc-monads-tf-prof-0.1.0.3-8aa05:i386
Depends: libghc-transformers-prof-0.4.2.0-a5bbd:i386
qdbus : Depends: qtchooser (>= 55-gc9562a1-1~)
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
apt-get -f install didn't help. What do I need to do to upgrade to Python 3.4.2?
Apparently I've just been informed that Python 3.4.2 isn't available for my distro
When I try running
sudo apt-get install python-pip python-dev libmysqlclient-dev
I get the following
Reading package lists...
Done Building dependency tree
Reading state information...
Done libmysqlclient-dev 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: python-pip : Depends:
python-setuptools (>= 0.6c1) but it is not going to be installed
Depends: python-requests but it is not going to be installed
Recommends: python-dev-all (>= 2.6) but it is not installable E: Unable to correct problems, you have held broken
packages
The Error says that you libmysqlclient-dev is already installed and on the newest version.
Please check that.
But it also says you need the following packages:
python-setuptools
python-requests
python-dev-all
Consider downloading/updating these via pip install and then try again :)
I'm trying to install MatPlotLib for Python3 using Debian 8. The pip3
command asks for the missing dependency: libfreetype. However, this is what happens when I try to install this package!
debnub#debhub:~$ sudo apt-get install libfreetype6-dev
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:
libfreetype6-dev : Depends: libfreetype6 (= 2.5.2-3+deb8u2) but 2.
6.3-3.2 is to be installed
E: Unable to correct problems, you have held broken packages.
debnub#debhub:~$
I've tried a lot of different solutions including using aptitude. Is there anything I might be missing in this case?
This was solved by running:
sudo aptitude -f install libfreetype6-dev
And then selecting no to downgrade the installed version of libfreetype6.