Questions tagged [dependencies]

Use this tag when asking about managing and resolving dependencies. In Ubuntu most applications have dependencies, programs that they depend on to run correctly. This means that installing a package sometimes requires other packages to be installed, and removing packages will cause others to be removed by APT to prevent them from breaking.

Filter by
Sorted by
Tagged with
668 votes
14 answers
1.4m views

How do I resolve unmet dependencies after adding a PPA?

Occasionally, when I'm installing stuff, I get an error like the following: Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the ...
jrg's user avatar
  • 60.6k
391 votes
8 answers
336k views

How to list dependent packages (reverse dependencies)?

In order to research what caused the installation of a given package, I'd like to get a list of packages which depend on that package. I couldn't find anything obvious in man dpkg.
l0b0's user avatar
  • 8,839
174 votes
4 answers
49k views

Can I see why a package is installed?

For a specific package, can I find out why it is installed? So, can I see or it's manually installed, or that it is installed as a dependency of another package? Or that it is installed as part of ...
Peter Smit's user avatar
  • 7,597
115 votes
1 answer
95k views

npm : Depends: node-gyp (>= 0.10.9) but it is not going to be installed [duplicate]

I want to install npm. I've updated everything but I can't fix the problem. The message I get is: Reading package lists... Done Building dependency tree Reading state information... Done ...
MatiasEze's user avatar
  • 1,251
99 votes
4 answers
170k views

How can I install a package without installing some dependencies?

I'm trying to install the package LaTeXila, and the output looks like this: $ sudo apt-get install latexila --no-install-recommends Reading package lists... Done Building dependency tree ...
Alex's user avatar
  • 1,288
96 votes
6 answers
265k views

MongoDB Install Fails on Ubuntu 22.04 - Depends on libssl1.1 but it is not installable

Here are the standard installation instructions from the website: wget -qO - https://www.mongodb.org/static/pgp/server-5.0.asc | sudo apt-key add - echo "deb [ arch=amd64,arm64 ] https://repo....
fIwJlxSzApHEZIl's user avatar
89 votes
6 answers
579k views

The following packages have unmet dependencies!

I am writing this because I am very confused about installing PostgreSQL 9.3 on my Ubuntu 14.04. First I need it for my Python/Django development, and I ran into the problem when I tried to install it....
copser's user avatar
  • 1,376
77 votes
3 answers
257k views

How do I install ncurses header files?

I was trying to configure the kernel and I got the following error. Can somebody please tell me what I should do? root@nitr-desktop:/usr/src/linux# make menuconfig *** Unable to find the ncurses ...
user141332's user avatar
59 votes
4 answers
108k views

Replace openjdk with oracle-jdk on Ubuntu

I have an ubuntu system and I want to replace my openjdk with oracle-jdk. However if I remove my open-jdk and then install oracle-jdk, when I try to install some packages they want to install ...
littleali's user avatar
  • 717
59 votes
4 answers
92k views

14.04 --> 16.04 failed; apt (>= 1.0.1ubuntu2.13)' is not installed

(This question was not resolved. Due to time constraints Computer was restored to factory settings.) I was attempting to upgrade from 14.04 to 16.04, but apt threw this error: The required ...
user avatar
59 votes
6 answers
55k views

How to install only the dependencies of a package?

Running sudo apt-get install <PACKAGE> will install the package, its dependencies, and any other recommended packages. However, there does not seem to be a way to install only the dependencies ...
Nathan Osman's user avatar
  • 32.2k
58 votes
3 answers
368k views

Install gcc on Ubuntu 12.04 LTS

When I try to install gcc on Ubuntu 12.04 LTS Server with apt-get install gcc, I get the following error: The following packages have unmet dependencies: gcc : Depends: cpp (>= 4:4.6.1-2ubuntu5) ...
Brian M. Hunt's user avatar
57 votes
3 answers
47k views

How do I find the build dependencies of a package?

I'd like to find out which packages sudo apt-get build-dep <package> would install (if I already got some dependencies installed, I'd also like to see those → so running or simulating the ...
htorque's user avatar
  • 64.8k
54 votes
3 answers
26k views

Sub-process /usr/bin/dpkg returned an error code (1) while upgrading python3.10

apt upgrade: $ sudo apt-get full-upgrade -y Reading package lists... Done Building dependency tree Reading state information... Done You might want to run 'apt --fix-broken install' to correct ...
user avatar
53 votes
6 answers
147k views

How to remove an uninstalled package's dependencies?

I want to install a package (DigiKam), but it has a lot of dependencies. If I decide I no longer need this software and uninstall it, will the now unnessary dependencies be removed? If not, how can I ...
jfoucher's user avatar
  • 23.6k
46 votes
5 answers
77k views

curl is not working on Ubuntu 18.04 LTS

I can't fetch content from the web using `curl. I tried to install it and got the output below: Some packages could not be installed. This may mean that you have requested an impossible situation or ...
Joseph-L-S's user avatar
  • 1,063
42 votes
3 answers
16k views

How to visually display dependencies of a package?

This is just for fun and curiosity: is there a tool using which I can visually see the dependencies of a package as a graph? That is, the packages that a given package depends on. This can be a ...
Ashwin Nanjappa's user avatar
41 votes
4 answers
32k views

grub-efi-amd64-signed dependency issue in Ubuntu 22.04LTS

After standard apt-get upgrade and reboot now I am getting the following error when I am trying to run apt-get upgrade in 22.04 LTS: Some packages could not be installed. This may mean that you have ...
DisplayName's user avatar
38 votes
4 answers
121k views

Unmet dependencies. Libc6 The package system is broken

Whenever I try to upgrade or install a new package i get the following ibc6-dbg: Depends: libc6 (= 2.31-0ubuntu9.2) but 2.31-0ubuntu9.1 is installed \ libc6-dev: Depends: libc6 (= 2.31-0ubuntu9.2) but ...
rtpenick's user avatar
  • 481
37 votes
3 answers
11k views

How do snap packages handle shared dependencies?

The snap packaging format finally frees us from dependency hell by allowing each package to have its own copy of dependencies. I'm interested in the technical details in how it does this. How does it ...
muru's user avatar
  • 198k
36 votes
2 answers
207k views

How to install a libc6 version >= 2.29?

When I type sudo apt-get install r-base-core I get the following error The following packages have unmet dependencies. r-base-core : Depends: libc6 (>= 2.29) but 2.27-3ubuntu1 is to be ...
mercury0114's user avatar
35 votes
3 answers
39k views

"Unmet dependencies" When trying to install KDE Plasma 5.3 on Ubuntu 15.04

I'm trying to install the latest KDE Plasma here but I'm getting You might want to run 'apt-get -f install' to correct these. The following packages have unmet dependencies: kde-telepathy-minimal: ...
Sam's user avatar
  • 1,425
35 votes
6 answers
101k views

Cannot install docker-desktop on ubuntu 22.04

