【求助】重装系统如何恢复之前安装到软件
Tofloor
poster avatar
不避风云
deepin
2015-06-27 06:24
Author
记得曾经有个帖子说,想重写安装操作系统。
可以使用一条命令把通过apt-get安装到电脑到安装包都下载下来。
把/home到内容也备份拉。
这样备份之后,然后重装系统。
就可以重新安装系统拉。
哪位高人可以指点一下。谢谢拉。

由于从源代码安装kernel4.1导致每次开机都会有4.1到东西每次都报错,还要手动选择怎么到原来到系统。
如果可以解决这个问题。也就可以不重装系统拉。

Reply Favorite View the author
All Replies
不避风云
deepin
2015-06-27 06:31
#1
哦,找到拉,不用劳神拉。https://bbs.deepin.org/post/26170
Reply View the author
BingoLove
deepin
2015-06-27 17:51
#2
  1. dpkg -l | grep 'ii'| awk ' {print $2} '
Copy the Code

得到已安装软件包的列表,把这个保存下来,换系统之后直接apt安回来就可以了
Reply View the author
不避风云
deepin
2015-06-27 20:36
#3
https://bbs.deepin.org/post/31031
得到已安装软件包的列表,把这个保存下来,换系统之后直接apt安回来就可以了 ...

谢谢啊。这样一条命令把已安装到先下载下来也可以到。
  1. dpkg -l | grep 'ii'| awk ' {print $2} ' | xargs sudo apt-get -y install --reinstall --download-only
Copy the Code
Reply View the author
deepin4king
deepin
2015-06-28 19:13
#4
如果不打算下载软件包的话,使用apt-clone会更方便,一键备份、还原。
具体请man apt-clone(deepin预装了apt-clone)
Reply View the author
hhzhx7521fsj
deepin
2015-06-28 20:54
#5
也可以看看这个https://linux.cn/article-4763-1.html
Reply View the author