All Questions
207 questions
0
votes
1
answer
36
views
List available packages with their summaries
To get summaries of installed packages, rpm can be used.
How can be obtained a listing that includes summaries of available packages or updates?
0
votes
1
answer
75
views
Can't download Docs package in Fedora Container Image
I don't know what I am doing wrong but the Fedora Container image is not installing doc packages.
yum install ansible-core-doc
Claims to successfully install, but /usr/share/doc/ansible-core-doc/ ...
0
votes
0
answers
244
views
How does package order affect resolving of dependencies in yum/dnf?
Background / xy-problem: I have some tool that needs libcurl-devel, but won't compile if there is a 32-bit version of libcurl present. Fixing that tool is for another day. Today I want to prevent ...
2
votes
1
answer
233
views
How do i distribute my commercial application using the yum package manager?
I would like to distribute my commercial application using yum (for ease of use and ease of update) on redhat/fedora/centos systems.
The user still has to purchase an account to use the application (...
1
vote
1
answer
5k
views
Verifying an rpm package integrity
I'm trying to verify the integrity of packages using rpm -K command, but whatever I type it says "No such file or directory", although the packages are installed
[anonymous@vendetta ~]$ rpm ...
0
votes
1
answer
1k
views
Package 'libxslt' not found though installed in machine [FEDORA]
I'm trying to run a cmake command (sudo cmake -S. -B./build -G Ninja).
This gives me the error:
-- Configuring FOSSOLOGY
-- Checking for module 'libxslt'
-- Package 'libxslt', required by 'virtual:...
1
vote
1
answer
373
views
How to inject yum/dnf variables into Mock prior to package installation
Context: I have a yum/dnf repo (currently supporting both RHEL7 and RHEL8 so we need to work with both, although it shouldn't make a difference) built inside Artifactory. The team uses a common .repo ...
0
votes
1
answer
174
views
Accidentally deleted yum.repos.d/ directory in my Amazon Linux AMI 2018.03 machine
By mistake i deleted yum.repos.d/ folder and all .repo files inside this folder using sudo rm -rf yum.repos.d/
so now i am not able to install anything and also not able to update.
After deleted once ...
0
votes
1
answer
228
views
Yum update crashes
I am trying to run yum update on my Amazon-Linux-2 Workspace. It crashes with the following output
❯ sudo yum update
Loaded plugins: amzn_workspaces_filter_updates, halt_os_update_check, priorities, ...
0
votes
1
answer
1k
views
What is the difference/relation between 'yum check-updates' and 'yum list updates'?
What is the difference/relation between yum check-updates and yum list updates?
When use one over the other?
Note Yes I know that dnf should be used, but for research/academic purposes yum is used
0
votes
3
answers
2k
views
Is 'yum check-update' mandatory to do an update? (Ubuntu comparison)
For Fedora Workstation 36. About yum (yes I know it is replaced by dnf) - I am using yum for academic purposes.
To accomplish an update of all the packages available in the OS - is used the sudo yum ...
0
votes
1
answer
508
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
2
answers
108
views
Installing a package starts installing updates
So I just installed Fedora 34 and did the following:
sudo dnf install powertop
However, rather than installing the package, it begins downloading updates. Because I'm using a metered connection, I'd ...
0
votes
0
answers
777
views
yum update keeps throwing errors
I am on a fedora 34 and occasionally have strange behavior when I try to run any yum command. Many times, it will take 30 seconds before the process does anything, but then proceeds normally. Other ...
0
votes
0
answers
2k
views
noarch conflicts with file from package pgdg-redhat-repo-42.0-15.noarch when update
Today I am using this command to update my Fedora 32:
sudo yum update
shows this error:
Running transaction check
Transaction check succeeded.
Running transaction test
The downloaded packages were ...
2
votes
3
answers
308
views
What is DNF/YUM downloading during upgrade, before actually downloading packages?
At the start of dnf upgrade, dnf shows MBs of download for some repos. e.g. For Visual Studio Code in below it downloaded ~10MB
$ sudo dnf upgrade
Fedora 33 - x86_64 - Updates 7.8 ...
0
votes
1
answer
423
views
Python38 packages on Fedora 31 yum
On CentOS 8, I can get a range of packages for python 3.8 via yum (see below), most importantly python38-devel.
However, on Fedora 31 none of these packages are available.
Is there a way to get these ...
2
votes
1
answer
458
views
yum/dnf asking and caching repo changes again for different users
In Debian Linux after running sudo apt-get update, all users asking for info, apt-cache show package_name, get the system-wide saved info. No need to access the Internet or local apt cache server ...
0
votes
1
answer
536
views
dnf install pulling older gcc as dependency
This is on a fedora 32 box. Seeing a strange problem with dnf when installing packages that require gcc. Repos are updated and the latest gcc is available.
$ sudo dnf list gcc --showduplicates
Last ...
1
vote
1
answer
806
views
How can I create an "add a repo" RPM?
Some things like Fedora's Extra Packages for Enterprise Linux (EPEL), provide a package to install a repository
EPEL has an epel-release package that includes gpg keys for package signing and ...
1
vote
0
answers
38
views
Installed package number rarely equals removed package number
I am running CentOS 8. Often when I install a package with a lot of dependencies and then remove the package, the number of removed packages is rarely the same as the amount I installed originally.
...
5
votes
2
answers
4k
views
dnf what build requires package foo?
How can I find out which packages have a build requirement on some package foo?
I'm aware of the following command
dnf repoquery --alldeps --recursive --whatrequires foo
in order to query all ...
1
vote
1
answer
1k
views
Installing vscode on RHEL 7
I am trying to install vscode on redhat using yum install code it fails with below error.
[root@GLCHBS-SS220387 ~]# sudo yum install code
Loaded plugins: product-id, search-disabled-repos, ...
0
votes
0
answers
204
views
Get Package and their respective dependencies separately from 'yum update'
If I type yum update, I can get all the missing packages and their dependencies for the system.
My question here is, is there a way to segregate all packages and their dependencies separately while ...
0
votes
0
answers
380
views
Install a source RPM from Fedora's rpms
I found a great package on Fedora Package Sources. It is hosted as source codes.
The specific package is Syncthing, whose official website provides an rpm binary download. But I would like the ...
1
vote
0
answers
345
views
why is yum's tab completion slow while apt-get's tab completion is fast?
Why is yum's tab completion slow while apt-get's tab completion is fast? I'm not sure but I believe that this may have to do with the fact that for autocomplete yum looks over the internet and apt-get ...
0
votes
1
answer
877
views
How do I repair a bad update in Fedora 28?(edited) [closed]
I was updating my laptop when an electrical blackout happene. I restarted and try to use again sudo dnf update, but this happened:
The downloaded packages were saved in cache until the next ...
0
votes
1
answer
164
views
`dnf` & `yum` list packages by popularity? [closed]
How do I use dnfor yum to list all packages, sorted by popularity (assuming that this is an available feature)?
I don't have a rigorous definition of popularity, but a standard metric such as number ...
2
votes
1
answer
3k
views
Why is repo not reinstalling after removing it from /etc/yum.repos.d?
I removed a repo by deleting its file from /etc/yum.repos.d using rm -rf. Then I tried to install the same repo with dnf install but it is not showing up in /etc/yum.repos.d or when I run dnf repolist....
2
votes
1
answer
6k
views
dnf can't download package from URL
I have a URL which I want to install a package from. Typing
su -c 'dnf install http://www.geogebra.org/download/rpm.php?arch=amd64&ver=6'
gives the error:
rpm.php?arch=amd64 ...
12
votes
3
answers
113k
views
dnf and yum: can not find package
As i run these commands to install any packages with yum or dnf:
> sudo -c 'yum(or dnf) install [package name]'
> sudo yum(or dnf) install [package name]
I get this error:
Last metadata ...
0
votes
1
answer
2k
views
Why doesn't rpm or dnf recognize default perl?
I have an rpm package I built which depends on perl. When I try to install this package it fails:
$ rpm -ivh <package-y>
error: Failed dependencies:
perl is needed by package-y.x86_64
If I ...
4
votes
3
answers
6k
views
How do I add a yum repository, manually?
I am trying to add the intel products repository to dnf by creating a .repo file but when I run dnf repolist I am getting this error:
Failed to synchronize cache for repo 'intel-products', disabling.
...
0
votes
2
answers
429
views
Fedora fails to find popular packages like apcalc or docker
I'm running Fedora 28 on my Acer Laptop for more than a week now. Since I usually use it at university, I decided to use the update server provided by the university, https://ftp.halifax.rwth-aachen....
0
votes
1
answer
44
views
Why Mozilla products install on regional language?
I'm running Fedora 27 KDE, and I've since added and deleted a regional language (now it's only US-EN in Regional settings). However, whenever I'm installing Mozilla products (Thunderbird, Filezilla) ...
0
votes
1
answer
1k
views
yum install in fedora 20 [Google chrome]
I installed fedora 20 64bit to my PC along with Win 10 in duel boot and then tried to install Chrome browser according to this article, but I get below error when executing the last command. [sudo yum ...
3
votes
1
answer
4k
views
Very slow download speeds with yum install
On Fedora, I don't know why but every time I type in sudo yum install [package], it gets me to this:
Fedora 27 - i386 0% [ ] 70 kB/s | 512 kB 12:47 ETA
This is way far from ...
8
votes
1
answer
15k
views
How to add Fedora Repo to a CentOS 7 installation?
I have a CentOS 7 x86_64 installation onto which I want to install a package called frama-c. This package is not in the repos I have configured so far:
# yum search frama-c
Loaded plugins: ...
-1
votes
1
answer
193
views
yum is corrupted in fedora 19
I am trying to install any package or doing yum update but getting below issues.
Earlier it was running fine
[root@xyz-db2 ~]# yum update
File contains no section headers.
file: file://///etc/yum....
4
votes
1
answer
4k
views
missing /etc/yum.conf and /var/cache/yum on Fedora 25
According to the book I am reading, yum stores settings in /etc/yum.conf file and stores downloaded packages in /var/cache/yum folder.
Neither of these two files/folders is present in my fresh ...
1
vote
1
answer
945
views
Sync two installs of Fedora
I have a working PC and home PC - both run Fedora 24, in some cases I install packages on my work or home pc and forget to repeat the same install on my other working machine,
how do I bring dnf ...
22
votes
1
answer
45k
views
What command can I use to clear the 'yum' cache, on Fedora 23 system?
What command can I use to clear the yum cache on a Fedora 23 system?
I have tried yum clean all, but it defaults to:
Redirecting to '/usr/bin/dnf clean all' (see 'man yum2dnf')
with "0 files ...
3
votes
2
answers
3k
views
How to create a non-persistent Virtual machine?
I am running a Fedora 23 VM. My requirement is very simple:
All the packages that were installed during the running of the VM have to uninstalled when it is given a shutdown signal. In other words, ...
13
votes
1
answer
42k
views
How can install specific version of ansible?
How can I install a specific version of Ansible, using Yum or another method?
When I try to install version 2.0 it says No package 2.0 available.
I checked the epel repo. There are only two rpms, ...
5
votes
1
answer
5k
views
Installing extra texlive packages in centos
I'm new to CentOS (always used ubuntu and similar) and I am trying to compile some latex code here for the first time. So there's a big list of .sty that are needed.
I was able to install some by ...
5
votes
2
answers
1k
views
How to remove line wrapping from DNF & YUM commands?
When using dnf and yum on rpm based Linux distros (RHEL/Red Hat, Fedora, CentOS, etc) the utility will automatically wrap lines to make it more friendly for the user to read. This is problematic as ...
1
vote
1
answer
1k
views
How to update package in Fedora 24 when repo newest version is too old?
I am running a fresh install of Fedora 24, and at boot time and other times I get a selinux alert: its this bug.
The fix is, to update package selinux-policy from installed version 3.13.1-191.8.fc24 ...
1
vote
2
answers
3k
views
Ubuntu apt -f install equivalent in fedora
In Ubuntu I often use the command apt -f install to fix missing dependencies. Is there any such command in Fedora?
Also is there any equivalent of the command gdebi which also automatically fixes ...
1
vote
2
answers
2k
views
accidentally deleted yum.repos.d/ fedora 24
I accidentally ran this command:
sudo rm -r /etc/yum.repos.d/
How do I recover the contents of this folder / find out what they were ?
0
votes
2
answers
157
views
yum install ERROR
yum install ruby Loaded plugins: langpacks, refresh-packagekit
http://download.fedoraproject.org/pub/fedora/linux/releases/20/Everything/i386/os/repodata/repomd.xml:
[Errno 12] Timeout on
http://...