upgrade to 6 | curl hold back

vikozo

Renowned Member
May 4, 2014
781
30
93
suisse
www.wombat.ch
Hallo

after upgrade to Proxmox 6 newest version i still have two package hold back

curl
libcurl4

is this a bug or a need/feature ?

have a nice day
vinc
 
hi,
there might be a misconfiguration in your apt lists.
 
Hello @oguz thanks for your feedback.
it has been kept back.... i don't know why?


# apt update
Hit:1 http://packages.icinga.com/debian icinga-buster InRelease
Hit:2 http://security.debian.org buster/updates InRelease
Hit:3 http://ftp.ch.debian.org/debian buster InRelease
Hit:4 http://download.proxmox.com/debian/pve buster InRelease
Hit:5 http://download.proxmox.com/debian/corosync-3 stretch InRelease
Reading package lists... Done
Building dependency tree
Reading state information... Done
1 package can be upgraded. Run 'apt list --upgradable' to see it.


# apt list --upgradable -a
Listing... Done
curl/stable 7.64.0-4 amd64 [upgradable from: 7.52.1-5+deb9u9]
curl/now 7.52.1-5+deb9u9 amd64 [installed,upgradable to: 7.64.0-4]

# apt upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages have been kept back:
curl
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
 
you probably want to do an apt dist-upgrade instead of an apt upgrade. it's never let me down and it's also what folks more knowledgeable than me will tell you to do. :)

Upgrade ensures that packages aren't removed or if they cause the upgrade of another package won't be upgraded.

dist-upgrade will ensure that packages will get upgraded but perhaps at the cost (risk) of removing others.
 
You know, I think I ran into this problem as well. It’s been a while. Looking back through my apt history and it looks like I did have this problem.

My logs indicate that I must have removed the curl package and then installed the curl package after.

while I do see the apt install curl I don’t see where I removed it, but I must have.
 
# apt update
Hit:1 http://packages.icinga.com/debian icinga-buster InRelease
Hit:2 http://security.debian.org buster/updates InRelease
Hit:3 http://ftp.ch.debian.org/debian buster InRelease
Hit:4 http://download.proxmox.com/debian/pve buster InRelease
Hit:5 http://download.proxmox.com/debian/corosync-3 stretch InRelease
Reading package lists... Done

i don't think that's the cause of the problem here, but you should remove the corosync-3 stretch repository in any case.

to solve the issue at hand, you can probably just do apt install curl like the others have suggested.
 
did you try to install them manually like suggested in the previous post?
 
@oguz das habe ich gemacht ja

# apt install -f curl
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

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.
 
try both at the same time: apt install -f curl libcurl4
 
# apt install -f curl libcurl4
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
ceph-fuse corosync criu dconf-gsettings-backend dconf-service ebtables faketime fonts-font-awesome fonts-glyphicons-halflings genisoimage
glib-networking glib-networking-common glib-networking-services gsettings-desktop-schemas gstreamer1.0-libav gstreamer1.0-plugins-base
gstreamer1.0-plugins-good gstreamer1.0-x i965-va-driver intel-media-va-driver libaa1 libaacs0 libaom0 libappconfig-perl libass9 libavc1394-0
libavcodec58 libavfilter7 libavformat58 libavutil56 libbabeltrace-ctf1 libbabeltrace1 libbdplus0 libbluray2 libbs2b0 libcairo-gobject2
libcdparanoia0 libcephfs2 libcfg7 libchromaprint1 libcmap4 libcodec2-0.8.1 libcorosync-common4 libcpg4 libcrystalhd3 libdconf1 libdrm-amdgpu1
libdrm-common libdrm-intel1 libdrm-nouveau2 libdrm-radeon1 libdrm2 libdv4 libdw1 libfaketime libfftw3-double3 libflite1 libgl1 libgl1-mesa-dri
libglapi-mesa libglvnd0 libglx-mesa0 libglx0 libgme0 libgnutlsxx28 libgomp1 libgsm1 libgstreamer-plugins-base1.0-0 libgstreamer1.0-0
libgudev-1.0-0 libiec61883-0 libigdgmm5 libiscsi7 libjack-jackd2-0 libjemalloc2 libjs-bootstrap libjs-extjs libjs-sphinxdoc libjs-underscore
libknet1 libleveldb1v5 liblilv-0-0 libllvm7 libmp3lame0 libmpg123-0 libmysofa0 libnet1 libnorm1 libnuma1 libopenjp2-7 libopenmpt0 libopus0
liborc-0.4-0 libpciaccess0 libpgm-5.2-0 libpostproc55 libprotobuf17 libproxy1v5 libpve-access-control libpve-apiclient-perl
libpve-http-server-perl libpve-u2f-server-perl libquorum5 librados2-perl libradosstriper1 libraw1394-11 librubberband2 libsamplerate0
libserd-0-0 libshine3 libshout3 libsnappy1v5 libsodium23 libsord-0-0 libsoup2.4-1 libsoxr0 libspeex1 libspice-server1 libsratom-0-0
libssh-gcrypt-4 libssl1.0.2 libstatgrab10 libswresample3 libswscale5 libtag1v5 libtag1v5-vanilla libtemplate-perl libtheora0 libtwolame0
libu2f-server0 libv4l-0 libv4lconvert0 libva-drm2 libva-x11-2 libva2 libvdpau-va-gl1 libvdpau1 libvidstab1.1 libvisual-0.4-0 libvorbisfile3
libvotequorum8 libvpx5 libwavpack1 libwebpmux3 libx264-155 libx265-165 libxcb-dri2-0 libxcb-dri3-0 libxcb-glx0 libxcb-present0 libxcb-sync1
libxcb-xfixes0 libxshmfence1 libxv1 libxvidcore4 libxxf86vm1 libzmq5 libzvbi-common libzvbi0 lxc-pve lxcfs mesa-va-drivers mesa-vdpau-drivers
numactl proxmox-mini-journalreader proxmox-widget-toolkit pve-cluster pve-docs pve-edk2-firmware pve-firewall pve-ha-manager pve-i18n
pve-kernel-4.15.18-21-pve pve-kernel-helper pve-xtermjs python-cephfs python-configparser python-future python-ipaddr python-prettytable
python-protobuf python-rados python-rbd uidmap va-driver-all vdpau-driver-all
Use 'apt autoremove' to remove them.
The following packages will be REMOVED:
ceph-common libcurl3 libpve-guest-common-perl libpve-storage-perl librgw2 proxmox-ve pve-container pve-manager pve-qemu-kvm python-ceph
python-rgw qemu-server spiceterm
The following NEW packages will be installed:
libcurl4
The following packages will be upgraded:
curl
1 upgraded, 1 newly installed, 13 to remove and 0 not upgraded.
Need to get 0 B/596 kB of archives.
After this operation, 120 MB disk space will be freed.
Do you want to continue? [Y/n]
 
and y will be
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 your 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
 
there seems to be package conflicts in your system, that's why the upgrade isn't working as expected. however i cannot reproduce this issue here, so it definitely has to do with something you did before. maybe a manually installed package, or something like that?
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!