I'm trying to install curl on my host because for some reason it's not installed, and I'm running into issues....
pveversion shows:
pve-manager/6.0-15/52b91481 (running kernel: 5.0.21-5-pve)
Attempt to run curl shows: curl
-bash: curl: command not found
Attempt to install curl: apt install curl
The following packages have unmet dependencies:
curl : Depends: libcurl4 (= 7.64.0-4) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
Attempt to fix broken packages: apt-get update --fix-missing
Hit:1 http://security.debian.org buster/updates InRelease
Hit:2 http://download.proxmox.com/debian/pve buster InRelease
Hit:3 http://download.proxmox.com/debian/ceph-luminous stretch InRelease
Hit:4 http://ftp.debian.org/debian buster InRelease
Hit:5 http://ftp.debian.org/debian buster-updates InRelease
Reading package lists... Done
Attempt to install libcurl4 dependency: apt install libcurl 4
The following packages were automatically installed and are no longer required:
[Long list of different packages]
The following packages will be REMOVED:
ceph ceph-base ceph-common ceph-mds ceph-mgr ceph-mon ceph-osd libcurl3
libpve-guest-common-perl libpve-storage-perl librgw2 proxmox-ve
pve-container pve-ha-manager pve-manager pve-qemu-kvm python-rgw
qemu-server spiceterm
The following NEW packages will be installed:
libcurl4
0 upgraded, 1 newly installed, 19 to remove and 0 not upgraded.
Need to get 0 B/332 kB of archives.
After this operation, 456 MB disk space will be freed.
Do you want to continue? [Y/n] Y
W: (pve-apt-hook) !! WARNING !!
W: (pve-apt-hook) You are attempting to remove the meta-package 'proxmox-ve'!
W: (pve-apt-hook)
W: (pve-apt-hook) If you really want to permanently remove 'proxmox-ve' from
your system, run the following command
W: (pve-apt-hook) touch '/please-remove-proxmox-ve'
W: (pve-apt-hook) run apt purge proxmox-ve to remove the meta-package
W: (pve-apt-hook) and repeat your apt invocation.
W: (pve-apt-hook)
W: (pve-apt-hook) If you are unsure why 'proxmox-ve' would be removed, please
verify
W: (pve-apt-hook) - your APT repository settings
W: (pve-apt-hook) - that you are using 'apt full-upgrade' to upgrade yo
ur system
E: Sub-process /usr/share/proxmox-ve/pve-apt-hook returned an error code (1)
E: Failure running script /usr/share/proxmox-ve/pve-apt-hook/
I've never really seen this type of issue before. Some research shows that this issue occurs when trying to install a package that's already part of proxmox-ve package and conflicts so in order to install it tries to remove proxmox. In this case I still can't use curl..... What can I do about this?
pveversion shows:
pve-manager/6.0-15/52b91481 (running kernel: 5.0.21-5-pve)
Attempt to run curl shows: curl
-bash: curl: command not found
Attempt to install curl: apt install curl
The following packages have unmet dependencies:
curl : Depends: libcurl4 (= 7.64.0-4) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
Attempt to fix broken packages: apt-get update --fix-missing
Hit:1 http://security.debian.org buster/updates InRelease
Hit:2 http://download.proxmox.com/debian/pve buster InRelease
Hit:3 http://download.proxmox.com/debian/ceph-luminous stretch InRelease
Hit:4 http://ftp.debian.org/debian buster InRelease
Hit:5 http://ftp.debian.org/debian buster-updates InRelease
Reading package lists... Done
Attempt to install libcurl4 dependency: apt install libcurl 4
The following packages were automatically installed and are no longer required:
[Long list of different packages]
The following packages will be REMOVED:
ceph ceph-base ceph-common ceph-mds ceph-mgr ceph-mon ceph-osd libcurl3
libpve-guest-common-perl libpve-storage-perl librgw2 proxmox-ve
pve-container pve-ha-manager pve-manager pve-qemu-kvm python-rgw
qemu-server spiceterm
The following NEW packages will be installed:
libcurl4
0 upgraded, 1 newly installed, 19 to remove and 0 not upgraded.
Need to get 0 B/332 kB of archives.
After this operation, 456 MB disk space will be freed.
Do you want to continue? [Y/n] Y
W: (pve-apt-hook) !! WARNING !!
W: (pve-apt-hook) You are attempting to remove the meta-package 'proxmox-ve'!
W: (pve-apt-hook)
W: (pve-apt-hook) If you really want to permanently remove 'proxmox-ve' from
your system, run the following command
W: (pve-apt-hook) touch '/please-remove-proxmox-ve'
W: (pve-apt-hook) run apt purge proxmox-ve to remove the meta-package
W: (pve-apt-hook) and repeat your apt invocation.
W: (pve-apt-hook)
W: (pve-apt-hook) If you are unsure why 'proxmox-ve' would be removed, please
verify
W: (pve-apt-hook) - your APT repository settings
W: (pve-apt-hook) - that you are using 'apt full-upgrade' to upgrade yo
ur system
E: Sub-process /usr/share/proxmox-ve/pve-apt-hook returned an error code (1)
E: Failure running script /usr/share/proxmox-ve/pve-apt-hook/
I've never really seen this type of issue before. Some research shows that this issue occurs when trying to install a package that's already part of proxmox-ve package and conflicts so in order to install it tries to remove proxmox. In this case I still can't use curl..... What can I do about this?