Home
Categories
WIKI
Topic
User
LANGUAGE:
中文
English
要是把系统文件误删了该怎么办
Experiences and Insight
182
views ·
2
replies ·
To
floor
Go
hanqiwei9
deepin
2019-09-24 05:35
Author
要是把ls命令删除了,redhat 可以用rpm2cpio命令来提取文件,deepin是不是只能重装安装包了?
Reply
Like 0
Favorite
View the author
All Replies
funtoo
deepin
2019-09-24 05:54
#1
deb包是ar压缩的,用ar命令拆包,把data.tar.xz解压到/覆盖就完事了。
而且,只要apt或dpkg没坏,重新安装一遍包不是更省事么?
Reply
Like 0
View the author
aida
deepin
2019-09-24 21:22
#2
使用apt-file 查找删除的文件所在的包
sudo apt install apt-file
sudo apt update
apt-file seach ×××
然后通过这个命令重装 ***属于那个包
sudo apt install --reinstall ×××
Reply
Like 0
View the author
Please
sign
in first
Featured Collection
Change
[Tutorial] deepin25 WSL Offline Installation Guide
UOS AI 2.8 Released! Three New Intelligent Agents & Major Evolution
Solid Q&A | deepin 25 Common Questions – The Immutable System Edition
New Thread
Popular Ranking
Change
What is the purpose of UOS AI?
Cannot upgrade "Deepin 25.0.10"
chrome browser
Feature Request: Adding an option for a "Floating Dock" mode in DDE
[Feature Request] Drop-down grid panel for window snap layouts
Popular Events
More