Re: Broken dnf from 06-30-2018

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 2018-07-06 at 12:33 +0100, Russel Winder wrote:
> By pure fluke I ran "dnf check-update --refresh" not as root and got:
> 
> RuntimeError: C++ std::exception: Failed to open backup database: /var/lib/dnf/history/history-2015-04-01.sqlite
> 
> Surprising in that I have run this command not as root before and it didn't
> fail, but the file was owned root:root on 0600 so the failure is not a
> surprise. The file being in /var I took the view that it is ephemeral and so
> deleted it.
> 
> Now as root I get proper behaviour, and indeed as not root I get proper
> behaviour.

That's interesting, but rather odd, as it suggests that run as root dnf
just *happens* to have a *different* issue involving the same file
(since obviously, when run as root, it wouldn't have had any problem
accessing it). I don't suppose you kept a backup of the file? That
would be very helpful for investigating the problem...
-- 
Adam Williamson
Fedora QA Community Monkey
IRC: adamw | Twitter: AdamW_Fedora | XMPP: adamw AT happyassassin . net
http://www.happyassassin.net
_______________________________________________
test mailing list -- test@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to test-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/test@xxxxxxxxxxxxxxxxxxxxxxx/message/FMFYVTT6XDJXIT6E6YUGGXUZQ7OEU6BS/




[Index of Archives]     [Fedora Desktop]     [Fedora SELinux]     [Photo Sharing]     [Yosemite Forum]     [KDE Users]

  Powered by Linux