Questions tagged [dependencies]

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

Filter by
Sorted by
Tagged with
139 votes
13 answers
312k views

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 ...
FrancisV's user avatar
  • 1,786
41 votes
5 answers
135k views

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 ...
Gnanam's user avatar
  • 1,479
38 votes
7 answers
66k views

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 &&...
kolypto's user avatar
  • 11.2k
19 votes
4 answers
36k views

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 ...
Vinícius Ferrão's user avatar
17 votes
4 answers
24k views

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 ...
victorgp's user avatar
  • 531
13 votes
1 answer
524 views

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 ...
dunxd's user avatar
  • 9,714
12 votes
3 answers
16k views

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 ...
Adam Spiers's user avatar
10 votes
2 answers
12k views

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 ...
gansbrest's user avatar
  • 845
9 votes
1 answer
18k views

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 ...
jimp's user avatar
  • 648
8 votes
3 answers
19k views

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 ...
a1an's user avatar
  • 457
8 votes
2 answers
10k views

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 ...
Aleksander A's user avatar
8 votes
1 answer
1k views

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 ...
Falken's user avatar
  • 1,742
7 votes
3 answers
11k views

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 & -...
Scott's user avatar
  • 163
7 votes
3 answers
1k views

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 ...
Vincent Membré's user avatar
6 votes
2 answers
11k views

How do I make one service dependent on another in Windows 7?

If I view properties for a service, I can see the "Dependencies" tab, but I can't assign other services to this tab. I have two services that start on startup, a server and a database. The server ...
Peter Boughton's user avatar
6 votes
5 answers
32k views

Debian: "apt install build-essential" fails because of unmet dependencies

Using Debian Stretch v9.11. I try to install build-essential, but fails because of unmet dependencies: sudo apt install build-essential Reading package lists... Done Building dependency tree Reading ...
klor's user avatar
  • 354
6 votes
2 answers
3k views

Dependencies from a .deb file

Given just a .deb file, how do I get the list of dependencies?
David Nehme's user avatar
  • 2,166
6 votes
1 answer
20k views

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 ...
Plato's user avatar
  • 191
5 votes
3 answers
13k views

Unable to install or update using yum

When trying to install or update anything in yum, I get a list of requires, removing and obsoleted by: Loaded plugins: downloadonly, fastestmirror Setting up Update Process Determining fastest ...
Nahydrin's user avatar
  • 417
5 votes
4 answers
4k views

Is npm designed to be used to manage client-side dependencies as well?

I'm using Composer to manage my PHP dependencies, and would be happy to do the same with my JS dependencies. I stumbled upon NPM for Node.js, and am wondering if it's supposed to be used as a client-...
BenMorel's user avatar
  • 4,607
5 votes
3 answers
8k views

Automatically start docker container's linked dependencies

I run gitlab in a docker container and it separates its dependencies (MySQL, Redis, Mailserver) quite nicely into separate docker containers. Running them is not a problem, I start them in reverse ...
DASKAjA's user avatar
  • 179
5 votes
2 answers
5k views

Puppet: create service before file but notify service if file changes

I want file "run" to be created AFTER Service nginx, but also i want to notify Service nginx if file run changes. Notify implies that it is run BEFORE nginx. The use case is the following. We use dj ...
tommics's user avatar
  • 111
5 votes
2 answers
25k views

Linux says a kernel module has an unknown symbol, but another loaded module provides it

I'm trying to install a driver for a USB DAQ box, which annoyingly, I have to compile myself. I believe I've succeeded -- I have two .ko files: -rw-r--r-- 1 root root 45271 2010-03-18 21:24 ...
raldi's user avatar
  • 987
4 votes
4 answers
2k views

DEB: "Provides:" field ignored

I need to replace a package with a custom one, which gets its own name (foo-origpackage). To allow it to be used as drop-in replacement, I added the Provides: origpackage line to the control file. apt-...
Creshal's user avatar
  • 259
4 votes
1 answer
762 views

Why does "apt-get autoremove sendmail" leave dependencies behind?

