我想更新到比当前安装的更新的 libreoffice 版本。
目前我有:
sudo apt-get upgrade libreoffice
Reading package lists... Done
Building dependency tree
Reading state information... Done
libreoffice is already the newest version (1:6.2.8~rc2-0ubuntu0.16.04.1).
Calculating upgrade... Done
The following packages were automatically installed and are no longer required:
linux-headers-4.4.0-198 linux-headers-4.4.0-198-generic linux-image-4.4.0-198-generic linux-modules-4.4.0-198-generic linux-modules-extra-4.4.0-198-generic linux-tools-4.4.0-198 linux-tools-4.4.0-198-generic python3-google-compute-engine
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
我目前正在运行 Ubuntu 16.04,我想安装 libreoffice 6.3 或更新版本。
以下信息可能也相关:
grep -r deb /etc/apt/sources.list /etc/apt/sources.list.d|grep -i libreoffice
/etc/apt/sources.list.d/libreoffice-ubuntu-ppa-xenial.list:# deb-src http://ppa.launchpad.net/libreoffice/ppa/ubuntu xenial main
/etc/apt/sources.list.d/libreoffice-ubuntu-libreoffice-6-4-xenial.list.save:deb http://ppa.launchpad.net/libreoffice/libreoffice-6-4/ubuntu xenial main
/etc/apt/sources.list.d/libreoffice-ubuntu-libreoffice-6-4-xenial.list.save:# deb-src http://ppa.launchpad.net/libreoffice/libreoffice-6-4/ubuntu xenial main
/etc/apt/sources.list.d/libreoffice-ubuntu-libreoffice-6-4-xenial.list:deb http://ppa.launchpad.net/libreoffice/libreoffice-6-4/ubuntu xenial main
/etc/apt/sources.list.d/libreoffice-ubuntu-libreoffice-6-4-xenial.list:# deb-src http://ppa.launchpad.net/libreoffice/libreoffice-6-4/ubuntu xenial main
/etc/apt/sources.list.d/libreoffice-ppa-trusty.list.save:deb http://ppa.launchpad.net/libreoffice/ppa/ubuntu xenial main # disabled on upgrade to xenial
/etc/apt/sources.list.d/libreoffice-ppa-trusty.list.save:# deb-src http://ppa.launchpad.net/libreoffice/ppa/ubuntu trusty main
/etc/apt/sources.list.d/libreoffice-ppa-trusty.list:deb http://ppa.launchpad.net/libreoffice/ppa/ubuntu xenial main # disabled on upgrade to xenial
/etc/apt/sources.list.d/libreoffice-ppa-trusty.list:# deb-src http://ppa.launchpad.net/libreoffice/ppa/ubuntu trusty main
/etc/apt/sources.list.d/libreoffice-ppa-trusty.list.distUpgrade:deb http://ppa.launchpad.net/libreoffice/ppa/ubuntu trusty main
/etc/apt/sources.list.d/libreoffice-ppa-trusty.list.distUpgrade:# deb-src http://ppa.launchpad.net/libreoffice/ppa/ubuntu trusty main
/etc/apt/sources.list.d/libreoffice-ubuntu-ppa-xenial.list.save:# deb-src http://ppa.launchpad.net/libreoffice/ppa/ubuntu xenial main
/etc/apt/sources.list.d/libreoffice-ubuntu-libreoffice-6-3-xenial.list:deb http://ppa.launchpad.net/libreoffice/libreoffice-6-3/ubuntu xenial main
/etc/apt/sources.list.d/libreoffice-ubuntu-libreoffice-6-3-xenial.list:# deb-src http://ppa.launchpad.net/libreoffice/libreoffice-6-3/ubuntu xenial main
答案1
不确定 PPA / apt,但您可以删除使用 apt 安装的 .deb 后,尝试从 libreoffice 网站获取 .deb。
但由于对 16.04 的支持将在三个月后结束,因此最好还是升级您的 Ubuntu 安装。