[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1010432: debian-edu-config: autopkgtest regression: update-mime: not found



[ Paul Gevers, 2022-05-01 ]
> It seems that with the fix for bug #1010102 you either picked the 
> wrong Depends of two, or you forgot to update the postinst for the 
> change as update-mime lives in mailcap.

AFAICT calling update-mime in d-e-c.postinst is unneeded since the 
obsolete debian-edu-mailcap file has been removed, see commit 2aaa1adf:
https://salsa.debian.org/debian-edu/debian-edu-config/-/commit/2aaa1adfac0f1ea63520bd884c2c48c674b51e3c
and commit 24f26f25:
https://salsa.debian.org/debian-edu/debian-edu-config/-/commit/24f26f2552cdc62e5b580cac4d7e40a6f973c326

The update-mime call should be removed from the postinst script.

The Depends on mime-support had been added in 2004 due to moving the 
mailcap file and calling update-mime in d-e-c.postinst, see commit 
91550cf1:
https://salsa.debian.org/debian-edu/debian-edu-config/-/commit/91550cf1d35774f10cc9989f16038eeabf95e86b

IMO d-e-config neither needs media-types nor mailcap as dependencies, 
please check.

Wolfgang

Attachment: signature.asc
Description: PGP signature


Reply to: