date
int64
1,220B
1,719B
question_description
stringlengths
28
29.9k
accepted_answer
stringlengths
12
26.4k
question_title
stringlengths
14
159
1,407,811,285,000
When I run equery depgraph www-client/chromium-10.0.648.151, not all dependencies are available. Some shows M[package.mask], while some other shows [missing keyword]. My ACCEPT_KEYWORDS is ~amd64-linux, according to emerge --info. I experimented with different ACCEPT_KEYWORDS (as an environmental variable passed to eq...
1. Is ACCEPT_KEYWORDS='amd64 ~amd64 ~amd64-linux' a valid configuration? From man make.conf: ACCEPT_KEYWORDS = [space delimited list of KEYWORDS] So ACCEPT_KEYWORDS='amd64 ~amd64 ~amd64-linux' is a valid combination. 2. What about ~amd64-linux? amd64-linux is a Prefix thing. I don't know much about Prefix, but I can...
In Gentoo, what is the difference between amd64, ~amd64 and ~amd64-linux?
1,407,811,285,000
On my headless debian 11 (bullseye) server, when I attempt to install libvirt-daemon-system, apt threatens to basically install an entire graphical environment, including audio libraries and everything: mic@micserver:~$ sudo apt install libvirt-daemon-system Reading package lists... Done Building dependency tree... Do...
Yes, you can tell apt to ignore recommended packages: sudo apt install --no-install-recommends libvirt-daemon-system This will only pull in strict dependencies. You may want to pick and choose recommended packages instead of ignoring them completely; recommended packages are defined as packages that would be found t...
Why does libvirt-daemon-system have so many dependencies on Debian?
1,407,811,285,000
I am creating a package that needs to depend on a package if another is installed, but needs a different dependency if no such package is installed. Is that possible using just the control file of the .deb, or are other tools needed? This package is actually meant for Ubuntu, so any tools unavailable in Ubuntu reposit...
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.
Conditional dependencies for a Debian package
1,407,811,285,000
I have a corporate Linux server which does not have internet connection, and sudo access needs to be approved through many levels of hierachy. I've tried install git but I soon realized this needs a whole bunch of dependencies like C compiler to install, of which I do not have the dependencies. What I need is a method...
I found a solution that works. To iterate my steps: 1) Download relevant RPM (or here) 2) Copy to Linux server and upack using (replace filename as necessary) rpm2cpio git-1.7.9.6-1.el6.rfx.x86_64.rpm | cpio -idmv 3) Update $PATH: PATH=$PATH:<your path to git>/usr/bin 4) Now see it work git --version
Install Git offline without sudo
1,407,811,285,000
So once again apt-get bothered me with the infamous message that package installation failed because a dependency “is not going to be installed”: ~ $ sudo apt-get install php-apcu Reading package lists... Done Building dependency tree Reading state information... Done Some packages could not be installed. This...
TL;DR: <foobar> is not going to be installed is a hint that the <foobar> dependency itself has some dependency which cannot be satisfied for some reason. Re-running apt-get and explicitly including the problematic dependency in the command line should give you a better idea of where the issue is. In the above case, I...
apt-get: reasons for “…but it is not going to be installed” [duplicate]
1,407,811,285,000
When I am installing a program with the make and make install method, there are (very often) many dependencies that need to be installed before the installation of the new program can begin. So currently, each time it gets to an error message that a dependency is missing, I install each of the dependencies manually. ...
That is not what makefiles are for. Makefile only handles building the software and installing it into the system in a generic way (without a package manager). It does not care (and should not care) if you have the requirements to actually run the application. That is by design. Consider several points: 1) If your dis...
Can `make` automatically install dependencies?
1,407,811,285,000
The Debian package libreoffice-core (which is described in the Debian repositories as containing " the architecture-dependent core files of LibreOffice," and which is itself a dependency for libreoffice-writer and similar packages) has an absolute dependency (i.e., the relationship of the packages is depends, not reco...
libreoffice-core ships /usr/lib/libreoffice/program/soffice.bin, and that is linked against libldap_r-2.4.so.2 => /usr/lib/x86_64-linux-gnu/libldap_r-2.4.so.2 (0x00007f55a8c9e000) The package build tools therefore automatically add a dependency on the package providing that library, libldap-2.4-2. It’s a strong depen...
Why does LibreOffice (at least as packaged for Debian) depend on libldap?
1,407,811,285,000
I'm trying to install Skype using this manual. I successfully download the package using the command: wget -O skype-install.deb http://www.skype.com/go/getskype-linux-deb-64 but when I try to install the package I get some errors about dependencies: root@102:~# dpkg -i skype-install.deb (Reading database ... 27918 f...
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 omi...
Installing Skype on Debian x64: pkg: dependency problems prevent configuration of skype
1,407,811,285,000
My understanding of software dependencies is that a program package may require other packages to be installed, termed dependencies. A tree-like result ensues. Sometimes packages share common dependencies, but the package only needs to be installed once. |Package D ...
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 pac...
What Is The Difference Between A Recursive Dependency Check And A Reverse Dependency Check?
1,407,811,285,000
I already know that I can check if multiple dependencies required to install a package in Debian or Ubuntu exist in my repositories by running the following command: apt policy first-package second-package ... last-package This command also tells me if I have each package currently installed or not. My question is...
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...
Check if multiple dependencies exist before installing a package in Debian or Ubuntu
1,407,811,285,000
I would like to find all possible reverse dependencies (no need for recursive reverse dependencies) of a certain package p, that is, I want to find all packages which depend on p. This shall include reverse dependencies on p's source package and also reverse build dependencies. If I understand it correctly, there are ...
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...
How to get ALL kinds of reverse package dependencies: reverse-depends pendant for non-Ubuntu distributions
1,407,811,285,000
What I want is pacman alternative command for this command:- sudo dpkg --force-all -i somepackage.deb I had dependencies installed manually but pacman tells me to install additional packages from Arch Linux's own repositories.
You can skip dependency checks with -d or --nodeps or manually exclude specific packages from dependency checks with --assume-installed see man page under transaction options.
Forcefully install package with pacman
1,407,811,285,000
I'm trying to build a cross-distro binary RPM package that works under Fedora and openSUSE. I'm using a Require: tag to set the dependencies package names. The problem is that the package names are different in each GNU/Linux distro repo. Reading: http://goo.gl/3MXSq, and using '%if 0%{?suse_version} ' statements giv...
No. This isn't how you go about it. You really do need to build separate packages for each distro. This will require a slightly different looking spec file for each distro, and sometimes for different versions of a distro of you are targetting more than the current release. Your "conditionals" should go one step highe...
How to build a cross-distro binary RPM package?
1,407,811,285,000
I'm running Linux Mint, a Debian-based distro, and I want to remove a package WITHOUT removing its reverse dependencies; or I want to target the removal of one package without removing anything else. For example: I want to remove PACKAGE_A, but (PACKAGE_X, PACKAGE_Y, PACKAGE_Z) depend on PACKAGE_A and would be automa...
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 ...
How to remove a package on a debian-based system WITHOUT removing dependencies? [closed]
1,407,811,285,000
If I want to install a package and its Suggests dependencies, I run: $ sudo apt-get --install-suggests install <package name> However, if <package name> is already installed, and not all Suggests dependencies are installed, 'nothing' happens... those remaining dependencies remain uninstalled. Is there a solution for ...
You can accomplish this using the advanced searching features of aptitude. The following will install packages suggested by network-manager: aptitude install '~Rsuggests:^network-manager$' From the aptitude HTML documentation: ?reverse-depType(pattern), ~R[depType:]pattern depType may be either “provides” or one of ...
How to install Suggests dependencies of a package
1,312,634,912,000
I have a headless FreeBSD server where some port has installed tons of X11-related packages. I would like to find out what these ports are so I can get rid of the unwanted X-related packages. Is there a way to figure this out?
The current accepted answer is out of date. FreeBSD has replaced its legacy packaging tools with pkgng. Here's the new way to query the reverse-dependencies of a package: pkg info -r <pkg name> Example: root@server:/usr/ports # pkg info -r python27 python27-2.7.6_4: python2-2_2 talloc-2.0.8 t...
Find FreeBSD ports that depend on another port
1,312,634,912,000
It has bothered me for years that with every new Debian installation, a full MTA (Mail Transport Agent) was installed even if I had no desire to use the machine as a mail server. The MTA was necessary to satisfy package dependencies, though. I ended up with exim (which took forever to load during boot on some machines...
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 f...
Debian: An MTA just to solve dependencies, not because I really need one
1,312,634,912,000
I've encountered a relatively common problem with ASIX AX88179 USB 3.0 Gigabit Ethernet adapter, where it was not working at all, or was working sporadically, and dmesg was showing errors like [23552.344134] ax88179_178a 2-1:2.1 eth1: Failed to read reg index 0x0000: -32 Searching on-line, I've found reports of this ...
A similar, but slightly cleaner strategy also involving a file in modprobe.d/ is to use the softdep feature to tell modprobe to load cdc_mbim before ax88179_178a. In /etc/modprobe.d/ax88179.conf: softdep ax88179_178a pre: cdc_mbim
How to fix an apparenlty missing kernel module dependency declaration?
1,312,634,912,000
When installing something from source (say, Ruby 1.9.2), what command can I run to get a complete list of all the dependencies needed to install that application? Is this possible?
Short answer: not possible. The difficulty of getting the exact dependencies from a source distribution is the reason why package management is so popular on Linux (okay, one of several reasons). In fact, if you just need to get it done and don't care so much how, the most reliable way to get the dependencies will pro...
Get list of required libraries when installing something from source
1,312,634,912,000
I have installed Arch Linux on a USB drive with full system encryption using LUKS. The Arch wiki as usual walked me through almost everything. The only issue I ran into was using setting up the hooks in mkinitcpio. The Arch wiki says that for a USB install the block hook must come immediately after the udev hook. The ...
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 ...
Encrypt hook in mkinitcpio.conf for full system encryption USB drive Arch install
1,312,634,912,000
This error message is being displayed: TigerVNC Viewer 32-bit v1.10.80 Built on: 2020-06-15 22:33 Copyright (C) 1999-2020 TigerVNC Team and many others (see README.rst) See https://www.tigervnc.org for information on TigerVNC. Wed Aug 19 23:22:57 2020 DecodeManager: Detected 8 CPU core(s) DecodeManager: Creating 4 ...
I tried kex --kill with no success. I did kex --stop and it works! Edited syntax to match new Win-Kex version
Not able to initialize GUI for kali linux in wsl 2?
1,312,634,912,000
I would like to create a service file that, when started, causes a specified filesystem to be mounted before the action of the service file is performed (as it needs that file system to be available). Furthermore, I would like this service file to fail gracefully in case the file system cannot be mounted (e.g., becaus...
According to the manual: Mounts listed in /etc/fstab will be converted into native units dynamically at boot and when the configuration of the system manager is reloaded. This means that you can add the following to the [Unit] section of your .service file: Requires=opt.mount After=opt.mount (this is and example f...
systemd: how to require and effect mounting a specific file system?
1,312,634,912,000
I'm trying to compile and install boost 1.54 from source in CentOS. The documentation is pretty straight forward and there are plenty of tutorials in the internet available (1) (2) (3). This is what I did: wget http://sourceforge.net/projects/boost/files/boost/1.54.0/boost_1_54_0.tar.gz tar -xzvf boost_1_54_0.tar.gz c...
You have to add -Wl,-R/usr/local/lib to the LDFLAGS when compiling your program. -R is a linker option (for specifying a runtime linker path) - -Wl instructs gcc to pass it to ld. With shared libraries you have to make sure that they are found by the linker during compile and during runtime (cf. flags -L and -R). You ...
How to install a custom boost version in CentOS?
1,312,634,912,000
I've recently installed Arch Linux onto my primary (Ubuntu) computer, and it is working really well for me. It's fast, configurable, basically a faster version of Ubuntu. Since compiz-fusion isn't installed by default, I'd like to see how much it would impact my performance, but I get this really nice and descriptive ...
On Arch Linux, the python package contains python 3, and the python2 package contains python 2. Try pacman -Sy python python2 first. Once both of those packages are installed, compiz-fusion and python-qt should install. Oh, and you can't have updated your system in a while. dbus-python doesn't depend on the python pac...
Arch Linux: python and python2 are in conflict
1,312,634,912,000
On a freshly installed Fedora system, base packages such as sudo are not counted as user installed, i.e. dnf repoquery --userinstalled | grep sudo comes back empty. At the same time, these packages are also not considered by dnf autoremove, i.e. the command does not try to remove them. So far, so good. Now, if I mark ...
I think I found how it is supposed to work: Packages can not only be marked as 'install' or 'remove' but also as 'group'. This seems to be the default state for packages that were installed using dnf group install. In the example above dnf mark group sudo restores the original state of the sudo package.
How to mark a base package as not user installed while avoiding dnf autoremove?
1,312,634,912,000
I try to make a package of a program which is linked to such library (output from ldd): libwx_baseu-2.8.so.0 => /usr/lib64/wx-2.8-wxcontainer/libwx_baseu-2.8.so.0 Pretty straightforward, right? But when I make a package of this program (with rpmbuild) and then try to install it, rpm complains about missing library (...
I think this is limitation or bug in current rpm/rpmbuild versions. I reported this issue so I think in a way question is answered: https://bugzilla.novell.com/show_bug.cgi?id=697943 You always have to install wx rpms in pairs — one with real library, the other package which simply says "the library was installed". l...
How does rpm resolve library dependencies?
1,312,634,912,000
What are the detailed specific technical/organizational reasons that the PC-BSD team faced that ultimately lead them to scrap PBI and return to ports? Was because of the difficulties compiling and packing? Was because of problems with the hard links they created? Or because of the amount of work to collect dependencie...
There are actually 3 good reasons why the PBI file format was discontinued on PC-BSD: The PBI format was created to provide a packaging format for FreeBSD (no "real" package system existed before pkg - only the ports collection). Once pkg was finally developed/implemented within FreeBSD itself (9.2/10.0?), there was ...
PC-BSD PBI, what reasons made it to be scrapped?
1,312,634,912,000
I am trying to download some debian packages and their dependencies in a directory. I tried using the command aptitude download <package_name> it downloaded the package without its dependencies. How do I tell it to download the dependencies too?
You can use apt-rdepends to build the complete set of dependencies (recursively), including the main package, then download that: apt-get download $(apt-rdepends "${package}" | grep -v ^\ ) (replacing "${package}" of course).
How to download a package and its dependencies with aptitude?
1,312,634,912,000
How can I get Mariadb running again? My WordPress site is returning: Error establishing a database connection It seems that my database is down. (I updated Ubuntu 19.04 to 19.10 and have had multiple problems.) I went ahead and checked for MySQL installed packages, forgetting that I was actually using Mariadb. So ...
I found this post and used aptitude in place of apt-get or apt, and it finally looks like there is some hope... Instead of using sudo apt install mariadb-server I used sudo aptitude install mariadb-server and now it started to fix itself The following NEW packages will be installed: galera-3{a} libconfig-inifile...
The following packages have unmet dependencies: mariadb-server
1,312,634,912,000
When installing a rpm package it warns that there is a necessary dependent library missing. In fact I have already installed that library from source, so I guess rpm just doesn't know about that. Then can I let rpm know the existing library, and how? Maybe add some code in a rpm configure file? By the way, installing...
The RPM dependency database cannot tell that you installed a package from source. The RPM database only knows about the metadata present in the RPM packages, a package installed from source does not contains this metadata. Some configure scripts that build a package from source will produce pkg-config, which is met...
RPM says missing dependency but I have already installed that library (from source)
1,312,634,912,000
Basically the packages kbd, console-setup, console-setup-linux, and keyboard-configuration all depend on each other. So I cannot remove, configure, or purge them. When attempting to run: dpkg --configure <package name> it returns the error: dpkg: dependency problems prevent configuration of It goes on to list the ...
I had exactly the same problem after upgrading a server from 14.10 to 15.04 yesterday. I solved it with these commands: sudo apt-get remove keyboard-configuration sudo apt-get install keyboard-configuration sudo apt-get update && sudo apt-get upgrade
Circular dependency in Ubuntu Release upgrade
1,312,634,912,000
If I invoke the following command: ldd mylib.so this then yields something along the lines of: libopencv_features2d.so.4.1 => /usr/local/lib/libopencv_features2d.so.4.1 (0x00007f83dee6b000) If I copy /usr/local/lib/libopencv_features2d.so.4.1 into my current working directory, I would then expect ldd to show => ./li...
The dynamic linker looks for libraries in a variety of places, but those don’t include the current directory by default. On Linux, the list is the paths defined in the binary’s rpath, if any; the paths listed in LD_LIBRARY_PATH, if any; the paths defined in the binary’s runpath, if any; the libraries known in /etc/ld...
How do library files (*.so) resolve shared dependencies?
1,312,634,912,000
When I run the apt-get upgrade command I get this error: Reading package lists... Done Building dependency tree Reading state information... Done You might want to run 'apt-get -f install' to correct these. The following packages have unmet dependencies: libvlc5 : Depends: libvlccore9 (>= 4.0.0~rc1~~git20180...
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 pro...
Broken packages in Linux Mint
1,312,634,912,000
On Debian I can use apt-get autoremove to remove packages that are no longer needed, i.e., that are not a dependency of any "manually installed" package. However, this does not remove packages that are merely "suggested" or "recommended" by manually installed packages. How can I find out the list of such packages on m...
You can also tell apt-get autoremove to ignore “Recommends” and “Suggests”: sudo apt-get autoremove -o Apt::AutoRemove::RecommendsImportant=false -o Apt::AutoRemove::SuggestsImportant=false Use -s to get a list of the removals this would lead to without actually changing anything: sudo apt-get autoremove -s -o Apt::A...
Find which Debian packages are only installed because they are recommended or suggested
1,312,634,912,000
If someone used a Python virtualenv he knows we can run scripts in its own environment installing all necessary libraries which won't impact main python distribution. Do we have something similar in a Linux (Debian) world for make utility? Case 1: I downloaded sources and I know what dependencies I need. I put librar...
Case one is relatively easy, at least for some programs. Most source packages include a configure script which checks for the availability of needed libraries. These scripts will generally have options to specify search paths. For example --lib-prefix. That way, you don't even need to modify the Makefile yourself. Now...
Does Debian have any kind of virtual environment for make install?
1,312,634,912,000
For example, if I initiate installation of the Greek language meta-package, I am prompted to install its dependencies and weak dependencies. $ LC_ALL=C sudo dnf install langpacks-el [sudo] password for roman: Last metadata expiration check: 4:03:14 ago on Sat Sep 25 13:17:49 2021. Dependencies resolved. =============...
dnf repoquery --depends prints only forward dependencies (dependencies listed in the langpacks-el package as Requires/Recommends/Suggests) so it works here as expected because the "extra" packages are brought in via backward/reverse dependencies. The hunspell-el package for example has reverse weak dependency (this de...
How can I list weak dependencies with dnf?
1,312,634,912,000
On inspecting dependencies of RHEL8 packages, I recently came across the following dependency statement: ~$ rpm -qpv --requires cockpit-ws-264.1-1.0.1.el8.x86_64.rpm post: (policycoreutils if selinux-policy-targeted) manual: (selinux-policy >= 3.14.3-95.0.1.el8 if selinux-policy-targeted) ... I understand the or ty...
a if b is equivalent to a or not(b), so yes, policycoreutils is only a requirement if selinux-policy-targeted is installed. The if operator applies to the whole dependency, so selinux-policy >= 3.14.3-95.0.1.el8 is only required if selinux-policy-targeted is installed. if in this context is a boolean operator in RPM, ...
How are conditional "<capability> if <capability>"-type dependencies resolved by RPM?
1,312,634,912,000
I need to install c / c++ compiler and I heard that the best thing to do is to install gcc/g++ for that purpose (I think I don't have it on my machine). maistora@maistora:~$ gcc --version bash: gcc: command not found I also read if I install build-essential the c/c++ compiler comes with it. So what I did is: maistor...
You appear to have a mixture of Debian stable (squeeze) and Debian testing (wheezy) or unstable (sid). Specifically, your libc6 package is the testing/unstable version, but your package sources point to stable. You need to pick a distribution between stable, testing and unstable — you can't really mix them (you can mi...
Debian 6 Squeeze - installing build-essentials - gcc / g++
1,312,634,912,000
I installed bind-tools, the Arch linux alternative to dnsutils, but none of the tools work, all failing with the error: host: error while loading shared libraries: libidn2.so.4: cannot open shared object files: No such file or directory This problem with libidn2.so.4 seems to be a recent issue (January 2019) with Arc...
I don't run Arch Linux, so I'm going out on a limb a bit on this. The article you linked to indicates it's a missing symbolic link, rather than a missing package. This makes sense, because normally in Linux, shared libraries will have at least two octets of version number after the '.so', and the error only mentions ...
How to deal with shared library problems in a non-working package
1,312,634,912,000
I am trying to install Erlang for RabbitMQ on CentOS release 6.4 (Final) yum install -y erlang It gives me the following error : Error: Package: erlang-R12B-5.12.el5.rf.x86_64 (rpmforge) Requires: libodbc.so.1()(64bit) I can't find solution for libodbc.so.1 I also installed unixODBC and unixODBC-devel
The R12B release is from 2008. There was an update in how it handles ODBC libs in R13A, according to the readme file from that release: The configure script of the odbc application now also looks for odbc libraries in lib64 and lib/64 directories when building on a 64-bit system. This ma...
Unable to install erlang
1,312,634,912,000
Today I tried to update our Amazon Linux servers and got the following error message: $ sudo yum update ---> Package python26-ordereddict.noarch 0:1.1-2.5.amzn1 will be obsoleted --> Processing Dependency: python26-ordereddict = 1.1 for package: python26-bcdoc-0.16.0-1.9.amzn1.noarch --> Finished Dependency Resolution...
This command is safe. It skips all packages with broken dependencies: sudo yum update --skip-broken You can verify all packages skiping checksum validation, yes it is safe: rpm -Va --nofiles --nodigest Suppose, you can't resolve this, after few days the dependencies will appear in repo. Also you can make bugreport t...
Yum update error - Requires: python26-ordereddict
1,312,634,912,000
Having difficulty re-installing Firefox, after an installation to resolve places.sqlite issues. It appears that I'm trapped in circular dependency hell. Need to resolve firefox dependency hell to attempt to resolve Tomcat6 project dependencies (don't ask), ASAP. Have been trying for hours. What I've done (brief) sudo...
Seems like Firefox is trying to do something with /usr/lib/firefox/extensions, which is owned by mint-search-addon. The fact that the directory doesn't exist is not relevant, regarding dependencies. Do you have mint-search-addon installed? Is your system up to date? If both are true, try purging mint-search-addon.
Firefox circular-dependency hell on Linux Mint 13
1,312,634,912,000
It seems to me that a lot of the problems using Linux is because of mismatched dependencies. Specifically that you can't install two versions of a library. So if program A requires "lib1.2" and program B requires "lib1.3" then they cannot run together. Question: Is that correct? Why does the central repository not ju...
Having multiple versions of a library in the system is not an issue in most Linux distributions: shared libraries with distinct sonames can coexist within the same /usr/lib directory. Moreover, package managers can be instructed to install several such libraries by specifying correct package names: apt-get install lib...
Why does linux not allow multiple versions in the central repository?
1,312,634,912,000
Given a random .DEB file, how do we check if installation will be successfully completed without actually installation on device? Please see the following snippet: root@VirtualBox:/Folder# dpkg -i mysql-workbench_6.2.3+dfsg-7_armhf.deb Selecting previously unselected package mysql-workbench. (Reading database ... 489...
To determine whether a package can be installed without needing other dependencies to be installed too, your best bet is to use the “simulate” mode with apt: apt -s install ./mysql-workbench_6.2.3+dfsg-7_armhf.deb (note the ./ which is significant). This will output the dpkg operations which would be performed by the...
dpkg --dry-run option is not simulating installation properly
1,312,634,912,000
I'm trying to master how APT pinning works under Debian, but I'm having a hard time grasping how it resolves priorities. I have a source.list file that has the following entries in this exact order: deb <repository> stretch main deb <repository> testing main deb <repository> unstable main The following repository con...
This is explained in the apt_preferences manpage: Several versions of a package may be available for installation when the sources.list(5) file contains references to more than one distribution (for example, stable and testing). APT assigns a priority to each version that is available. Subject to dependency constrain...
APT Pinning dependencies resolution
1,312,634,912,000
I am making a package for RHEL7. When I try to install the package, I get # yum localinstall mypackage-0.0-1.el7.rpm (...) --> Running transaction check ---> Package webmin-GPI-init.noarch 0:0.0-1.el7 will be installed --> Processing Dependency: perl(.::guardian-lib.pl) for package: webmin-GPI-init-0.0-1.el7.noarc...
rpmbuild analyses the content of your rpm package to automatically determine what is required for your program to work. If you use certain perl modules; those need to be installed for your program to work. However, if you don't want rpm to do all that work for you; you can add AutoReqProv : no to your spec file. For...
How to avoid undesirable dependencies in rpm package?
1,312,634,912,000
I've been trying to install Percona Toolkit onto my Debian (wheezy) server. I downloaded it as per the instructions: wget percona.com/get/percona-toolkit.deb then installed it sudo dpkg -i percona-toolkit.deb But it told me there were missing dependencies that weren't installed, and wouldn't be installed. I have been ...
First try installing by which will fail. dpkg -i percona-toolkit.deb Then do following to install and fix the missing dependencies. apt-get install --fix-missing -f Then try again to install the .deb package dpkg -i percona-toolkit.deb
Debian - get all dependencies updated when they 'wont be installed'
1,312,634,912,000
I was going through the dependencies of some packages with apt-cache depends and found, that the libc6 package depends on libgcc1, which in turn depends on gcc-4.9-base. Shouldn't such a fundamental system library have little to none dependencies? Why does it need gcc-4.9-base? To compile itself? If I don't want gcc o...
Libgcc is even more fundamental than libc. Libgcc contains code that is used by the GCC compiler when generating code for fundamental language constructs, such as 64-bit arithmetic on 32-bit platforms, stack maintenance, integers and floating point operations that the hardware doesn't perform, etc. Debian's gcc-base p...
Why does `libc6 ` depend on `libgcc1`?
1,312,634,912,000
I know I can get a package's reverse dependency list with apt-cache rdepends <pkg> However, this shows dependencies on the system I run it on. How could I find out dependent packages for a different distro (e.g. an old Debian Wheezy/Jessie) without installing it somewhere?
You can give apt-cache extra package sources after downloading them, and get it to ignore the installed package sources; for example for Jessie amd64: wget http://archive.debian.org/debian/dists/jessie/main/binary-amd64/Packages.xz printf "" > /tmp/status apt-cache -p /tmp/pkgcache -s /tmp/srccache -o Dir::State::List...
How to list dependent packages (reverse dependencies) for a system I don't have installed?
1,312,634,912,000
I am trying to install the VPN client Forticlient on my Linux Mint distribution, but it can't install it because of this error: The following packages have unmet dependencies. forticlient : Depends: libappindicator1 (> 0) but it is not going to be installed E: Unable to correct problems, you have held broken packages...
It looks like Linux Mint developers for some reason dropped libindicator7 package from official repositories. One solution could be to download this package from, for example, Debian repository, and install it with: dpkg -i libindicator7_0.5.0-3+b1_amd64.deb Just make sure you download and install the package for the...
Unmet dependencies libappindicator1
1,312,634,912,000
I need to install python-dev in order to install another application, but when I do sudo apt-get install python-dev I get: The following packages have unmet dependencies: with a list of dependencies. So I added them until there were no more dependencies, leaving the command line as: sudo apt-get install python-dev lib...
There is something wrong with the repository you're using. https://tracker.debian.org/pkg/expat shows that in Debian, there's no package libexpat1_2.1.0-6+b3... Delete the apt cache using rm -rf /var/lib/apt/lists/* and then apt-get update again. If your local mirror is OK, you should have a working (consistent) list ...
Broken packages problem trying to install python-dev
1,369,548,566,000
I want to install a piece of software (rtorrent) from source to my home folder. It depends on ncurses, which is not installed. I've installed ncurses to my home folder by using the PREFIX option during the configuration step, but this doesn't seem to work when I try to do the same with rtorrent, as it keeps telling me...
Most configure scripts allow you to specify the location of libraries they use. ./configure ... --with-ncurses=some/path ...
Build binary and dependencies without sudo
1,369,548,566,000
So I recently tried updating all my packages to prepare to update to Pop!_OS 22.04, which is what it says on the system76 website. I ran sudo apt update which gave this output: Hit:1 http://us.archive.ubuntu.com/ubuntu jammy InRelease Hit:2 http://apt.pop-os.org/proprietary jammy InRelease Get:3 http://us.archive.ubun...
What I did to fix my issue was to run dpkg and reconfigure all packages. sudo dpkg --configure -a Reboot, then I was able to finish upgrading my system.
Broken Packages on Pop!_OS (Dependency Problems)
1,369,548,566,000
I have a server that should contain all the RPM packages downloaded from CentOS repository so that I can reach that server from another server which hasn't got internet access and get the up to date packages to itself. The thing is that, because of dependency issue, I can't download all of the packages. Below there a...
I found the solution. repoquery -a | xargs repotrack -a x86_64 -p . wget -A rpm -r -l 5 http://mirror.centos.org/centos/7/os/x86_64/Packages/ -P .
Download all RPM packages from CentOS repo?
1,369,548,566,000
Have been trying to fix it in various ways, but all these advices on the internet turned out useless for me. It was too strange to see when one instruction help other people, but don't solve my problem. When I mark the package in Synaptic Package Manager and press "Apply", it says: Could not apply changes! Fix broken ...
Here it is! I had a lot of sources, but after adding the following ones, the problem disappeared: deb http://ftp.ua.debian.org/debian jessie main # contrib non-free # #deb-src http://ftp.ua.debian.org/debian jessie main # contrib non-free # deb http://ftp.ua.debian.org/debian jessie-updates main # contrib non-free #...
Synaptic Package Manager: Could not apply changes! Fix broken packages first.
1,369,548,566,000
I've been trying for several days to install mplayer on Centos 7 without success, I've install many repos but nothing works, I've always the following error: -> Resolve Dependencies completed Error: Package: 4: mplayer-1.2-93_snap20140413.el7.x86_64 (atrpms) Requires: libaudio.so.2 () (64bit) Error: Package...
Thank you for your help, I find a solution, I've download on rpmfind.net and install the missing dependencies one by one but for Fedora 20 64 bits (dependencies for Fedora 19 64 bits is uncomplete), it works perfectly.
Install mplayer on Centos 7
1,369,548,566,000
I can't update my Debian Sid system. on running the apt-get upgrade I am getting: maciej@wladyslawa:/etc/apt$ sudo apt-get upgrade Reading package lists... Done Building dependency tree Reading state information... Done The following packages have been kept back: gnome-keyring libglx-nvidia-alternatives The f...
That mirror is in an inconsistent state: it has packagekit 0.6.14-2 in the package index, but the file pool only has an earlier version. The situation will resolve itself naturally, when the mirror gets its next update. (Most mirrors are updated daily.) In the meantime, you can use another mirror. If this happens ofte...
Problems with apt-get upgrade on Debian (404 Not Found)
1,369,548,566,000
I'm using apt-rdepends on an amd64 system with i386 as a foreign architecture. But it seems that apt-rdepends loses the architecture information of packages: $ apt-rdepends libgcc1:i386 Reading package lists... Done Building dependency tree Reading state information... Done libgcc1:i386 Depends: gcc-4.9-base ...
As posted in my comment, apt-cache depends has a --recurse option itself. Turning off all other package relations than Depends and PreDepends, I get the output that I need: $ apt-cache depends --recurse --no-recommends --no-suggests --no-conflicts --no-breaks --no-replaces --no-enhances libc6:i386 Depends: libgcc1:i...
apt-rdepends does not show multiarch information
1,369,548,566,000
Having a problem installing an openssh rpm I hand-rolled today: [root@local_host ]# rpm -i openssh-6.7p1-1.i386.rpm error: Failed dependencies: libcrypto.so.1.0.0 is needed by openssh-6.7p1-1.i386 Huh? That's strange: [root@local_host ]# ls -l /lib/libcrypto* lrwxrwxrwx 1 root root 19 Jan 20 15:18 /lib/...
Aha! I added: Provides: libcrypto.so.1.0.0 libssl.so.1.0.0 to the spec file, respun and installed. NOW.... openssh installs without question! Question now is.... WHY? I don't see a lib or pre-requisite in the openssh.spec file. Update Thanks to Mark for putting me onto the requires bits... figured out that I had th...
RPM Says Shared Object Is Missing But I Can Find It With ls
1,369,548,566,000
I'm finding a bunch of stuff where working packages contain files where ldd returns "not found" for some libraries. For example... /usr/lib64/thunderbird/libprldap60.so libldap60.so => not found /usr/lib64/libreoffice/program/libofficebean.so libjawt.so => not found We have hundreds of users using Thunderbi...
The direct (perhaps obvious) answer is that the search path for the libraries you are looking at with ldd does not include the directories where the library's own dependencies are located. Normally, unless a library's dependencies are found in system-wide standard locations, the library should have been built with a r...
Why do some files of working packages return "not found" for some libraries of ldd's output?
1,369,548,566,000
I'm trying to clean out some unneeded packages from one of my gentoo boxes with emerge --depclean, and I thought I had a few perl modules installed that none of my wanted packages should require. So, I was a bit surprised to see that: dev-db/mysql-5.5.39 requires >=dev-perl/DBD-mysql-2.9004 Shouldn't it be the other ...
Some of the utilities installed as part of the package are perl scripts: $ head -n 1 /usr/bin/mysql_fix_extensions #! /usr/bin/perl $ head -n 1 /usr/bin/mysql_convert_table_format #! /usr/bin/perl and so on...
Why does mysql server packages have perl dependencies in linux distros?
1,369,548,566,000
I have added a backport repository to apt's sources.list to get an application: deb http://ftp.uk.debian.org/debian/ wheezy-backports main Long story short: I did not manage to install the application properly so I gave up and removed that line from my sources.list. But since then apt is a mess. For some reasons, gno...
After some discussion in chat, it became clear that the problem was that apt-get install gnome did not work on an apparently normal wheezy system. The install attempt exited with the errors given in the question. The culprit turned out to be www.deb-multimedia.org. After removing the deb-multimedia lines from source...
Unmet dependencies after using a backports repository
1,369,548,566,000
I'm using Basil Gello's Kodi repository to have the latest Kodi installed in Debian10 and have a few dependencies for kodi installed from this repo. Recently pulseaudio got uninstalled and I don't know why...probably because I upgraded a package which somehow resulted in it being redundant and it getting removed with ...
Installing pulseaudio worked, likely due to an upgrade of some package. I only did an upgrade of my packages, rebooted and then ran this command which ran through without removing any packages; it also installed "rtkit": sudo apt-get install pulseaudio/buster-backports libpulse0/buster-backports libasound2-plugins. I ...
How to reinstall pulseaudio when dependencies are mismatching?
1,369,548,566,000
I'm trying to create an rpm package with a dependency on java 11; however, it seems like the openjdk and Oracle java 11 packages don't provide any overlapping java virtual packages. OpenJDK Java 11 provides: $ repoquery --provides java-11-openjdk java-11 = 1:11.0.2.7-0.el7_6 java-11-openjdk = 1:11.0.2.7-0.el7_6 java-1...
So, as you pointed out, the best would be if both packages could be made to have a common "Provides". Since this is probably not within your reach, another option is to create a pseudo RPM as a proxy for the Oracle Java 11 RPM. Name: java-11-oracle (for example) Provides: java-11 or any other relevant value from the ...
How to depend on java 11 so it can be satisfied by openjdk or by Oracle java 11 packages?
1,369,548,566,000
I just installed a fresh Waldorf (Crunchbang, Debian Wheezy-based) on a computer which has no Internet access. Previously on a Xubuntu 10.04 VM, what I did when I needed some software was: go to packages.ubuntu.com; find the relevant packages and their dependencies, download the .deb's; run dpkg-scanpackages <downloa...
In the end, I found two solutions. A simple, risky one, or a second one which should be as simple and less risky (not sure, have not tried it). Many thanks to the folks from the Crunchbang community for helping me on this. Risky solution Simply download the newer Wheezy packages from pakages.debian.org, add them to l...
Manage local package repository
1,369,548,566,000
When trying to install python 3.7 on Ubuntu 18.04 I get error messages like: zipimport.ZipImportError: can't decompress data; zlib not available or ModuleNotFoundError: No module named '_ctypes' or ~/.pyenv/plugins/python-build/bin/python-build: line 775: make: command not found or configure: error: no accept...
From https://bugs.python.org/issue31652#msg321260 sudo apt-get install build-essential libsqlite3-dev sqlite3 bzip2 libbz2-dev zlib1g-dev libssl-dev openssl libgdbm-dev libgdbm-compat-dev liblzma-dev libreadline-dev libncursesw5-dev libffi-dev uuid-dev
What libraries are needed to install Python 3.7 on Ubuntu 18.04
1,369,548,566,000
I was about to install mysql-client-5.5 package which has debianutils package as a dependency. However, I first checked which binaries are installed with debianutils package. It installs nine utilities: savelog, ischroot, add-shell, remove-shell, which, tempfile, run-parts and installkernel. Are any of those utilities...
The package maintainer lists the dependencies for a package when they create the specifications file. Looking at the list of what debianutils is it seems they use it to aid in the installation of the package, but yes, you would need to dig deep to find why it is a dependency. I'll bet you could find the usage of these...
Is there a way to see why certain dependency of a package is needed?
1,369,548,566,000
I need to install the last version of node.js but my system has in repository older version. I need to add new ppa source. I followed this tutorial Question - when I install "python-software-properties" package: sudo apt-get install python-software-properties program "add-apt-repository" is not installed (nor apt-add...
You would get the error message when running apt-add-repository if that package is installed but the command is not found. First check if /usr/bin/apt-add-repository exists or you can run: dpkg -L python-software-properties | xargs ls -d > /dev/null to see if any of the file from python-software-properties are missin...
Installation problem with python-software-properties
1,369,548,566,000
I'm currently using systemd on Manjaro and I'm planning on switching to Artix with OpenRC (Don't have anything against systemd, just want to try a new init system to broaden my horizons). I've read that a problem with non-systemd init systems is that some packages have hard dependencies on systemd, but the only exampl...
Though the question is a bit unclear, but assuming you want to list packages installed in your system that have systemd mentioned as Depends on, you can simply check that by pacman(since you are in manjaro). pacman -Qi systemd | grep Required In my case, it shows the following: Required By : android-udev at-spi2-...
List currently installed packages that have a specified dependency
1,369,548,566,000
I have a Dockerfile which is built in a CI/CD pipeline. It starts with a Drupal image based on Debian 9 stretch and installs Node 10. Building the image has worked for the past three years but it just stopped working yesterday. To reproduce the issue I can run the container without any of the instructions from the Do...
The image is configured to reject packages from Debian 10 (buster), but not from updates (buster-updates), so it ends up trying to pull apt-transport-https from the latter. To fix that, edit /etc/apt/preferences.d/argon2-buster so that it reads Package: * Pin: release n=buster* Pin-Priority: -10 Package: libargon2* P...
Can't install apt-transport-https on Debian 9 stretch due to unmet dependencies: apt (>= 1.5~alpha4)
1,369,548,566,000
Hunting for dependencies when compiling software from the scratch is practically unavoidable. In Debian-based Linux distributions which use the apt-get utility to manage packages, there is also a nice command named apt-file. One can use it to search for (missing/wanted) files inside packages to actually trace the req...
emerge pfl && e-file filename You need to use the full file name (It also supports full path), it doesn't do partial matches as that would yield too many results; probably to spare bandwidth. For such cases you can indeed resort to running description, eg. eix -S glw or the others mentioned in the other answer. http:...
What is the equivalent of apt-file in portage, if any? [duplicate]
1,369,548,566,000
I recently upgraded to Pop!_OS (Ubuntu derivative) 22.04 and it ships with OpenSSL 3.0.2, which poses a problem: Unity (the game engine) expects 1.1.1 spotify-tui expects 1.1.1 and much more software expects 1.1.1 whereas I have 3.0.2. Now, OpenSSL 1.1.1 is available in Pop!_OS repositories by going to the repository ...
You don’t need to downgrade OpenSSL, versions 1.1 and 3.0 are co-installable. You can keep libssl3 installed, and install libssl1.1 alongside it. Programs built using OpenSSL 3.0 will use the former, programs built using 1.1 will use the latter. Note that you’ll have to keep track of security updates to libssl1.1 your...
Downgrading from OpenSSL 3.0.2 to 1.1.1 - How much can stuff break?
1,369,548,566,000
Moving away from an OS like Arch where packages are mostly available, how does one deal with a missing dev dependency like libpng-dev? I have an issue with a Node package dependency - pngquant-bin. It's relying on libpng-dev package to build pngquant-bin. libpng & pngquant are both available in Nixpkgs, but it's tryin...
It appears that the libpng package has multiple outputs, one of which is the dev build. On my macOS machine: brocking@station1:~/dev > nix-env -qasA nixpkgs.libpng.dev -PS libpng-apng-1.6.34 There's a chapter in the manual for the nixpkgs collection that covers this. IIRC the nixpkgs collection has included multiple...
Dealing with NixOS missing dependency ~ libpng-dev
1,369,548,566,000
I have a workstation running under Debian testing (stretch). I need to access it from outside my local network, and due to not having a static public IP nor ability to use full port forwarding, for years I've been using Hamachi to access my machines remotely. Unfortunately on Debian Stretch I can't seem to be able to...
This may be a bit late, but "[Hamachi] can now be installed without [the] LSB package."
Debian Stretch - how to install hamachi (unsatisfied dependency lsb-core)
1,369,548,566,000
I am trying to install grive in my CentOS server. The rpm available is: grive-0.3.0-1.el6.xz.x86_64.rpm The problem is that the rpm seems to be tied to json-c version 0.11 but the one I really need is json-c 0.10. In short: when yum displays the message: "Dependencies resolved - The following two packages will be ins...
Yum doesn't have a way to do this. It would counter the purpose of the package manager. Moreover, it will usually render a package dysfunctional. Package maintainer's put effort into ensuring dependencies are properly defined and not overly restrictive. That said, you can install the rpm with the rpm utility using ...
yum is trying to install a package PLUS dependency - I DO NOT want that dependency
1,369,548,566,000
For example, I want to find out why monodevelop does depend on systemd. apt-rdepends -r systemd shows all packages that that directly or indirectly depend on systemd: $ apt-rdepends --dotty -r systemd | grep monodevelop "monodevelop" -> "libgnome2.24-cil"; ... debtree monodevelop shows all packages monodevelop depend...
Developed a oneliner for this: $ apt-rdepends --dot -r systemd | perl -ne 'our %chains; if(m!"([^"]+)" -> "([^"]+)"[^"]*;!) { my $c="$2 $chains{$2}"; $chains{$1}=$c; print "$1 $c\n" }' | grep '^monodevelop ' Reading package lists... Done Building dependency tree Reading state information... Done monodevelop li...
How do I display a dependency chain from one package to another?
1,369,548,566,000
I want to code open source software with dependencies. I have skills in C/C++ and a minimum makefile knowledge. But im curious about coding this like ./configure && make stuff and how to include dependencies to other libraries properly. Where can I find a easy to understand tutorial and is it a hard thing to learn it?...
I don't believe either configure or make is hard to learn. However, they are complex, so they can be tricky to learn - especially through experimentation. For example, make requires commands to build a target are indented strictly with a TAB character, which is hard to distinguish from spaces in many cases. Here's a...
How to write software to compile with external libraries?
1,369,548,566,000
I want to download a .deb package with it's dependencies for a different distribution. I have many Linux systems in my company: Ubuntu 11.04, 11.10, 12.10, and Debian 5 and 6. The command to download a full dependency tree would be apt-get -d install package. I'm currently using a Debian 6 (squeeze), and downloading p...
APT's core job is to resolve dependencies. So you can't really blame it for complaining about dependencies. You'll need to invoke it with a different configuration so that it doesn't mix the package databases. Keep separate apt.conf and sources.list files and for each distribution, e.g.. apt-get -o Dir::Etc::Main=/pa...
download packages for different distribution with apt
1,369,548,566,000
It seems open-vm-tools-dkms was deprecated in Debian 9 (Stretch) and is no longer available in Debian 10 (Buster). What does this mean — is the functionality obsolete or has it moved to some other package?
The package provided the vmxnet driver, which is obsolete and replaced by the vmxnet3 driver which is part of the kernel. This is alluded to in the package description in Stretch: This package provides the source code for the vmxnet module, which was superseded by vmxnet3. You should only install this package if you ...
What has happened to the package open-vm-tools-dkms in Debian?
1,369,548,566,000
While working, I saw today that both texlive-base and texlive-latex-base were installed on my system but I did not explicitly install them and no one else uses my computer. So, I guess both these packages got installed while fulfilling dependencies of some other package I might have installed earlier. I want to find o...
aptitude can tell you — install it if you don’t have it already, then run aptitude why texlive-base to see the strongest dependency causing texlive-base to be installed. aptitude why texlive-latex-base will do the same for texlive-latex-base. You can add -v to see all the dependencies leading to texlive-base on your...
How to know which utility installed a particular utility?
1,369,548,566,000
It has been a while since I updated one of my RHEL6 machines (except for the occasional update of specific packages with known vulnerabilities). As a result of this, I have an old ca-certificates package: ca-certificates-2010.63-3.el6_1.5.noarch. The new ca-certificates package depends on p11-kit-trust >= 0.18.4-2,...
Download all these packages (I took the CentOS 6.6 versions from rpmfind.net) nss-3.16.1-14.el6.x86_64.rpm nss-util-3.16.1-3.el6.x86_64.rpm nss-softokn-3.14.3-17.el6.x86_64.rpm nss-softokn-freebl-3.14.3-17.el6.x86_64.rpm nss-tools-3.16.1-14.el6.x86_64.rpm nss-sysinit-3.16.1-14.el6.x86_64.rpm and install them all in ...
What is the correct way to resolve this rpm conflict? (Error: p11-kit-trust conflicts with nss-3.13.3-6.el6.x86_64)
1,369,548,566,000
I would like to install .deb file via dpkg in Arch Linux. This .deb file needs many dependencies. I don't want to install dependencies one by one manually. How do I force dpkg to install all dependencies?
Unfortunately there's no way to have dpkg automatically install dependencies - it just doesn't support that. There are other tools on Debian/Ubuntu systems to do that (eg, apt-get, aptitude, gdebi) - are any of those available for Arch? If so, you'd be better off using one of those. Alternatively, if you have access t...
How to force `dpkg` to install dependencies [closed]
1,369,548,566,000
I need to install r-base 3.0.2 because a needed library isn't compatible with 3.0.3 yet (the latest). I can install the older version of R like so: sudo apt-get install r-base=3.0.2-1precise0 However all the dependencies of r-base try and install with 3.0.3 root@foo:~# apt-get install r-base=3.0.2-1precise0 Reading p...
There's more than one way to skin this cat, but I think the simplest overall is to use apt preferences to pin the R packages. Create a file in /etc/apt/preferences.d containing Package: r-* Pin: version 3.0.3-* Pin-Priority: -1 Run apt-get update or aptitude update to take any changes in /etc/apt/preferences or /etc/...
What is the equivalent to yum-versionlock for ubuntu?
1,369,548,566,000
I am trying to install the Linux x64 BOINC command-line interface client on a CloudLinux machine with x86_64 Architecture. When I try to run the executable I get an error: ./boinc: error while loading shared libraries: libstdc++.so.3: cannot open shared object file: No such file or directory When I do ldd of the b...
libstdc++ 3 is not the default libstdc++ anymore. You can still install it, though it is best to do so with your distro package util. I'm assuming your BOINC client is for your arch, x86_64, and not compiled for x86. The difference is significant in resolving dependency issues. Considering you are on a regular user...
libstdc++.so.3 => not found on CloudLinux, no SuperUser permissions, seemingly in chroot.
1,369,548,566,000
We use Katello/Satellite 6 to manage our repos/pkgs and subscribe our servers to it. In the Katello Web UI it says that glibc-2.12-1.212.el6.x86_64 and glibc-common-2.12-1.212.el6.x86_64 is an applicable update on the system, I'll then click to update and it'll say successful.. however nothing happens and Katello stil...
Your last comment reveals your issue. Remove the exclude line from the repo file and/or /etc/yum.conf, run yum clean all, and try to install glibc again. That line is excluding the package(s) that you need to update.
Unable to update glibc to the latest version
1,369,548,566,000
I'm trying to package an RPM that requires any Java version above Java 8. The RPM works fine if there's no Java installed, or if JRE/JDK for 8 is installed. HOWEVER if I install OpenJDK 11, when I install my RPM it will try to install Java 8 again. How do I get my RPM to detect that there's already a Java 11 installa...
For now, the OpenJDK 11 packages in RHEL 7 and 8 don’t provide java-headless, jre-headless, or any of the unversioned Java packages. (As I understand it, the reason is that OpenJDK 11 isn’t guaranteed to be a replacement for OpenJDK 8 maintaining compatibility in all cases.) This will change when OpenJDK 11 becomes th...
How do I set a RPM package to require Java 8 or higher, whose dependencies can be satisfied by Java 11
1,369,548,566,000
I am trying to install rabbitmq server from rabbitmq-server-3.6.10-1.e17.noarch.rpm on an EC2 instance running Amazon Linux. I understand that Amazon Linux evolved from CentOS and RHEL Linux, so I looked for install packages intended for those. RMQ has an erlang dependency. I installed erlang from erlang-19.3.6-1.e17....
It appears the version of Amazon Linux you are using does not have systemd. I'm not sure that any version of Amazon Linux as of today uses systemd. Considering that systemd is a core part of an operating system, it's not something you can just install as a package and expect to work. If you can't find the packages yo...
Resolving systemd dependency on Amazon Linux to permit RabbitMQ install
1,369,548,566,000
Sometimes when doing a dnf upgrade I'll be told that it's skipping packages because of broken dependencies. It will tell me which packages are being skipped, but not why they're being skipped. How do I found out the "why"?
Use the rather non-obvious --best option. From the man page: -b, --best Try the best available package versions in transactions. Specif‐ ically during dnf upgrade, which by default skips over updates that can not be installed for dependency reasons, the switch forces D...
dnf: How to tell what's causing broken dependencies?
1,369,548,566,000
when cross-compiling a package, do you also cross-compile the dependencies or just install the dependencies, and then cross-compile the final package for my target embedded Linux device?
You need to cross-compile all the dependencies: every piece of code linked to the final binary (whether statically or dynamically) needs to be built for the target platform. Depending on the platform (and distribution) you're building on, and the target platform, you might find your cross-dependencies are already avai...
Do you cross-compile the dependencies of a package or just perform install?
1,369,548,566,000
Problem: I'm trying to create a DEB package from my own sources. Everything is fine except handling the dependencies. As I understand, the most genuine way to mark the dependencies is to list them in the Depends section of the control file. My application requires two packages (aapt and zipalign) which are present onl...
Provide (in addition to your main package) separate packages aapt and zipalign. Make sure they have ~ in their version (like this: zipalign-21-4~kefir1.deb). Then put them in your repository togheter with your main package which has Depends: aapt, zipalign (I use easy reprepro for hosting my repository, it's not hard)...
Packaging deb: how to handle potentially missing dependencies
1,358,410,389,000
I have a Raspberry Pi 2 running Raspian (Debian 9 Stretch Arm). I want to create a Chroot environment of pure Debian Stretch, and install Docker there. I follow all the proper instructions from here: https://docs.docker.com/install/linux/docker-ce/debian When it comes time to install docker-ce, Aptitude says I'm missi...
TL;DR: you cannot install Docker's docker-ce package on armel architecture, but your system, being a Rasberry Pi 2, should be running armhf anyway, so there's something wrong in your setup. Docker's requirements for Debian: OS requirements To install Docker CE, you need the 64-bit version of one of these Debian or ...
How can I install Docker in a Debian Chroot?
1,358,410,389,000
I'm unable to update or install curl, due to a dependency mismatch problem. (I tried removing and reinstalling, thinking that might help, but it didn't.) My curl attempt: pi@RECOVERY:~ $ sudo apt-get install curl Reading package lists... Done Building dependency tree Reading state information... Done Some packa...
Your sources.list mixes Raspbian Jessie, and Debian “stable” which is now Stretch (Debian 9); that’s why you’re running into this problem: installing curl tries to install the security update to curl from Debian 9, using dependencies from Raspbian Jessie, which doesn’t work. To fix the problem, replace stable with jes...
Unable to update/install curl (“the following packages have unmet dependencies”)
1,358,410,389,000
When building a srpm with mock and then rebuilding it to create the rpm mock automatically generates some dependencies. This is perfectly fine in most cases but since what I am trying to build already brings everything it needs with it I don't want this behaviour. The automatic requirement I cannot solve is libffmpeg....
This is not strictly releated to Mock. Mock use internally rpmbuild and this automatic dependency are calculated by rpmbuild. If you put libffmpeg.so in system path then you can just (which should be done automatically btw): Provides: libffmpeg.so()(64bit) But if it is not in system path you should just filter the Re...
mock rebuild srpm calculates unwanted dependencies automatically
1,358,410,389,000
I am using RHEL6 Hi i have created the yum repository, i downloaded the snort rpm package from their website when i tried to install the rpm its thorws error e.g. snort-2.9.5.3-1.f18.i386.rpm 1:snort-2.9.5.3-1.i386 requires libsfbpf.so.0 1:snort-2.9.5.3-1.i386 requires libdnet.so.1 1:snort-2.9.5.3-1.i386 requires lib...
If you need to find out what repo package(s) contain a specific file, you can try (e.g.): yum provides "*/libdnet.so.1" This uses shell globbing, so "*/" covers the fact that yum will be looking through absolute pathnames. That is necessary. Note it searches your repositories, not just installed packages. For the e...
Resolve dependencies installing rpm packages
1,358,410,389,000
During a dist-upgrade operation I am encountering an issue with apt packages. When running any of the following commands I encounter the same error: $ sudo apt dist-upgrade $ sudo apt --fix-broken install $ sudo apt-get autoremove Error: Reading package lists... Done Building dependency tree... Done Reading state inf...
I found the primary PopOS upgrade thread here: https://www.reddit.com/r/pop_os/comments/ucge6e/upgrade_help_thread/ These steps solved the problem for me: pop-upgrade release repair sudo apt-get install -f sudo apt-get full-upgrade --allow-downgrades In particular --allow-downgrades was something I was missing based ...
On dist-upgrade: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages
1,358,410,389,000
I am using automake on Debian Squeeze for compiling a very simple C project with 6 source files. The issue comes when I try to compile the sources using the generated Makefile. One of the sources (ll_socket.c) uses system libraries like and . Those dependencies should appear in the ".deps/ll_socket.Tpo" file automati...
Actually automake -a will take care of everything about dependencies while compiling a program. I have gone through this document 1 & 2 which explains about automake dependencies. I suggest you read that document for more information regards.
Dependencies problem with automake
1,358,410,389,000
I wanted to update most of the stuff on my FreeBSD system, so I was going to perform a pkg upgrade. I noticed that one of the listed new packages to be installed was Wayland; I'm not interested in having Wayland on my system, and I'm curious as to what's trying to install it. I assume it's a new dependency introduced ...
You can come up with right incantation of pkg rquery, but the cheap way I'm using is running pkg install on the package that I'm suspecting for pulling in the undesired one.
List Dependencies of Pending `pkg upgrade`
1,358,410,389,000
ldd on Linux will give the list of all shared libraries on which a given binary depends. This is usually much more extensive than the libraries that were listed on the linker command line used to create the binary: it will include most if not all dependencies of those libraries. Is it possible to determine just the li...
You can use readelf -d to dump the "dynamic" section of the binary. This will include NEEDED libraries. For example, comparing ldd with readelf on /bin/ls: $ ldd /bin/ls linux-vdso.so.1 => (0x00007fff190da000) libselinux.so.1 => /lib64/libselinux.so.1 (0x00007f082f94e000) libcap.so.2 => /lib...
Distinguish direct and indirect dependencies of a binary on Linux?
1,358,410,389,000
In Short: I tried to reinstall ffmpeg: sudo apt install ffmpeg: Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following informatio...
It looks like someone requested libavdevice58 version 7:4.3.1-6~bpo10+1 to be installed. This clashes with Debian's vanilla ffmpeg which depends on libavdevice58 version 7:4.1.6-1~deb10u1. You can explicitly request the old version by specifying the version on the command line: sudo apt install ffmpeg libavdevice58=7:...
Can't reinstall ffmpeg due to unmet dependencies in Debian / why did ffmpeg not use the specified bitrate in video conversions?
1,358,410,389,000
I stupidly did "yum remove python" which also ended up removing all the packages that required python as well. Luckily, I have access to another Linux machine that is a near clone of this machine, and it still has all those packages installed. The catch is that it belongs to someone else and I can, at most, poke aroun...
Assuming the clones had the same packages installed before you removed python, a sure-fire way to get the list of packages needed would be to compare rpm -qa from each clone. # on clone 1: rpm -qa | sort > clone1.txt # on clone 2: rpm -qa | sort > clone2.txt Get clone1.txt and clone2.txt on the same computer. Then ...
listing package dependents