Questions tagged [dependencies]

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

206 questions
143
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,826
  • 3
  • 17
  • 18
42
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,529
  • 13
  • 27
  • 32
39
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
  • 11,588
20
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?
18
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
  • 541
14
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…
13
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,874
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
  • 895
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
  • 668
  • 4
  • 11
  • 22
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…
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
  • 487
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,772
7
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
  • 201
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…
7
votes
3 answers

YUM dependency issue even though library is installed

We build our own php and mysql packages from source, this one is for the php-5.4.10 release, and host these at our own repository. Let's call this package custom-php and custom-mysql(-libs & -server) When I do a yum install custom-php on a server,…
Scott
  • 163
1
2 3
13 14