Public bug reported:

On Ubuntu 19.04 I repeatedly encounter command-not-found crashing
because it is unable to open its database.

Inspection reveals that files in /var/lib/command-not-found are owned by
root and have permissions set so that they are readable only by the
owner.

Deleting these files or changing their permission to be universally
readable fixes the issue.

ProblemType: Bug
DistroRelease: Ubuntu 19.04
Package: command-not-found 18.10.0~pre2
ProcVersionSignature: Ubuntu 5.0.0-27.28-generic 5.0.21
Uname: Linux 5.0.0-27-generic x86_64
ApportVersion: 2.20.10-0ubuntu27.1
Architecture: amd64
CurrentDesktop: KDE
Date: Wed Sep 11 17:48:29 2019
EcryptfsInUse: Yes
InstallationDate: Installed on 2013-12-12 (2098 days ago)
InstallationMedia: Kubuntu 13.10 "Saucy Salamander" - Release amd64 (20131016.1)
PackageArchitecture: all
SourcePackage: command-not-found
UpgradeStatus: Upgraded to disco on 2019-06-12 (91 days ago)

** Affects: command-not-found (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug disco

** Summary changed:

- command-not-found unable to open database file (because it is readonly)
+ command-not-found unable to open database file (because it is readable only 
by root)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1843606

Title:
  command-not-found unable to open database file (because it is readable
  only by root)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/command-not-found/+bug/1843606/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to