我已经使用 PPA 安装了 LibreOffice 4。我使用的是 LibreOffice 3,然后我升级到了 LibreOffice 4,因为我有点渴望尝试新版本。
现在因为我发现 LibreOffice 4 有一些问题,包括处理我的母语,我想回到 LibreOffice 3。
这个问题如何从 LibreOffice 4.0 降级到 3.6?已经有一些答案与我上面提到的问题有一些相似之处,但它并没有解决我的问题。这个问题讨论了从特定版本的 LibreOffice 降级,即从 4.0 降级到 3.6。提到的解决方案不是我正在寻找的解决方案。它们会起作用,但解决方案建议.deb为 LibreOffice 3.6下载文件或为它们添加 PPA。此外,一些答案不成比例~(然而,适用于解决方案)强调使用突触,而不是一般的命令行解决方案。
我想要一个不使用 PPA 或下载文件的通用解决方案.deb。我想要的只是从(较高的)PPA 版本移回(较低的)正式版本。
无论如何,为了实现这一点,我从家中删除了 LibreOffice 配置目录,然后从我的机器中清除了 LibreOffice。
sudo apt-get purge libreoffice-*
Run Code Online (Sandbox Code Playgroud)
然后我使用sudo apt-add-repository --remove命令删除了相关的 PPA 。然后跑了sudo apt-get update。
现在,当我尝试使用以下命令安装 LibreOffice 时
sudo apt-get install libreoffice
Run Code Online (Sandbox Code Playgroud)
我得到了大量关于未满足依赖项的输出,例如,
Run Code Online (Sandbox Code Playgroud)The following packages have unmet dependencies: libreoffice : Depends: libreoffice-core (= 1:3.5.7-0ubuntu4) …
根据如何删除 PPA?主要有 3 种方法可以摆脱 PPA:
使用add-apt-repository命令:
sudo add-apt-repository --remove ppa:???/???
Run Code Online (Sandbox Code Playgroud)手动删除.list文件:
sudo rm /etc/apt/sources.list.d/????.list
Run Code Online (Sandbox Code Playgroud)使用其他工具,例如ppa-purge...(不是这个问题的主题)
我很好奇第一个和第二个选项之间的区别是什么,即add-apt-repository --remove与仅删除.list文件相比,还有什么可以做的吗?
我能想到的一个例子是与 PPA 一起安装的 GPG 密钥。add-apt-repository与仅rm-ing.list文件相比,是否会处理和删除它们?
请注意,无论是删除 GPG 密钥还是使用都不ppa-purge是这个问题的主题!
按照本指南使用临时站点测试部署,我已在 Ubuntu 16.04 上使用以下命令安装了 python 3.6:
sudo add-apt-repository ppa:fkrull/deadsnakes
sudo apt-get update
sudo apt-get install python3.6
Run Code Online (Sandbox Code Playgroud)
不幸的是,我现在想使用 anaconda 包管理器,因此为了避免冲突,我想删除升级的所有痕迹。如何?
W: The repository 'http://ppa.launchpad.net/gnome-terminator/ppa/ubuntu yakkety Release' does not have a Release file.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: Failed to fetch http://ppa.launchpad.net/gnome-terminator/ppa/ubuntu/dists/yakkety/main/binary-i386/Packages 404 Not Found
E: Some index files failed to download. They have been ignored, or old ones used instead.
Run Code Online (Sandbox Code Playgroud) 我正在学习一个旧教程,并通过 apt-get 安装了一个存储库(我认为就是这样)我不是 ubuntu 大师。原来那个 repo 不再存在,当我现在做一个 apt-get 更新时,我得到了这个:
W: Failed to fetch http://ppa.launchpad.net/colingille/freshlight/ubuntu/dists/wily/main/binary-i386/Packages 404 Not Found
Run Code Online (Sandbox Code Playgroud)
我尝试了通常的
sudo rm /var/lib/apt/lists/* -vf
Run Code Online (Sandbox Code Playgroud)
但没有运气。存储我自己添加的所有 repos 的列表在哪里?我该如何摆脱这个?
可能的重复:
我可以跳过版本吗?
升级期间是否可以跳过版本?
我目前正在运行 Ubuntu 9.04 Jaunty。我想升级到 10.04.02,但是每当我使用更新管理器执行此操作时,它都会失败并显示错误“此工具不支持从‘jaunty’升级到‘lucid’”。
我也尝试运行sudo do-release-upgrade -d,但失败并显示相同的错误消息:
Checking for a new ubuntu release
Done Upgrade tool signature
Done Upgrade tool
Done downloading
extracting 'lucid.tar.gz'
authenticate 'lucid.tar.gz' against 'lucid.tar.gz.gpg'
tar: Removing leading `/' from member names
Reading cache
Checking package manager
Can not upgrade
An upgrade from 'jaunty' to 'lucid' is not supported with this tool.
Run Code Online (Sandbox Code Playgroud) 我想将我的图标主题更改为 Faenza。我尝试使用 MyUnity,但效果不佳。我怎样才能改变它?
我知道在 中apt,该命令会update更新可用软件包的列表,但它不会升级已从这些软件包中安装的软件。
我也知道upgrade升级我已经从我更新的软件包中安装的任何软件,update如上所述。
Ubuntu/Debian 开发人员进行这种拆分update并upgrade使用一个命令来完成两项任务的原因是什么?
这更多是关于 Ubuntu 开发人员的架构哲学的问题。
我已经阅读了多篇文章,其中介绍了如何从 16.04 升级到 18.*。其中没有一个似乎对我有用。
当我到达
do-release-upgrade
Run Code Online (Sandbox Code Playgroud)
我收到消息
Checking for a new Ubuntu release
Please install all available updates for your release before upgrading.
Run Code Online (Sandbox Code Playgroud)
目前我将/etc/update-manager/release-upgrades设置为normal将其设置为LTS 会产生相同的结果。
此外,这是在运行两者之后:
sudo apt update && sudo apt upgrade
Run Code Online (Sandbox Code Playgroud)
当然如果我跑
do-release-upgrade -d
Run Code Online (Sandbox Code Playgroud)
我收到消息
Upgrades to the development release are only
available from the latest supported release.
Run Code Online (Sandbox Code Playgroud)
这对我来说很有意义。我在这里缺少什么?我可以从 Ubuntu Server 16.04 升级到 18.* 吗?
更新
我现在跑步的时候注意到了
sudo apt update
Run Code Online (Sandbox Code Playgroud)
我得到这个输出
sudo apt-get update
Hit:1 http://us.archive.ubuntu.com/ubuntu xenial InRelease
Hit:2 http://download.mono-project.com/repo/debian jessie InRelease …Run Code Online (Sandbox Code Playgroud)