openssh-server broken MX-9 Stretch  [Solved]

Post Reply
Message
Author
MX_GRD
Posts: 76
Joined: Thu Jul 25, 2019 7:50 pm

openssh-server broken MX-9 Stretch

#1 Post by MX_GRD »

Tried to install openssh-server from Package Manager and received message: broken; also tried Synaptic and apt, same result.
Using apt, I get following message:

Code: Select all

dpkg: error processing openssh-server (--configure):
 subprocess installed post-installation script returned error exit status 1
 Errors were encountered while processing:
  openssh-server
 E: Sub-process /usr/bin/ returned an error code (1)
Is there a list source list error? What else could cause error?

Code: Select all

System:    Kernel: 4.19.0-1-686-pae i686 bits: 32 compiler: gcc v: 6.3.0 Desktop: Xfce 4.12.3 
           Distro: MX-18.3_386 Continuum Apr 7  2019 base: Debian GNU/Linux 9 (stretch) 
Machine:   Type: Laptop System: Hewlett-Packard product: Compaq Mini 110c-1100 
           v: 0394110000001C00000300000 serial: <filter> 
           Mobo: Hewlett-Packard model: 308F v: KBC Version 02.10 serial: <filter> 
           BIOS: Hewlett-Packard v: 308F0 Ver. F.18 date: 10/06/2009 
CPU:       Info: Single Core model: Intel Atom N270 bits: 32 type: MT arch: Bonnell rev: 2 
           cache: L2: 512 KiB 
           flags: nx pae sse sse2 sse3 ssse3 bogomips: 6383 
           Speed: 855 MHz min/max: 800/1600 MHz Core speeds (MHz): 1: 1361 2: 1368 
Graphics:  Device-1: Intel Mobile 945GSE Express Integrated Graphics vendor: Hewlett-Packard 
           driver: i915 v: kernel bus-ID: 00:02.0 
           Device-2: Importek type: USB driver: uvcvideo bus-ID: 3-4:2 
           Display: x11 server: X.Org 1.19.2 driver: loaded: intel 
           unloaded: fbdev,modesetting,vesa resolution: 1024x600~60Hz 
           OpenGL: renderer: Mesa DRI Intel 945GME x86/MMX/SSE2 v: 1.4 Mesa 18.2.6 
           direct render: Yes 
Audio:     Device-1: Intel NM10/ICH7 Family High Definition Audio vendor: Hewlett-Packard 
           driver: snd_hda_intel v: kernel bus-ID: 00:1b.0 
           Sound Server-1: ALSA v: k4.19.0-1-686-pae running: yes 
           Sound Server-2: PulseAudio v: 10.0 running: yes 
Network:   Device-1: Broadcom Limited BCM4312 802.11b/g LP-PHY 
           vendor: Hewlett-Packard U98Z049.00 Wireless Mini PCIe Card driver: b43-pci-bridge 
           v: N/A port: cc00 bus-ID: 01:00.0 
           Device-2: Qualcomm Atheros AR8132 Fast Ethernet vendor: Hewlett-Packard driver: atl1c 
           v: 1.0.1.1-NAPI port: ec80 bus-ID: 02:00.0 
           IF: eth0 state: up speed: 100 Mbps duplex: full mac: <filter> 
           IF-ID-1: wlan0 state: down mac: <filter> 
Drives:    Local Storage: total: 149.05 GiB used: 55.96 GiB (37.5%) 
           ID-1: /dev/sda vendor: Toshiba model: MK1655GSX size: 149.05 GiB 
Partition: ID-1: / size: 56.46 GiB used: 21.97 GiB (38.9%) fs: ext4 dev: /dev/sda1 
Swap:      ID-1: swap-1 type: partition size: 2.4 GiB used: 76.2 MiB (3.1%) dev: /dev/sda2 
Sensors:   System Temperatures: cpu: 33.0 C mobo: N/A 
           Fan Speeds (RPM): N/A 
