当我运行软件更新时我得到
package operation failed
更新已下载成功。
错误窗口消失得太快了,我无法记录下错误。
我运行了 sudo apt-get dist-upgrade
Errors were encountered while processing:
/var/cache/apt/archives/apt_1.6.6ubuntu0.1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
按照下面的答案我得到了:
Unpacking apt (1.6.6ubuntu0.1) over (1.6.6) ...
dpkg: error processing archive /var/cache/apt/archives/apt_1.6.6ubuntu0.1_amd64.deb (--unpack):
unable to make backup link of './lib/systemd/system/apt-daily.timer'
before installing new version: Operation not permitted dpkg-deb:
error: paste subprocess was killed by signal (Broken pipe)
答案1
几个月前,我为 apt-daily.timer 添加了不可变属性。
由于某种原因,软件更新程序决定它不喜欢这样。
删除该属性后,软件更新程序现在可以工作了。?