On Wed, 2023-09-13 15:15:10 +0200, Vincent Blut wrote: > Control: tags -1 + moreinfo > > Hi Anibal, > > Le 2023-09-13 13:52, Anibal Monsalve Salazar a écrit : >> Package: chrony >> Version: 4.2-2 >> Severity: critical >> >> # dpkg -i /mnt/apt/archives/chrony_4.4-1_i386.deb >> (Reading database ... 34682 files and directories currently installed.) >> Preparing to unpack .../archives/chrony_4.4-1_i386.deb ... >> Failed to stop chronyd-restricted.service: Unit chronyd-restricted.service >> not loaded. >> Unpacking chrony (4.4-1) over (4.3-4) ... >> Setting up chrony (4.4-1) ... >> Unknown option: comment >> adduser [--home DIR] [--shell SHELL] [--no-create-home] [--uid ID] >> [--firstuid ID] [--lastuid ID] [--gecos GECOS] [--ingroup GROUP | --gid ID] >> [--disabled-password] [--disabled-login] [--add_extra_groups] USER >> Add a normal user >> >> adduser --system [--home DIR] [--shell SHELL] [--no-create-home] [--uid ID] >> [--gecos GECOS] [--group | --ingroup GROUP | --gid ID] [--disabled-password] >> [--disabled-login] [--add_extra_groups] USER >> Add a system user >> >> adduser --group [--gid ID] GROUP >> addgroup [--gid ID] GROUP >> Add a user group >> >> addgroup --system [--gid ID] GROUP >> Add a system group >> >> adduser USER GROUP >> Add an existing user to an existing group >> >> general options: >> --quiet | -q don't give process information to stdout >> --force-badname allow usernames which do not match the >> NAME_REGEX configuration variable >> --help | -h usage message >> --version | -v version number and copyright >> --conf | -c FILE use FILE as configuration file >> >> dpkg: error processing package chrony (--install): >> installed chrony package post-installation script subprocess returned error >> exit status 1 >> Processing triggers for man-db (2.11.2-3) ... >> Errors were encountered while processing: >> chrony > > I don't seem to be able to reproduce this issue. Could you please give me more > information on the system on which you were upgrading chrony? It seems you > were > upgrading from chrony 4.3-4, so I guess this system is running > testing/unstable‽ > > Cheers, > Vincent
Dear Vincent, I tried again to upgrade chrony on another machine and it failed. Setting up chrony (4.4-1) ... Unknown option: comment adduser [--home DIR] [--shell SHELL] [--no-create-home] [--uid ID] [--firstuid ID] [--lastuid ID] [--gecos GECOS] [--ingroup GROUP | --gid ID] [--disabled-password] [--disabled-login] [--add_extra_groups] USER Add a normal user adduser --system [--home DIR] [--shell SHELL] [--no-create-home] [--uid ID] [--gecos GECOS] [--group | --ingroup GROUP | --gid ID] [--disabled-password] [--disabled-login] [--add_extra_groups] USER Add a system user adduser --group [--gid ID] GROUP addgroup [--gid ID] GROUP Add a user group addgroup --system [--gid ID] GROUP Add a system group adduser USER GROUP Add an existing user to an existing group general options: --quiet | -q don't give process information to stdout --force-badname allow usernames which do not match the NAME_REGEX configuration variable --help | -h usage message --version | -v version number and copyright --conf | -c FILE use FILE as configuration file dpkg: error processing package chrony (--configure): installed chrony package post-installation script subprocess returned error exit status 1 ... Errors were encountered while processing: chrony E: Sub-process /usr/bin/dpkg returned an error code (1) $ dpkg -l adduser chrony Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad) ||/ Name Version Architecture Description +++-==============-============-============-===================================================== ri adduser 3.118 all add and remove users and groups iF chrony 4.4-1 i386 Versatile implementation of the Network Time Protocol I know updating adduser from 3.118 to 3.137 will fix this bug. I tried dpkg -i chrony_4.4-1_i386.deb with the same messages above. I did not upgrade adduser this time. I suggest to replace line 28 in debian/control as follows: --- control 2023-09-14 13:52:34.323543535 +1000 +++ control 2023-09-14 13:55:18.960189965 +1000 @@ -25,7 +25,7 @@ Rules-Requires-Root: no Package: chrony Architecture: linux-any Pre-Depends: ${misc:Pre-Depends} -Depends: adduser, +Depends: adduser (>= 3.137), iproute2 [linux-any], tzdata-legacy, ucf, I will not touch the machine and will install any test package from you. Please let me know what would you like me to do. Thank you for your time and for helping me with this bug. Kind regards, Aníbal