Questions tagged [dependencies]

Most software needs other software to work. Those "other softwares" are dependencies.

201 questions
133
votes
13 answers

How do I get apt-get to ignore some dependencies?

How do I make apt-get ignore some dependencies? For example, I wanted to install mailx so I can use it to send email from cron scripts/report-generating tools. However, installing mailx also installs exim4 and a whole bunch of dependencies (I…
FrancisV
  • 1,726
  • 3
  • 15
  • 18
40
votes
5 answers

How to list RPM dependencies?

Our production server is running CentOS release 5.2 (Final). How do I see/get/list all the dependencies of an already installed RPM package? For example: SQLite v3.3.6 is already installed in the server. I want to see all the dependencies of this…
Gnanam
  • 1,439
  • 13
  • 26
  • 32
38
votes
7 answers

Linux: how to restore config file using apt-get/aptitude?

I've occasionally lost my config file "/etc/mysql/my.cnf", and want to restore it. The file belongs to package mysql-common which is needed for some vital functionality so I can't just purge && install it: the dependencies would be also uninstalled…
kolypto
  • 10,738
  • 12
  • 51
  • 66
18
votes
4 answers

Install only dependencies of a given package in Debian or Ubuntu (apt)

Is there a better way to install only the required dependencies of a package, instead of installing it directly with apt-get (or any other frontend of dpkg) and then immediately removing it, leaving out its dependencies?
Vinícius Ferrão
  • 5,400
  • 10
  • 52
  • 91
13
votes
4 answers

Debian: How to use "apt-get install" without upgrading dependencies?

I already have a package B and want to install a new package A. The installation wants to modify B, but I don't want that to happen. I need to install the package A. It has the a dependency on package B and requires to be (>2.0). I have already…
victorgp
  • 481
  • 2
  • 4
  • 9
12
votes
3 answers

How can I predict systemd's shutdown order?

Is there a way to get systemd to tell me the rough order in which it will shutdown services when I cleanly shut the whole system down? Since systemd will shut things down in parallel, I appreciate there is no way to know the exact order, but it…
Adam Spiers
  • 570
  • 1
  • 4
  • 13
12
votes
1 answer

Can you help me with my software dependency issue?

This is a Canonical Question about Compile Dependencies and Package Management. I have a question regarding compiling ports/software or installing RPMs on my *nix server. When I try to do this I receive lots of messages about missing…
dunxd
  • 9,482
  • 21
  • 80
  • 117
10
votes
2 answers

Best strategy to keep chef cookbooks versions under control

I'm looking for ideas about chef cookbooks versions management. I know that you pin specific versions in the environment, but I'm not sure how to go about it. We use librarian-chef which installs 3rd party community books into the cookbooks folder.…
gansbrest
  • 785
  • 1
  • 8
  • 17
9
votes
1 answer

How do I ignore unmet dependencies while using apt-get remove?

I have a thin VPS running Ubuntu 14.04 with automatic security updates. It has filled up the /boot partition with a lot of kernel updates. I am trying to remove the older ones, but I'm running into an "unmet" dependencies error demanding I fix…
jimp
  • 638
  • 3
  • 11
  • 20
8
votes
2 answers

How to fix locales on Debian Wheezy after broken update from jessie repository

I tried to install nodejs and npm packages on my VDS with Debian Wheezy. But not to compile source and by the laziness, I found instruction in the Internet to include jessie sources and install from it. The installation didn't complete and I even…
Aleksander A
  • 101
  • 1
  • 4
8
votes
3 answers

Howto get yum to install only dependencies for a given pakage?

I am looking for a way to have yum install only dependencies for a given package, something like an --prepare-for-install option so I can take a snapshot of the prepared system and test the rpm setup with different options or rebuilds of the package…
a1an
  • 417
  • 2
  • 7
  • 16
8
votes
1 answer

How to manage Nagios dependencies on big clusters?

I'm using quite a big nagios configuration (about 4000 services), without any dependencies. This results in a huge mess of notifications when something goes wrong. I try to look for best practices with Nagios Dependencies, but all I find on the web…
Falken
  • 1,682
  • 5
  • 18
  • 27
7
votes
3 answers

Creating a script to install a Perl application and its dependencies automatically

I have a Perl application that needs a lot of dependencies that i need to deploy on numerous servers I would like to make a script that installs that Perl application automatically and quickly. To be faster, i want to install most of my dependencies…
Vincent Membré
  • 406
  • 2
  • 9
6
votes
2 answers

Dependencies from a .deb file

Given just a .deb file, how do I get the list of dependencies?
David Nehme
  • 1,756
  • 4
  • 14
  • 13
6
votes
1 answer

What can I do to safely repair my yum packages after a bad update?

I'm running amazon linux on an EC2 micro box. Recently I ran sudo yum update --security in the hope that it would patch Heartbleed. Unfortunately I ran out of memory during the update process and some packages did not successfully patch. I attempted…
Plato
  • 191
  • 1
  • 1
  • 4
1
2 3
13 14