install or removal fails with `update-inetd: error: --group is only relevant with --add`
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
sendmail (Ubuntu) |
Fix Released
|
High
|
Brian Murray | ||
Cosmic |
Fix Released
|
High
|
Brian Murray |
Bug Description
[Impact]
if you have update-inetd installed, part of all? -desktop metapackages, you can not install or upgrade sendmail-base.
[Test Case]
1) apt install update-inetd
2) apt install sendmail-base
With the old version of the package you'll observe the following failure.
Setting up sendmail-base (8.15.2-11) ...
update-inetd: warning: cannot add service, /etc/inetd.conf does not exist
update-inetd: warning: cannot add service, /etc/inetd.conf does not exist
update-inetd: warning: cannot add service, /etc/inetd.conf does not exist
update-inetd: error: --group is only relevant with --add
dpkg: error processing package sendmail-base (--configure):
installed sendmail-base package post-installation script subprocess returned error exit status 255
With the new version of the package you won't. Hooray!
[Regression Potential]
This has been fixed in Debian and the fix just removes an irrelevant argument, given that the package is currently uninstallable when update-inetd is installed the potential for making things worse is very low.
$ sudo apt-get remove -y sendmail-base 100 [ 09:37:15 ]
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
sendmail-base
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 867 kB disk space will be freed.
(Reading database ... 260510 files and directories currently installed.)
Removing sendmail-base (8.15.2-11) ...
update-inetd: error: --group is only relevant with --add
dpkg: error processing package sendmail-base (--remove):
installed sendmail-base package pre-removal script subprocess returned error exit status 255
Errors were encountered while processing:
sendmail-base
E: Sub-process /usr/bin/dpkg returned an error code (1)
ProblemType: BugDistroRelease: Ubuntu 18.10
Package: sendmail-base 8.15.2-11
ProcVersionSign
Uname: Linux 4.18.0-7-generic x86_64
ApportVersion: 2.20.10-0ubuntu9
Architecture: amd64
CurrentDesktop: ubuntu:GNOME
Date: Fri Sep 14 09:25:36 2018
InstallationDate: Installed on 2017-10-23 (325 days ago)
InstallationMedia: Ubuntu 17.10 "Artful Aardvark" - Release amd64 (20171018)
PackageArchitec
UpgradeStatus: Upgraded to cosmic on 2018-09-10 (3 days ago)
summary: |
- Removal fails with `update-inetd: error: --group is only relevant with - --add` + install or removal fails with `update-inetd: error: --group is only + relevant with --add` |
Changed in sendmail (Ubuntu): | |
importance: | Undecided → High |
status: | Confirmed → Triaged |
Changed in sendmail (Ubuntu): | |
status: | Triaged → In Progress |
assignee: | nobody → Brian Murray (brian-murray) |
Status changed to 'Confirmed' because the bug affects multiple users.