如何安装 ppa 的最新软件包版本?

如何安装 ppa 的最新软件包版本?

已安装ppa “Canonical Chromium Builds”团队

$ sudo add-apt-repository ppa:canonical-chromium-builds/stage

先前安装的是 chromium 版本 51.0.2704.79。

正在尝试安装最新版本的ppachromium Precise

$ lsb_release -a

返回

Description:    Ubuntu 12.04.1 LTS

当尝试

$ sudo apt-get update
$ sudo apt-get install chromium-browser

以下内容记录于terminal

Get:1 http://ppa.launchpad.net/canonical-chromium-builds/stage/ubuntu/ precise/main chromium-browser i386 52.0.2743.116-0ubuntu0.12.04.1.1015 

上面的最新版本ppaPrecise被列为

chromium-browser 53.0.2785.89-0ubuntu0.12.04.1.1018 (2016-09-07)

$ sudo apt-cache policy chromium-browser

日志

Candidate: 52.0.2743.116-0ubuntu0.12.04.1.1015

如何安装最新版本的ppa?或者,dev安装最新版本 53+ 版本的 chromium-browser Precise

答案1

我看了看回购 Packages.bz2文件 12.04 和 16.04,并发现Packages.bz2没有更新以指向 repo 中可用的最新版本的 chromium。

也许维护者忘记了

所以我建议你使用另一个 ppa 或者等待,因为回购 开发部分,如果我是对的,则意味着更新仍处于测试过程中,并且尚未按照维护者的要求准备好。

正如您所问的,如何安装,那么您可以使用以下命令:
cd /etc/apt/sources.list.d
sudo nano canonical-chromium-builds-ubuntu-stage-xenial.list
并将行 : 更改为
deb http://ppa.launchpad.net/canonical-chromium-builds/stage/ubuntu precise main

deb http://ppa.launchpad.net/canonical-chromium-builds/stage/ubuntu xenial main
然后运行
sudo apt update && sudo apt install chromium-browser

编辑源文件之前
编辑源文件后

答案2

解决方案是使用aptitudesbuild-dep操作,其中依赖chromium-browser来自“Canonical Chromium Builds”团队在安装 chromium 之前就安装了,导致版本52.0.2743.116 (Developer Build) Built on Ubuntu成功安装在 Precise 12.04.1。

$ aptitude --help

Usage: aptitude [-S fname] [-u|-i]
       aptitude [options] <action> ...
  Actions (if none is specified, aptitude will enter interactive mode): 
 ..
 build-dep    - Install the build-dependencies of packages.
 ..

添加后ppa

$ aptitude -v -V build-dep chromium-browser
Unable to satisfy the build-depends: Build-Depends: libgcrypt-dev.
Unable to satisfy the build-depends: Build-Depends: libexpat-dev.
Unable to satisfy the build-depends: Build-Depends: libpng-dev.
Unable to satisfy the build-depends: Build-Depends: libxslt-dev.
Unable to satisfy the build-depends: Build-Depends: libsrtp-dev.
Unable to satisfy the build-depends: Build-Depends: libgcrypt-dev.
Unable to satisfy the build-depends: Build-Depends: libexpat-dev.
Unable to satisfy the build-depends: Build-Depends: libpng-dev.
Unable to satisfy the build-depends: Build-Depends: libxslt-dev.
Unable to satisfy the build-depends: Build-Depends: libsrtp-dev.
The following NEW packages will be installed:
## list of packages
..
Accept this solution? [Y/n/q/?] n
The following actions will resolve these dependencies:

      Upgrade the following packages:                                         
1)     gtk2-engines-pixbuf [2.24.10-0ubuntu6 (now, precise) -> 2.24.10-0ubunt
2)     libgail-common [2.24.10-0ubuntu6 (now, precise) -> 2.24.10-0ubuntu6.3 
3)     libgail18 [2.24.10-0ubuntu6 (now, precise) -> 2.24.10-0ubuntu6.3 (prec
4)     pciutils [1:3.1.8-2ubuntu5 (now, precise) -> 1:3.1.8-2ubuntu6 (precise

Accept this solution? [Y/n/q/?] y
The following NEW packages will be installed:
  binutils-gold [2.22-6ubuntu1.4]  chrpath [0.13-2build2]  
  dh-buildinfo [0.9ubuntu1]  gir1.2-gconf-2.0{a} [3.2.5-0ubuntu2]  
  gir1.2-gnomekeyring-1.0{a} [3.2.2-2]  
  libatk1.0-dev{a} [2.4.0-0ubuntu1]  
  libatomic-ops-dev [7.2~alpha5+cvs20101124-1ubuntu1]  
  libcairo-script-interpreter2{a} [1.10.2-6.1ubuntu3]  
  libcairo2-dev{a} [1.10.2-6.1ubuntu3]  libcap-dev [1:2.22-1ubuntu3]  
  libcups2-dev [1.5.3-0ubuntu8.7]  
  libevent-core-2.0-5{a} [2.0.16-stable-1ubuntu0.1]  
  libevent-dev [2.0.16-stable-1ubuntu0.1]  
  libevent-extra-2.0-5{a} [2.0.16-stable-1ubuntu0.1]  
  libevent-openssl-2.0-5{a} [2.0.16-stable-1ubuntu0.1]  
  libevent-pthreads-2.0-5{a} [2.0.16-stable-1ubuntu0.1]  
  libexif-dev [0.6.20-2ubuntu0.1]  libffi-dev [3.0.11~rc1-5]  
  libfontconfig1-dev{a} [2.8.0-3ubuntu9.2]  
  libfreetype6-dev{a} [2.4.8-1ubuntu2.3]  
  libgconf2-dev [3.2.5-0ubuntu2]  libgconf2-doc{a} [3.2.5-0ubuntu2]  
  libgdk-pixbuf2.0-dev{a} [2.26.1-1ubuntu1.5]  
  libgnome-keyring-dev [3.2.2-2]  libgtk2.0-dev [2.24.10-0ubuntu6.3]  
  libjpeg-dev [8c-2ubuntu7]  
  libjpeg-turbo8-dev{a} [1.1.90+svn733-0ubuntu4.4]  
  libjpeg8-dev{a} [8c-2ubuntu7]  libjsoncpp-dev [0.6.0~rc2-2]  
  libjsoncpp0{a} [0.6.0~rc2-2]  libnspr4-dev{a} [4.12-0ubuntu0.12.04.1]  
  libnss3-dev [2:3.23-0ubuntu0.12.04.1]  
  libpam0g-dev [1.1.3-7ubuntu2.3]  
  libpango1.0-dev{a} [1.30.0-0ubuntu3.1]  libpci-dev [1:3.1.8-2ubuntu6]  
  libpixman-1-dev{a} [0.30.2-1ubuntu0.0.0.0.3]  
  libspeechd-dev [0.7.1-6ubuntu3]  libspeechd2{a} [0.7.1-6ubuntu3]  
  libspeex-dev [1.2~rc1-3ubuntu2]  libudev-dev [175-0ubuntu9.10]  
  libwebp-dev [0.1.3-2.1ubuntu1]  libwebp2{a} [0.1.3-2.1ubuntu1]  
  libxcb-render0-dev{a} [1.8.1-1ubuntu0.2]  
  libxcb-shm0-dev{a} [1.8.1-1ubuntu0.2]  
  libxcomposite-dev{a} [1:0.4.3-2build1]  
  libxcursor-dev{a} [1:1.1.12-1ubuntu0.1]  
  libxdamage-dev{a} [1:1.1.3-2build1]  
  libxfixes-dev{a} [1:5.0-4ubuntu4.4]  libxft-dev{a} [2.2.0-3ubuntu2]  
  libxi-dev{a} [2:1.7.1.901-1ubuntu1~precise3]  
  libxinerama-dev{a} [2:1.1.1-3ubuntu0.1]  
  libxml2-dev [2.7.8.dfsg-5.1ubuntu4.15]  
  libxrandr-dev{a} [2:1.3.2-2ubuntu0.3]  
  libxrender-dev{a} [1:0.9.6-2ubuntu0.2]  libxss-dev [1:1.2.1-2]  
  libxtst-dev [2:1.2.0-4ubuntu0.1]  
  ninja-build [1.3.4-1.1ubuntu0.14.04.1~12.04]  
  x11proto-composite-dev{a} [1:0.4.2-2]  
  x11proto-damage-dev{a} [1:1.2.1-2]  
  x11proto-fixes-dev{a} [1:5.0-2ubuntu1]  
  x11proto-randr-dev{a} [1.4.0+git20120101.is.really.1.4.0-0ubuntu1~precise2]  
  x11proto-record-dev{a} [1.14.1-2]  
  x11proto-render-dev{a} [2:0.11.1-2]  
  x11proto-scrnsaver-dev{a} [1.2.1-2]  
  x11proto-xinerama-dev{a} [1.2.1-2]  
The following packages will be upgraded:
  binutils [2.22-6ubuntu1 -> 2.22-6ubuntu1.4]  
  fontconfig-config [2.8.0-3ubuntu9.1 -> 2.8.0-3ubuntu9.2]  
  gir1.2-gdkpixbuf-2.0 [2.26.1-1 -> 2.26.1-1ubuntu1.5]  
  gtk2-engines-pixbuf [2.24.10-0ubuntu6 -> 2.24.10-0ubuntu6.3]  
  libcups2 [1.5.3-0ubuntu4 -> 1.5.3-0ubuntu8.7]  
  libevent-2.0-5 [2.0.16-stable-1 -> 2.0.16-stable-1ubuntu0.1]  
  libfontconfig1 [2.8.0-3ubuntu9.1 -> 2.8.0-3ubuntu9.2]  
  libfreetype6 [2.4.8-1ubuntu2 -> 2.4.8-1ubuntu2.3]  
  libgail-common [2.24.10-0ubuntu6 -> 2.24.10-0ubuntu6.3]  
  libgail18 [2.24.10-0ubuntu6 -> 2.24.10-0ubuntu6.3]  
  libgdk-pixbuf2.0-0 [2.26.1-1 -> 2.26.1-1ubuntu1.5]  
  libgdk-pixbuf2.0-common [2.26.1-1 -> 2.26.1-1ubuntu1.5]  
  libgtk2.0-0 [2.24.10-0ubuntu6 -> 2.24.10-0ubuntu6.3]  
  libjpeg-turbo8 [1.1.90+svn733-0ubuntu4.1 -> 1.1.90+svn733-0ubuntu4.4]  
  libpam0g [1.1.3-7ubuntu2 -> 1.1.3-7ubuntu2.3]  
  libpci3 [1:3.1.8-2ubuntu5 -> 1:3.1.8-2ubuntu6]  
  libpixman-1-0 [0.24.4-1 -> 0.30.2-1ubuntu0.0.0.0.3]  
  libudev0 [175-0ubuntu9.2 -> 175-0ubuntu9.10]  
  libxcb-render0 [1.8.1-1ubuntu0.1 -> 1.8.1-1ubuntu0.2]  
  libxcb-shm0 [1.8.1-1ubuntu0.1 -> 1.8.1-1ubuntu0.2]  
  libxcursor1 [1:1.1.12-1 -> 1:1.1.12-1ubuntu0.1]  
  libxfixes3 [1:5.0-4ubuntu4 -> 1:5.0-4ubuntu4.4]  
  libxi6 [2:1.6.0-0ubuntu2 -> 2:1.7.1.901-1ubuntu1~precise3]  
  libxinerama1 [2:1.1.1-3build1 -> 2:1.1.1-3ubuntu0.1]  
  libxml2 [2.7.8.dfsg-5.1ubuntu4.2 -> 2.7.8.dfsg-5.1ubuntu4.15]  
  libxrandr2 [2:1.3.2-2 -> 2:1.3.2-2ubuntu0.3]  
  libxrender1 [1:0.9.6-2build1 -> 1:0.9.6-2ubuntu0.2]  
  libxtst6 [2:1.2.0-4 -> 2:1.2.0-4ubuntu0.1]  
  pciutils [1:3.1.8-2ubuntu5 -> 1:3.1.8-2ubuntu6]  
The following packages are SUGGESTED but will NOT be installed:
  libcairo2-doc  libgtk2.0-doc  libpango1.0-doc  speech-dispatcher

$ sudo aptitude -v -V install chromium-browser
The following NEW packages will be installed:
  chromium-browser [52.0.2743.116-0ubuntu0.12.04.1.1015]  
  chromium-browser-l10n{a} [52.0.2743.116-0ubuntu0.12.04.1.1015]  
  chromium-codecs-ffmpeg-extra{a} [52.0.2743.116-0ubuntu0.12.04.1.1015]   

答案3

你提到的 PPA 是一个在上传到 Ubuntu 主版本之前使用的测试站点。那里的东西要么是新的、坏的、还没准备好使用,要么几天后就会出现在发行版中。你不应该使用它除非被要求

看起来您感兴趣的 Precise 主要版本在本文发布时正在构建中,如下所示i386amd64

编辑:以上两个版本均无法在 icy01-31 上构建。构建日志为超微i386您可能感兴趣。

也许耐心会有回报。我认为如果成功建造,它们将被释放。我相信一旦成功,它将可用这里

来源:

https://launchpad.net/~canonical-chromium-builds/+archive/ubuntu/stage

相关内容