Unable to Install Cockpit on Bionic

Unable to Install Cockpit on Bionic



I am trying to install cockpitvby using apt-get install cockpit but getting following error.


apt-get install cockpit


The following packages have unmet dependencies:
cockpit : Depends: cockpit-system (= 172-1~ubuntu18.04.1) but it is not going to be installed
Recommends: cockpit-storaged (= 172-1~ubuntu18.04.1) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.



With little bit of googling and cockpit instruction from Ubuntu,I also added following line to source.list


source.list


deb http://archive.ubuntu.com/ubuntu bionic-backports main restricted universe multiverse



as outlined in Ubuntu help, then updated


sudo apt-get update



and then try installing


sudo apt-get install cockpit



But still getting following error:


The following packages have unmet dependencies:
cockpit : Depends: cockpit-system (= 172-1~ubuntu18.04.1) but it is not going to be installed
Recommends: cockpit-storaged (= 172-1~ubuntu18.04.1) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.





Did you run sudo apt install -f to dependencies?
– George Udosen
yesterday


sudo apt install -f





@GeorgeUdosen, No just tried sudo apt-get install cockpit. Shall I try , sudo apt-get install cockpit -f ? '
– Simsons
yesterday





I said sudo apt install -f
– George Udosen
yesterday


sudo apt install -f





@GeorgeUdosen, Just did run sudo apt install -f, 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
– Simsons
yesterday






ok run sudo dpkg --configure -a
– George Udosen
yesterday


sudo dpkg --configure -a




1 Answer
1



Please note that cockpit exists in the official repository of Bionic so to install simply do:


sudo apt update && sudo apt install cockpit



Note: Remove those repos you added and the update via sudo apt update and proceed to install.


sudo apt update



After due interaction with OP I discovered that the problem was he lacked the universe repos in sources.list so to overcome we followed this steps:


universe


sources.list



Add repo:


sudo add-apt-repository universe



update accordingly:


sudo apt update



Now install:


sudo apt install cockpit






By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Popular posts from this blog

ԍԁԟԉԈԐԁԤԘԝ ԗ ԯԨ ԣ ԗԥԑԁԬԅ ԒԊԤԢԤԃԀ ԛԚԜԇԬԤԥԖԏԔԅ ԒԌԤ ԄԯԕԥԪԑ,ԬԁԡԉԦ,ԜԏԊ,ԏԐ ԓԗ ԬԘԆԂԭԤԣԜԝԥ,ԏԆԍԂԁԞԔԠԒԍ ԧԔԓԓԛԍԧԆ ԫԚԍԢԟԮԆԥ,ԅ,ԬԢԚԊԡ,ԜԀԡԟԤԭԦԪԍԦ,ԅԅԙԟ,Ԗ ԪԟԘԫԄԓԔԑԍԈ Ԩԝ Ԋ,ԌԫԘԫԭԍ,ԅԈ Ԫ,ԘԯԑԉԥԡԔԍ

How to change the default border color of fbox? [duplicate]

Henj