[SOLVED] Apt repository dependency problem (watchdog)

anon123

New Member
Jul 10, 2024
2
0
1
I got some random kernel hangs lately when testing software in LXC containers, this made me want to enable the built-in Intel watchdog in the EFI. For this I need a software keeper which is provided by the watchdog package. But when I try to install the package from the default Debian Bookworm repository apt tries to remove PVE packages.

This install was clean Debian with the PVE repo added afterwards according to the wiki instructions. The package installs normally on a clean Bookworm install. Is there anyway I can further troubleshoot this or is there a problem with the Proxmox repository?

Code:
root@pve:~# apt show watchdog
Package: watchdog
Version: 5.16-1+b2
Priority: optional
Section: admin
Source: watchdog (5.16-1)
Maintainer: Michael Meskes <meskes@debian.org>
Installed-Size: 234 kB
Depends: libc6 (>= 2.34), debconf (>= 0.5) | debconf-2.0, makedev (>= 2.3.1-24) | udev, lsb-base (>= 3.2-14)
Homepage: http://watchdog.sourceforge.net
Tag: interface::daemon, role::program, use::monitor
Download-Size: 69.7 kB
APT-Sources: http://ftp.debian.org/debian bookworm/main amd64 Packages
Description: system health checker and software/hardware watchdog handler
 The watchdog program writes to /dev/watchdog every ten seconds. If
 the device is opened but not written to within a minute, the machine
 will reboot. This feature is available when the kernel is built with
 "software watchdog" support (standard in Debian kernels) or if the
 machine is equipped with a hardware watchdog (in which case this
 package can also be used to "pet" it, resetting its timer).
 .
 The kernel software watchdog's ability to reboot will depend on the
 state of the machine and interrupts.
 .
 The watchdog tool itself runs several health checks and acts
 appropriately if the system is not in good shape.

