Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade cockpit on Ubuntu #9795

Closed
Discusal opened this issue Aug 4, 2018 · 6 comments
Closed

Upgrade cockpit on Ubuntu #9795

Discusal opened this issue Aug 4, 2018 · 6 comments

Comments

@Discusal
Copy link

Discusal commented Aug 4, 2018

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?

@Discusal
Copy link
Author

Discusal commented Aug 4, 2018

Ok i figure out by installing from backports:

sudo apt install cockpit/bionic-backports

@Discusal Discusal closed this as completed Aug 5, 2018
@luixal
Copy link

luixal commented Jul 25, 2019

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

@marvindanig
Copy link

marvindanig commented Aug 27, 2019

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?

@FredericLatour
Copy link

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

@shahidkarimi
Copy link

Nothing works, it seems its not possible

@martinpitt
Copy link
Member

@marvindanig : Seems you need to enable backports on your system: https://help.ubuntu.com/community/UbuntuBackports

(They are normally enabled by default)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants