Questions tagged [dependencies]

Additional software that some software requires to function

The dependencies of a software package are the other packages that it requires. The concept covers both runtime dependencies (what needs to be installed in order for the software to work) and compile-time (or build-time) dependencies (what needs to be installed in order to compile the software).

This tag is typically used alongside or or a specific package manager (, , …) for runtime dependencies, or alongside for build-time dependencies.

598 questions
30
votes
4 answers

How to find the packages that depend on a certain package in apt?

How can I get, not the dependencies of a package, but the packages that are depending on a certain package? I'm on debian 6.0 Squeeze-LTS (the first-time extension to squeeze for long term support!) for my web server, and it reports that support has…
Kzqai
  • 617
  • 1
  • 6
  • 14
28
votes
4 answers

Updating the Linux kernel, while leaving rest of system as is

I'm an OpenBSD user. In the OpenBSD FAQ it says: OpenBSD is a complete system, intended to be kept in sync. It is not a kernel plus utilities that can be upgraded separately from each other. When you upgrade a system, you do so in one go; the…
Kusalananda
  • 320,670
  • 36
  • 633
  • 936
26
votes
2 answers

Debian: Is it possible/safe to install packages from an older version of the repository?

I'm currently running Debian testing (Wheezy) and am trying to get SCIM working. I want to install the scim-pinyin package, but there is no such package available in the testing repository, although there was one in the previous stable (Squeeze)…
FixMaker
  • 807
  • 3
  • 9
  • 17
26
votes
1 answer

Systemd: Find dependants of service

systemctl list-dependencies postgres Will list all the dependencies of the postgres service. How do I find all the dependents of a service (or unit, or target)?
Rolf
  • 681
  • 2
  • 8
  • 16
25
votes
4 answers

How to install clang-10 on Ubuntu 20.4

I upgraded my Linux box from Ubuntu 18.04 to 20.04. I need to install the clang suite of compilers and the apt command is giving me errors. I've searched many possible solutions but so far none of the recommendations I have found to solve similar…
Michel
  • 359
  • 1
  • 3
  • 4
22
votes
3 answers

E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution) libreoffice

Every time I try to upgrade it shows me this message sudo apt-get upgrade Reading package lists... Done Building dependency tree Reading state information... Done You might want to run 'apt --fix-broken install' to correct these. The…
19
votes
1 answer

systemd Before and After declarations

The definition given in the man for systemd unit is a bit unclear: https://www.freedesktop.org/software/systemd/man/systemd.unit.html If a unit foo.service contains a setting Before=bar.service and both units are being started, bar.service's…
Wimateeka
  • 945
  • 2
  • 10
  • 25
18
votes
4 answers

How can I know if a virtual package is "installed" on a Debian system?

Some packages, have a Provides: header. For example, the package postfix on Debian Wheezy has Provides: mail-transport-agent. The package mail-transport-agent which doesn't exist physically is considered as a "virtual" package. How can I know, on…
Totor
  • 19,302
  • 17
  • 75
  • 102
18
votes
1 answer

How to find which package provides a file?

For example, I can't install package qcad because of error: "can't find qdict.h". How can I find the package which provides the file qdict.h so I can install the package qcad?
Eddy_Em
  • 1,293
  • 1
  • 12
  • 18
18
votes
1 answer

How to get my systemd service restarted when its dependency is upgraded

I've written a program that uses a Postgres database, and I wrote a systemd service file for it. Currently my service gets started on boot just fine, and it gets stopped when Postgres is stopped for upgrading (by apt upgrade). However, when the…
Rennex
  • 461
  • 3
  • 8
18
votes
2 answers

Is it possible to simulate installation of Debian packages, and still marking them as installed?

Here's what I would like: Start with a virtual system, with no installed packages. Then I invoke a tool, similar to apt-get to ask it to compute the dependencies and mark all the packages that would be installed as installed. Let me be clear: It…
Nicolas
  • 281
  • 2
  • 6
16
votes
3 answers

Automatically install unmet build dependencies as detected by dpkg-checkbuilddeps

Is there a command that installs all the unmet build dependencies that dpkg-checkbuilddeps would list? I tried to sed the output and give it to apt-get install, but it seems very hacky and for some reason didn't work in some environments. sudo…
Forivin
  • 779
  • 5
  • 18
  • 37
16
votes
1 answer

How to convince dpkg that libssl1.0.2 is >= libssl1.0.0?

I am trying to install a 3rd party .deb package that I have installed before on Debian 8. But I cannot install on a fresh Debian 9 setup because I get the following error: dpkg: dependency problems prevent configuration of parity: parity depends…
stone.212
  • 347
  • 1
  • 4
  • 16
15
votes
4 answers

Yum and recommended/suggested packages

I'd like to install a software package on my Fedora System, but it has a lot of unreasonable dependencies (which I know for sure they are not actually required). I used to work on Debian, where apt-get allows you to systematically exclude…
Dacav
  • 538
  • 1
  • 5
  • 16
15
votes
2 answers

Could Apt delete packages that are need by software that users have installed from source?

Apt handles dependencies among packages installed from its repositories or *.deb files. However, what about software that users have compiled and installed from source with ./configure && make && make install without creating a .deb file first? Is…
Eleno
  • 1,849
  • 4
  • 27
  • 39
1
2 3
39 40