This issue looks very much like a bug to me: You start a brand new Linux installation You select wired Internet connection during install Your brand new Linux has no wireless connectivity (not even the drivers!) upon first boot. This is what I did to fix it (on my Toshiba satellite with Fedora 24 and […]
RPM
Pages related to RedHat’s and Fedora’s package managers: rpm and yum.
How to install multimedia codecs in Fedora 24 (to play MP3s)
Best article on the net on the topic of installing codecs in Fedora (includes rpmfusion repo setup)! 🙂 How to install multimedia codecs on Fedora 22/23
error: rpmdb: … DB_RUNRECOVERY Fatal error, run database recovery
Getting DB_RUNRECOVERY error from yum/rpm, what can you do to fix it? The error messages look something like this: $ sudo yum install google-chrome-stable error: rpmdb: Thread/process 9662/3077695168 failed: Thread died in Berkeley DB library error: db4 error(-30974) from dbenv->failchk: DB_RUNRECOVERY: Fatal error, run database recovery error: cannot open Packages index using db4 – (-30974) […]
RPM/yum : List (installed) packages versions (and grep ‘OR’)
Here’s how to list all packages whose names start with ‘nss’ yum info -v nss* | grep -v Committer | grep -w ‘Name\|Version\|Release\|Description\|Repo’ Here’s how to list all INSTALLED packages whose names start with ‘nss’ yum info -v nss* | grep -A12 -B5 -w ‘installed’ | grep -v Committer | grep -w ‘Name\|Version\|Release\|Description\|Repo\|installed’ And since […]
Howto remove/enable/disable/use a yum or RPM repo
The yum repos are described in files which are stored in /etc/yum.repos.d/ . So if you want to remove a yum repo you just gotta go to that dir and remove the file in question. It’s more or less obvious why one would want to add a new repo (to get stuff from it!) but […]
Error in PREUN scriptlet … file was supposed to be removed but is not
Sometimes a yum/RPM package would get “stuck” and just won’t go away. Actually usually the package is already gone but yum/rpm fails to update it’s internal DB and still thinks it is there. The error one usually sees in such cases is something like: Error in PREUN scriptlet in rpm package stlinux23-sh4_uclibc-which stlinux23-sh4_uclibc-which-2.16-5.sh4_uclibc was supposed […]
How do I add a new RPM/yum repo in Fedora
To enable a new RPM (yum) repository add a new .repo file for it under /etc/yum.repos.d. For example, to add a repository to install google’s Chrome browser add a file (e.g. google.repo) in the /etc/yum.repos.d directory and copy the following into it: [google-chrome] name=google-chrome – 64-bit baseurl=http://dl.google.com/linux/chrome/rpm/stable/x86_64 enabled=1 gpgcheck=1 gpgkey=https://dl-ssl.google.com/linux/linux_signing_key.pub You may also append the […]
Installing xdotool from source (missing XTest and other dependencies)
If you don’t know what xdotool is then this post is not for you… Although many distros come with a packaged xdotool it is usually pretty old version (e.g. the one that comes wiht FC15 does not have the selectwindow command!) so you will most likely want to get the source tarball and install that. […]
Can’t play MP3s in Fedora 9…
If you’ve installed Fedora Core 9 you won’t be able to play your MP3 audio files out of the box. I suppose some other Fedora versions also have this “feature”. I won’t go here into a lengthy explanation as to why exactly FC9 does not play mp3 – Fedora actually handles that quite good (the […]
What files comprise an RPM package? Which package a file belongs to?
If you want to find the relationship between files on your system and RPM packages (which one owns/belongs-to which) then this page will be of help to you. 1. Contents of an RPM package 1.1.1. This RPM command will show you the contents of a package which is already installed on your system: rpm -ql […]