32

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 ...


31

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, ...


26

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 ...


22

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 ...


20

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. (...


19

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) ...


17

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 ...


17

I use mk-build-deps from the devscripts package for this (you’ll also need equivs). mk-build-deps will build a package depending on all the build-dependencies in the debian/control 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 ...


16

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 ...


16

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 ...


15

You may use the e-file command from the pfl package (emerge -av app-portage/pfl) to search by package contents. e-file YOURFILE Alternatively, you may use an online database. Regarding the qcad package specifically, you probably need the Qt4 package. IIRC, use emerge -av x11-libs/qt-gui (If that doesn't work out, try searching for QT packages. Use this ...


15

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 ...


15

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 ...


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

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 ...


13

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,...


13

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


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

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 ...


12

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 ...


12

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 ...


12

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 ...


11

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: ...


11

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 ...


11

You only need one of After= or Before= in your pair of units. You might prefer this from the man page for systemctl: --after ... any After= dependency is automatically mirrored to create a Before= dependency. Use this option with list-dependencies to check what you think systemd should be doing. Eg $ systemctl list-dependencies --after timers....


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

PCRE devel package is not installed on your system. First install pcre-devel sudo yum install pcre-devel -y and then run sudo ./configure --with-included-apr it will automatically take pcre by default.


10

Why it is installed: aptitude why libplrpc-perl What depends on this package: aptitude search '~i~Dlibplrpc-perl' What would happen, if libplrpc-perl is removed: aptitude -s purge libplrpc-perl


10

yum remove package_name will remove only that package and all their dependencies. yum autoremove will remove the unused dependencies To remove a package with it's dependencies , you need to install yum plugin called: remove-with-leaves To install it type: yum install yum-plugin-remove-with-leaves To remove package_name type: yum remove package_name --...


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 ...


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