Questions tagged [package-management]
tools for installing and maintaining software packages
2,178
questions
0
votes
1
answer
15
views
Cannot install bgzip on Red Hat
I'm trying to install bgzip on red hat.
sudo yum install bgzip
says
Updating Subscription Management repositories.
Last metadata expiration check: 0:18:47 ago on Thu 19 May 2022 12:03:12 PM CDT.
No ...
0
votes
0
answers
15
views
Why 'yum clean all' is always showing the "3 files removed" message?
Through Virtual Box was installed Fedora Workstation 36. It for experimental purposes.
For academic purposes yum was used, the following set of commands were executed:
yum check-update
sudo yum ...
0
votes
1
answer
16
views
Does dnf work with all the latest data installed/updated got through yum?
Through Virtual Box was installed Fedora Workstation 36. It for experimental purposes.
About package/repository management there are two options yum and dnf where the latter is preferred over the ...
1
vote
0
answers
8
views
Create flatpak runtime with specified /usr and similar dirs
What I'm trying to build is a flatpak runtime that will use /usr as symlink to say /my/usr or the host /usr. That way existing containers and host runtime can be used for apps that are either not ...
2
votes
1
answer
76
views
+200
On dist-upgrade: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages
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 ...
0
votes
1
answer
14
views
Where to find pstreams-devel package for Rocky Linux 8 (EPEL)?
It seems there is no pstreams-devel package in Rocky Linux 8. I was wondering why it has not been included and if there is a way to get it from some extra repository?
The last reference to it that I ...
0
votes
1
answer
26
views
Error while running sudo apt-get command
When I try to run sudo apt-get command I'm getting
> Reading package lists... Done W: The repository
> 'https://packagecloud.io/ookla/speedtest-cli/ubuntu impish Release'
> does not have a ...
0
votes
1
answer
23
views
How can update my broken CUDA packages?
How I can fix the following problem? I want to update both these CUDA packages.
Check if you are using third party repositories. If so disable them, since they are a common source of problems.
...
1
vote
1
answer
19
views
"Could not find MDB Tools, which are required to build gmdb2" on Arch Linux
I'm trying to install gmdb2 from the AUR repo using yay on Arch Linux, and I've already installed mdbtools:
yay -S gmdb2
I'm encountering the following error:
configure: error: Could not find MDB ...
1
vote
0
answers
13
views
Adding a package installed via apt to pip
I am trying to install vtk on my Ubuntu 20.04 virtual machine with python 3.8.10. I had the same problem as described in this post and I managed to install vtk via sudo apt-get install python3-vtk7 . ...
2
votes
2
answers
308
views
Broken Packages on Pop!_OS (Dependency Problems)
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....
1
vote
0
answers
13
views
How to set an uninstalled package as installed in pacman?
I want to set two packages that I (stupidly) installed without using pacman as installed, so I don't have to bother uninstalling them and reinstalling through pacman.
0
votes
1
answer
14
views
Can you configure Alpine's apk to be interactive by default?
I find myself preferring the interactive mode that can be accessed by adding the -i flag when running Alpine's apk over the default non-interactive mode. However, it is rather tedious to constantly ...
0
votes
0
answers
26
views
Stuck setting up a package as well as removing that package. Can't use apt now
So I have a .deb package downloaded. I installed it using sudo apt install ... but it didn't work correctly. I tried removing it using sudo apt purge ... and it said that it can't remove a few ...
-3
votes
1
answer
77
views
Why do package managers require root priveleges?
The default package manager for mainstream Linux distros (deb/apt, yum/dnf, pacman, etc) do global-installation by default and require root. I am curious about in the rationale for this design choice.
...
0
votes
1
answer
113
views
Can't install anything using snap in ubuntu
So, I was trying to install VS Code:
sudo snap install code --classic
But I got the following error:
error: cannot communicate with server: Post
http://localhost/v2/snaps/code: dial unix /run/snapd....
0
votes
1
answer
65
views
How to tell "dnf search" to list only matches in the pacakge name (or name and summary), but not only in the summary?
On RHEL/CentOS the package manager dnf can search for strings in the names and summaries of packages. How can I tell it to list only matches in the name (or in name and summary), but not in the ...
0
votes
1
answer
30
views
How to query where a package was installed from on linux?
Like most linux distributions today, I use more than one package source for all of my applications on my arch-linux setup. (eg pacman, aur, snap, flathub etc.) when I need to update a specific app, I ...
-1
votes
1
answer
23
views
How to know the destination directory before installing a package? [duplicate]
I want to install a large multi GiB package, (mostly just a load of optional data used by another package.) but I need to know what directories it will use before installing so that I can mount ...
0
votes
1
answer
20
views
How can I list packages selected manually via yum?
I'm working on a CentOS system where I install packages, occasionally, with yum install whatever. And, of course, some packages are dragged in as dependencies.
Is it possible to get a listing of all ...
0
votes
1
answer
30
views
libtinfo6 is not installable
I am trying to install iraf and getting the error below. How to solve that, please?
https://github.com/iraf-community/x11iraf
sudo apt install gcc make bison flex libncurses-dev tcl-dev
Reading ...
0
votes
0
answers
24
views
How do I ban Fedora from attempting to install a specific package? [duplicate]
I need a specific version of the "boost" library on a Fedora system due to some breaking changes in recent versions. The issue is that a lot of C++ devel packages will have "boost"...
0
votes
1
answer
154
views
Transfering and Offline installing net-tools in an Ubuntu Server with no internet (VM with host-only enabled)
I don't know how to install net-tools on an ubuntu server that's not an internet facing machine and for some reasons, I don't want it to be.
This is a VM set to host-only for the time being.
Is there ...
0
votes
1
answer
94
views
Setting up DNF on Yocto
I am using PetaLinux (or Yocto) as my systems OS.
I built the image and have dnf as my package manager.
However, when I try to install something, I get the error message:
Error: There are no enabled ...
0
votes
0
answers
24
views
How to restore mariadb to default after DB corruption
my DB got corrupted after that there was no free space available. I have tried many solutions, but nothing works so far.
I have a backup of my application DB but not of the whole mysql DB. Despite ...
0
votes
2
answers
56
views
Install Yum/Dnf in a Virtualenv
I've created a Virtualenv (with python3.6) and want to install yum/dnf package in that environment. Is there any way to do that? As import dnf or import yum giving me error in that environment -> ...
0
votes
1
answer
399
views
Uninstalled package causing conflict on system upgrade with pacman
I'm on Arch Linux.
I once attempted to install aur/teams-for-linux with yay which installed nodejs-lts-gallium as a dependency. Since some things didn't work out and I found that teams could be used ...
0
votes
1
answer
37
views
How to find which kernel version has a certain package?
I am looking for a kernel that supports linux-tools-generic package with it's exact version for supporting usbip.Package sites do not let you search a package for a specific version and even if they ...
0
votes
2
answers
22
views
Installing a linux software package from source
is it possible to install a package from source? For example whether debian or opensuse, would it be possible to install an existing package say nginx from source?
The reason is that i want to try ...
0
votes
1
answer
23
views
run a command on a layer above my system
I would like to run a command, make in fact, to install something into a "layer".
Afterwards I would like to inspect and pack the files in the layer and gzip them.
I know this is risky since ...
0
votes
0
answers
31
views
How can I make apt pull an older dependency?
Edit: I never found a solution to my specific issue, but as soon as I hopped onto Linux Mint I was able to install this package. So if you run into this same issue with this particular package/...
0
votes
3
answers
47
views
How do I run an package after using apt-get to install it?
I am currently using Linux (super new to this) and used apt-get to install a (package? app?) and am wondering how I am supposed to run it. I can't seem to find anything online as to how I can run ...
0
votes
1
answer
74
views
How to remove commands installed through the "command-not-found" prompt
On Fedora 35, if I type in a command that is not installed, like mu, then I get a prompt that offers to install it for me, i.e.
mu
bash: mu: command not found...
Install package 'maildir-utils' to ...
0
votes
1
answer
24
views
fpm .deb package docker dependencies
I created a simple .deb package with fpm. The package is very basic and it simply runs a docker-compose file (see my other question here for package description).
I tried to specify that the package ...
0
votes
1
answer
25
views
run .deb package created by fpm
I created a .deb package with fpm. The package is very simple as it simply runs a docker-compose over this docker-compose.yml file.
The package is composed of 3 files:
.
├── diagnosticator
├── ...
0
votes
1
answer
144
views
Why Aptitude package manager is not as popular as APT?
Let me admit that my opinion in the question may be wrong. (Aptitude may be actually popular by users than APT, unfortunately I did not find robust data about usage.) But, wherever I see, let's say, ...
0
votes
2
answers
105
views
Does reinstalling package also reinstall dependencies?
If package A depends on package B, if I reinstall package B, what would happen to A? Will it be forever removed? Will it be removed, and then reinstalled? Will it simply be ignored by the package ...
-1
votes
1
answer
45
views
What is "package manager cache" (pacman, apt)?
I have several questions about Linux package managers:
What exactly is "package manager cache"?
Should I keep it or is it safe to clean it up completely?
What can go wrong if the cache is ...
0
votes
1
answer
10
views
What does pkgconfig(<PACKAGENAME>) entry means on CentOS packages site?
For example pkgconfig(libnm-glib) here
https://centos.pkgs.org/7/centos-x86_64/libnm-gtk-devel-1.8.6-2.el7.x86_64.rpm.html
I have one machine which is unable to
yum install libnm-gtk
saying it ...
1
vote
0
answers
99
views
Add Manjaro repositories to Arch during install
I know it's a terrible idea to add Manjaro repositories to Arch Linux, but would it be possible to add the repositories to a custom installer made using archiso?
How would I do that?
( I want to ...
0
votes
0
answers
15
views
Uninstalling packages not in a list or dependencies of those in that list
I'm using Arch Linux. I maintain a few lists of pacman packages in a repo and I want to synchronize my installed packages with those words (all at once rather than 1-by-1 cut cat should easily handle ...
0
votes
0
answers
17
views
Installing packages in a virtual environment (not Python) using in-built package manager
I want to install packages in Linux via in-built package managers like portage for Gentoo or pacman for Arch. This is not regarding Python packages. I want to set up a virtual environment where all ...
0
votes
0
answers
21
views
apt-get trying to install deleted version
I have a custom apt repo. We have built a package test-mock
-rw-r--r-- 1 myuser-build myuser 4802 Aug 19 2020 test-mock_1597819798_all.deb
-rw-r--r-- 1 myuser-build myuser 4804 Aug 18 2020 test-...
20
votes
4
answers
3k
views
Are Debian APT packages not officially supported or acknowledged by application developers?
I want to understand how the APT package is managed in general, considering the following situation I got into today:
I was trying to add MongoDB to my Debian machine. apt search mongodb showed good-...
0
votes
1
answer
33
views
Storing Names of linux pkges
This command does not contain flatpack or snap packages:
pacman -Qqe > pkglist.txt
I need a mass command to store all package names in a single text file
OS: Arch Linux
1
vote
1
answer
43
views
How can I list all files which have been installed by the APT command
I tried How can I list all files which have been installed by an APT package?. But the problem is, for example:
when I run sudo apt install libvirt-daemon-system it does not only install one package (...
0
votes
1
answer
111
views
Installation of core emulator : 'tcl8.5' not installing
I'm trying to install core emulator on Ubuntu 20.04 and I came across an installation procedure and it had the following command
$ sudo apt-get install bash bridge-utils ebtables \
iproute libev-dev ...
0
votes
0
answers
36
views
It seems like the debian package manager has been broken. tried so much but can't fix it
It seems like the debian package manager has been broken. I tried every apt related command I know but I can't fix it. When I use apt command to install or remove packages the running command will ...
0
votes
1
answer
47
views
How do i install a package manager to chromeos?
I have a rooted x86 chromebook that I want to install Linux packages to. It has no package manager in it so how would I go about installing one? I have tried crew but it doesn't have the packages I ...
0
votes
1
answer
118
views
"Package failed to install" error in KDE
I have Ubuntu 20.04 and KDE Plasma 5.18.5. When I try to install system updates I get this error:
Package failed to install Error while installing package: cannot copy extracted data for
'./boot/...