ubuntu版本备份软件的方法:不要删除/var/cache/apt/arcHives目录,执行以下命令,生成当前安装软件的内容列表,如:dpkg -–get-selections | grep -v deinstall >ubuntu.f
ubuntu版本备份软件的方法:
不要删除/var/cache/apt/arcHives目录,执行以下命令,生成当前安装软件的内容列表,如:
dpkg -–get-selections | grep -v deinstall >
ubuntu.files
把ubuntu.files和archives目录中的所有内容都cp到别的机器对应的目录。
重装完成后,配置sources.list,执行如下命令:
sudo apt-get update
sudo apt-get dist-upgrade
dpkg -–set-selections <
ubuntu.files
sudo dselect
根据提示按下“i”,然后全部按回车即可。
--结束END--
本文标题: ubuntu版本如何备份软件
本文链接: https://www.lsjlt.com/news/114540.html(转载时请注明来源链接)
有问题或投稿请发送至: 邮箱/279061341@qq.com QQ/279061341
下载Word文档到电脑,方便收藏和打印~
2024-05-16
2024-05-16
2024-05-16
2024-05-16
2024-05-16
2024-05-16
2024-05-16
2024-05-16
2024-05-16
2024-05-16
回答
回答
回答
回答
回答
回答
回答
回答
回答
回答
0