Repos:     Packages: 2172 
           No active apt repos in: /etc/apt/sources.list 
           Active apt repos in: /etc/apt/sources.list.d/antix.list 
           1: deb http://iso.mxrepo.com/antix/stretch stretch main
           Active apt repos in: /etc/apt/sources.list.d/debian-stable-updates.list 
           1: deb http://ftp.ca.debian.org/debian/ stretch-updates main contrib non-free
           Active apt repos in: /etc/apt/sources.list.d/debian.list 
           1: deb http://ftp.ca.debian.org/debian/ stretch main contrib non-free
           2: deb http://security.debian.org/ stretch/updates main contrib non-free
           Active apt repos in: /etc/apt/sources.list.d/devrepo.list 
           1: deb http://mxrepo.com/mx/testrepo/ mx18 dev
           Active apt repos in: /etc/apt/sources.list.d/mx.list 
           1: deb http://mxrepo.com/mx/repo/ stretch main non-free
           No active apt repos in: /etc/apt/sources.list.d/various.list 
Info:      Processes: 186 Uptime: 17h 12m Memory: 929.8 MiB used: 465.2 MiB (50.0%) 
           Init: SysVinit runlevel: 5 Compilers: gcc: 6.3.0 Shell: Bash v: 4.4.12 inxi: 3.3.06 

User avatar
dolphin_oracle
Developer
Posts: 20024
Joined: Sun Dec 16, 2007 1:17 pm

Re: openssh-server broken MX-9 Stretch

#2 Post by dolphin_oracle »

MX_GRD wrote: Mon May 30, 2022 11:21 am Tried to install openssh-server from Package Manager and received message: broken; also tried Synaptic and apt, same result.
Using apt, I get following message:

Code: Select all

dpkg: error processing openssh-server (--configure):
 subprocess installed post-installation script returned error exit status 1
 Errors were encountered while processing:
  openssh-server
 E: Sub-process /usr/bin/ returned an error code (1)
Is there a list source list error? What else could cause error?

Code: Select all

System:    Kernel: 4.19.0-1-686-pae i686 bits: 32 compiler: gcc v: 6.3.0 Desktop: Xfce 4.12.3 
           Distro: MX-18.3_386 Continuum Apr 7  2019 base: Debian GNU/Linux 9 (stretch) 
Machine:   Type: Laptop System: Hewlett-Packard product: Compaq Mini 110c-1100 
           v: 0394110000001C00000300000 serial: <filter> 
           Mobo: Hewlett-Packard model: 308F v: KBC Version 02.10 serial: <filter> 
           BIOS: Hewlett-Packard v: 308F0 Ver. F.18 date: 10/06/2009 
CPU:       Info: Single Core model: Intel Atom N270 bits: 32 type: MT arch: Bonnell rev: 2 
           cache: L2: 512 KiB 
           flags: nx pae sse sse2 sse3 ssse3 bogomips: 6383 
           Speed: 855 MHz min/max: 800/1600 MHz Core speeds (MHz): 1: 1361 2: 1368 
Graphics:  Device-1: Intel Mobile 945GSE Express Integrated Graphics vendor: Hewlett-Packard 
           driver: i915 v: kernel bus-ID: 00:02.0 
           Device-2: Importek type: USB driver: uvcvideo bus-ID: 3-4:2 
           Display: x11 server: X.Org 1.19.2 driver: loaded: intel 
           unloaded: fbdev,modesetting,vesa resolution: 1024x600~60Hz 
           OpenGL: renderer: Mesa DRI Intel 945GME x86/MMX/SSE2 v: 1.4 Mesa 18.2.6 
           direct render: Yes 
Audio:     Device-1: Intel NM10/ICH7 Family High Definition Audio vendor: Hewlett-Packard 
           driver: snd_hda_intel v: kernel bus-ID: 00:1b.0 
           Sound Server-1: ALSA v: k4.19.0-1-686-pae running: yes 
           Sound Server-2: PulseAudio v: 10.0 running: yes 
Network:   Device-1: Broadcom Limited BCM4312 802.11b/g LP-PHY 
           vendor: Hewlett-Packard U98Z049.00 Wireless Mini PCIe Card driver: b43-pci-bridge 
           v: N/A port: cc00 bus-ID: 01:00.0 
           Device-2: Qualcomm Atheros AR8132 Fast Ethernet vendor: Hewlett-Packard driver: atl1c 
           v: 1.0.1.1-NAPI port: ec80 bus-ID: 02:00.0 
           IF: eth0 state: up speed: 100 Mbps duplex: full mac: <filter> 
           IF-ID-1: wlan0 state: down mac: <filter> 
Drives:    Local Storage: total: 149.05 GiB used: 55.96 GiB (37.5%) 
           ID-1: /dev/sda vendor: Toshiba model: MK1655GSX size: 149.05 GiB 
Partition: ID-1: / size: 56.46 GiB used: 21.97 GiB (38.9%) fs: ext4 dev: /dev/sda1 
Swap:      ID-1: swap-1 type: partition size: 2.4 GiB used: 76.2 MiB (3.1%) dev: /dev/sda2 
Sensors:   System Temperatures: cpu: 33.0 C mobo: N/A 
           Fan Speeds (RPM): N/A 
Repos:     Packages: 2172 
           No active apt repos in: /etc/apt/sources.list 
           Active apt repos in: /etc/apt/sources.list.d/antix.list 
           1: deb http://iso.mxrepo.com/antix/stretch stretch main
           Active apt repos in: /etc/apt/sources.list.d/debian-stable-updates.list 
           1: deb http://ftp.ca.debian.org/debian/ stretch-updates main contrib non-free
           Active apt repos in: /etc/apt/sources.list.d/debian.list 
           1: deb http://ftp.ca.debian.org/debian/ stretch main contrib non-free
           2: deb http://security.debian.org/ stretch/updates main contrib non-free
           Active apt repos in: /etc/apt/sources.list.d/devrepo.list 
           1: deb http://mxrepo.com/mx/testrepo/ mx18 dev
           Active apt repos in: /etc/apt/sources.list.d/mx.list 
           1: deb http://mxrepo.com/mx/repo/ stretch main non-free
           No active apt repos in: /etc/apt/sources.list.d/various.list 
Info:      Processes: 186 Uptime: 17h 12m Memory: 929.8 MiB used: 465.2 MiB (50.0%) 
           Init: SysVinit runlevel: 5 Compilers: gcc: 6.3.0 Shell: Bash v: 4.4.12 inxi: 3.3.06 
can you give the whole apt message? that's the summary at the end, just means the postinstall script errored somewhere. My guess would be enableing the service failed, but that is a guess.

FWIW MX17/18 is nearing end of life. Debian drops support at the end of June.
http://www.youtube.com/runwiththedolphin
lenovo ThinkPad X1 Extreme Gen 4 - MX-23
FYI: mx "test" repo is not the same thing as debian testing repo.

User avatar
timkb4cq
Developer
Posts: 3206
Joined: Wed Jul 12, 2006 4:05 pm

Re: openssh-server broken MX-9 Stretch

#3 Post by timkb4cq »

Look near the end of /var/log/dpkg.log to see if there's any more detail.
I just did a test install of openssh-server on my MX-18 VirtualBox VM and it installed OK so it's something specific to your install.
Last edited by timkb4cq on Mon May 30, 2022 11:44 am, edited 1 time in total.
HP Pavillion TP01, AMD Ryzen 3 5300G (quad core), Crucial 500GB SSD, Toshiba 6TB 7200rpm
Dell Inspiron 15, AMD Ryzen 7 2700u (quad core). Sabrent 500GB nvme, Seagate 1TB

User avatar
Adrian
Developer
Posts: 8269
Joined: Wed Jul 12, 2006 1:42 am

Re: openssh-server broken MX-9 Stretch

#4 Post by Adrian »

Support will end for Stretch in June 30, 2022 -- that's a month away. It might be worth putting effort into upgrading the computer than trying to fix this.

MX_GRD
Posts: 76
Joined: Thu Jul 25, 2019 7:50 pm

Re: openssh-server broken MX-9 Stretch

#5 Post by MX_GRD »

timkb4cq wrote: Mon May 30, 2022 11:33 am Look near the end of /var/log/dpkg.log to see if there's any more detail.
I just did a test install of openssh-server on my MX-18 VirtualBox VM and it installed OK so it's something specific to your install.
Here's the log since openss install"

Code: Select all

