View: 10157|Reply: 5

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

270

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

270

posts

1215

credits

Gold member

Rank: 6Rank: 6

credits
1215
Published in 2026-1-23 05:22:15 | 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

0

threads

24

posts

177

credits

Registered member

Rank: 2

credits
177
Published in 3 daybefore | Show all floors
This post was finally edited by CyrilGracey at 2026-5-27 15:34

Na forach o Orange Pi często ludzie dyskutują o wydajności i zastosowaniach tych małych komputerów SBC sam też testowałem różne konfiguracje i czasem szukałem dodatkowych informacji betscore-casino.pl przy okazji trafiłem na stronę która okazała się dość zaskakująco przydatna w różnych tematach online ale nie zawsze trzeba brać wszystko na poważnie bo internet pełen jest różnych opinii czasem lepiej porównać kilka źródeł i samemu sprawdzić jak co działa w praktyce u mnie Orange Pi sprawdza się całkiem dobrze przy różnych projektach
You need to log in before you can reply login | Register

Points Rule

Quick reply Top Return list