Ubuntu系统怎么禁止软件更新
1.禁制testApp软件升级
sudo echo testApp hold | sudo dpkg --set-selections
2.查询Ubuntu系统被锁定不更新的软件包状态(hold), 命令为:
sudo dpkg --get-selections | grep hold
OR
sudo dpkg --get-selections | more 查询系统所有软件状态
3.被锁定(hold)的软件包恢复可升级状态,命令:
sudo echo testApp install | sudo dpkg --set-selections
赞 (0)