我在安装TeXstudio时遇到了一个问题。正在使用PPA在Ubuntu18.04.2LTS的新安装上执行安装。提供错误和apt缓存策略。
如能提供任何协助或指导,将不胜感激。
谢谢!
Unpacking texstudio (2.12.16-0~201905181623~ubuntu18.04.1) ...
dpkg: error processing archive /var/cache/apt/archives/texstudio_2.12.16-0~201905181623~ubuntu18.04.1_amd64.deb (--unpack):
trying to overwrite '/usr/share/texstudio/tabletemplate_fullyframed_firstBold.js', which is also in package texstudio-doc 2.12.6+debian-2
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
Errors were encountered while processing:
/var/cache/apt/archives/texstudio_2.12.16-0~201905181623~ubuntu18.04.1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
computer:~$ apt-cache policy texstudio texstudio-doc
texstudio:
Installed: (none)
Candidate: 2.12.16-0~201905181623~ubuntu18.04.1
Version table:
2.12.16-0~201905181623~ubuntu18.04.1 500
500 http://ppa.launchpad.net/sunderme/texstudio/ubuntu bionic/main amd64 Packages
2.12.6+debian-2 500
500 http://us.archive.ubuntu.com/ubuntu bionic/universe amd64 Packages
texstudio-doc:
Installed: 2.12.6+debian-2
Candidate: 2.12.6+debian-2
Version table:
*** 2.12.6+debian-2 500
500 http://us.archive.ubuntu.com/ubuntu bionic/universe amd64 Packages
500 http://us.archive.ubuntu.com/ubuntu bionic/universe i386 Packages
100 /var/lib/dpkg/status
移除PPA后,才能安装。虽然不使用PPA是一个暂时的解决方案,但希望解决问题,并在PPA下安装更最新的版本。
发布于 2020-09-07 15:51:01
你得跑
sudo apt remove texstudio-doc
这就解决了问题。
https://askubuntu.com/questions/1152135
复制相似问题