tul*_*ydr 4 package-management apt dpkg
我不确定我是如何遇到这个错误的,但不管是什么我现在都被卡住了。我已经运行了以下命令:
sudo apt-get autoremove
sudo dpkg --configure -a
sudo apt-get install -f
Run Code Online (Sandbox Code Playgroud)
所有这些都是不同的顺序。
安装/删除Skype时可能发生错误。不是skypeforlinux beta,而是skype v4.XXX
dustin@dustin-laptop:~$ sudo apt-get install -f
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following additional packages will be installed:
linux-headers-4.8.0-45
The following NEW packages will be installed:
linux-headers-4.8.0-45
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
3 not fully installed or removed.
Need to get 0 B/10.4 MB of archives.
After this operation, 73.0 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
(Reading database ... 213275 files and directories currently installed.)
Preparing to unpack .../linux-headers-4.8.0-45_4.8.0-45.48~16.04.1_all.deb ...
Unpacking linux-headers-4.8.0-45 (4.8.0-45.48~16.04.1) ...
dpkg: error processing archive /var/cache/apt/archives/linux-headers-4.8.0-45_4.8.0-45.48~16.04.1_all.deb (--unpack):
unable to open '/usr/src/linux-headers-4.8.0-45/arch/sh/include /asm/addrspace.h.dpkg-new': Operation not permitted
Errors were encountered while processing:
/var/cache/apt/archives/linux-headers-4.8.0-45_4.8.0-45.48~16.04.1_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
dustin@dustin-laptop:~$
Run Code Online (Sandbox Code Playgroud)
请注意,我是 linux 的新手,它包含的所有内容......
通常我只会格式化硬盘并重新安装,但我已经厌倦了这个过程。
如果需要更多信息,请告诉我,如果我在此站点上的状态允许,我会将其放在这里。
小智 8
我可以看到你很久以前问过这个问题,所以它可能不再与你相关,但我最近确实遇到了这个问题。您是否有机会运行 Sophos Antivirus?那是阻止我更新。我可以通过暂时禁用 Sophos Antivirus 来安装所有东西savdctl disable
,然后我安装了我需要的东西,然后重新启用了savdctl enable
.
归档时间: |
|
查看次数: |
4247 次 |
最近记录: |