Failed to start dnf makecache

2020-12-30 Thread Neal Becker
1]: Failed to start dnf makecache. -- *Those who don't understand recursion are doomed to repeat it* ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org Fedora Code

Re: Failed to start dnf makecache

2020-12-30 Thread Jorge Fábregas
On 12/30/20 12:18 PM, Neal Becker wrote: > Dec 30 11:01:29 nbecker8 dnf[1421142]: Error: Error: rpmdb open failed Do you get errors when you perform: rpm -qa ??? If so, this could be a corrupted RPM database. If so try Method #1 listed here: https://www.cyberciti.biz/tips/rebuilding-corrupted-

Re: Failed to start dnf makecache

2020-12-30 Thread Neal Becker
Thanks for the suggestion, No, rpm -qa runs just fine. On Wed, Dec 30, 2020 at 11:45 AM Jorge Fábregas wrote: > On 12/30/20 12:18 PM, Neal Becker wrote: > > Dec 30 11:01:29 nbecker8 dnf[1421142]: Error: Error: rpmdb open failed > > Do you get errors when you perform: rpm -qa ??? If so, this c

Re: Failed to start dnf makecache

2020-12-30 Thread Jonathan Billings
On Dec 30, 2020, at 13:49, Neal Becker wrote: > > Thanks for the suggestion, > > No, rpm -qa runs just fine. Could be that the selinux labels are wrong, and cron and the dnf subprocesses can’t read the files. A ‘restorecon’ on the directory probably will fix that — Jonathan Billings

Re: Failed to start dnf makecache

2020-12-31 Thread Neal Becker
On Wed, Dec 30, 2020 at 7:44 PM Jonathan Billings wrote: > On Dec 30, 2020, at 13:49, Neal Becker wrote: > > > > Thanks for the suggestion, > > > > No, rpm -qa runs just fine. > > Could be that the selinux labels are wrong, and cron and the dnf > subprocesses can’t read the files. A ‘restorecon

Re: Failed to start dnf makecache

2020-12-31 Thread Ed Greshko
On 31/12/2020 20:41, Neal Becker wrote: On Wed, Dec 30, 2020 at 7:44 PM Jonathan Billings mailto:billi...@negate.org>> wrote: On Dec 30, 2020, at 13:49, Neal Becker mailto:ndbeck...@gmail.com>> wrote: > > Thanks for the suggestion, > > No, rpm -qa runs just fine. Could

Re: Failed to start dnf makecache

2020-12-31 Thread Samuel Sieb
On 12/31/20 4:52 AM, Ed Greshko wrote: On 31/12/2020 20:41, Neal Becker wrote: I'm not very familiar with restorecon and it's options, what might be the command? sudo restorecon -R /var/lib/rpm Use "-Rv" if you want to see if it makes any changes.