28

Linus Torvalds has a very strong opinion against kernel changes resulting in userspace regressions (see the question "The Linux kernel: breaking user space" for details). Interface between userspace and kernel is provided by system calls. Newer kernels can have more system calls, and changes in exiting ones when those changes do not break existing ...


26

libssl1.0.2 and libssl1.0.0 are different packages, providing incompatible libraries; that’s why you can’t satisfy a libssl1.0.0 dependency using libssl1.0.2. To satisfy your package’s requirements, I’d suggest adding the Debian 8 repositories to your configuration, since Debian 8 is still supported (so if necessary you’ll get security updates). To do so, ...


24

Your system is in a state which I think should not happen: you have the new version of the dependency initramfs-tools-bin in the installed state, but the old version of the dependency initramfs-tools in a half-installed state. I'm not sure whether the problem is that APT is letting the system get into a state where it can't recover, dpkg is letting the ...


23

You have unofficial repos with new versions. Using Debian one of the best well-known repository for most up-to-date software for web servers for i386 and amd64 packages is dotdeb. "Dotdeb is an extra repository providing up-to-date packages for your Debian servers" They have PHP 7 since the 3rd of December (of 2015), and have had a pre-packaged beta ...


15

To list packages providing mail-transport-agent: $ aptitude search '~Pmail-transport-agent' p citadel-mta - complete and feature-rich groupware server p courier-mta - Courier mail server - ESMTP daemon p dma - lightweight mail transport agent p esmtp-run ...


15

You should edit your sources.list , by adding the following line: deb http://ftp.ca.debian.org/debian/ jessie main contrib Then upgrade your package and install git: apt-get update && apt-get upgrade && apt-get dist-upgrade apt-get -f install apt-get install git Edit the following package git , liberror-perl and [rsync]3 can be ...


14

In this case, yes, it's possible and safe. As debian keep dependences tree for each requested package. At all there is still a risk that some libraries could not exist in two different version together in same installation, due to conflict (port reservation, device driver and so). In this kind of situation, apt would prevent you and ask for what to do. (...


14

You have not said which OS you are using so I am going to assume Linux and will use Debian as an example. The quick answer to your question is no as far as I know. This might be a useful workaround though: ldd your_prog | awk '{print $1}' | sed 's/\..*//' | while read n; do echo "----- $n ----"; apt-cache search ^$n; done This will parse the ldd output ...


14

apt and dpkg absolutely can remove software that is required by locally installed other software that is outside the scope of the package management system. There is simply no way for apt and dpkg to know that such software might exist. The location where such software is installed makes no difference: it could be /opt or /usr/local or in users' home ...


13

APT doesn't know anything about software that was installed manually. It doesn't know what libraries that software needs or anything. When APT installs a package only to fulfill the dependencies of another package, this package is marked as automatically installed. If you remove all the packages that depend on an automatically-installed package, that ...


12

You can use pfl (emerge -av app-portage/pfl) or a online database to search by package contents, e-file YOURFILE And for the qcad package, you probably need the Qt4 package. IIRC, use emerge -av x11-libs/qt-gui (Try search the package with emerge -s qt if that doesn't work out)


12

Reverse depends Reverse depends means you want a list of packages that depend on a given package. Example $ apt-cache rdepends jetty jetty Reverse Depends: solr-jetty libjetty-java libjetty-extra-java libjetty-extra libini4j-java guacamole Recursive depends Using a tool such as apt-rdepends shows what packages a given package is dependent on,...


12

If I understand you correctly, you want to remove a package that other packages depend on, without removing those other packages as well. Bearing in mind this might not be a good idea, you can do this with. dpkg -r --force-depends foo for removal of a package (conf files are not removed). dpkg -P --force-depends foo for purge of a package (conf files are ...


12

Personally, I don't like yum plugins because they don't work a lot of the time, in my experience. You can use the yum history command to view your yum history. [root@testbox ~]# yum history Loaded plugins: product-id, rhnplugin, search-disabled-repos, subscription-manager, verify, versionlock ID | Login user | Date and time | Action(s) ...


11

Another solution would be to run apt-cache rdepends libplrpc-perl.


11

For moving one program to other computer you have to move: 1) Executable file A simple way to finding commands path is type command. For example: type cal cal is /usr/bin/cal 2) Library dependencies You can find library dependencies with ldd command, But remember if you compiled a program from source the CPU Architecture of both server must be the ...