I am trying to install docker-desktop from here. I downloaded the .deb package with: sudo dpkg -i docker-desktop-4.8.1-amd64.deb but I got a couple of missing dependencies problems: (Reading database ...
KuhakuPixel's user avatar
34 votes
4 answers
26k views

How can I determine why apt-get will install a package?

This question is similar to How can I find out why a package was installed?, but in my case I'd like to know before actually installing a package, why it will install a particular dependency. So for ...
pbouf77's user avatar
  • 441
34 votes
3 answers
129k views

E: Package 'libpng12-0' has no installation candidate [ubuntu 16.10 Gnome]

I tried to install WPS Office on my laptop (ubuntu 16.10 Gnome, 64 bit) with Gdebi installer but it said Dependency is not satisfiable: libpng12-0 Then I tried to open this library as follows ...
Garp's user avatar
  • 617
32 votes
1 answer
28k views

dpkg: error processing package libglib2.0-0:i386 [closed]

I got the following message after running sudo apt update && sudo apt upgrade -y, I also have been unable to update my packages from the store. dpkg: error processing package libglib2.0-0:i386 ...
Jeremy's user avatar
  • 431
30 votes
2 answers
16k views

What is the difference between dependencies and pre-depends?

What is meant by "depends" and "pre-depends", and the difference between those 2 types of package requirements when I am installing something in Ubuntu?
Bruno Pereira's user avatar
29 votes
4 answers
132k views

How to reinstall Terminal?

While fixing package dependencies, the terminal application went missing, and now I cannot locate the application. Is there a way to reinstall the terminal application?
user123210's user avatar
27 votes
3 answers
45k views

Unmet dependencies - cannot remove package libgbm1

In this case I have the libgbm1 being held, giving me message like: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages. Since I carefully read How do I resolve ...
knh170's user avatar
  • 843
26 votes
8 answers
141k views

Npm can't find module "semver" error in Ubuntu 19.04

I am getting the following error whenever I try to run npm command. internal/modules/cjs/loader.js:626 throw err; ^ Error: Cannot find module 'semver' Require stack: - /usr/share/npm/lib/utils/...
Shirish Pokhrel's user avatar
26 votes
6 answers
57k views

How to install Google-Earth 64bit in Ubuntu 13.10, ia32-libs Dependency error

I want to install Google-Earth & it requires ia32-libs. So, I did apt-get install ia32-libs but error pops as: Reading package lists... Done Building dependency tree Reading state ...
Newbuntu's user avatar
  • 263
26 votes
3 answers
109k views

Cannot install mysql-server-5.5/the following packages have unmet dependicies

I'm a newbie here so please bear with me. I'm using ubuntu 14.04. I tried entering mysql with the following command: mysql -u root -p and I got the following message: The program mysql can be ...
Amuna's user avatar
  • 263
26 votes
7 answers
77k views

How to solve unmet dependencies when installing Nvidia drivers?

I keep getting this error when I try running sudo apt-get install nvidia-current: Reading package lists... Done Building dependency tree Reading state information... Done Some packages could ...
Feders's user avatar
  • 261
25 votes
5 answers
58k views

Steam Install Error on 14.04 Ubuntu 64bit

I have tried some of the solutions posted elsewhere in the support forum, one seemed like it worked but after a steam update i found myself back at square one I am a new Linux user and am already at ...
Wes Young's user avatar
  • 261
22 votes
3 answers
32k views

Packages have unmet dependencies on 18.04 upon mongodb install

So, I tried to install mongo on my local machine, a Ubuntu 18.04. The installation came to a halt with an error The following packages have unmet dependencies: mongodb-org : Depends: mongodb-org-...
Caio Favero's user avatar
22 votes
1 answer
5k views

How to escape dependency hell?

I have a Ubuntu computer with no internet and a Ubuntu computer with internet. The one without internet requires a driver to be installed through ndiswrapper. The problem is that ndiswrapper-dkms ...
TriVoxel's user avatar
  • 375
22 votes
3 answers
30k views

Install multiple deb files while respecting their dependencies

To support offline installation of multiple .deb files, I'm using: sudo dpkg -i dependencies/*.deb I've noticed some packages fail using this method because of the order they installed For example, ...
Jossef Harush Kadouri's user avatar
22 votes
3 answers
26k views

qt4 / libqt4-* in Ubuntu 20.04

Ubuntu 20.04 dropped qt4 and all libqt4-* dependencies in its official repos. My knowledge about version conflict and install-breaking actions is limited, so before any unthoughtful action is taken, I ...
Daniel B's user avatar
  • 471
21 votes
10 answers
84k views

Upgraded to 18.04 and now have many broken packages and unmet dependencies

I made a terrible mistake and upgraded to 18.04 without making a backup in a different partition by doing: sudo apt update sudo apt upgrade sudo apt dist-upgrade sudo apt-get autoremove sudo apt ...
k.mat27's user avatar
  • 321
21 votes
0 answers
1k views

How can I find out why a package was installed? [duplicate]

How can I find out why a particular package was installed? Is it part of the default installation? Was it specified manually, or was it chosen automatically to meet dependencies? Which packages are ...
ændrük's user avatar
  • 76.8k
19 votes
7 answers
122k views

Ubuntu 20.04: libssl.so.1.0.0: cannot open shared object file: No such file or directory

I have upgraded from Ubuntu 18.04 to 20.04. One application does not run any more with the error: error while loading shared libraries: libssl.so.1.0.0: cannot open shared object file: No such file ...
John_3254's user avatar
  • 191
19 votes
1 answer
20k views

OpenVPN configure: error: lzo enabled but missing

openvpn-2.4.8 https://swupdate.openvpn.org/community/releases/openvpn-2.4.8.tar.gz Ubuntu 18.04.4 LTS I want to Build and Install OpenVPN. tar -zxf openvpn-<version>.tar.gz cd openvpn-<...
Osvald Laurits's user avatar
19 votes
1 answer
225k views

How to fix dependencies / broken packages [duplicate]

When I try to install system updates, skype or phpmyadmin I got this error: You might want to run 'apt-get -f install' to correct these: The following packages have unmet dependencies: libc6 : ...
Nirmal T.'s user avatar
  • 191
19 votes
3 answers
87k views

How to install ldapsearch on 16.04?

Coming from Trusty, I was used to ldapsearch but I don't have it installed on my new Xerus install: The program 'ldapsearch' is currently not installed. You can install it by typing: sudo apt ...
Jeff Puckett's user avatar
  • 1,741
18 votes
7 answers
10k views

apt-get autoremove dangerous?

I was compiling a tool called Rejoystick so I installed a few packages and dependencies. But now I don't need it any more so I removed those packages. Running apt-get shows that I have some packages ...
Shantanu Bedajna's user avatar
17 votes
3 answers
41k views

How can I downgrade packages without removing their dependants?

I have a number of mesa packages that I had upgraded to a PPA version, before purging the PPA so I could upgrade my system. The differences in the versions are minor (they are technically the same, ...
RolandiXor's user avatar
  • 51.5k
16 votes
3 answers
5k views

Why are there so many 32-bit dependencies for Skype?

When installing Skype, whether it's by running (after enabling the partner repository): sudo apt-get install skype Or installing it from the .deb file that you get from the Skype website. I always ...
user avatar
16 votes
3 answers
42k views

can not install libpq-dev in ubuntu 14.04

I can not install libpq-dev for postgresql, i tried sudo apt-get install libpq-dev and output Building dependency tree Reading state information... Done Some packages could not be installed. ...
indra bin ridwan's user avatar
16 votes
3 answers
99k views

Unmet dependencies when trying to install r-base

I have a problem with installation of apps from the terminal. These are examples of this problem: ratanak@ratanak-walker:~$ sudo apt-get install httrack Reading package lists... Done Building ...
Ratanak Ratanak  's user avatar
16 votes
3 answers
24k views

Installing odbcins1debian2, broken dependency on Ubuntu 20.04 LTS

I'm trying to install odbcinst1debian2 on Ubuntu 20.04 but it appears there is a missing dependency, "multiarch-support": $ sudo apt-get install odbcinst1debian2 Reading package lists... Done ...
richardcrossley's user avatar

1
2 3 4 5
58