找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
广告投放联系QQ68610888
查看: 5127|回复: 10

ddbr无法使用,玩客云刷了armbian和cups,想备份

[复制链接]
ddbr之后,就这样了
  1. root@aml:~# ddbr
  2. Could not find the database of available applications, run update-command-not-fo                                                                                                             und as root to fix this
  3. Sorry, command-not-found has crashed! Please file a bug report at:
  4. http://www.debian.org/Bugs/Reporting
  5. Please include the following information with the report:

  6. command-not-found version: 0.3
  7. Python version: 3.5.3 final 0
  8. Distributor ID: Debian
  9. Description:    Debian GNU/Linux 10 (buster)
  10. Release:        10
  11. Codename:       buster
  12. Exception information:

  13. local variable 'cnf' referenced before assignment
  14. Traceback (most recent call last):
  15.   File "/usr/share/command-not-found/CommandNotFound/util.py", line 23, in crash                                                                                                             _guard
  16.     callback()
  17.   File "/usr/lib/command-not-found", line 93, in main
  18.     if not cnf.advise(args[0], options.ignore_installed) and not options.no_fail                                                                                                             ure_msg:
  19. UnboundLocalError: local variable 'cnf' referenced before assignment
复制代码


然后update-command-not-found之后就一直空白,没反应,然后ctrl C之后,就
  1. root@aml:~# update-command-not-found
  2. ^CTraceback (most recent call last):
  3.   File "/usr/sbin/update-command-not-found", line 26, in <module>
  4.     col.create(db)
  5.   File "/usr/share/command-not-found/CommandNotFound/db/creator.py", line 94, in create
  6.     self._fill_commands(con)
  7.   File "/usr/share/command-not-found/CommandNotFound/db/creator.py", line 132, in _fill_commands
  8.     self._parse_single_contents_file(con, f, fp.stdout)
  9.   File "/usr/share/command-not-found/CommandNotFound/db/creator.py", line 228, in _parse_single_contents_file
  10.     l = l.decode("utf-8")
  11. KeyboardInterrupt
  12. root@aml:~#
复制代码


求助大佬解决
系统版本是armbian5.67
 楼主| | 显示全部楼层
现在执行ddbr提示这个了
  1. Command 'ddbr' not found, did you mean:

  2.   command 'ddbd' from deb gworkspace.app
  3.   command 'ddgr' from deb ddgr
  4.   command 'ddir' from deb ddir

  5. Try: apt install <deb name>
复制代码
回复

使用道具 举报

 楼主| | 显示全部楼层
本帖最后由 BrainZ 于 2020-9-18 09:35 编辑

我发现用U盘启动,ddbr就能用,但是好像会把U盘也备份了,EMMC里的就是U盘过去的,为什么ddbr不能用呢
  1. root@aml:~# ddbr
  2. DO YOU WANT TO BACKUP OR RESTORE ?
  3. BACKUP=(b) RESTORE=(r) b
  4. AVAILABLE DEVICES: mmcblk0 sda1 sda2
  5. YOU ARE RUNNING stretch FROM sda2
  6. INTERNAL EMMC IS: mmcblk0 SIZE:        7634944
  7. ROOT (sda2) FREE SPACE IS:             13978984
  8. DO YOU WANT COMPRESSION ?
复制代码

回复

使用道具 举报

来自手机 | 显示全部楼层
DDBR本身就是在U盘系统中使用的 EMMC中一般刷机脚本会删除ddbr系列程序 只是有时为了保留没删而已
回复

使用道具 举报

来自手机 | 显示全部楼层
DDBR实际就是用的dd命令+gunzip等压缩命令
回复

使用道具 举报

 楼主| | 显示全部楼层
解决了解决了
回复

使用道具 举报

 楼主| | 显示全部楼层
network007 发表于 2020-9-18 10:44
DDBR本身就是在U盘系统中使用的 EMMC中一般刷机脚本会删除ddbr系列程序 只是有时为了保留没删而已

哦哦原来如此~
回复

使用道具 举报

你玩客云的  备份  
我这边能刷么?
回复

使用道具 举报

BrainZ 发表于 2020-9-18 10:53
哦哦原来如此~

楼主写个备份教程吧,越来越懒得折腾
回复

使用道具 举报

BrainZ 发表于 2020-9-18 08:46
现在执行ddbr提示这个了

楼主,玩客云已经写入emmc了。如何再从U盘启动,我插U盘总是从emmc启动,谢谢
回复

使用道具 举报


我也碰到这样问题  请问如何解决的呢  谢谢
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

关闭

欢迎大家光临恩山无线论坛上一条 /1 下一条

有疑问请添加管理员QQ86788181|手机版|小黑屋|Archiver|恩山无线论坛(常州市恩山计算机开发有限公司版权所有) ( 苏ICP备05084872号 )

GMT+8, 2024-5-24 13:21

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

| 江苏省互联网有害信息举报中心 举报信箱:js12377 | @jischina.com.cn 举报电话:025-88802724 本站不良内容举报信箱:68610888@qq.com 举报电话:0519-86695797

快速回复 返回顶部 返回列表