11

I found the answer: I needed to change the last line of the service file to: WantedBy=postgresql.service This way, whenever Postgres is started, my service is started too - but if my service fails, that doesn't stop Postgres. Directives in the [Install] section only affect enabling and disabling of units. But it wasn't this simple when my service was ...


10

When a package fails to configure, you can install the missing dependencies after the fact using apt-get install -f. Here is the description of -f from the documentation: -f, --fix-broken Fix; attempt to correct a system with broken dependencies in place. This option, when used with install/remove, can omit any packages to permit APT to ...


10

the problem here is that there is a subtle difference between virtual packages and packages provided by other packages. the difference is, that a package may provide a real package as well, not only a virtual package. anyhow, the following will search for all packages that provide a package and will print both the package name and the packages it provides: ...


10

Your hooks are all here: % ls /usr/lib/initcpio/{hooks,install} /usr/lib/initcpio/hooks: btrfs dmraid keymap mdadm mhwd-fb miso_loop_mnt net shutdown udev v86d consolefont encrypt lvm2 memdisk miso miso_pxe_nbd resume sleep usr /usr/lib/initcpio/install: autodetect consolefont fw mdadm_udev miso_loop_mnt ...


10

The Linux kernel and the user space of a Linux distribution, which historically was dominated by user tools developed by the GNU project, are loosely coupled. In part this is by design, and in part it is by necessity. Unlike the BSDs, where the kernel as well as the base user space are designed and maintained together, the Linux kernel and its user space ...


10

I use mk-build-deps from the devscripts package for this (you’ll also need equivs). mk-build-deps debian/control will build a package depending on all the build-dependencies in the given control file; that package can then be installed using apt, which will also install all the missing dependencies. The advantage of this approach is that uninstalling the ...


10

The ideal tool for this is rmadison, which is a simple Perl script with few dependencies (the URI module and wget or curl), so it can run pretty much everywhere. It interrogates the Madison services hosted by Debian and Ubuntu to determine the availability of packages: rmadison gcc-7 tells you which versions of GCC 7 are available in the various Debian ...


9

This solved it. First I installed pcre in /usr/local/pcre, using ./configure --prefix=/usr/local/pcre make sudo make install Then installed apache with ./configure --with-included-apr --with-pcre=/usr/local/pcre make sudo make install


9

In Debian and derivatives there are six types of dependencies: pre-depends depends recommends suggests build-depends build-depends-indep Each of these give corresponding reverse dependencies. To list them you can use grep-dctrl: grep-dctrl -FBuild-Depends mypackage -w -sPackage /var/lib/apt/lists/*Sources will list all the packages which build-depend on ...


9

You can’t make apt ignore dependencies, but you can create a fake gstreamer0.10-plugins-good package which will satisfy the missing dependency. The simplest way to do this is using equivs: install equivs sudo apt install equivs generate a template control file equivs-control gstreamer0.10-plugins-good.control fix the package name sed -i 's/<package ...


9

The use case of this double relation is similar to a “provides” relation. systemd-timesyncd provides a time synchronisation service, so it satisfies any dependency a unit has on time-sync.target. It must start before time-sync.target because it’s necessary for any service which relies on time synchronisation, and it wants time-sync.target because any unit ...


8

The solution is a dummy MTA, already provided with Debian Linux. It is called lsb-invalid-mta. Quoting the package description: Paket: lsb-invalid-mta (4.1+Debian12) Linux Standard Base sendmail dummy The Linux Standard Base (http://www.linuxbase.org/) is a standard core system that third-party applications written for Linux can depend upon. ...


8

You’re using the VLC daily master branch build PPA, which explicitly states CAUTION: The builds in this archive are fully automated, and do not go through any quality assurance whatsoever. Build breaks and functional regressions occur frequently. DO NOT USE this archive if you are not prepared to cope with such problems. It appears you shouldn’t ...


7

The control file is static so no you can't change dependencies on some external parameters but the Debian Policy specifies | as a way to specify alternative package names, in your case it would be something like: Depends: Package1 | Package2 where Package1 is the default dependency.


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