Hello,
I’m trying to make sure I am fully up to date. After running apt update && apt upgrade, this is what I get. It seems to be running into an issue with fail2ban, and that there is a lot of other stuff that can be upgraded? I know just enough about this side of things to (usually) get by, so any help or advice would be appreciate.
I did search and found an older topic that was somewhat related but did not offer any clear solution.
root@debian12:~# apt update && apt upgrade
Hit:1 http://security.debian.org/debian-security bookworm-security InRelease
Hit:2 http://ftp.debian.org/debian stable InRelease
Hit:3 http://deb.freepbx.org/freepbx17-prod bookworm InRelease
Hit:4 http://ftp.us.debian.org/debian bookworm InRelease
Hit:5 http://ftp.us.debian.org/debian bookworm-updates InRelease
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
353 packages can be upgraded. Run 'apt list --upgradable' to see them.
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
The following package was automatically installed and is no longer required:
linux-image-6.1.0-37-amd64
Use 'apt autoremove' to remove it.
The following packages have been kept back:
alsa-ucm-conf apache2 apache2-bin apache2-data apache2-utils appstream apt apt-utils avahi-daemon avahi-utils bind9-dnsutils bind9-host bind9-libs bsdutils chrony
coreutils curl dirmngr e2fsprogs eslint fdisk file flite freepbx17 galera-4 gawk ghostscript gir1.2-glib-2.0 gir1.2-packagekitglib-1.0 git git-man gnupg gnupg-l10n
gnupg-utils gpg gpg-agent gpg-wks-client gpg-wks-server gpgconf gpgsm gpgv grub-common grub-pc grub-pc-bin grub2-common guile-3.0-libs haproxy imagemagick
imagemagick-6-common initramfs-tools initramfs-tools-core iotop iproute2 ipset kmod libalgorithm-diff-xs-perl libaprutil1-dbd-sqlite3 libaprutil1-ldap libaudio2
libavahi-client3 libavahi-common-data libavahi-common3 libavahi-core7 libbpf1 libcairo-gobject2 libcairo2 libclone-perl libcryptsetup12 libcups2 libcurl3-gnutls libcurl4
libdbd-mariadb-perl libdbi-perl libdecor-0-0 libdecor-0-plugin-1-cairo libegl-mesa0 libext2fs2 libfcgi-bin libfcgi-perl libfcgi0ldbl libfido2-1 libfile-fcntllock-perl
libflite1 libfreetype6 libgbm1 libgd3 libgdk-pixbuf-2.0-0 libgdk-pixbuf2.0-bin libgirepository-1.0-1 libgl1-mesa-dri libglib2.0-0 libglib2.0-bin libglx-mesa0 libgnutls30
libgs10 libgs10-common libgssapi-krb5-2 libgstreamer1.0-0 libharfbuzz0b libhtml-parser-perl libhttp-message-perl libiksemel3 libjack-jackd2-0 libjxr-tools libk5crypto3
libkmod2 libkrb5-3 libkrb5support0 liblocale-gettext-perl liblqr-1-0 libmagic-mgc libmariadb3 libncurses6 libncursesw6 libnet-dbus-perl libnet-ssleay-perl libnode-dev
libnode108 libnotify-bin libnotify4 libnsl2 libnss-systemd libopenal-data libopenal1 libopenexr-3-1-30 libpackagekit-glib2-18 libpam-modules libpam-modules-bin
libpam-runtime libpam-systemd libpango-1.0-0 libpangocairo-1.0-0 libpangoft2-1.0-0 libpcsclite1 libperl5.36 libpocketsphinx3 libpolkit-agent-1-0 libpolkit-gobject-1-0
libportaudio2 libpq5 libpython3-stdlib librabbitmq4 librsvg2-2 librsvg2-common librtmp1 libsasl2-2 libsasl2-modules libsasl2-modules-db libsdl2-2.0-0 libserf-1-1
libsndfile1 libsndio7.0 libsox-fmt-alsa libsox-fmt-base libsox3 libsqlite3-0 libsrt1.5-gnutls libssl-dev libssl3 libsvn1 libsybdb5 libsystemd-shared libsystemd0
libterm-readkey-perl libtext-charwidth-perl libtext-iconv-perl libtinfo6 libudev1 libunbound8 libuv1-dev libxaw7 libxml-parser-perl libxmlb2 libxmu6 libzmq5
libzvbi-common lsof mailutils mailutils-common man-db mariadb-client mariadb-client-core mariadb-plugin-provider-bzip2 mariadb-plugin-provider-lz4
mariadb-plugin-provider-lzma mariadb-plugin-provider-lzo mariadb-plugin-provider-snappy mariadb-server mariadb-server-core mesa-va-drivers mesa-vulkan-drivers mpg123
ncurses-bin netpbm nmap nmap-common node-agent-base node-ajv node-ajv-keywords node-ansi-styles node-async node-babel-plugin-lodash node-babel7 node-babel7-runtime
node-brace-expansion node-braces node-browserslist node-busboy node-cacache node-caniuse-lite node-chalk node-chokidar node-chownr node-ci-info node-cjs-module-lexer
node-cli-boxes node-cliui node-clone node-core-js node-core-js-compat node-core-js-pure node-coveralls node-css-loader node-data-uri-to-buffer node-decompress-response
node-deep-equal node-define-properties node-del node-electron-to-chromium node-enhanced-resolve node-es-abstract node-es-module-lexer node-escodegen node-espree
node-fetch node-file-entry-cache node-fill-range node-flat-cache node-foreground-child node-function-bind node-gauge node-get-stream node-glob node-globals node-globby
node-got node-gyp node-has-flag node-https-proxy-agent node-ip node-istanbul node-jest-debbundle node-jest-worker node-json-parse-better-errors
node-json-stable-stringify node-lru-cache node-micromatch node-mime node-mime-types node-mimic-response node-minimatch node-minimist node-minipass node-mkdirp
node-neo-async node-once node-p-map node-parse-json node-postcss node-pump node-punycode node-read-package-json node-regenerator-runtime node-regenerator-transform
node-regexpp node-resolve node-restore-cursor node-retry node-schema-utils node-semver node-serialize-javascript node-signal-exit node-source-list-map
node-source-map-support node-ssri node-tap node-tap-mocha-reporter node-tap-parser node-tapable node-tape node-tar node-terser node-undici node-uuid
node-v8-compile-cache node-write node-write-file-atomic node-ws node-yaml nodejs opensc opensc-pkcs11 openssh-client openssh-server openssh-sftp-server openssl openvpn
packagekit packagekit-tools pcscd perl perl-base perl-openssl-defaults php-common polkitd postfix procps python3 python3-apt python3-cffi-backend
python3-charset-normalizer python3-cryptography python3-dbus python3-gi python3-minimal python3-mysqldb python3-systemd qemu-guest-agent redis-server redis-tools rsync
shared-mime-info sngrep socat sox sqlite3 subversion sudo systemd systemd-sysv tcpdump terser tmux tshark udev unixodbc webpack wget wireshark-common x11-utils
x11-xserver-utils xinetd
The following packages will be upgraded:
fail2ban
1 upgraded, 0 newly installed, 0 to remove and 352 not upgraded.
33 not fully installed or removed.
Need to get 0 B/466 kB of archives.
After this operation, 63.5 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Reading changelogs... Done
(Reading database ... 180398 files and directories currently installed.)
Preparing to unpack .../fail2ban_1.1.0-8_all.deb ...
Unpacking fail2ban (1.1.0-8) over (1.0.2-2) ...
dpkg: error processing archive /var/cache/apt/archives/fail2ban_1.1.0-8_all.deb (--unpack):
trying to overwrite '/etc/fail2ban/action.d/iptables-allports.conf', which is also in package sangoma-pbx17 (2408-1.sng12)
Errors were encountered while processing:
/var/cache/apt/archives/fail2ban_1.1.0-8_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
Thank you!