我有一个关于autoremove的问题!!!
Tofloor
poster avatar
ritter
deepin
2018-03-02 14:04
Author
autoremove这个丧尽天良的命令我是绝对不敢用的,但是每次dist-upgrade的时候总是提示:
下列软件包是自动安装的并且现在不需要了:balabala

使用'sudo apt autoremove'来卸载它(它们)。
请问怎么disable这个提示?看着我好难受。


Reply Favorite View the author
All Replies
avatar
woodelf
deepin
2018-03-02 16:45
#1
autoremove删除的是“作为依赖自动安装且不再被其他软件包依赖”的软件包,不想看到提示就把这些包手动安装一遍,标记为手动安装的包是不会被autoremove删除的。
Reply View the author
avatar
junmoxiao
deepin
2018-03-02 16:59
#2
没事,放心大胆的执行,都是删的没有用到的包
  1. junmoxiao@cat:~$ cat /usr/local/bin/update
  2. sudo apt update
  3. sudo apt dist-upgrade -y
  4. sudo apt autoremove -y
Copy the Code
Reply View the author
avatar
ritter
deepin
2018-03-03 00:53
#3
https://bbs.deepin.org/post/153714
autoremove删除的是“作为依赖自动安装且不再被其他软件包依赖”的软件包,不想看到提示就把这些包手动安装 ...

这是个好办法!!!!!!!不过autoremove删除的包并不敢保证不被其他软件包依赖,我上过好几次当了。。。。。。
Reply View the author
avatar
ritter
deepin
2018-03-03 00:56
#4
https://bbs.deepin.org/post/153714
没事,放心大胆的执行,都是删的没有用到的包

并不一定都是没用的包,你用的时候要慎重。
Reply View the author
avatar
jlice
deepin
2018-03-03 07:25
#5
如果看着那个提示难受 屏蔽了 然后系统里有很多无用的包 不是会更难受么
Reply View the author
avatar
ritter
deepin
2018-03-03 08:17
#6
https://bbs.deepin.org/post/153714
如果看着那个提示难受 屏蔽了 然后系统里有很多无用的包 不是会更难受么

我又不确定它们是不是真的无用,如果完全没有依赖,我早就删了,autoremove就是个傻逼命令,它根本就不知道是不是真的没有依赖了。
Reply View the author
avatar
redapple0204
deepin
2018-03-03 17:13
#7
又一次autoremove以后就进不去系统了。。
Reply View the author
avatar
HualetWang
deepin
2018-03-05 03:36
#8
autoremove后进不去系统了? 是不是以前把dde的包给卸载了?
Reply View the author
avatar
ritter
deepin
2018-03-06 13:01
#9
https://bbs.deepin.org/post/153714
autoremove后进不去系统了? 是不是以前把dde的包给卸载了?

我以前有过两次autoremove之后进不去桌面,现在不敢了用了。。。。。。
Reply View the author
avatar
cattial
deepin
2018-03-16 23:21
#10
autoremove有时会卸掉dde和loghtdm
Reply View the author
avatar
cattial
deepin
2018-03-16 23:21
#11
打错了,是lightdm
Reply View the author
avatar
bibichuan
deepin
2019-10-09 16:44
#12
autoremove会卸载掉dde和lightdm,我也进不去系统了,除了重新安装系统,还有什么办法吗?
Reply View the author