Code:
root@pve:~# apt install watchdog
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages were automatically installed and are no longer required:
  alsa-topology-conf alsa-ucm-conf attr ceph-common ceph-fuse criu cstream dconf-gsettings-backend dconf-service dtach ebtables faketime fonts-font-awesome
  fonts-font-logos fonts-glyphicons-halflings glib-networking glib-networking-common glib-networking-services glusterfs-client glusterfs-common
  gsettings-desktop-schemas gstreamer1.0-libav gstreamer1.0-plugins-base gstreamer1.0-plugins-good gstreamer1.0-plugins-ugly gstreamer1.0-x i965-va-driver
  ibverbs-providers intel-media-va-driver ipset javascript-common liba52-0.7.4 libaa1 libaacs0 libabsl20220623 libacl1-dev libanyevent-http-perl libaom3
  libappconfig-perl libapt-pkg-perl libasound2 libasound2-data libass9 libasyncns0 libattr1-dev libauthen-pam-perl libavc1394-0 libavcodec59 libavfilter8
  libavformat59 libavif15 libavutil57 libbabeltrace1 libbdplus0 libbluray2 libboost-context1.74.0 libboost-filesystem1.74.0 libboost-iostreams1.74.0
  libboost-program-options1.74.0 libboost-thread1.74.0 libbs2b0 libc-dev-bin libc-devtools libc6-dev libcaca0 libcairo-gobject2 libcdio19 libcdparanoia0
  libcephfs2 libchromaprint1 libcjson1 libcodec2-1.0 libcrypt-dev libdav1d6 libdconf1 libde265-0 libdigest-bubblebabble-perl libdv4 libdvdread8 libdw1
  libepoxy0 libfaketime libfdt1 libfile-chdir-perl libfile-readbackwards-perl libflac12 libflite1 libfmt9 libfuse3-3 libgav1-1 libgd3 libgdk-pixbuf-2.0-0
  libgdk-pixbuf2.0-bin libgdk-pixbuf2.0-common libgfapi0 libgfchangelog0 libgfdb0 libgfortran5 libgfrpc0 libgfxdr0 libglusterd0 libglusterfs-dev libglusterfs0
  libgme0 libgnutlsxx30 libgomp1 libgoogle-perftools4 libgsm1 libgstreamer-plugins-base1.0-0 libgstreamer1.0-0 libgudev-1.0-0 libheif1 libhwy1 libibverbs1
  libiec61883-0 libigdgmm12 libinih1 libio-multiplex-perl libipset13 libiscsi7 libjack-jackd2-0 libjs-bootstrap libjs-extjs libjs-jquery libjs-qrcodejs
  libjs-sencha-touch libjson-glib-1.0-0 libjson-glib-1.0-common libjxl0.7 liblapack3 liblcms2-2 liblilv-0-0 libmbedcrypto7 libmfx1 libmp3lame0 libmpeg2-4
  libmpg123-0 libmysofa1 libnet-dns-perl libnet-dns-sec-perl libnetfilter-log1 libnorm1 libnsl-dev liboath0 libogg0 libopencore-amrnb0 libopencore-amrwb0
  libopenjp2-7 libopenmpt0 libopus0 liborc-0.4-0 libperl4-corelibs-perl libpgm-5.3-0 libplacebo208 libpocketsphinx3 libposix-strptime-perl libpostproc56
  libprotobuf32 libproxmox-backup-qemu0 libproxy1v5 libpulse0 libpve-access-control libpve-apiclient-perl libpve-cluster-api-perl libpve-cluster-perl
  libpve-guest-common-perl libpve-http-server-perl libpve-notify-perl libpve-storage-perl libpve-u2f-server-perl libquadmath0 librabbitmq4 librados2
  librados2-perl libradosstriper1 librav1e0 libraw1394-11 librbd1 librdmacm1 librist4 librrds-perl librsvg2-2 librsvg2-common librubberband2 libsamplerate0
  libserd-0-0 libshine3 libshout3 libsidplay1v5 libslirp0 libsndfile1 libsodium23 libsord-0-0 libsoup2.4-1 libsoup2.4-common libsoxr0 libspeex1 libsphinxbase3
  libspice-server1 libsratom-0-0 libsrt1.5-gnutls libsubid4 libsvtav1enc1 libswresample4 libswscale6 libtag1v5 libtag1v5-vanilla libtcmalloc-minimal4
  libtemplate-perl libtheora0 libtirpc-dev libtpms0 libtwolame0 libu2f-server0 libudfread0 libunwind8 liburcu8 liburing2 libusbredirparser1 libuuid-perl
  libv4l-0 libv4lconvert0 libva-drm2 libva-x11-2 libva2 libvdpau-va-gl1 libvdpau1 libvidstab1.1 libvirglrenderer1 libvisual-0.4-0 libvorbis0a libvorbisenc2
  libvorbisfile3 libvpx7 libvulkan1 libwavpack1 libwebpmux3 libx264-164 libx265-199 libxdamage1 libxi6 libxml-libxml-perl libxpm4 libxv1 libxvidcore4 libyuv0
  libzimg2 libzmq5 libzvbi-common libzvbi0 linux-libc-dev lxc-pve lxcfs lzop manpages-dev mesa-va-drivers mesa-vdpau-drivers mesa-vulkan-drivers novnc-pve
  numactl ocl-icd-libopencl1 pocketsphinx-en-us proxmox-archive-keyring proxmox-backup-client proxmox-backup-file-restore proxmox-backup-restore-image
  proxmox-default-kernel proxmox-firewall proxmox-kernel-6.5.11-8-pve-signed proxmox-kernel-helper proxmox-mail-forward proxmox-mini-journalreader
  proxmox-offline-mirror-docs proxmox-offline-mirror-helper proxmox-termproxy proxmox-websocket-tunnel proxmox-widget-toolkit pve-docs pve-edk2-firmware
  pve-edk2-firmware-legacy pve-edk2-firmware-ovmf pve-esxi-import-tools pve-firewall pve-i18n pve-lxc-syscalld pve-qemu-kvm pve-xtermjs python3-ceph-argparse
  python3-ceph-common python3-cephfs python3-jwt python3-prettytable python3-protobuf python3-pyvmomi python3-rados python3-rbd python3-wcwidth python3-yaml
  qrencode rpcsvc-proto rrdcached rsync socat spiceterm swtpm swtpm-libs swtpm-tools uidmap va-driver-all vdpau-driver-all vncterm xfsprogs
Use 'apt autoremove' to remove them.
The following packages will be REMOVED:
  proxmox-ve pve-container pve-ha-manager pve-manager qemu-server
The following NEW packages will be installed:
  watchdog
0 upgraded, 1 newly installed, 5 to remove and 1 not upgraded.
Need to get 69.7 kB of archives.
After this operation, 4,351 kB disk space will be freed.
Do you want to continue? [Y/n] ^C

Code:
root@pve:~# cat /etc/apt/sources.list
deb http://ftp.debian.org/debian bookworm main contrib
deb http://ftp.debian.org/debian bookworm-updates main contrib
deb http://security.debian.org/debian-security bookworm-security main contrib
deb http://download.proxmox.com/debian/pve bookworm pve-no-subscription

Code:
root@pve:~# apt satisfy watchdog
Reading package lists... Done
Building dependency tree... Done
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:
 pve-ha-manager : Conflicts: watchdog but 5.16-1+b2 is to be installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
 
Interesting, I searched Google, Duckduckgo and the forum for related posts but didn't find any. Probably because I was searching Apt related problems instead of guides.

Thanks for the reference.
 
Last edited:

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!