Results 1 to 2 of 2

Thread: Update Error

  1. #1

    Unhappy Update Error

    Hi , I'm new to kali linux and i have encounter this error cand I can't find any type of help on the internet , hope I can get some from here.
    I'm running the newest version of kali linux on a virtual box machine.

    Code:
    apt update                       Hit:1 http://kali.download/kali kali-rolling InRelease
    Traceback (most recent call last):
      File "/usr/lib/cnf-update-db", line 27, in <module>
        col.create(db)
      File "/usr/share/command-not-found/CommandNotFound/db/creator.py", line 95, in create
        self._fill_commands(con)
      File "/usr/share/command-not-found/CommandNotFound/db/creator.py", line 143, in _fill_commands
        self._parse_single_contents_file(con, f, fp.stdout)
      File "/usr/share/command-not-found/CommandNotFound/db/creator.py", line 282, in _parse_single_contents_file
        priority = component_priorities[component]
    KeyError: 'non-free-firmware'
    Reading package lists... Done
    E: Problem executing scripts APT::Update::Post-Invoke-Success 'if /usr/bin/test -w /var/lib/command-not-found/ -a -e /usr/lib/cnf-update-db; then /usr/lib/cnf-update-db > /dev/null; fi'
    E: Sub-process returned an error code

  2. #2
    Join Date
    2021-May
    Location
    UK
    Posts
    772
    In Kali tweaks menu, change repo from community to cloudflare and try updating again

Similar Threads

  1. apt-get update error
    By alexei in forum TroubleShooting Archive
    Replies: 2
    Last Post: 2022-01-27, 23:15
  2. yet another apt-get update error
    By DoinThaMost420 in forum TroubleShooting Archive
    Replies: 0
    Last Post: 2020-12-17, 13:02
  3. Replies: 0
    Last Post: 2014-02-13, 14:49

Posting Permissions

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