2022-05-30 07:55:35 startup archives unpack
2022-05-30 07:55:41 upgrade openssh-client:i386 1:7.4p1-10+deb9u7 1:7.4p1-10+deb9u7
2022-05-30 07:55:41 status half-configured openssh-client:i386 1:7.4p1-10+deb9u7
2022-05-30 07:55:41 status unpacked openssh-client:i386 1:7.4p1-10+deb9u7
2022-05-30 07:55:41 status half-installed openssh-client:i386 1:7.4p1-10+deb9u7
2022-05-30 07:55:42 status triggers-pending man-db:i386 2.7.6.1-2
2022-05-30 07:55:43 status half-installed openssh-client:i386 1:7.4p1-10+deb9u7
2022-05-30 07:55:43 status unpacked openssh-client:i386 1:7.4p1-10+deb9u7
2022-05-30 07:55:43 status unpacked openssh-client:i386 1:7.4p1-10+deb9u7
2022-05-30 07:55:43 upgrade openssh-sftp-server:i386 1:7.4p1-10+deb9u7 1:7.4p1-10+deb9u7
2022-05-30 07:55:43 status half-configured openssh-sftp-server:i386 1:7.4p1-10+deb9u7
2022-05-30 07:55:43 status unpacked openssh-sftp-server:i386 1:7.4p1-10+deb9u7
2022-05-30 07:55:43 status half-installed openssh-sftp-server:i386 1:7.4p1-10+deb9u7
2022-05-30 07:55:44 status half-installed openssh-sftp-server:i386 1:7.4p1-10+deb9u7
2022-05-30 07:55:44 status unpacked openssh-sftp-server:i386 1:7.4p1-10+deb9u7
2022-05-30 07:55:44 status unpacked openssh-sftp-server:i386 1:7.4p1-10+deb9u7
2022-05-30 07:55:45 upgrade openssh-server:i386 1:7.4p1-10+deb9u7 1:7.4p1-10+deb9u7
2022-05-30 07:55:45 status half-configured openssh-server:i386 1:7.4p1-10+deb9u7
2022-05-30 07:55:45 status unpacked openssh-server:i386 1:7.4p1-10+deb9u7
2022-05-30 07:55:45 status half-installed openssh-server:i386 1:7.4p1-10+deb9u7
2022-05-30 07:55:45 status triggers-pending systemd:i386 232-25+deb9u13
2022-05-30 07:55:45 status triggers-pending ufw:all 0.35-4
2022-05-30 07:55:46 status half-installed openssh-server:i386 1:7.4p1-10+deb9u7
2022-05-30 07:55:46 status unpacked openssh-server:i386 1:7.4p1-10+deb9u7
2022-05-30 07:55:46 status unpacked openssh-server:i386 1:7.4p1-10+deb9u7
2022-05-30 07:55:47 upgrade openssh-client-ssh1:i386 1:7.4p1-10+deb9u7 1:7.4p1-10+deb9u7
2022-05-30 07:55:47 status half-configured openssh-client-ssh1:i386 1:7.4p1-10+deb9u7
2022-05-30 07:55:47 status unpacked openssh-client-ssh1:i386 1:7.4p1-10+deb9u7
2022-05-30 07:55:47 status half-installed openssh-client-ssh1:i386 1:7.4p1-10+deb9u7
2022-05-30 07:55:47 status half-installed openssh-client-ssh1:i386 1:7.4p1-10+deb9u7
2022-05-30 07:55:48 status unpacked openssh-client-ssh1:i386 1:7.4p1-10+deb9u7
2022-05-30 07:55:48 status unpacked openssh-client-ssh1:i386 1:7.4p1-10+deb9u7
2022-05-30 07:55:49 startup packages configure
2022-05-30 07:55:49 trigproc ufw:all 0.35-4 <none>
2022-05-30 07:55:49 status half-configured ufw:all 0.35-4
2022-05-30 07:55:51 status installed ufw:all 0.35-4
2022-05-30 07:55:51 trigproc systemd:i386 232-25+deb9u13 <none>
2022-05-30 07:55:51 status half-configured systemd:i386 232-25+deb9u13
2022-05-30 07:55:51 status installed systemd:i386 232-25+deb9u13
2022-05-30 07:55:51 trigproc man-db:i386 2.7.6.1-2 <none>
2022-05-30 07:55:51 status half-configured man-db:i386 2.7.6.1-2
2022-05-30 07:55:53 status installed man-db:i386 2.7.6.1-2
2022-05-30 07:55:53 configure openssh-client:i386 1:7.4p1-10+deb9u7 <none>
2022-05-30 07:55:53 status unpacked openssh-client:i386 1:7.4p1-10+deb9u7
2022-05-30 07:55:54 status unpacked openssh-client:i386 1:7.4p1-10+deb9u7
2022-05-30 07:55:54 status unpacked openssh-client:i386 1:7.4p1-10+deb9u7
2022-05-30 07:55:54 status half-configured openssh-client:i386 1:7.4p1-10+deb9u7
2022-05-30 07:55:54 status installed openssh-client:i386 1:7.4p1-10+deb9u7
2022-05-30 07:55:54 configure openssh-client-ssh1:i386 1:7.4p1-10+deb9u7 <none>
2022-05-30 07:55:54 status unpacked openssh-client-ssh1:i386 1:7.4p1-10+deb9u7
2022-05-30 07:55:54 status half-configured openssh-client-ssh1:i386 1:7.4p1-10+deb9u7
2022-05-30 07:55:54 status installed openssh-client-ssh1:i386 1:7.4p1-10+deb9u7
2022-05-30 07:55:54 configure openssh-sftp-server:i386 1:7.4p1-10+deb9u7 <none>
2022-05-30 07:55:54 status unpacked openssh-sftp-server:i386 1:7.4p1-10+deb9u7
2022-05-30 07:55:54 status half-configured openssh-sftp-server:i386 1:7.4p1-10+deb9u7
2022-05-30 07:55:54 status installed openssh-sftp-server:i386 1:7.4p1-10+deb9u7
2022-05-30 07:55:54 configure openssh-server:i386 1:7.4p1-10+deb9u7 <none>
2022-05-30 07:55:54 status unpacked openssh-server:i386 1:7.4p1-10+deb9u7
2022-05-30 07:55:54 status unpacked openssh-server:i386 1:7.4p1-10+deb9u7
2022-05-30 07:55:54 status unpacked openssh-server:i386 1:7.4p1-10+deb9u7
2022-05-30 07:55:55 status unpacked openssh-server:i386 1:7.4p1-10+deb9u7
2022-05-30 07:55:55 status unpacked openssh-server:i386 1:7.4p1-10+deb9u7
2022-05-30 07:55:55 status unpacked openssh-server:i386 1:7.4p1-10+deb9u7
2022-05-30 07:55:55 status unpacked openssh-server:i386 1:7.4p1-10+deb9u7
2022-05-30 07:55:55 status half-configured openssh-server:i386 1:7.4p1-10+deb9u7
2022-05-30 07:58:26 startup packages remove
2022-05-30 07:58:26 status half-configured openssh-server:i386 1:7.4p1-10+deb9u7
2022-05-30 07:58:33 remove openssh-server:i386 1:7.4p1-10+deb9u7 <none>
2022-05-30 07:58:33 status half-configured openssh-server:i386 1:7.4p1-10+deb9u7
2022-05-30 07:58:33 status half-installed openssh-server:i386 1:7.4p1-10+deb9u7
2022-05-30 07:58:33 status triggers-pending man-db:i386 2.7.6.1-2
2022-05-30 07:58:36 status config-files openssh-server:i386 1:7.4p1-10+deb9u7
2022-05-30 07:58:36 status config-files openssh-server:i386 1:7.4p1-10+deb9u7
2022-05-30 07:58:36 status installed openssh-client-ssh1:i386 1:7.4p1-10+deb9u7
2022-05-30 07:58:36 remove openssh-client-ssh1:i386 1:7.4p1-10+deb9u7 <none>
2022-05-30 07:58:36 status half-configured openssh-client-ssh1:i386 1:7.4p1-10+deb9u7
2022-05-30 07:58:36 status half-installed openssh-client-ssh1:i386 1:7.4p1-10+deb9u7
2022-05-30 07:58:36 status config-files openssh-client-ssh1:i386 1:7.4p1-10+deb9u7
2022-05-30 07:58:36 status config-files openssh-client-ssh1:i386 1:7.4p1-10+deb9u7
2022-05-30 07:58:36 status config-files openssh-client-ssh1:i386 1:7.4p1-10+deb9u7
2022-05-30 07:58:37 status not-installed openssh-client-ssh1:i386 <none>
2022-05-30 07:58:37 status installed openssh-sftp-server:i386 1:7.4p1-10+deb9u7
2022-05-30 07:58:37 remove openssh-sftp-server:i386 1:7.4p1-10+deb9u7 <none>
2022-05-30 07:58:37 status half-configured openssh-sftp-server:i386 1:7.4p1-10+deb9u7
2022-05-30 07:58:37 status half-installed openssh-sftp-server:i386 1:7.4p1-10+deb9u7
2022-05-30 07:58:37 status config-files openssh-sftp-server:i386 1:7.4p1-10+deb9u7
2022-05-30 07:58:37 status config-files openssh-sftp-server:i386 1:7.4p1-10+deb9u7
2022-05-30 07:58:37 status config-files openssh-sftp-server:i386 1:7.4p1-10+deb9u7
2022-05-30 07:58:37 status not-installed openssh-sftp-server:i386 <none>
2022-05-30 07:58:37 status installed openssh-client:i386 1:7.4p1-10+deb9u7
2022-05-30 07:58:37 status installed sshfs:i386 2.8-1
2022-05-30 07:58:38 remove sshfs:i386 2.8-1 <none>
2022-05-30 07:58:38 status half-configured sshfs:i386 2.8-1
2022-05-30 07:58:38 status half-installed sshfs:i386 2.8-1
2022-05-30 07:58:38 status config-files sshfs:i386 2.8-1
2022-05-30 07:58:38 status config-files sshfs:i386 2.8-1
2022-05-30 07:58:38 status config-files sshfs:i386 2.8-1
2022-05-30 07:58:38 status not-installed sshfs:i386 <none>
2022-05-30 07:58:38 status installed openssh-client:i386 1:7.4p1-10+deb9u7
2022-05-30 07:58:38 remove openssh-client:i386 1:7.4p1-10+deb9u7 <none>
2022-05-30 07:58:38 status half-configured openssh-client:i386 1:7.4p1-10+deb9u7
2022-05-30 07:58:39 status half-installed openssh-client:i386 1:7.4p1-10+deb9u7
2022-05-30 07:58:40 status config-files openssh-client:i386 1:7.4p1-10+deb9u7
2022-05-30 07:58:40 status config-files openssh-client:i386 1:7.4p1-10+deb9u7
2022-05-30 07:58:41 startup packages configure
2022-05-30 07:58:41 trigproc man-db:i386 2.7.6.1-2 <none>
2022-05-30 07:58:41 status half-configured man-db:i386 2.7.6.1-2
2022-05-30 07:58:43 status installed man-db:i386 2.7.6.1-2
2022-05-30 07:58:44 startup packages purge
2022-05-30 07:58:49 purge openssh-client:i386 1:7.4p1-10+deb9u7 <none>
2022-05-30 07:58:49 status config-files openssh-client:i386 1:7.4p1-10+deb9u7
2022-05-30 07:58:49 status config-files openssh-client:i386 1:7.4p1-10+deb9u7
2022-05-30 07:58:49 status config-files openssh-client:i386 1:7.4p1-10+deb9u7
2022-05-30 07:58:51 status config-files openssh-client:i386 1:7.4p1-10+deb9u7
2022-05-30 07:58:51 status config-files openssh-client:i386 1:7.4p1-10+deb9u7
2022-05-30 07:58:51 status not-installed openssh-client:i386 <none>
2022-05-30 07:58:52 startup packages configure
2022-05-30 09:10:05 startup archives unpack
2022-05-30 09:10:09 install openssh-client:i386 <none> 1:7.4p1-10+deb9u7
2022-05-30 09:10:09 status half-installed openssh-client:i386 1:7.4p1-10+deb9u7
2022-05-30 09:10:10 status triggers-pending man-db:i386 2.7.6.1-2
2022-05-30 09:10:10 status unpacked openssh-client:i386 1:7.4p1-10+deb9u7
2022-05-30 09:10:10 status unpacked openssh-client:i386 1:7.4p1-10+deb9u7
2022-05-30 09:10:11 install openssh-sftp-server:i386 <none> 1:7.4p1-10+deb9u7
2022-05-30 09:10:11 status half-installed openssh-sftp-server:i386 1:7.4p1-10+deb9u7
2022-05-30 09:10:11 status unpacked openssh-sftp-server:i386 1:7.4p1-10+deb9u7
2022-05-30 09:10:11 status unpacked openssh-sftp-server:i386 1:7.4p1-10+deb9u7
2022-05-30 09:10:12 install openssh-server:i386 1:7.4p1-10+deb9u7 1:7.4p1-10+deb9u7
2022-05-30 09:10:12 status half-installed openssh-server:i386 1:7.4p1-10+deb9u7
2022-05-30 09:10:12 status triggers-pending systemd:i386 232-25+deb9u13
2022-05-30 09:10:12 status triggers-pending ufw:all 0.35-4
2022-05-30 09:10:12 status unpacked openssh-server:i386 1:7.4p1-10+deb9u7
2022-05-30 09:10:12 status unpacked openssh-server:i386 1:7.4p1-10+deb9u7
2022-05-30 09:10:13 startup packages configure
2022-05-30 09:10:13 trigproc ufw:all 0.35-4 <none>
2022-05-30 09:10:13 status half-configured ufw:all 0.35-4
2022-05-30 09:10:14 status installed ufw:all 0.35-4
2022-05-30 09:10:14 trigproc systemd:i386 232-25+deb9u13 <none>
2022-05-30 09:10:14 status half-configured systemd:i386 232-25+deb9u13
2022-05-30 09:10:14 status installed systemd:i386 232-25+deb9u13
2022-05-30 09:10:14 trigproc man-db:i386 2.7.6.1-2 <none>
2022-05-30 09:10:14 status half-configured man-db:i386 2.7.6.1-2
2022-05-30 09:10:16 status installed man-db:i386 2.7.6.1-2
2022-05-30 09:10:16 configure openssh-client:i386 1:7.4p1-10+deb9u7 <none>
2022-05-30 09:10:16 status unpacked openssh-client:i386 1:7.4p1-10+deb9u7
2022-05-30 09:10:16 status unpacked openssh-client:i386 1:7.4p1-10+deb9u7
2022-05-30 09:10:16 status unpacked openssh-client:i386 1:7.4p1-10+deb9u7
2022-05-30 09:10:16 status half-configured openssh-client:i386 1:7.4p1-10+deb9u7
2022-05-30 09:10:17 status installed openssh-client:i386 1:7.4p1-10+deb9u7
2022-05-30 09:10:18 configure openssh-sftp-server:i386 1:7.4p1-10+deb9u7 <none>
2022-05-30 09:10:18 status unpacked openssh-sftp-server:i386 1:7.4p1-10+deb9u7
2022-05-30 09:10:18 status half-configured openssh-sftp-server:i386 1:7.4p1-10+deb9u7
2022-05-30 09:10:18 status installed openssh-sftp-server:i386 1:7.4p1-10+deb9u7
2022-05-30 09:10:18 configure openssh-server:i386 1:7.4p1-10+deb9u7 <none>
2022-05-30 09:10:18 status unpacked openssh-server:i386 1:7.4p1-10+deb9u7
2022-05-30 09:10:18 status unpacked openssh-server:i386 1:7.4p1-10+deb9u7
2022-05-30 09:10:18 status unpacked openssh-server:i386 1:7.4p1-10+deb9u7
2022-05-30 09:10:18 status unpacked openssh-server:i386 1:7.4p1-10+deb9u7
2022-05-30 09:10:18 status unpacked openssh-server:i386 1:7.4p1-10+deb9u7
2022-05-30 09:10:18 status unpacked openssh-server:i386 1:7.4p1-10+deb9u7
2022-05-30 09:10:18 status unpacked openssh-server:i386 1:7.4p1-10+deb9u7
2022-05-30 09:10:18 status half-configured openssh-server:i386 1:7.4p1-10+deb9u7
I noticed systemd was mentioned; I'm on the older system, init.d. Would that be the cause?

