首页
学习
活动
专区
圈层
工具
发布
首页
学习
活动
专区
圈层
工具
MCP广场
社区首页 >问答首页 >基于PPA的Ubuntu18.04.2LTS的TeXstudio安装问题

基于PPA的Ubuntu18.04.2LTS的TeXstudio安装问题
EN

Ask Ubuntu用户
提问于 2019-06-18 22:44:14
回答 1查看 438关注 0票数 1

我在安装TeXstudio时遇到了一个问题。正在使用PPA在Ubuntu18.04.2LTS的新安装上执行安装。提供错误和apt缓存策略。

如能提供任何协助或指导,将不胜感激。

谢谢!

代码语言:javascript
运行
复制
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)
代码语言:javascript
运行
复制
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下安装更最新的版本。

EN

回答 1

Ask Ubuntu用户

发布于 2020-09-07 15:51:01

你得跑

代码语言:javascript
运行
复制
sudo apt remove texstudio-doc

这就解决了问题。

票数 1
EN
页面原文内容由Ask Ubuntu提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://askubuntu.com/questions/1152135

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档