Ubuntu – How to install latest package version of a ppa

aptchromiumpackage-managementppaupdates

Have installed ppa "Canonical Chromium Builds" team with

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

which previously installed chromium version 51.0.2704.79.

Am attempting to install the newest version of chromium available at the ppa for Precise.

$ lsb_release -a

returns

Description:    Ubuntu 12.04.1 LTS

When trying

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

the following is logged at 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 

where the newest version in above ppa for Precise is listed as

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

Trying

$ sudo apt-cache policy chromium-browser

logs

Candidate: 52.0.2743.116-0ubuntu0.12.04.1.1015

How to install the latest version of the ppa? Or, alternatively, the latest version 53+ dev build of chromium-browser at Precise?

Best Answer

I looked at the repo's Packages.bz2 file for 12.04 and 16.04 and saw that there Packages.bz2 were not updated to point to the latest version of chromium available in the repo.

Maybe the maintainer forgot to do it

So I would recommend you to use another ppa or wait beacuse the repo's devel section which ,if I am right means that the update is still in testing process and not ready as considered by the maintainer .

And as you asked how can you install then you may use these commands:
cd /etc/apt/sources.list.d
sudo nano canonical-chromium-builds-ubuntu-stage-xenial.list
and change the line :
deb http://ppa.launchpad.net/canonical-chromium-builds/stage/ubuntu precise main
to
deb http://ppa.launchpad.net/canonical-chromium-builds/stage/ubuntu xenial main
and then run
sudo apt update && sudo apt install chromium-browser

Before editing the source file
After editing the source file