MX_GRD
Posts: 76
Joined: Thu Jul 25, 2019 7:50 pm

Re: openssh-server broken MX-9 Stretch

#6 Post by MX_GRD »

dolphin_oracle wrote: Mon May 30, 2022 11:31 am ...
can you give the whole apt message? that's the summary at the end, just means the postinstall script errored somewhere. My guess would be enableing the service failed, but that is a guess.

FWIW MX17/18 is nearing end of life. Debian drops support at the end of June.
Here it is:

Code: Select all

$ sudo apt install openssh-server
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following additional packages will be installed:
  openssh-client openssh-sftp-server
Suggested packages:
  keychain libpam-ssh monkeysphere ssh-askpass molly-guard rssh
The following NEW packages will be installed:
  openssh-client openssh-server openssh-sftp-server
0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/1,265 kB of archives.
After this operation, 6,036 kB of additional disk space will be used.
Do you want to continue? [Y/n] Y
Preconfiguring packages ...
Selecting previously unselected package openssh-client.
(Reading database ... 295803 files and directories currently installed.)
Preparing to unpack .../openssh-client_1%3a7.4p1-10+deb9u7_i386.deb ...
Unpacking openssh-client (1:7.4p1-10+deb9u7) ...
Selecting previously unselected package openssh-sftp-server.
Preparing to unpack .../openssh-sftp-server_1%3a7.4p1-10+deb9u7_i386.deb ...
Unpacking openssh-sftp-server (1:7.4p1-10+deb9u7) ...
Selecting previously unselected package openssh-server.
Preparing to unpack .../openssh-server_1%3a7.4p1-10+deb9u7_i386.deb ...
Unpacking openssh-server (1:7.4p1-10+deb9u7) ...
Processing triggers for ufw (0.35-4) ...
Processing triggers for systemd (232-25+deb9u13) ...
Processing triggers for man-db (2.7.6.1-2) ...
Setting up openssh-client (1:7.4p1-10+deb9u7) ...
Setting up openssh-sftp-server (1:7.4p1-10+deb9u7) ...
Setting up openssh-server (1:7.4p1-10+deb9u7) ...
Not replacing deleted config file /etc/ssh/sshd_config
dpkg: error processing package openssh-server (--configure):
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
 openssh-server
