I’ve been running different flavors of Linux and Unices for a long time.
I just installed Rocky Linux optimized for DaVinci Resolve since I could not get it to work with other distros. When I run the install: sudo ./DaVinci_Resolve_19.0b5_Linux.run -i I get the following error:
Please install the following missing packages:
xcb-util-cursor
I can’t seem to be able to find that package. Can anyone point me to the URL or depository where I can install it.
And if the .rpm package requires dependencies how to make sure they are included when I install via dnf?
That is what DNF does. It reads from the package a list of requires and then checks whether the already installed packages or any in enabled repositories provides those. If the provider is not installed, it is added to the list of packages to install, and then the new requires are checked too.
If no available package (installed or in enabled repos) provides all required dependencies, then no install is done. DNF includes what is needed or gives an error.
If something is missing, then you have to add/enable repos that have package(s) for missing dependencies, or append local package file(s) to the command.
What repos should I add I currently have:
repo id repo name
appstream Rocky Linux 8 - AppStream
baseos Rocky Linux 8 - BaseOS
epel Extra Packages for Enterprise Linux 8 - x86_64
extras Rocky Linux 8 - Extras
Is there a GUI that can list all packages and applications to install?
Errors during downloading metadata for repository ‘media-baseos’:
Curl error (37): Couldn’t read a file:// file for file:///media/cdrecorder/BaseOS/repodata/repomd.xml [Couldn’t open file /media/cdrecorder/BaseOS/repodata/repomd.xml]
Curl error (37): Couldn’t read a file:// file for file:///media/cdrom/BaseOS/repodata/repomd.xml [Couldn’t open file /media/cdrom/BaseOS/repodata/repomd.xml]
Curl error (37): Couldn’t read a file:// file for file:///media/Rocky/BaseOS/repodata/repomd.xml [Couldn’t open file /media/Rocky/BaseOS/repodata/repomd.xml]
Error: Failed to download metadata for repo ‘media-baseos’: Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried
[root@DaVinci Downloads]# dnf install google-chrome-stable_current_x86_64.rpm
Rocky Linux 8 - Media - BaseOS 0.0 B/s | 0 B 00:00
Errors during downloading metadata for repository ‘media-baseos’:
Curl error (37): Couldn’t read a file:// file for file:///media/Rocky/BaseOS/repodata/repomd.xml [Couldn’t open file /media/Rocky/BaseOS/repodata/repomd.xml]
Curl error (37): Couldn’t read a file:// file for file:///media/cdrecorder/BaseOS/repodata/repomd.xml [Couldn’t open file /media/cdrecorder/BaseOS/repodata/repomd.xml]
Curl error (37): Couldn’t read a file:// file for file:///media/cdrom/BaseOS/repodata/repomd.xml [Couldn’t open file /media/cdrom/BaseOS/repodata/repomd.xml]
Error: Failed to download metadata for repo ‘media-baseos’: Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried
[root@DaVinci Downloads]# clear
[root@DaVinci Downloads]# dnf install google-chrome-stable_current_x86_64.rpm
Rocky Linux 8 - Media - BaseOS 0.0 B/s | 0 B 00:00
Errors during downloading metadata for repository ‘media-baseos’:
Curl error (37): Couldn’t read a file:// file for file:///media/cdrom/BaseOS/repodata/repomd.xml [Couldn’t open file /media/cdrom/BaseOS/repodata/repomd.xml]
Curl error (37): Couldn’t read a file:// file for file:///media/cdrecorder/BaseOS/repodata/repomd.xml [Couldn’t open file /media/cdrecorder/BaseOS/repodata/repomd.xml]
Curl error (37): Couldn’t read a file:// file for file:///media/Rocky/BaseOS/repodata/repomd.xml [Couldn’t open file /media/Rocky/BaseOS/repodata/repomd.xml]
Error: Failed to download metadata for repo ‘media-baseos’: Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried
[root@DaVinci Downloads]# crb enable
Enabling CRB repo
CRB repo is enabled and named: powertools
[root@DaVinci Downloads]# dnf install xcb-util-cursor
Rocky Linux 8 - Media - BaseOS 0.0 B/s | 0 B 00:00
Errors during downloading metadata for repository ‘media-baseos’:
Curl error (37): Couldn’t read a file:// file for file:///media/cdrom/BaseOS/repodata/repomd.xml [Couldn’t open file /media/cdrom/BaseOS/repodata/repomd.xml]
Curl error (37): Couldn’t read a file:// file for file:///media/cdrecorder/BaseOS/repodata/repomd.xml [Couldn’t open file /media/cdrecorder/BaseOS/repodata/repomd.xml]
Curl error (37): Couldn’t read a file:// file for file:///media/Rocky/BaseOS/repodata/repomd.xml [Couldn’t open file /media/Rocky/BaseOS/repodata/repomd.xml]
Error: Failed to download metadata for repo ‘media-baseos’: Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried
[root@DaVinci Downloads]#
That depends on repo. Their definitions are *.repo files in directory /etc/yum.repos.d/
The definition files of the repos that you have now came in packages. The ‘epel’ was added by installing the epel-release package.
You actually have more than four. The dnf repolist shows only enabled repos.
The dnf repolist all shows also disabled repos.
One can disable/enable defined repos. For example, the ‘epel’
One can also enable/disable repos just for one command, rather than change the persistent config:
dnf --disablerepo=* --enablerepo=extras list available
The above shows packages that are only in repo ‘extras’ (and not already installed).
Definitions for third-party repos may be in RPM-packages, or as plain files to copy/write.
Adding third-party repos can create conflicts (and one has to ask whether one trusts them anyway), so “less is more”.
If you did run crb enable, it didn’t do what it should. An another way:
dnf config-manager --enable powertools
The powertools is by Rocky, so ok to have.
Probably, but I never use those. As with earlier example,
dnf list available
lists all in currently enabled repos.
I do usually use websearch “rpm word” to get into sites that might know third-party repos that have word*.rpm