I have noticed that installing sendmail, then uninstalling it, using apt-get will leave many unwanted files behind. sudo apt-get install sendmail Reading package lists... Done Building dependency ...
Rolf's user avatar
  • 233
4 votes
2 answers
12k views

yum depsolving problems - package already installed?

In trying to do a 'yum update' I've started to hit the following error on a number of my systems: --> Running transaction check --> Processing Dependency: freetype = 2.2.1-28.el5_5 for package: ...
Jax's user avatar
  • 428
4 votes
2 answers
4k views

How to interpret this yum dependency error?

I'm trying to install XRDP and I'm hitting the following: [root@box ~]# yum -y install xrdp Loaded plugins: fastestmirror, langpacks Loading mirror speeds from cached hostfile * base: centos....
Basic's user avatar
  • 426
4 votes
3 answers
6k views

Handling FreeBSD package upgrades using pkg_add

I'm trying to use FreeBSD's pkg_add command to install and upgrade binary packages in a build-once-install-on-multiple-machines sort of scenario. It works well when installing a new package, but ...
larsks's user avatar
  • 44.9k
4 votes
2 answers
2k views

Nagios: Only send notification when all 4 host are down

As part of a larger complex, is a small office building with 4 computers. It has a single cat5 run to a non-managed switch that has 4 computers connected to it. Since I can't ping the switch, the ...
Porch's user avatar
  • 680
4 votes
1 answer
5k views

apt-get dist-upgrade failing on mssql-tools and msodbcsql17 packages, ubuntu 16.04

I did regular upgrade of packages as always and something broke, cant even purge the packages due broken dependencies. The server is Ubuntu 16.04 on Azure. We are using MySQL on this server, so this ...
Experiance Tranquility's user avatar
4 votes
2 answers
3k views

Puppet dependency ordering with ensure absent

Puppet supports the concept of resource dependencies where one resource will not by synced until another is synced first. For example, the following Puppet fragment will create the user user1 and the ...
user35042's user avatar
  • 2,711
4 votes
2 answers
2k views

Install package from oldstable (wheezy) to stable (jessie)

I want to install the package which is missing in jessie from wheezy. It is like backport the other way. I need gcc-4.7, but jessie provides only gcc-4.9. Unstable provides gcc-4.7 only for arm ...
Mihalko's user avatar
  • 141
4 votes
1 answer
10k views

Yum: php55w-common conflicts with php-common-5.4

I am trying to install mysqli on a CentOS machine using yum install php-mysqlnd.x86_64 on the command line but I keep getting the message: Error: php55w-common conflicts with php-common-5.4.16-36....
Duck Puncher's user avatar
4 votes
1 answer
488 views

What is the most simple way to install newer versions of RabbitMQ and Erlang on Ubuntu 10.04?

I need to use RabbitMQ on Ubuntu 10.04. I have installed it before, but it was for code testing/learning purposes. I want to use newer versions of Erlang and RabbitMQ than the ones provided in the ...
Brian's user avatar
  • 141
3 votes
1 answer
3k views

openVPN centOS 6.4 64bit dependency issues