E: Sub-process /usr/bin/dpkg returned an error code (1)
I was thinking of upgrading; as it is, my old 1GB Ram and 1GB CPU may not be able to handle the upgrade.

User avatar
timkb4cq
Developer
Posts: 3206
Joined: Wed Jul 12, 2006 4:05 pm

Re: openssh-server broken MX-9 Stretch

#7 Post by timkb4cq »

The openssh-server cong script ( /var/lib/dpkg/info/openssh-server.config ) is pretty simple. It just uses /bin/sh and perl.
If you have removed perl or installed a non-standard perl, or linked a shell other than bash or dash to /bin/sh that might cause the failure. Neither seems likely to me but I can't think of anything else.
HP Pavillion TP01, AMD Ryzen 3 5300G (quad core), Crucial 500GB SSD, Toshiba 6TB 7200rpm
Dell Inspiron 15, AMD Ryzen 7 2700u (quad core). Sabrent 500GB nvme, Seagate 1TB

MX_GRD
Posts: 76
Joined: Thu Jul 25, 2019 7:50 pm

Re: openssh-server broken MX-9 Stretch

#8 Post by MX_GRD »

timkb4cq wrote: Mon May 30, 2022 1:04 pm The openssh-server cong script ( /var/lib/dpkg/info/openssh-server.config ) is pretty simple. It just uses /bin/sh and perl.
If you have removed perl or installed a non-standard perl, or linked a shell other than bash or dash to /bin/sh that might cause the failure. Neither seems likely to me but I can't think of anything else.
I checked openssh.server.config ; it has correct /bin/sh
Synaptic lists openssh-server and ssh as broken [!] in red colour; that's why I was wondering if it was a source list issue.
Thanks

MX_GRD
Posts: 76
Joined: Thu Jul 25, 2019 7:50 pm

Re: openssh-server broken MX-9 Stretch  [Solved]

#9 Post by MX_GRD »

Gave up on openssh-server; successfully using smbclient instead.

Post Reply

Return to “Older Versions”