19 votes

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

An alternate way to manually tweak the dependencies is: apt-get download yourpackage dpkg-deb -x yourpackage.deb PackageFolder dpkg-deb --control yourpackage.deb PackageFolder/DEBIAN vim ...
AndrewHarvey's user avatar
11 votes

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

You can download the package with apt-get and then install it with dpkg, manually listing the dependancy you would like to be ignored. For example if I want to download mypackage but it depends on ...
A.Badger's user avatar
  • 241
8 votes

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

Your problem here is that at some point in time, you installed a package from a source which contained a newer libc6, and that version of libc6 got installed. Now your packages are broken, since the ...
Lacek's user avatar
  • 7,163
7 votes
Accepted

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

sendmail is a meta package consisting of a set of dependencies. When you install the sendmail metapackage it installs sendmail-bin, amongst other things. This provides a recommended package for cron, ...
Gav's user avatar
  • 191
6 votes

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

On Debian 8 I've found the option --no-upgrade can help achieving the desired result. For example: apt-get install --no-upgrade php7.0-xmlrpc
Andrii S.'s user avatar
  • 161
6 votes

How to list RPM dependencies?

People have already responded with: rpm -q --requires PKG yum -q deplist PKG Yes, either rpm or yum works and correctly answers the question. The main difference between rpm and yum is that yum ...
Suave-V's user avatar
  • 61
6 votes
Accepted

libc6 dependency mismatch in Debian 9.12 stretch

You configured your system to use packages from several distributions at once (a so-called Frankenstein-Debian), so dependency errors are normal. Run cat /etc/apt/sources.list{,.d/*.list} in bash to ...
Piotr P. Karwasz's user avatar
5 votes

Duplicity 0.7.10 fails after upgrading librsync in Ubuntu 14.04

To get librsync.h then sudo apt-get install python-dev sudo apt-get install librsync-dev work for me.
pl.smith's user avatar
4 votes
Accepted

Update CentOS from DVD without internet

first you have to create a repo file for your new repo (the dvd) For example a file called /etc/yum.repos.d/dvd.repo [dvd] name=Local DVD Repository baseurl=file:///mnt/DVD enabled=1 gpgcheck=1 Then ...
Pierre-Alain TORET's user avatar
4 votes

How can I predict systemd's shutdown order?

Maybe stating the obvious reduces the learning effect, but all I did to get the full list of reverse dependencies for shutdown-target as asked in the original post, was: systemctl list-dependencies --...
ilp68's user avatar
  • 41
4 votes

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

dpkg --remove DOES remove the packages without complaining about the failed install. That get you disk space to do apt-get -f autoremove
Johan B.W. de Vries's user avatar
4 votes

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

The new msodbcsql17 package does not correctly conflict with v17 of the old msodbcsql package. You can't have both installed. You can have the old v13 version of msodbcsql installed. For me, I just ...
Tim Riker's user avatar
4 votes
Accepted

How to interpret this yum dependency error?

The version of xorgxrdp currently in EPEL was built against RHEL 7.7, specifically against (among other packages) the xorg-x11-server-Xorg package version shipped in RHEL 7.7, but you are running ...
Michael Hampton's user avatar
4 votes
Accepted

Cannot install sshd (openssh-server) on debian 10.4

It seems that during the install, you answered "No" to the question "Use a network mirror?", and so your system left configured without a mirror (or maybe you didn't have a network connection during ...
Lacek's user avatar
  • 7,163
3 votes

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

if you are lucky enough to have the software in your repositories, you can install dependencies with apt: root # apt-get build-dep nginx Reading package lists... Done Building dependency tree ...
Ayush's user avatar
  • 245
3 votes
Accepted

Trying to install MySQL on Centos 6.7, dependencies issue

You installed a mysql-community repository for EL7, but you have EL6. Remove it and install the correct repository.
Michael Hampton's user avatar
3 votes

How to list RPM dependencies?

I have quick shell snippet which prints out all installed packages along with their dependencies: for i in `rpm -qa` ; do echo "Package [$i]:"; rpm -q --requires $i ; echo ; done
Daeon's user avatar
  • 31
3 votes
Accepted

Let's Encrypt certbot-auto setuptools version error when run from cron

This is the issue: HOME=/ To fix it HOME variable with /root value needs to be passed to the script: env HOME=/root /path/to/certbot-auto
Karol Jędrzejczyk's user avatar
3 votes
Accepted

How to Identify Unnecessary Windows Applications

Have you tried things like this? If that doesn't work, do it the same way you set up whitelist based sandboxes... clone it to a lab environment, then remove things you probably don't need, and run ...
Peter's user avatar
  • 2,706
3 votes
Accepted

How to solve CentOS7 and "yum install php-7.2.3 " dependency issues upgrading to PHP 7.2.3

Remove the php-pecl-mongo package first. It's built for an ancient version of PHP and won't work with PHP 7.2. # yum info php-pecl-mongo Loaded plugins: product-id, search-disabled-repos, ...
Michael Hampton's user avatar
3 votes

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

I had a similar issue.I resolve it by doing this: Before starting,if you don't have aptitude, you can install it by following these instructions:aptitude documentation If you have it already,you can ...
fleuro75's user avatar
3 votes

Can't upgrade certbot because of libc6 version

I would not recommend mixing and matching packages meant for different major versions of a distro because sometimes dependencies are pulled in that destablize the whole. If at all possible I would "...
Anon's user avatar
  • 1,230
3 votes
Accepted

Understanding and resolving dependencies on Centos 7

You can interpret the errors as follows from this example: Error: Package: php72w-pecl-imagick-3.4.3-1.2.w7.x86_64 (@webtatic) Requires: libMagickCore.so.5()(64bit) Removing: ...
Michael Hampton's user avatar
2 votes

DEB: "Provides:" field ignored

The section of the Debian Policy Manual quoted in @cavedon's answer is still unchanged, but outdated. Since dpkg 1.17.11 setting a version on a provided package is possible. From the changelog: ...
imsodin's user avatar
  • 129
2 votes

SCCM 2012 - How to deploy 'invisible' application?

You don't need to deploy dependent applications to user, just add them as dependencies and check "Auto-Install" checkbox for each dependency.
Somescout's user avatar
  • 176
2 votes

Automatically start docker container's linked dependencies

In case anyone finds this useful, I wrote a fish shell script (should be easily portable to bash) using docker inspect to start all dependencies of my containers. Here is the code, using jq to parse ...
milch's user avatar
  • 151
2 votes

Make apt ignore a single recommendation

Install vim: sudo apt install vim Install vim without recommends: sudo apt install --no-install-recommends vim Install vim with recommends except xz-utils: sudo apt install vim xz-utils-
Михаил Сидоренко's user avatar
2 votes

Centos 6 yum update - Packages skipped because of dependency problems

I had the same error and had realized how my mistake happened, repaired the issue, but still got the error. I'd basically already done everything on this thread as well, but the problem persisted. I'...
Brian Layman's user avatar
2 votes
Accepted

Debian - apt-get - Depends: php5-mysql but it is not going to be installed

This problem is caused by Plesk 12, which does not support mysqlnd. It seems, that it works with mysqldn despite it is not officially supported. It is not recommended to modify these settings on a ...
Esa Jokinen's user avatar
  • 45.2k
2 votes

How can I predict systemd's shutdown order?

The following might help you : systemctl list-dependencies --before shutdown.target Regards,
Mohamed Salhi's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible