Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

problem with some stuff and proftpd after buster to bullseye full upgrade on server :(

Ask for help with issues regarding the Installations of the Debian O/S.
Post Reply
Message
Author
Jeff63
Posts: 15
Joined: 2021-06-18 17:47

problem with some stuff and proftpd after buster to bullseye full upgrade on server :(

#1 Post by Jeff63 »

Hello folks ^^)

I've upgraded a server from buster 10.10 to bullseye 11.0 and got a problem (two in fact)

- can't upgrade proftpd at all :( I've tried to deinstall it fully, clean, apt autoremove, purge etc reboot and reinstall but I get the same problem again and again... it can't be upgraded/installed.
here are the output I get (after all deinstall and cleaning, etc) :

# apt install proftpd
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Note, selecting 'proftpd-core' instead of 'proftpd'
The following additional packages will be installed:
libhiredis0.14 libmemcached11 libmemcachedutil2 proftpd-doc
Suggested packages:
openbsd-inetd | inet-superserver proftpd-mod-ldap proftpd-mod-mysql proftpd-mod-odbc proftpd-mod-pgsql proftpd-mod-sqlite
proftpd-mod-geoip proftpd-mod-snmp proftpd-mod-crypto proftpd-mod-wrap
The following NEW packages will be installed:
libhiredis0.14 libmemcached11 libmemcachedutil2 proftpd-core proftpd-doc
0 upgraded, 5 newly installed, 0 to remove and 2 not upgraded.
Need to get 4,425 kB of archives.
After this operation, 9,210 kB of additional disk space will be used.
Do you want to continue? [Y/n]
Get:1 http://deb.debian.org/debian bullseye/main amd64 libhiredis0.14 amd64 0.14.1-1 [35.5 kB]
Get:2 http://deb.debian.org/debian bullseye/main amd64 libmemcached11 amd64 1.0.18-4.2 [94.5 kB]
Get:3 http://deb.debian.org/debian bullseye/main amd64 libmemcachedutil2 amd64 1.0.18-4.2 [22.3 kB]
Get:4 http://deb.debian.org/debian bullseye/main amd64 proftpd-core amd64 1.3.7a+dfsg-12 [2,577 kB]
Get:5 http://deb.debian.org/debian bullseye/main amd64 proftpd-doc all 1.3.7a+dfsg-12 [1,695 kB]
Fetched 4,425 kB in 0s (45.5 MB/s)
Selecting previously unselected package libhiredis0.14:amd64.
(Reading database ... 98940 files and directories currently installed.)
Preparing to unpack .../libhiredis0.14_0.14.1-1_amd64.deb ...
Unpacking libhiredis0.14:amd64 (0.14.1-1) ...
Selecting previously unselected package libmemcached11:amd64.
Preparing to unpack .../libmemcached11_1.0.18-4.2_amd64.deb ...
Unpacking libmemcached11:amd64 (1.0.18-4.2) ...
Selecting previously unselected package libmemcachedutil2:amd64.
Preparing to unpack .../libmemcachedutil2_1.0.18-4.2_amd64.deb ...
Unpacking libmemcachedutil2:amd64 (1.0.18-4.2) ...
Selecting previously unselected package proftpd-core.
Preparing to unpack .../proftpd-core_1.3.7a+dfsg-12_amd64.deb ...
Unpacking proftpd-core (1.3.7a+dfsg-12) ...
Selecting previously unselected package proftpd-doc.
Preparing to unpack .../proftpd-doc_1.3.7a+dfsg-12_all.deb ...
Unpacking proftpd-doc (1.3.7a+dfsg-12) ...
Setting up proftpd-doc (1.3.7a+dfsg-12) ...
Setting up libmemcached11:amd64 (1.0.18-4.2) ...
Setting up libhiredis0.14:amd64 (0.14.1-1) ...
Setting up libmemcachedutil2:amd64 (1.0.18-4.2) ...
Setting up proftpd-core (1.3.7a+dfsg-12) ...
usermod: no changes
Synchronizing state of proftpd.service with SysV service script with /lib/systemd/systemd-sysv-install.
Executing: /lib/systemd/systemd-sysv-install enable proftpd
Failed to enable unit: Unit file /etc/systemd/system/proftpd.service is masked.
dpkg: error processing package proftpd-core (--configure):
installed proftpd-core package post-installation script subprocess returned error exit status 1
Processing triggers for man-db (2.9.4-2) ...
Processing triggers for libc-bin (2.31-13) ...
Errors were encountered while processing:
proftpd-core
E: Sub-process /usr/bin/dpkg returned an error code (1)

next,
- I have two components that says needing an upgrade but can't be upgraded too :
- guile-2.2-libs/ stable 2.2.7+1-6 amd64 [upgradable from: 2.2.4+1-2+deb10u1]
- libojc4/stable 10.2.1-6 amd64 [upgradable from: 8.3.0-6]

if I do an 'apt upgrade' on this I get :

# apt list --upgradable
Listing... Done
guile-2.2-libs/stable 2.2.7+1-6 amd64 [upgradable from: 2.2.4+1-2+deb10u1]
libobjc4/stable 10.2.1-6 amd64 [upgradable from: 8.3.0-6]

# apt upgrade
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
The following packages have been kept back:
guile-2.2-libs libobjc4
0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.

why ?

I still have a job lot to do on this server and need the proftpd to work.

trinidad
Posts: 289
Joined: 2016-08-04 14:58
Been thanked: 13 times

Re: problem with some stuff and proftpd after buster to bullseye full upgrade on server :(

#2 Post by trinidad »

Proftpd is only a transitional dummy package in Bullseye.

https://packages.debian.org/buster/proftpd-basic
https://packages.debian.org/bullseye/proftpd-basic

Install this: https://packages.debian.org/bullseye/proftpd-core

Code: Select all

aptitude install proftpd-core
Add mods afterwards.
TC
You can't believe your eyes if your imagination is out of focus.

Jeff63
Posts: 15
Joined: 2021-06-18 17:47

Re: problem with some stuff and proftpd after buster to bullseye full upgrade on server :(

#3 Post by Jeff63 »

here is what I get :

# apt install proftpd-core
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
libhiredis0.14 libmemcached11 libmemcachedutil2 proftpd-doc
Suggested packages:
openbsd-inetd | inet-superserver proftpd-mod-ldap proftpd-mod-mysql proftpd-mod-odbc proftpd-mod-pgsql proftpd-mod-sqlite
proftpd-mod-geoip proftpd-mod-snmp proftpd-mod-crypto proftpd-mod-wrap
The following NEW packages will be installed:
libhiredis0.14 libmemcached11 libmemcachedutil2 proftpd-core proftpd-doc
0 upgraded, 5 newly installed, 0 to remove and 2 not upgraded.
Need to get 4,425 kB of archives.
After this operation, 9,210 kB of additional disk space will be used.
Do you want to continue? [Y/n]
Get:1 http://deb.debian.org/debian bullseye/main amd64 libhiredis0.14 amd64 0.14.1-1 [35.5 kB]
Get:2 http://deb.debian.org/debian bullseye/main amd64 libmemcached11 amd64 1.0.18-4.2 [94.5 kB]
Get:3 http://deb.debian.org/debian bullseye/main amd64 libmemcachedutil2 amd64 1.0.18-4.2 [22.3 kB]
Get:4 http://deb.debian.org/debian bullseye/main amd64 proftpd-core amd64 1.3.7a+dfsg-12 [2,577 kB]
Get:5 http://deb.debian.org/debian bullseye/main amd64 proftpd-doc all 1.3.7a+dfsg-12 [1,695 kB]
Fetched 4,425 kB in 1s (7,581 kB/s)
Selecting previously unselected package libhiredis0.14:amd64.
(Reading database ... 98940 files and directories currently installed.)
Preparing to unpack .../libhiredis0.14_0.14.1-1_amd64.deb ...
Unpacking libhiredis0.14:amd64 (0.14.1-1) ...
Selecting previously unselected package libmemcached11:amd64.
Preparing to unpack .../libmemcached11_1.0.18-4.2_amd64.deb ...
Unpacking libmemcached11:amd64 (1.0.18-4.2) ...
Selecting previously unselected package libmemcachedutil2:amd64.
Preparing to unpack .../libmemcachedutil2_1.0.18-4.2_amd64.deb ...
Unpacking libmemcachedutil2:amd64 (1.0.18-4.2) ...
Selecting previously unselected package proftpd-core.
Preparing to unpack .../proftpd-core_1.3.7a+dfsg-12_amd64.deb ...
Unpacking proftpd-core (1.3.7a+dfsg-12) ...
Selecting previously unselected package proftpd-doc.
Preparing to unpack .../proftpd-doc_1.3.7a+dfsg-12_all.deb ...
Unpacking proftpd-doc (1.3.7a+dfsg-12) ...
Setting up proftpd-doc (1.3.7a+dfsg-12) ...
Setting up libmemcached11:amd64 (1.0.18-4.2) ...
Setting up libhiredis0.14:amd64 (0.14.1-1) ...
Setting up libmemcachedutil2:amd64 (1.0.18-4.2) ...
Setting up proftpd-core (1.3.7a+dfsg-12) ...
usermod: no changes
Synchronizing state of proftpd.service with SysV service script with /lib/systemd/systemd-sysv-install.
Executing: /lib/systemd/systemd-sysv-install enable proftpd
Failed to enable unit: Unit file /etc/systemd/system/proftpd.service is masked.
dpkg: error processing package proftpd-core (--configure):
installed proftpd-core package post-installation script subprocess returned error exit status 1
Processing triggers for man-db (2.9.4-2) ...
Processing triggers for libc-bin (2.31-13) ...
Errors were encountered while processing:
proftpd-core
E: Sub-process /usr/bin/dpkg returned an error code (1)
#

arochester
Emeritus
Emeritus
Posts: 2435
Joined: 2010-12-07 19:55
Has thanked: 14 times
Been thanked: 54 times

Re: problem with some stuff and proftpd after buster to bullseye full upgrade on server :(

#4 Post by arochester »

What does your sources list say and what are the contents of sources.list.d?

trinidad
Posts: 289
Joined: 2016-08-04 14:58
Been thanked: 13 times

Re: problem with some stuff and proftpd after buster to bullseye full upgrade on server :(

#5 Post by trinidad »

https://unix.stackexchange.com/question ... e-is-empty

See 6 and 7. I need more coffee right now. You're making me think too hard.

TC
You can't believe your eyes if your imagination is out of focus.

mm3100
Posts: 336
Joined: 2020-10-21 21:39
Has thanked: 8 times
Been thanked: 13 times

Re: problem with some stuff and proftpd after buster to bullseye full upgrade on server :(

#6 Post by mm3100 »

Failed to enable unit: Unit file /etc/systemd/system/proftpd.service is masked.
Try to first unmask the service, maybe then you would be able to install proftpd-core.

Code: Select all

systemctl unmask proftpd.service

Jeff63
Posts: 15
Joined: 2021-06-18 17:47

Re: problem with some stuff and proftpd after buster to bullseye full upgrade on server :(

#7 Post by Jeff63 »

here are the results :

# systemctl unmask proftpd.service

Removed /etc/systemd/system/proftpd.service.

# apt install proftpd-core
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
proftpd-core is already the newest version (1.3.7a+dfsg-12).
0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n]
Setting up proftpd-core (1.3.7a+dfsg-12) ...
usermod: no changes
Synchronizing state of proftpd.service with SysV service script with /lib/systemd/systemd-sysv-install.
Executing: /lib/systemd/systemd-sysv-install enable proftpd
Job for proftpd.service failed because the control process exited with error code.
See "systemctl status proftpd.service" and "journalctl -xe" for details.
dpkg: error processing package proftpd-core (--configure):
installed proftpd-core package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
proftpd-core
E: Sub-process /usr/bin/dpkg returned an error code (1)

# apt update
Hit:1 http://deb.debian.org/debian bullseye InRelease
Hit:2 http://deb.debian.org/debian-security bullseye-security InRelease
Hit:3 http://ftp.debian.org/debian bullseye-backports InRelease
Hit:4 http://deb.debian.org/debian bullseye-updates InRelease
Ign:5 https://download.webmin.com/download/repository sarge InRelease
Hit:6 https://download.webmin.com/download/repository sarge Release
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
2 packages can be upgraded. Run 'apt list --upgradable' to see them.

# apt list --upgradable
Listing... Done
guile-2.2-libs/stable 2.2.7+1-6 amd64 [upgradable from: 2.2.4+1-2+deb10u1]
libobjc4/stable 10.2.1-6 amd64 [upgradable from: 8.3.0-6]

# apt upgrade
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
The following packages have been kept back:
guile-2.2-libs libobjc4
0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n]
Setting up proftpd-core (1.3.7a+dfsg-12) ...
usermod: no changes
Synchronizing state of proftpd.service with SysV service script with /lib/systemd/systemd-sysv-install.
Executing: /lib/systemd/systemd-sysv-install enable proftpd
Job for proftpd.service failed because the control process exited with error code.
See "systemctl status proftpd.service" and "journalctl -xe" for details.
dpkg: error processing package proftpd-core (--configure):
installed proftpd-core package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
proftpd-core
E: Sub-process /usr/bin/dpkg returned an error code (1)

# apt autoremove
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages will be REMOVED:
libhiredis0.14 libmemcached11 libmemcachedutil2 proftpd-doc
0 upgraded, 0 newly installed, 4 to remove and 2 not upgraded.
After this operation, 4,343 kB disk space will be freed.
Do you want to continue? [Y/n]
(Reading database ... 99121 files and directories currently installed.)
Removing libhiredis0.14:amd64 (0.14.1-1) ...
Removing libmemcachedutil2:amd64 (1.0.18-4.2) ...
Removing libmemcached11:amd64 (1.0.18-4.2) ...
Removing proftpd-doc (1.3.7a+dfsg-12) ...
Processing triggers for libc-bin (2.31-13) ...

# apt clean
# apt update
Hit:1 http://deb.debian.org/debian bullseye InRelease
Hit:2 http://deb.debian.org/debian-security bullseye-security InRelease
Hit:3 http://ftp.debian.org/debian bullseye-backports InRelease
Hit:4 http://deb.debian.org/debian bullseye-updates InRelease
Ign:5 https://download.webmin.com/download/repository sarge InRelease
Hit:6 https://download.webmin.com/download/repository sarge Release
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
2 packages can be upgraded. Run 'apt list --upgradable' to see them.
root@discovery ~ # apt list --upgradable
Listing... Done
guile-2.2-libs/stable 2.2.7+1-6 amd64 [upgradable from: 2.2.4+1-2+deb10u1]
libobjc4/stable 10.2.1-6 amd64 [upgradable from: 8.3.0-6]

Note : this two are getting on my nerves, so I wanted to uninstall then reinstall it, but that don't work... :

# dpkg --remove --force-remove-reinstreq guile-2.2-libs libobjc4
dpkg: dependency problems prevent removal of guile-2.2-libs:amd64:
libmailutils7:amd64 depends on guile-2.2-libs.

dpkg: error processing package guile-2.2-libs:amd64 (--remove):
dependency problems - not removing
dpkg: dependency problems prevent removal of libobjc4:amd64:
unar depends on libobjc4 (>= 4.2.1).
libgnustep-base1.27 depends on libobjc4 (>= 4.6).
gnustep-base-runtime depends on libobjc4 (>= 4.2.1).

dpkg: error processing package libobjc4:amd64 (--remove):
dependency problems - not removing
Errors were encountered while processing:
guile-2.2-libs:amd64
libobjc4:amd64
#

mm3100
Posts: 336
Joined: 2020-10-21 21:39
Has thanked: 8 times
Been thanked: 13 times

Re: problem with some stuff and proftpd after buster to bullseye full upgrade on server :(

#8 Post by mm3100 »

Is there a reason why you have

Ign:5 https://download.webmin.com/download/repository sarge InRelease
Hit:6 https://download.webmin.com/download/repository sarge Release

In your apt sources? It is possible that is what caused your dependency issues.

Jeff63
Posts: 15
Joined: 2021-06-18 17:47

Re: problem with some stuff and proftpd after buster to bullseye full upgrade on server :(

#9 Post by Jeff63 »

the reason is I use webmin and wants it auto updated.
there is nothing between webmin and the system itself, this only update webmin.

Jeff63
Posts: 15
Joined: 2021-06-18 17:47

Re: problem with some stuff and proftpd after buster to bullseye full upgrade on server :(

#10 Post by Jeff63 »

the problem is that all, including proftpd was working fine before the bullseye upgrade.

trinidad
Posts: 289
Joined: 2016-08-04 14:58
Been thanked: 13 times

Re: problem with some stuff and proftpd after buster to bullseye full upgrade on server :(

#11 Post by trinidad »

I've tried to deinstall it fully,
This can cause remnant systemd services to point to /dev/null

TC
You can't believe your eyes if your imagination is out of focus.

Jeff63
Posts: 15
Joined: 2021-06-18 17:47

Re: problem with some stuff and proftpd after buster to bullseye full upgrade on server :(

#12 Post by Jeff63 »

really ? there is no service running from a non running software. how can it be remnant ?
btw, this was way after the problem.

just to be sure, a proof :

# systemctl list-units --type=service
UNIT LOAD ACTIVE SUB DESCRIPTION
amavis.service loaded active running Interface between MTA and virus scanner/content filters
apache2.service loaded active running The Apache HTTP Server
apparmor.service loaded active exited Load AppArmor profiles
blk-availability.service loaded active exited Availability of block devices
clamav-daemon.service loaded active running Clam AntiVirus userspace daemon
clamav-freshclam.service loaded active running ClamAV virus database updater
console-setup.service loaded active exited Set console font and keymap
cpufrequtils.service loaded active exited LSB: set CPUFreq kernel parameters
cron.service loaded active running Regular background program processing daemon
dbus.service loaded active running D-Bus System Message Bus
dovecot.service loaded active running Dovecot IMAP/POP3 email server
getty@tty1.service loaded active running Getty on tty1
haveged.service loaded active running Entropy Daemon based on the HAVEGE algorithm
ifupdown-pre.service loaded active exited Helper to synchronize boot up for ifupdown
irqbalance.service loaded active running irqbalance daemon
keyboard-setup.service loaded active exited Set the console keyboard layout
kmod-static-nodes.service loaded active exited Create list of static device nodes for the current kernel
loadcpufreq.service loaded active exited LSB: Load kernel modules needed to enable cpufreq scaling
lvm2-monitor.service loaded active exited Monitoring of LVM2 mirrors, snapshots etc. using dmeventd or progress polling
lvm2-pvscan@9:1.service loaded active exited LVM event activation on device 9:1
mariadb.service loaded active running MariaDB 10.5.11 database server
mdmonitor.service loaded active running MD array monitor
networking.service loaded active exited Raise network interfaces
postfix.service loaded active exited Postfix Mail Transport Agent
postfix@-.service loaded active running Postfix Mail Transport Agent (instance -)
rsyslog.service loaded active running System Logging Service
ssh.service loaded active running OpenBSD Secure Shell server
systemd-journal-flush.service loaded active exited Flush Journal to Persistent Storage
systemd-journald.service loaded active running Journal Service
systemd-logind.service loaded active running User Login Management
systemd-modules-load.service loaded active exited Load Kernel Modules
systemd-random-seed.service loaded active exited Load/Save Random Seed
systemd-remount-fs.service loaded active exited Remount Root and Kernel File Systems
systemd-sysctl.service loaded active exited Apply Kernel Variables
systemd-sysusers.service loaded active exited Create System Users
systemd-timesyncd.service loaded active running Network Time Synchronization
systemd-tmpfiles-setup-dev.service loaded active exited Create Static Device Nodes in /dev
systemd-tmpfiles-setup.service loaded active exited Create Volatile Files and Directories
systemd-udev-trigger.service loaded active exited Coldplug All udev Devices
systemd-udevd.service loaded active running Rule-based Manager for Device Events and Files
systemd-update-utmp.service loaded active exited Update UTMP about System Boot/Shutdown
systemd-user-sessions.service loaded active exited Permit User Sessions
ufw.service loaded active exited Uncomplicated firewall
user-runtime-dir@0.service loaded active exited User Runtime Directory /run/user/0
user@0.service loaded active running User Manager for UID 0
webmin.service loaded active running LSB: web-based administration interface for Unix systems

LOAD = Reflects whether the unit definition was properly loaded.
ACTIVE = The high-level unit activation state, i.e. generalization of SUB.
SUB = The low-level unit activation state, values depend on unit type.
46 loaded units listed. Pass --all to see loaded but inactive units, too.
To show all installed unit files use 'systemctl list-unit-files'.

see ? NO proftpd anywhere.

Jeff63
Posts: 15
Joined: 2021-06-18 17:47

Almost resolved : Re: problem with some stuff and proftpd after buster to bullseye full upgrade on server :(

#13 Post by Jeff63 »

Well, I've tried this :

# systemctl stop webmin
# systemctl status webmin
● webmin.service - LSB: web-based administration interface for Unix systems
Loaded: loaded (/etc/init.d/webmin; generated)
Active: inactive (dead) since Sun 2021-08-22 15:12:09 CEST; 11s ago
Docs: man:systemd-sysv-generator(8)
Process: 1021 ExecStart=/etc/init.d/webmin start (code=exited, status=0/SUCCESS)
Process: 5623 ExecStop=/etc/init.d/webmin stop (code=exited, status=0/SUCCESS)
CPU: 14.270s

Aug 21 19:50:13 discovery systemd[1]: Starting LSB: web-based administration interface for Unix systems...
Aug 21 19:50:14 discovery perl[1023]: pam_unix(webmin:auth): authentication failure; logname= uid=0 euid=0 tty= ruser= rhost= user=root
Aug 21 19:50:16 discovery webmin[1023]: Webmin starting
Aug 21 19:50:17 discovery systemd[1]: Started LSB: web-based administration interface for Unix systems.
Aug 22 15:12:09 discovery systemd[1]: Stopping LSB: web-based administration interface for Unix systems...
Aug 22 15:12:09 discovery webmin[5624]: Stopping Webmin server in /usr/share/webmin
Aug 22 15:12:09 discovery systemd[1]: webmin.service: Succeeded.
Aug 22 15:12:09 discovery systemd[1]: Stopped LSB: web-based administration interface for Unix systems.
Aug 22 15:12:09 discovery systemd[1]: webmin.service: Consumed 14.270s CPU time.

# apt update
Hit:1 http://deb.debian.org/debian bullseye InRelease
Get:2 http://deb.debian.org/debian-security bullseye-security InRelease [44.1 kB]
Get:3 http://ftp.debian.org/debian bullseye-backports InRelease [39.3 kB]
Get:4 http://deb.debian.org/debian bullseye-updates InRelease [36.8 kB]
Ign:5 https://download.webmin.com/download/repository sarge InRelease
Hit:6 https://download.webmin.com/download/repository sarge Release
Fetched 120 kB in 1s (135 kB/s)
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
2 packages can be upgraded. Run 'apt list --upgradable' to see them.

# apt upgrade
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
The following packages have been kept back:
guile-2.2-libs libobjc4
0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.

NOTE : this two components are still not upgradable :( grrr.
lets continue :

# apt list proftpd*
Listing... Done
proftpd-basic/stable,now 1.3.7a+dfsg-12 all [residual-config]
proftpd-core/stable 1.3.7a+dfsg-12 amd64
proftpd-dev/stable 1.3.7a+dfsg-12 amd64
proftpd-doc/stable 1.3.7a+dfsg-12 all
proftpd-mod-autohost/stable 0.6-1+b1 amd64
proftpd-mod-case/stable 0.7+git73896501cf-2+b1 amd64
proftpd-mod-clamav/stable 0.14~rc2-4 amd64
proftpd-mod-counter/stable 0.6.2-2 amd64
proftpd-mod-crypto/stable 1.3.7a+dfsg-12 amd64
proftpd-mod-fsync/stable 0.3-3+b1 amd64
proftpd-mod-geoip2/stable 0.1-1+b2 amd64
proftpd-mod-geoip/stable 1.3.7a+dfsg-12 amd64
proftpd-mod-ldap/stable 1.3.7a+dfsg-12 amd64
proftpd-mod-msg/stable 0.5-3 amd64
proftpd-mod-mysql/stable 1.3.7a+dfsg-12 amd64
proftpd-mod-odbc/stable 1.3.7a+dfsg-12 amd64
proftpd-mod-pgsql/stable 1.3.7a+dfsg-12 amd64
proftpd-mod-proxy/stable 0.7-1+b1 amd64
proftpd-mod-snmp/stable 1.3.7a+dfsg-12 amd64
proftpd-mod-sqlite/stable 1.3.7a+dfsg-12 amd64
proftpd-mod-statsd/stable 0.1-1+b2 amd64
proftpd-mod-tar/stable 0.4-2 amd64
proftpd-mod-vroot/stable 0.9.8-4+b1 amd64
proftpd-mod-wrap/stable 1.3.7a+dfsg-12 amd64

# apt install proftpd
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Note, selecting 'proftpd-core' instead of 'proftpd'
The following additional packages will be installed:
libhiredis0.14 libmemcached11 libmemcachedutil2 proftpd-doc
Suggested packages:
openbsd-inetd | inet-superserver proftpd-mod-ldap proftpd-mod-mysql proftpd-mod-odbc proftpd-mod-pgsql proftpd-mod-sqlite
proftpd-mod-geoip proftpd-mod-snmp proftpd-mod-crypto proftpd-mod-wrap
The following NEW packages will be installed:
libhiredis0.14 libmemcached11 libmemcachedutil2 proftpd-core proftpd-doc
0 upgraded, 5 newly installed, 0 to remove and 2 not upgraded.
Need to get 4,425 kB of archives.
After this operation, 9,210 kB of additional disk space will be used.
Do you want to continue? [Y/n] n
Abort.

NOTE : trying to install proftpd-core has always failed till now since the bullseye upgrade, so let's try to install proftpd-basic instead :

# apt install proftpd-basic
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
libhiredis0.14 libmemcached11 libmemcachedutil2 proftpd-core proftpd-doc proftpd-mod-crypto proftpd-mod-wrap
Suggested packages:
openbsd-inetd | inet-superserver proftpd-mod-ldap proftpd-mod-mysql proftpd-mod-odbc proftpd-mod-pgsql proftpd-mod-sqlite
proftpd-mod-geoip proftpd-mod-snmp
The following NEW packages will be installed:
libhiredis0.14 libmemcached11 libmemcachedutil2 proftpd-basic proftpd-core proftpd-doc proftpd-mod-crypto proftpd-mod-wrap
0 upgraded, 8 newly installed, 0 to remove and 2 not upgraded.
Need to get 6,204 kB of archives.
After this operation, 11.7 MB of additional disk space will be used.
Do you want to continue? [Y/n]
Get:1 http://deb.debian.org/debian bullseye/main amd64 libhiredis0.14 amd64 0.14.1-1 [35.5 kB]
Get:2 http://deb.debian.org/debian bullseye/main amd64 libmemcached11 amd64 1.0.18-4.2 [94.5 kB]
Get:3 http://deb.debian.org/debian bullseye/main amd64 libmemcachedutil2 amd64 1.0.18-4.2 [22.3 kB]
Get:4 http://deb.debian.org/debian bullseye/main amd64 proftpd-core amd64 1.3.7a+dfsg-12 [2,577 kB]
Get:5 http://deb.debian.org/debian bullseye/main amd64 proftpd-mod-wrap amd64 1.3.7a+dfsg-12 [498 kB]
Get:6 http://deb.debian.org/debian bullseye/main amd64 proftpd-mod-crypto amd64 1.3.7a+dfsg-12 [790 kB]
Get:7 http://deb.debian.org/debian bullseye/main amd64 proftpd-basic all 1.3.7a+dfsg-12 [492 kB]
Get:8 http://deb.debian.org/debian bullseye/main amd64 proftpd-doc all 1.3.7a+dfsg-12 [1,695 kB]
Fetched 6,204 kB in 0s (49.4 MB/s)
Selecting previously unselected package libhiredis0.14:amd64.
(Reading database ... 98931 files and directories currently installed.)
Preparing to unpack .../0-libhiredis0.14_0.14.1-1_amd64.deb ...
Unpacking libhiredis0.14:amd64 (0.14.1-1) ...
Selecting previously unselected package libmemcached11:amd64.
Preparing to unpack .../1-libmemcached11_1.0.18-4.2_amd64.deb ...
Unpacking libmemcached11:amd64 (1.0.18-4.2) ...
Selecting previously unselected package libmemcachedutil2:amd64.
Preparing to unpack .../2-libmemcachedutil2_1.0.18-4.2_amd64.deb ...
Unpacking libmemcachedutil2:amd64 (1.0.18-4.2) ...
Selecting previously unselected package proftpd-core.
Preparing to unpack .../3-proftpd-core_1.3.7a+dfsg-12_amd64.deb ...
Unpacking proftpd-core (1.3.7a+dfsg-12) ...
Selecting previously unselected package proftpd-mod-wrap.
Preparing to unpack .../4-proftpd-mod-wrap_1.3.7a+dfsg-12_amd64.deb ...
Unpacking proftpd-mod-wrap (1.3.7a+dfsg-12) ...
Selecting previously unselected package proftpd-mod-crypto.
Preparing to unpack .../5-proftpd-mod-crypto_1.3.7a+dfsg-12_amd64.deb ...
Unpacking proftpd-mod-crypto (1.3.7a+dfsg-12) ...
Selecting previously unselected package proftpd-basic.
Preparing to unpack .../6-proftpd-basic_1.3.7a+dfsg-12_all.deb ...
Unpacking proftpd-basic (1.3.7a+dfsg-12) ...
Selecting previously unselected package proftpd-doc.
Preparing to unpack .../7-proftpd-doc_1.3.7a+dfsg-12_all.deb ...
Unpacking proftpd-doc (1.3.7a+dfsg-12) ...
Setting up proftpd-doc (1.3.7a+dfsg-12) ...
Setting up libmemcached11:amd64 (1.0.18-4.2) ...
Setting up libhiredis0.14:amd64 (0.14.1-1) ...
Setting up libmemcachedutil2:amd64 (1.0.18-4.2) ...
Setting up proftpd-core (1.3.7a+dfsg-12) ...
Adding system user `proftpd' (UID 108) ...
Adding new user `proftpd' (UID 108) with group `nogroup' ...
Not creating home directory `/run/proftpd'.
Adding system user `ftp' (UID 109) ...
Adding new user `ftp' (UID 109) with group `nogroup' ...
Creating home directory `/srv/ftp' ...
'/usr/share/proftpd/templates/welcome.msg' -> '/srv/ftp/welcome.msg.proftpd-new'
Synchronizing state of proftpd.service with SysV service script with /lib/systemd/systemd-sysv-install.
Executing: /lib/systemd/systemd-sysv-install enable proftpd
Setting up proftpd-mod-crypto (1.3.7a+dfsg-12) ...
Setting up proftpd-mod-wrap (1.3.7a+dfsg-12) ...
Setting up proftpd-basic (1.3.7a+dfsg-12) ...
Processing triggers for man-db (2.9.4-2) ...
Processing triggers for libc-bin (2.31-13) ...

NOTE : Bingo ! that was proftpd-basic that needed to be installed :)

# apt upgrade
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
The following packages have been kept back:
guile-2.2-libs libobjc4
0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.

NOTE : btw, these two still refuse to be upgraded !
let's see why :

# apt list guile*
Listing... Done
guile-2.2-dev/stable 2.2.7+1-6 amd64
guile-2.2-doc/stable 2.2.7+1-6 all
guile-2.2-libs/stable 2.2.7+1-6 amd64 [upgradable from: 2.2.4+1-2+deb10u1]
guile-2.2/stable 2.2.7+1-6 amd64
guile-3.0-dev/stable 3.0.5-4 amd64
guile-3.0-doc/stable 3.0.5-4 all
guile-3.0-libs/stable 3.0.5-4 amd64
guile-3.0/stable 3.0.5-4 amd64
guile-bytestructures/stable 1.0.7-3 amd64
guile-cairo-dev/stable 1.11.2-3 amd64
guile-cairo/stable 1.11.2-3 amd64
guile-g-wrap/stable 1.9.15-3.1 amd64
guile-gcrypt/stable 0.3.0-3 amd64
guile-git/stable 0.4.0-3 amd64
guile-gnome2-dev/stable 2.16.5-2+b2 amd64
guile-gnome2-glib/stable 2.16.5-2+b2 amd64
guile-gnome2-gtk/stable 2.16.5-2+b2 amd64
guile-gnutls/stable 3.7.1-5 amd64
guile-json/stable 4.3.2-2 amd64
guile-library/stable 0.2.6.1-2 amd64
guile-lzlib/stable 0.0.2-2 amd64
guile-sqlite3/stable 0.1.3-2 amd64
guile-ssh/stable 0.13.1-4 amd64
guile-zlib/stable 0.0.1-3 amd64
guile-zstd/stable 0.1.1-2 amd64

NOTE : ah ? there is a 3.0 version is this why it can't be upgraded ?
what should I do ?
- I can't just deinstall it and install the v3.0 version so what do you suggest ?

for the second one, libojc4 it is currently installed in version 8.3.0-6 and upgradable to 10.2.1-6 amd64...
there was no new version between the 8.3 and 10.2 ??? answer there was : stable 9.3.0-22 amd64...
so why this one never been upgraded and 8.3 still installed and not upgradable ???

dylofpoke
Posts: 1
Joined: 2022-07-25 10:49

Re: problem with some stuff and proftpd after buster to bullseye full upgrade on server :(

#14 Post by dylofpoke »

I'm very late to this party, but I just upgraded to Bullseye and had exactly this problem (I think).

Everything proftpd depended on proftpd-core starting, and proftpd-core wouldn't start because "Package proftpd-core is not configured yet."

Resolved by renaming the proftpd-core config file:

Code: Select all

root@headless:/home/dyl# mv /etc/proftpd/proftpd.conf xproftpd.conf
And then reinstalling (without uninstalling) proftpd-core.

Code: Select all

root@headless:/home/dyl# apt-get install proftpd-core
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
proftpd-core is already the newest version (1.3.7a+dfsg-12+deb11u2).
proftpd-core set to manually installed.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
4 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] Y
Setting up proftpd-core (1.3.7a+dfsg-12+deb11u2) ...
usermod: no changes
The services then started fine with the new conf file, and I pasted in all the important custom bits from the renamed old file and restarted the service to apply changes.

Post Reply