Package: munge
Severity: important
Version: 0.5.14-4

$ sudo apt update
...
N: Repository 'http://mirrors/debian buster InRelease' changed its
'Version' value from '10.1' to '10.10'

$ sudo apt install munge
# installation ok

$ sudo nano /etc/apt/sources.list
# change 'buster' to 'bullseye'

$ sudo apt update
$ sudo apt install munge
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
  libmunge2
The following packages will be upgraded:
  libmunge2 munge
2 upgraded, 0 newly installed, 0 to remove and 307 not upgraded.
Need to get 128 kB of archives.
After this operation, 56.3 kB of additional disk space will be used.
Do you want to continue? [Y/n]
Get:1 http://mirrors/debian bullseye/main amd64 munge amd64 0.5.14-4 [106 kB]
Get:2 http://mirrors/debian bullseye/main amd64 libmunge2 amd64
0.5.14-4 [22.3 kB]
Fetched 128 kB in 0s (2,544 kB/s)
Reading changelogs... Done
(Reading database ... 29579 files and directories currently installed.)
Preparing to unpack .../munge_0.5.14-4_amd64.deb ...
Unpacking munge (0.5.14-4) over (0.5.13-2) ...
Preparing to unpack .../libmunge2_0.5.14-4_amd64.deb ...
Unpacking libmunge2 (0.5.14-4) over (0.5.13-2) ...
Setting up libmunge2 (0.5.14-4) ...
Setting up munge (0.5.14-4) ...
Installing new version of config file /etc/init.d/munge ...
Installing new version of config file /etc/logrotate.d/munge ...
Job for munge.service failed because the control process exited with error code.
See "systemctl status munge.service" and "journalctl -xe" for details.
invoke-rc.d: initscript munge, action "restart" failed.
● munge.service - MUNGE authentication service
   Loaded: loaded (/lib/systemd/system/munge.service; enabled; vendor
preset: enabled)
   Active: failed (Result: exit-code) since Wed 2021-08-04 04:02:46 EDT; 9ms ago
     Docs: man:munged(8)
  Process: 11931 ExecStart=/usr/sbin/munged $OPTIONS (code=exited,
status=1/FAILURE)

Aug 04 04:02:46 localhost systemd[1]: Starting MUNGE authentication service...
Aug 04 04:02:46 localhost munged[11931]: munged: Error: Failed to
initialize Libgcrypt: version mismatch: expected 1.8.8
Aug 04 04:02:46 localhost systemd[1]: munge.service: Control process
exited, code=exited, status=1/FAILURE
Aug 04 04:02:46 localhost systemd[1]: munge.service: Failed with
result 'exit-code'.
Aug 04 04:02:46 localhost systemd[1]: Failed to start MUNGE
authentication service.
dpkg: error processing package munge (--configure):
 installed munge package post-installation script subprocess returned
error exit status 1
Processing triggers for systemd (241-7~deb10u1) ...
Processing triggers for man-db (2.8.5-2) ...
Processing triggers for libc-bin (2.28-10) ...
Errors were encountered while processing:
 munge
E: Sub-process /usr/bin/dpkg returned an error code (1)

$ apt show libgcrypt20
...
Version: 1.8.7-6

$ sudo apt install libgcrypt20
Reading package lists... Done
Building dependency tree
Reading state information... Done
Suggested packages:
  rng-tools
The following packages will be upgraded:
  libgcrypt20
1 upgraded, 0 newly installed, 0 to remove and 306 not upgraded.
1 not fully installed or removed.
Need to get 563 kB of archives.
After this operation, 12.3 kB of additional disk space will be used.
Get:1 http://mirrors.bfsu.edu.cn/debian bullseye/main amd64
libgcrypt20 amd64 1.8.7-6 [563 kB]
Fetched 563 kB in 0s (7,274 kB/s)
Reading changelogs... Done
(Reading database ... 29577 files and directories currently installed.)
Preparing to unpack .../libgcrypt20_1.8.7-6_amd64.deb ...
Unpacking libgcrypt20:amd64 (1.8.7-6) over (1.8.4-5) ...
Setting up libgcrypt20:amd64 (1.8.7-6) ...
Setting up munge (0.5.14-4) ...
Processing triggers for libc-bin (2.28-10) ...

Reply via email to