cockpit-project / cockpit

Cockpit is a web-based graphical interface for servers.
http://www.cockpit-project.org/
GNU Lesser General Public License v2.1
11.35k stars 1.13k forks source link

Updating to Cockpit 329 removes cockpit-pcp #21344

Open martinpitt opened 3 days ago

martinpitt commented 3 days ago

Discussed in https://github.com/cockpit-project/cockpit/discussions/21343

Originally posted by **compbl** November 27, 2024 When I attempt to update to Cockpit 329 via the software updates page I am receiving an error "The following packages have unmet dependencies: cockpit-bridge: Conflicts: cockpit-pcp" I am assuming I have to remove cockpit-pcp, but cannot find how to do that. Any help would be appceiated. Running on Ubuntu 22.04.5 LTS Thanks
martinpitt commented 3 days ago

I'm starting from the basics, booted a clean 22.04 machine with some cockpit packages installed:

# dpkg -l | grep ^ii.*cockpit
ii  cockpit                                          264-1ubuntu0.22.04.1                    all          Web Console for Linux servers
ii  cockpit-bridge                                   264-1ubuntu0.22.04.1                    amd64        Cockpit bridge server-side component
ii  cockpit-pcp                                      264-1ubuntu0.22.04.1                    amd64        Cockpit PCP integration
ii  cockpit-system                                   264-1ubuntu0.22.04.1                    all          Cockpit admin interface for a system
ii  cockpit-ws             

and apt itself can do it fine:

 apt upgrade -t jammy-backports cockpit
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
Get more security updates through Ubuntu Pro with 'esm-apps' enabled:
  redis-server redis-tools redis
Learn more about Ubuntu Pro at https://ubuntu.com/pro
The following packages will be REMOVED:
  cockpit-pcp
The following packages will be upgraded:
  cockpit cockpit-bridge cockpit-system cockpit-ws dmidecode libdebuginfod-common libdebuginfod1 libdw1 libelf1 libsoup-gnome2.4-1
  libsoup2.4-1 libsoup2.4-common needrestart

Setting up your scenario (older backport) is a bit more effort, I'll do that later.

emaayan commented 2 days ago

so do i need to remove cokcpit-pcp fresh installation ? just do apt install cockpit cockpit-sos and that's it? cause right now i don't get pcp

martinpitt commented 1 day ago

@emaayan Not sure what you mean, but with recent versions there is no cockpit-pcp, right. If you want historic metrics, install python3-pcp. The metrics page will also do this for you with on-demand installation.

emaayan commented 1 day ago

@emaayan Not sure what you mean, but with recent versions there is no cockpit-pcp, right. If you want historic metrics, install python3-pcp. The metrics page will also do this for you with on-demand installation.

well i don't install cockpit-pcp i get a banner in the performance tab that asks me if i want to install it.

martinpitt commented 1 day ago

@emaayan Can you please give me the output of dpkg -l '*cockpit*'?

emaayan commented 1 day ago

[image: image.png]

On Fri, Nov 29, 2024 at 9:19 AM Martin Pitt @.***> wrote:

@emaayan https://github.com/emaayan Can you please give me the output of dpkg -l 'cockpit'?

— Reply to this email directly, view it on GitHub https://github.com/cockpit-project/cockpit/issues/21344#issuecomment-2507222379, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADGP5MDYW4JJMKXSLBM3PIT2DAIR3AVCNFSM6AAAAABSTJJLMSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKMBXGIZDEMZXHE . You are receiving this because you were mentioned.Message ID: @.***>

emaayan commented 1 day ago

ok i think i see the problem..

On Fri, Nov 29, 2024 at 3:27 PM Elhanan Maayan @.***> wrote:

[image: image.png]

On Fri, Nov 29, 2024 at 9:19 AM Martin Pitt @.***> wrote:

@emaayan https://github.com/emaayan Can you please give me the output of dpkg -l 'cockpit'?

— Reply to this email directly, view it on GitHub https://github.com/cockpit-project/cockpit/issues/21344#issuecomment-2507222379, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADGP5MDYW4JJMKXSLBM3PIT2DAIR3AVCNFSM6AAAAABSTJJLMSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKMBXGIZDEMZXHE . You are receiving this because you were mentioned.Message ID: @.***>

martinpitt commented 1 day ago

Heh, ok -- attaching images via email is apparently not working :sweat_smile:

emaayan commented 1 day ago

good it would be less embarrassing cause at the time i didn't catch you previous reply about the cockpit itself not being pinned so now i have cockpit 14 and the rest of the cockpits at 3.29.1

emaayan commented 1 day ago

@martinpitt still a problem, and missing pcp image

image