Everytime I download the openVPN rpm (http://mirror.its.sfu.ca/mirror/CentOS-Third-Party/epel/6/x86_64/openvpn-2.2.2-1.el6.x86_64.rpm) and try to install it, I'm running into dependency issues. What ...
Jony's user avatar
  • 33
3 votes
2 answers
4k views

rpmbuild on CentOS 6.3 64-bit - broken dependencies

I'm trying to build a package using rpmbuild on 64-bit CentOS 6.3 server. Here is the spec file: Name: test-fms Version: 1.0 Release: 1%{?dist} Summary: my FMS Package ...
Kuf's user avatar
  • 449
3 votes
2 answers
533 views

Per-application library paths on CentOS

Context: After a recent version upgrade of a bunch of our server software, I've found myself in a dilemma: I have two sets of applications (Zend server and assorted utils, and a bunch of PostgreSQL ...
Zac B's user avatar
  • 841
3 votes
2 answers
419 views

How to manage dependencies on PEAR packages

It seems to me that PEAR is picking up steam again, at least as a distribution mechanism. With the availability of simple PEAR channel servers that are actually simple (e.g. Pirum) it seems many ...
Sander Marechal's user avatar
3 votes
1 answer
6k views

Which RPM fixes this failed RedHat dependency?

Problem I'm installing an RPM on RedHat Enterprise Linux 5 and it fails with the following error: error: Failed dependencies: rpmlib(PayloadIsLzma) <= 4.4.6-1 is needed by vspd-1/43-rsmu.i586 ...
gMale's user avatar
  • 193
3 votes
2 answers
10k views

How to remove duplicates after a failed yum update?

I probably ran out of memory when I tried to update packages on my CentOS system. Now when I try to run updates it got stuck: Error: Package: glibc-devel-2.17-157.el7_3.5.x86_64 (@updates) ...
Roderik's user avatar
  • 227
3 votes
1 answer
243 views

Compile software from source : how do I collect a dependency list?

I'd like to compile Nginx 1.9.8 from source and install it on a Ubuntu 14.04 server. However, and this goes for any software, how do I figure out which dependencies I need to install on my local ...
sbrattla's user avatar
  • 1,600
3 votes
1 answer
25k views

How to uninstall IIS from Windows Server 2008

I'm struggling with uninstalling IIS from Windows Server 2008. I went into Server Manager > Roles > Remove Roles > unchecked IIS > that prompted me to also remove dependencies. Every time the "...
JustBeingHelpful's user avatar
3 votes
3 answers
10k views

Unable to install python2.7-dev due to unmet dependencies Ubuntu 12.04

Having exactly the same problem described on this page: http://qnundrum.com/answer.php?q=431114 Below is directly quoted from that page: I am unable to install python-dev becasue of unmet ...
BananaOnTheWall's user avatar
3 votes
2 answers
7k views

aide --init show lots of errors

I have a brand new centos 6.2 server. The first thing I did is yum -y install aide and then next I did aide --init. Below is a whole lot of errors I got.What does it means must I reinstall it? Or ...
newbie14's user avatar
  • 149
3 votes
2 answers
8k views

yum update dependency error (already installed)

i'm facing the following error: Transaction Check Error: package apr-1.3.12-1.jason.1.x86_64 (which is newer than apr-1.2.7-11.el5_6.5.cloudlinux.2.i386) is already installed This is on cloudlinux. ...
Lokari's user avatar
  • 31
3 votes
1 answer
4k views

apt-get remove package that didn't install properly

I accidentally installed zabbix-frontend-php that pulled apache2 as a dependency. I don't want to use either, and I want to completely delete both packages. Unfortunately, it seems that apt-get won'...
Kornel's user avatar
  • 1,155
3 votes
2 answers
425 views

Checking deb dependencies against the current system

I know I can list the .deb's dependencies using dpkg --info, but is there any automated way to check those dependencies against the current system? What I'm interested in, the status: whether the ...
viraptor's user avatar
  • 1,306
3 votes
0 answers
4k views

Install libxml2.8 on RHEL 6

I want to install the software TinyOWS on a RHEL 6 server. I followed the instructions: wget http://download.osgeo.org/mapserver/tinyows-1.1.0.tar.bz2 tar xvjf tinyows-1.1.0.tar.bz2 cd tinyows-1.1.0 ./...
jirikadlec2's user avatar
2 votes
5 answers
18k views

Problem installing build-essential and upgrading g++ on Ubuntu 8.04

I'm having some trouble with dependencies it seems, but myself don't really know how to resolve the issue. Here's the output: ~:) sudo apt-get install build-essential Reading package lists... Done ...
ehsanul's user avatar
  • 427
2 votes
3 answers
3k views

Duplicity 0.7.10 fails after upgrading librsync in Ubuntu 14.04

I've spent a few hours trying to configure Duplicity to perform automated remote backups to a Google Drive. At this point, it's safe to say that I'm in my own private dependency hell. Using the ...
alexw's user avatar
  • 371

1
2 3 4 5