New answers tagged

0

While build requirements are indeed not stored in the final RPM (as jsbillings pointed out) dnf was improved over the last years so you can actually query build requirements now. dnf repoquery --disablerepo=* --enablerepo=*-source --arch=src --whatrequires <provide> Source: Examples in the DNF Command Reference (at the very end of that section)


3

The GitLab Runner images are based on either Ubuntu or Alpine Linux. This is stated in the docs: The following Docker images are available: gitlab/gitlab-runner:latest based on Ubuntu. gitlab/gitlab-runner:alpine based on Alpine with much a smaller footprint (~160/350 MB Ubuntu vs ~45/130 MB Alpine compressed/decompressed). Both Ubuntu ...


0

The following command lists recently installed or updated RPM packages: rpm -qa --last | head It may includes packages installed outside YUM too. This command can also run without root privilege.


0

Probably your package Database-devel provides Database-devel. You can check this like this: rpm -q Database-devel --provides it should say something like this: Database-devel = 2.0.0-0 if it says also: Database-devel without version number, then this means for rpm and thus for yum that it provides all versions of Database-devel, including version 1.0.0....


0

The Yum configuration file /etc/yum.conf of the CentOS Docker image contains tsflags=nodocs which stops the documentation from installing. The Zabbix create.sql.gz file is installed as part of the documentation and this is the reason why it's missing. To install the create.sql.gz file either comment out the tsflags line in the /etc/yum.conf file or amend ...


0

Search and add/enable a valid repository from Google, then run yum clean to clear off partial transactions. That should solve everything to execute the update.


2

You can use yum whatprovides nslookup to see which package delivers it: ~$ yum whatprovides nslookup Loaded plugins: fastestmirror Determining fastest mirrors . . 32:bind-utils-9.11.4-9.P2.el7.x86_64 : Utilities for querying DNS name servers Repo : base Matched from: Filename : /usr/bin/nslookup 32:bind-utils-9.9.4-74.el7_6.2.x86_64 : Utilities ...


2

nslookup is contained in bind-utils package. You should use below command to install it: # yum install bind-utils


1

Wow, thanks: In Fedora 31 Server I tried KDE, I tried cinnamon, all in su - user mode. Then I searched and found this post: groupinstall in su - user mode yum grouplist yum groupinstall "Fedora Workstation" --skip-broken Used startx an old command I read of. And the Fedora Server is now GUI. Thanks a bunch.


3

Given the lack of mutual dependencies, which is guaranteed, the following algorithm will yield the minimal set: for each package in the list, list all of its requirements (rpm -qR foo) for each package in the requirements, remove it from the list if it’s present Listing foo’s requirements yields baz (presumably among others), and listing baz’s requirements ...


0

Removed the three salt-stack repo's which as mentioned caused the issue. Install ran fine after that. in the folder /etc/yum.repos.d/ Removed the three salt repos Installed a single repo relating to salt. ran the install script again and it no longer errors on the packages.


2

It is working for me at ansible 2.9. The only difference from your playbook is that I have quotes around kernel*: - name: upgrade all packages, excluding kernel yum: name: '*' state: latest exclude: 'kernel*'


Top 50 recent answers are included