Actions

command-not-found

From Whonix



Installation[edit]

The order in which these commands are run matter. [1] But the process is idempotent. Meaning possible to re-apply all of the following steps.

Delete /etc/apt/apt.conf.d/30usability-misc [archive] because it contains settings that speed up APT [archive] but break command-not-found. [2]

sudo rm -f /etc/apt/apt.conf.d/30usability-misc

Install command-not-found.

1. Update the package lists.

sudo apt-get update

2. Upgrade the system.

sudo apt-get dist-upgrade

3. Install the command-not-found package.

sudo apt-get install command-not-found

The procedure of installing command-not-found is complete.

sudo update-command-not-found

Issues[edit]

local variable 'cnf' referenced before assignment[edit]

See Also[edit]

Footnotes[edit]

  1. Also apt update cannot be skipped since package contents files need to be downloaded.
  2. Acquire::IndexTargets::deb::Contents-deb::DefaultEnabled false;
    

    breaks command-not-found because it requires /var/lib/apt/lists/*Contents* to exist.

    https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=857090 [archive]



Search engines: YaCy | Qwant | ecosia | MetaGer | peekier


Follow: Twitter.png Facebook.png 1280px-Gab text logo.svg.png Iconfinder news 18421.png Rss.png Matrix logo.svg.png 1024px-Telegram 2019 Logo.svg.png Discourse logo.svg

Donate: Donate Bank Wire Paypal Bitcoin accepted here Monero accepted here Contriute

Whonix donate bitcoin.png Monero donate whonix.png

Share: Twitter | Facebook

https link onion link

This is a wiki. Want to improve this page? Help is welcome and volunteer contributions are happily considered! Read, understand and agree to Conditions for Contributions to Whonix ™, then Edit! Edits are held for moderation.

Copyright (C) 2012 - 2020 ENCRYPTED SUPPORT LP. Whonix ™ is a trademark. Whonix ™ is a licensee [archive] of the Open Invention Network [archive]. Unless otherwise noted, the content of this page is copyrighted and licensed under the same Freedom Software license as Whonix ™ itself. (Why?)

Whonix ™ is a derivative of and not affiliated with Debian [archive]. Debian is a registered trademark [archive] owned by Software in the Public Interest, Inc [archive].

Whonix ™ is produced independently from the Tor® [archive] anonymity software and carries no guarantee from The Tor Project [archive] about quality, suitability or anything else.

By using our website, you acknowledge that you have read, understood and agreed to our Privacy Policy, Cookie Policy, Terms of Service, and E-Sign Consent. Whonix ™ is provided by ENCRYPTED SUPPORT LP. See Imprint, Contact.