Cockpit: Upgrade cockpit on Ubuntu

Created on 4 Aug 2018  路  4Comments  路  Source: cockpit-project/cockpit

Hello,

I'm using Ubuntu 18.04 and installed cockpit from package but when i try to upgrade them, it says still are on version 164-1

驴How can i upgrade them to the last release?

Most helpful comment

Ok i figure out by installing from backports:

sudo apt install cockpit/bionic-backports

All 4 comments

Ok i figure out by installing from backports:

sudo apt install cockpit/bionic-backports

Just got here trying to figure out why apt-cache policy cockpit was showing two versions available (198 and 164) but the older was being used. So, for anyone in my situation:

As far as I've read, Ubuntu Server (18.04 in my case) has backports enabled by default, but it keeps using other repos by default. If you want to use backports by default, you need to edit (create in my case) a file at /etc/apt/preferences with this content:

Package: *
Pin: release a=<release>-backports
Pin-Priority: 500  

Original and Full info here

The command above did not work:

$ sudo apt install cockpit/bionic-backports
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Release 'bionic-backports' for 'cockpit' was not found
marvin@hoopla:~$ 

I am on Ubuntu 18.04.3 LTS. Any clues?

For those trying to find a solution, have a look at this issue: #12668

Was this page helpful?
0 / 5 - 0 ratings