|
ddbr之后,就这样了
- root@aml:~# ddbr
- Could not find the database of available applications, run update-command-not-fo und as root to fix this
- Sorry, command-not-found has crashed! Please file a bug report at:
- http://www.debian.org/Bugs/Reporting
- Please include the following information with the report:
- command-not-found version: 0.3
- Python version: 3.5.3 final 0
- Distributor ID: Debian
- Description: Debian GNU/Linux 10 (buster)
- Release: 10
- Codename: buster
- Exception information:
- local variable 'cnf' referenced before assignment
- Traceback (most recent call last):
- File "/usr/share/command-not-found/CommandNotFound/util.py", line 23, in crash _guard
- callback()
- File "/usr/lib/command-not-found", line 93, in main
- if not cnf.advise(args[0], options.ignore_installed) and not options.no_fail ure_msg:
- UnboundLocalError: local variable 'cnf' referenced before assignment
复制代码
然后update-command-not-found之后就一直空白,没反应,然后ctrl C之后,就
- root@aml:~# update-command-not-found
- ^CTraceback (most recent call last):
- File "/usr/sbin/update-command-not-found", line 26, in <module>
- col.create(db)
- File "/usr/share/command-not-found/CommandNotFound/db/creator.py", line 94, in create
- self._fill_commands(con)
- File "/usr/share/command-not-found/CommandNotFound/db/creator.py", line 132, in _fill_commands
- self._parse_single_contents_file(con, f, fp.stdout)
- File "/usr/share/command-not-found/CommandNotFound/db/creator.py", line 228, in _parse_single_contents_file
- l = l.decode("utf-8")
- KeyboardInterrupt
- root@aml:~#
复制代码
求助大佬解决
系统版本是armbian5.67 |
|