Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 21

Thread: Missing 'command-not-found' database

  1. #11
    Join Date
    Jul 2005
    Location
    I think I'm here! Maybe?
    Beans
    Hidden!
    Distro
    Xubuntu 22.04 Jammy Jellyfish

    Re: Missing 'command-not-found' database

    I had this problem yesterday on a Xubuntu Installation from the iso downloaded yesterday.

    I removed all snaps and snapd as I always do then downloaded the tar.gz version of firefox which is my chosen method of running firefox. I use a symbolic link from the executable firefox file in the archive then use that link as the executable in a launcher.
    Using that launcher is when I see the "command-not-found" error.

    I have used this method of running firefox very successfully since the snap version became the default and it has worked perfectly until now.

    Interestingly if I create the symbolic link using the firefox-bin file instead of the firefox executable file it all works as expected.

  2. #12
    Join Date
    Jul 2005
    Location
    I think I'm here! Maybe?
    Beans
    Hidden!
    Distro
    Xubuntu 22.04 Jammy Jellyfish

    Re: Missing 'command-not-found' database

    Quote Originally Posted by morrisrose View Post
    Maybe the problem is in the Firefox browser itself?
    Not very likely as the firefox archive was copied across from another VM in KVM/QEMU where it is all working as expected.

  3. #13
    Join Date
    Oct 2008
    Location
    Rezzoaglio (GE) Italy
    Beans
    669
    Distro
    Ubuntu Development Release

    Re: Missing 'command-not-found' database

    Still having the problem on my Noble installed from ISO Ubuntu 24.04 "Noble Numbat" - Daily amd64 (20231102)

    corrado@corrado-n4-nn-1102:~$ entangle
    Could not find command-not-found database. Run 'sudo apt update' to populate it.
    entangle: command not found
    corrado@corrado-n4-nn-1102:~$ apt list command-not-found
    Listing... Done
    command-not-found/noble,noble,now 23.04.0 all [installed,automatic]
    corrado@corrado-n4-nn-1102:~$ apt list entangle
    Listing... Done
    entangle/noble 3.0-4 amd64
    corrado@corrado-n4-nn-1102:~$

  4. #14
    Join Date
    Jul 2005
    Location
    I think I'm here! Maybe?
    Beans
    Hidden!
    Distro
    Xubuntu 22.04 Jammy Jellyfish

    Re: Missing 'command-not-found' database

    On the Xubuntu install where I saw the problem I spoke of in post #11 I reinstalled the command-not-found and also python3-commandnotfound packages and the problem appears to have been solved.

  5. #15
    Join Date
    Oct 2008
    Location
    Rezzoaglio (GE) Italy
    Beans
    669
    Distro
    Ubuntu Development Release

    Re: Missing 'command-not-found' database

    corrado@corrado-n4-nn-1102:~$ sudo apt --reinstall install command-not-found python3-commandnotfound
    ... does NOT solve the problem
    corrado@corrado-n4-nn-1102:~$ entangle
    Could not find command-not-found database. Run 'sudo apt update' to populate it.
    entangle: command not found
    corrado@corrado-n4-nn-1102:~$

  6. #16
    Join Date
    Oct 2008
    Location
    Rezzoaglio (GE) Italy
    Beans
    669
    Distro
    Ubuntu Development Release

    Re: Missing 'command-not-found' database

    Fixed also for me.

  7. #17
    Join Date
    Mar 2010
    Location
    USA
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: Missing 'command-not-found' database

    Well, curious.

    So you both said in the install, it is still broken... But if you update and reinstall it, it is then fixed, (only) by that added work-around process...

    So rather, it sounds like it is getting closer to being fixed.

    "Concurrent coexistence of Windows, Linux and UNIX..." || Ubuntu user # 33563, Linux user # 533637
    Sticky: Graphics Resolution | UbuntuForums 'system-info' Script | Posting Guidelines | Code Tags

  8. #18
    Join Date
    Oct 2008
    Location
    Rezzoaglio (GE) Italy
    Beans
    669
    Distro
    Ubuntu Development Release

    Re: Missing 'command-not-found' database

    On my Noble just installed from ISO dated feb-11 problem is disappeared.
    Code:
    corrado@corrado-n7-nn-0211:~$ entangle
    Command 'entangle' not found, but can be installed with:
    sudo apt install entangle
    corrado@corrado-n7-nn-0211:~$ ls /var/lib/command-not-found -l
    total 3592
    -rw-r--r-- 1 root root 3670016 Feb 11 09:05 commands.db
    -rw-r--r-- 1 root root    3214 Feb 11 09:05 commands.db.metadata
    corrado@corrado-n7-nn-0211:~$
    see my comment on https://bugs.launchpad.net/command-n...d/+bug/2042746

  9. #19
    Join Date
    Mar 2010
    Location
    USA
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: Missing 'command-not-found' database

    @corradovento --

    I saw that there was a release committed. Sorry that I had to play Devils Advocate to see if it also resolved the Ubuntu 'command-not-found' vulnerability in a logic flaw in the code that was discovered a couple days ago, that is an exploit to introduce malware...

    RE:
    https://www.aquasec.com/blog/snap-tr...estion-system/
    https://www.bleepingcomputer.com/new...pread-malware/
    https://thehackernews.com/2024/02/ub...ool-could.html
    https://www.omgubuntu.co.uk/2024/02/...-security-flaw
    https://securityaffairs.com/159129/s...nd-attack.html
    https://www.linkedin.com/posts/netma...93266688-LoOP/
    ...and many more, all in the past few days.
    Last edited by MAFoElffen; February 17th, 2024 at 09:14 PM.

    "Concurrent coexistence of Windows, Linux and UNIX..." || Ubuntu user # 33563, Linux user # 533637
    Sticky: Graphics Resolution | UbuntuForums 'system-info' Script | Posting Guidelines | Code Tags

  10. #20
    Join Date
    Oct 2008
    Location
    Rezzoaglio (GE) Italy
    Beans
    669
    Distro
    Ubuntu Development Release

    Re: Missing 'command-not-found' database

    So until the Ubuntu 'command-not-found' vulnerability is not resolved the solution is simple: AVOID SNAPS!!!

Page 2 of 3 FirstFirst 123 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •