View: 9028|Reply: 4

New OS Ubuntu Focal Error When UPdate

[Copy link]

9

threads

16

posts

69

credits

Registered member

Rank: 2

credits
69
Published in 2021-5-9 17:24:54 | Show all floors |Read mode
I using orange pi zero 2 with ubuntu focal live server. Newly installed. Run an update and this error?


Traceback (most recent call last):
  File "/usr/lib/cnf-update-db", line 26, in <module>
    col.create(db)
  File "/usr/lib/python3/dist-packages/CommandNotFound/db/creator.py", line 94, in create
    self._fill_commands(con)
  File "/usr/lib/python3/dist-packages/CommandNotFound/db/creator.py", line 138, in _fill_commands
    self._parse_single_commands_file(con, fp)
  File "/usr/lib/python3/dist-packages/CommandNotFound/db/creator.py", line 176, in _parse_single_commands_file
    suite=tagf.section["suite"]
KeyError: 'suite'
Reading package lists... Done
E: Problem executing scripts APT::Update:ost-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

How do i solve this?


9

threads

16

posts

69

credits

Registered member

Rank: 2

credits
69
 Author| Published in 2021-5-10 14:13:23 | Show all floors
found the solution when I change to the armhf source.list

https://gist.github.com/josephlr/5034c933bbcfddc25a9275037821b048

9

threads

16

posts

69

credits

Registered member

Rank: 2

credits
69
 Author| Published in 2021-5-10 14:18:51 | Show all floors
Sorry there was a mistake on my solution, I realised it was bionic and not focal. End up I change to focal smae problems.

191

threads

274

posts

1215

credits

Gold member

Rank: 6Rank: 6

credits
1215
Published in 2026-1-20 06:22:58 | Show all floors
Traffic caused me to miss my cruise ship departure by just ten minutes, and catching up to the ship at the next port required an expensive last-minute flight. I was standing on the dock with my luggage, heartbroken. I played highflybet casino while figuring out what to do. I won a mega prize that paid for a first-class flight to the next island and a luxury hotel stay before rejoining the cruise in style

191

threads

274

posts

1215

credits

Gold member

Rank: 6Rank: 6

credits
1215
Published in 5 daybefore | Show all floors
Storm winds blew my garden fence down, and the local contractors were charging a fortune for the repair work. I felt overwhelmed by the cost until I opened spinking for a few rounds. I won a substantial prize that covered the premium timber panels and professional installation, leaving my garden looking better than ever before the storm hit our neighborhood last night
You need to log in before you can reply login | Register

Points Rule

Quick reply Top Return list