Replies: 3 comments 6 replies
-
I have a Rocky Linux 9 VM installed. Cockpit is installed by default and it isn't removed when I install and then remove Cockpit Composer. I haven't tried Rocky Linux 8.6 yet (as it's still downloading here). Here's the log for RL9: [garrett@localhost ~]$ rpm -qa | grep cockpit
cockpit-bridge-264.1-1.el9.x86_64
cockpit-ws-264.1-1.el9.x86_64
cockpit-packagekit-264.1-1.el9.noarch
cockpit-system-264.1-1.el9.noarch
cockpit-storaged-264.1-1.el9.noarch
cockpit-264.1-1.el9.x86_64
cockpit-podman-43-1.el9_0.noarch
[garrett@localhost ~]$ su
Password:
[root@localhost garrett]# dnf install cockpit-composer
Rocky Linux 9 - BaseOS 2.9 MB/s | 1.7 MB 00:00
Rocky Linux 9 - AppStream 5.0 MB/s | 6.0 MB 00:01
Rocky Linux 9 - Extras 10 kB/s | 6.6 kB 00:00
Dependencies resolved.
=====================================================================================================
Package Architecture Version Repository Size
=====================================================================================================
Installing:
cockpit-composer noarch 36-1.el9_0 appstream 2.1 M
Installing dependencies:
osbuild noarch 53.1-1.el9_0.rocky.0.1 appstream 109 k
osbuild-composer x86_64 46.3-1.el9_0.rocky.0.2 appstream 20 k
osbuild-composer-core x86_64 46.3-1.el9_0.rocky.0.2 appstream 5.5 M
osbuild-composer-dnf-json x86_64 46.3-1.el9_0.rocky.0.2 appstream 15 k
osbuild-composer-worker x86_64 46.3-1.el9_0.rocky.0.2 appstream 10 M
osbuild-luks2 noarch 53.1-1.el9_0.rocky.0.1 appstream 14 k
osbuild-lvm2 noarch 53.1-1.el9_0.rocky.0.1 appstream 14 k
osbuild-ostree noarch 53.1-1.el9_0.rocky.0.1 appstream 23 k
osbuild-selinux noarch 53.1-1.el9_0.rocky.0.1 appstream 25 k
python3-attrs noarch 20.3.0-7.el9 appstream 78 k
python3-jsonschema noarch 3.2.0-13.el9 appstream 107 k
python3-osbuild noarch 53.1-1.el9_0.rocky.0.1 appstream 142 k
python3-pyrsistent x86_64 0.17.3-8.el9 appstream 103 k
qemu-img x86_64 17:6.2.0-11.el9_0.3 appstream 2.2 M
rpm-ostree x86_64 2022.2-2.el9 appstream 2.8 M
rpm-ostree-libs x86_64 2022.2-2.el9 appstream 25 k
Transaction Summary
=====================================================================================================
Install 17 Packages
Total download size: 23 M
Installed size: 117 M
Is this ok [y/N]: y
Downloading Packages:
(1/17): python3-attrs-20.3.0-7.el9.noarch.rpm 218 kB/s | 78 kB 00:00
(2/17): python3-jsonschema-3.2.0-13.el9.noarch.rpm 263 kB/s | 107 kB 00:00
(3/17): python3-osbuild-53.1-1.el9_0.rocky.0.1.noarch.rpm 1.6 MB/s | 142 kB 00:00
(4/17): osbuild-selinux-53.1-1.el9_0.rocky.0.1.noarch.rpm 485 kB/s | 25 kB 00:00
(5/17): osbuild-ostree-53.1-1.el9_0.rocky.0.1.noarch.rpm 588 kB/s | 23 kB 00:00
(6/17): osbuild-lvm2-53.1-1.el9_0.rocky.0.1.noarch.rpm 461 kB/s | 14 kB 00:00
(7/17): osbuild-luks2-53.1-1.el9_0.rocky.0.1.noarch.rpm 207 kB/s | 14 kB 00:00
(8/17): osbuild-53.1-1.el9_0.rocky.0.1.noarch.rpm 1.3 MB/s | 109 kB 00:00
(9/17): osbuild-composer-dnf-json-46.3-1.el9_0.rocky.0.2.x86_64.rpm 199 kB/s | 15 kB 00:00
(10/17): cockpit-composer-36-1.el9_0.noarch.rpm 2.7 MB/s | 2.1 MB 00:00
(11/17): osbuild-composer-46.3-1.el9_0.rocky.0.2.x86_64.rpm 127 kB/s | 20 kB 00:00
(12/17): python3-pyrsistent-0.17.3-8.el9.x86_64.rpm 612 kB/s | 103 kB 00:00
(13/17): rpm-ostree-libs-2022.2-2.el9.x86_64.rpm 177 kB/s | 25 kB 00:00
(14/17): rpm-ostree-2022.2-2.el9.x86_64.rpm 3.7 MB/s | 2.8 MB 00:00
(15/17): osbuild-composer-core-46.3-1.el9_0.rocky.0.2.x86_64.rpm 4.1 MB/s | 5.5 MB 00:01
(16/17): osbuild-composer-worker-46.3-1.el9_0.rocky.0.2.x86_64.rpm 5.1 MB/s | 10 MB 00:01
(17/17): qemu-img-6.2.0-11.el9_0.3.x86_64.rpm 3.3 MB/s | 2.2 MB 00:00
-----------------------------------------------------------------------------------------------------
Total 8.0 MB/s | 23 MB 00:02
Rocky Linux 9 - AppStream 1.7 MB/s | 1.7 kB 00:00
Importing GPG key 0x350D275D:
Userid : "Rocky Enterprise Software Foundation - Release key 2022 <[email protected]>"
Fingerprint: 21CB 256A E16F C54C 6E65 2949 702D 426D 350D 275D
From : /etc/pki/rpm-gpg/RPM-GPG-KEY-Rocky-9
Is this ok [y/N]: y
Key imported successfully
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
Preparing : 1/1
Installing : qemu-img-17:6.2.0-11.el9_0.3.x86_64 1/17
Installing : osbuild-composer-dnf-json-46.3-1.el9_0.rocky.0.2.x86_64 2/17
Installing : osbuild-composer-core-46.3-1.el9_0.rocky.0.2.x86_64 3/17
Installing : rpm-ostree-libs-2022.2-2.el9.x86_64 4/17
Installing : rpm-ostree-2022.2-2.el9.x86_64 5/17
Installing : python3-pyrsistent-0.17.3-8.el9.x86_64 6/17
Installing : python3-attrs-20.3.0-7.el9.noarch 7/17
Installing : python3-jsonschema-3.2.0-13.el9.noarch 8/17
Installing : python3-osbuild-53.1-1.el9_0.rocky.0.1.noarch 9/17
Installing : osbuild-selinux-53.1-1.el9_0.rocky.0.1.noarch 10/17
Running scriptlet: osbuild-selinux-53.1-1.el9_0.rocky.0.1.noarch 10/17
Running scriptlet: osbuild-53.1-1.el9_0.rocky.0.1.noarch 11/17
Installing : osbuild-53.1-1.el9_0.rocky.0.1.noarch 11/17
Installing : osbuild-ostree-53.1-1.el9_0.rocky.0.1.noarch 12/17
Installing : osbuild-lvm2-53.1-1.el9_0.rocky.0.1.noarch 13/17
Installing : osbuild-luks2-53.1-1.el9_0.rocky.0.1.noarch 14/17
Installing : osbuild-composer-worker-46.3-1.el9_0.rocky.0.2.x86_64 15/17
Running scriptlet: osbuild-composer-worker-46.3-1.el9_0.rocky.0.2.x86_64 15/17
Installing : osbuild-composer-46.3-1.el9_0.rocky.0.2.x86_64 16/17
Running scriptlet: osbuild-composer-46.3-1.el9_0.rocky.0.2.x86_64 16/17
Installing : cockpit-composer-36-1.el9_0.noarch 17/17
Running scriptlet: osbuild-selinux-53.1-1.el9_0.rocky.0.1.noarch 17/17
Running scriptlet: cockpit-composer-36-1.el9_0.noarch 17/17
Creating group 'weldr' with GID 977.
Creating group '_osbuild-composer' with GID 976.
Creating user '_osbuild-composer' (OSBuild Composer user) with UID 976 and GID 976.
Verifying : python3-jsonschema-3.2.0-13.el9.noarch 1/17
Verifying : cockpit-composer-36-1.el9_0.noarch 2/17
Verifying : python3-attrs-20.3.0-7.el9.noarch 3/17
Verifying : python3-osbuild-53.1-1.el9_0.rocky.0.1.noarch 4/17
Verifying : osbuild-selinux-53.1-1.el9_0.rocky.0.1.noarch 5/17
Verifying : osbuild-ostree-53.1-1.el9_0.rocky.0.1.noarch 6/17
Verifying : osbuild-lvm2-53.1-1.el9_0.rocky.0.1.noarch 7/17
Verifying : osbuild-luks2-53.1-1.el9_0.rocky.0.1.noarch 8/17
Verifying : osbuild-53.1-1.el9_0.rocky.0.1.noarch 9/17
Verifying : osbuild-composer-worker-46.3-1.el9_0.rocky.0.2.x86_64 10/17
Verifying : osbuild-composer-dnf-json-46.3-1.el9_0.rocky.0.2.x86_64 11/17
Verifying : osbuild-composer-core-46.3-1.el9_0.rocky.0.2.x86_64 12/17
Verifying : osbuild-composer-46.3-1.el9_0.rocky.0.2.x86_64 13/17
Verifying : python3-pyrsistent-0.17.3-8.el9.x86_64 14/17
Verifying : rpm-ostree-libs-2022.2-2.el9.x86_64 15/17
Verifying : rpm-ostree-2022.2-2.el9.x86_64 16/17
Verifying : qemu-img-17:6.2.0-11.el9_0.3.x86_64 17/17
Installed:
cockpit-composer-36-1.el9_0.noarch
osbuild-53.1-1.el9_0.rocky.0.1.noarch
osbuild-composer-46.3-1.el9_0.rocky.0.2.x86_64
osbuild-composer-core-46.3-1.el9_0.rocky.0.2.x86_64
osbuild-composer-dnf-json-46.3-1.el9_0.rocky.0.2.x86_64
osbuild-composer-worker-46.3-1.el9_0.rocky.0.2.x86_64
osbuild-luks2-53.1-1.el9_0.rocky.0.1.noarch
osbuild-lvm2-53.1-1.el9_0.rocky.0.1.noarch
osbuild-ostree-53.1-1.el9_0.rocky.0.1.noarch
osbuild-selinux-53.1-1.el9_0.rocky.0.1.noarch
python3-attrs-20.3.0-7.el9.noarch
python3-jsonschema-3.2.0-13.el9.noarch
python3-osbuild-53.1-1.el9_0.rocky.0.1.noarch
python3-pyrsistent-0.17.3-8.el9.x86_64
qemu-img-17:6.2.0-11.el9_0.3.x86_64
rpm-ostree-2022.2-2.el9.x86_64
rpm-ostree-libs-2022.2-2.el9.x86_64
Complete!
[root@localhost garrett]# dnf remove cockpit-composer
Dependencies resolved.
=====================================================================================================
Package Architecture Version Repository Size
=====================================================================================================
Removing:
cockpit-composer noarch 36-1.el9_0 @appstream 14 M
Removing unused dependencies:
osbuild noarch 53.1-1.el9_0.rocky.0.1 @appstream 422 k
osbuild-composer x86_64 46.3-1.el9_0.rocky.0.2 @appstream 17 k
osbuild-composer-core x86_64 46.3-1.el9_0.rocky.0.2 @appstream 22 M
osbuild-composer-dnf-json x86_64 46.3-1.el9_0.rocky.0.2 @appstream 16 k
osbuild-composer-worker x86_64 46.3-1.el9_0.rocky.0.2 @appstream 58 M
osbuild-luks2 noarch 53.1-1.el9_0.rocky.0.1 @appstream 12 k
osbuild-lvm2 noarch 53.1-1.el9_0.rocky.0.1 @appstream 11 k
osbuild-ostree noarch 53.1-1.el9_0.rocky.0.1 @appstream 58 k
osbuild-selinux noarch 53.1-1.el9_0.rocky.0.1 @appstream 14 k
python3-attrs noarch 20.3.0-7.el9 @appstream 275 k
python3-jsonschema noarch 3.2.0-13.el9 @appstream 414 k
python3-osbuild noarch 53.1-1.el9_0.rocky.0.1 @appstream 487 k
python3-pyrsistent x86_64 0.17.3-8.el9 @appstream 368 k
qemu-img x86_64 17:6.2.0-11.el9_0.3 @appstream 12 M
rpm-ostree x86_64 2022.2-2.el9 @appstream 8.6 M
rpm-ostree-libs x86_64 2022.2-2.el9 @appstream 34 k
Transaction Summary
=====================================================================================================
Remove 17 Packages
Freed space: 117 M
Is this ok [y/N]: y
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
Preparing : 1/1
Erasing : cockpit-composer-36-1.el9_0.noarch 1/17
Running scriptlet: osbuild-composer-46.3-1.el9_0.rocky.0.2.x86_64 2/17
Erasing : osbuild-composer-46.3-1.el9_0.rocky.0.2.x86_64 2/17
Running scriptlet: osbuild-composer-46.3-1.el9_0.rocky.0.2.x86_64 2/17
Running scriptlet: osbuild-composer-worker-46.3-1.el9_0.rocky.0.2.x86_64 3/17
Erasing : osbuild-composer-worker-46.3-1.el9_0.rocky.0.2.x86_64 3/17
Running scriptlet: osbuild-composer-worker-46.3-1.el9_0.rocky.0.2.x86_64 3/17
Erasing : osbuild-ostree-53.1-1.el9_0.rocky.0.1.noarch 4/17
Erasing : osbuild-luks2-53.1-1.el9_0.rocky.0.1.noarch 5/17
Erasing : osbuild-lvm2-53.1-1.el9_0.rocky.0.1.noarch 6/17
Erasing : osbuild-53.1-1.el9_0.rocky.0.1.noarch 7/17
Erasing : python3-osbuild-53.1-1.el9_0.rocky.0.1.noarch 8/17
Erasing : python3-jsonschema-3.2.0-13.el9.noarch 9/17
Erasing : rpm-ostree-2022.2-2.el9.x86_64 10/17
Erasing : osbuild-composer-core-46.3-1.el9_0.rocky.0.2.x86_64 11/17
Erasing : osbuild-composer-dnf-json-46.3-1.el9_0.rocky.0.2.x86_64 12/17
Erasing : python3-attrs-20.3.0-7.el9.noarch 13/17
Erasing : osbuild-selinux-53.1-1.el9_0.rocky.0.1.noarch 14/17
Running scriptlet: osbuild-selinux-53.1-1.el9_0.rocky.0.1.noarch 14/17
Erasing : rpm-ostree-libs-2022.2-2.el9.x86_64 15/17
Erasing : python3-pyrsistent-0.17.3-8.el9.x86_64 16/17
Erasing : qemu-img-17:6.2.0-11.el9_0.3.x86_64 17/17
Running scriptlet: qemu-img-17:6.2.0-11.el9_0.3.x86_64 17/17
Verifying : cockpit-composer-36-1.el9_0.noarch 1/17
Verifying : osbuild-53.1-1.el9_0.rocky.0.1.noarch 2/17
Verifying : osbuild-composer-46.3-1.el9_0.rocky.0.2.x86_64 3/17
Verifying : osbuild-composer-core-46.3-1.el9_0.rocky.0.2.x86_64 4/17
Verifying : osbuild-composer-dnf-json-46.3-1.el9_0.rocky.0.2.x86_64 5/17
Verifying : osbuild-composer-worker-46.3-1.el9_0.rocky.0.2.x86_64 6/17
Verifying : osbuild-luks2-53.1-1.el9_0.rocky.0.1.noarch 7/17
Verifying : osbuild-lvm2-53.1-1.el9_0.rocky.0.1.noarch 8/17
Verifying : osbuild-ostree-53.1-1.el9_0.rocky.0.1.noarch 9/17
Verifying : osbuild-selinux-53.1-1.el9_0.rocky.0.1.noarch 10/17
Verifying : python3-attrs-20.3.0-7.el9.noarch 11/17
Verifying : python3-jsonschema-3.2.0-13.el9.noarch 12/17
Verifying : python3-osbuild-53.1-1.el9_0.rocky.0.1.noarch 13/17
Verifying : python3-pyrsistent-0.17.3-8.el9.x86_64 14/17
Verifying : qemu-img-17:6.2.0-11.el9_0.3.x86_64 15/17
Verifying : rpm-ostree-2022.2-2.el9.x86_64 16/17
Verifying : rpm-ostree-libs-2022.2-2.el9.x86_64 17/17
Removed:
cockpit-composer-36-1.el9_0.noarch
osbuild-53.1-1.el9_0.rocky.0.1.noarch
osbuild-composer-46.3-1.el9_0.rocky.0.2.x86_64
osbuild-composer-core-46.3-1.el9_0.rocky.0.2.x86_64
osbuild-composer-dnf-json-46.3-1.el9_0.rocky.0.2.x86_64
osbuild-composer-worker-46.3-1.el9_0.rocky.0.2.x86_64
osbuild-luks2-53.1-1.el9_0.rocky.0.1.noarch
osbuild-lvm2-53.1-1.el9_0.rocky.0.1.noarch
osbuild-ostree-53.1-1.el9_0.rocky.0.1.noarch
osbuild-selinux-53.1-1.el9_0.rocky.0.1.noarch
python3-attrs-20.3.0-7.el9.noarch
python3-jsonschema-3.2.0-13.el9.noarch
python3-osbuild-53.1-1.el9_0.rocky.0.1.noarch
python3-pyrsistent-0.17.3-8.el9.x86_64
qemu-img-17:6.2.0-11.el9_0.3.x86_64
rpm-ostree-2022.2-2.el9.x86_64
rpm-ostree-libs-2022.2-2.el9.x86_64
Complete!
[root@localhost garrett]# |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
That's just how dnf works -- if you don't explicitly install "cockpit", it is installed as a dependency of cockpit-composer, so dnf will clean it up again when you remove it. This is normally the right thing to do, and it is also the right thing here. If you want to have cockpit on its own right, you need to explicitly install it. |
Beta Was this translation helpful? Give feedback.
-
I installed cockpit-composer to check it out and now I want to remove it. But if I do, cockpit will be uninstalled?
Under Rocky Linux 8.6.
Is this some bug or it's on purpose? If it's on purpose, why? I'm confused.
Thanks for your help.
Beta Was this translation helpful? Give feedback.
All reactions