Bug 2055686 - package removal emits Failed to remove entry from /etc/sgml/catalog
Summary: package removal emits Failed to remove entry from /etc/sgml/catalog
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux 9
Classification: Red Hat
Component: docbook-dtds
Version: 9.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Ondřej Sloup
QA Contact: CS System Management SST QE
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-02-17 14:15 UTC by Jiri Jaburek
Modified: 2023-08-17 07:28 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-08-17 07:28:43 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHELPLAN-112755 0 None None None 2022-02-17 14:25:40 UTC

Description Jiri Jaburek 2022-02-17 14:15:40 UTC
Description of problem:

When removing the docbook-dtds package, I'm getting a scriptlet error:

  Erasing          : docbook-dtds-1.0-79.el9.noarch      1/3 
  Running scriptlet: docbook-dtds-1.0-79.el9.noarch      1/3 
Failed to remove entry from /etc/sgml/catalog

  Erasing          : sgml-common-0.6.3-58.el9.noarch     2/3 
  Erasing          : xml-common-0.6.3-58.el9.noarch      3/3 


This started appearing recently (was not present in RHEL-9.0.0-20220210.0, fails in RHEL-9.0.0-20220215.4, despite no docbook-dtds version change).

Maybe it's a result of removing some docbook-* packages from AppStream between the two composes:

  docbook-style-dsssl-1.79-33.el9
  docbook-utils-0.6.14-54.el9
  docbook-utils-pdf-0.6.14-54.el9

though this removal might be unrelated.

Looking at the RPM scriptlets, I'm not seeing any obvious and the error message isn't exactly verbose either, so I'm leaving it up to you to investigate.


Version-Release number of selected component (if applicable):
docbook-dtds-1.0-79.el9

Comment 1 Ondrej Vasik 2022-03-11 08:11:04 UTC
Thanks for report. I believe this error occurs if the package is the last one which uses /etc/sgml/catalog - IOW, if you still have more such packages installed, error message will not occur upon uninstall of docbook-dtds. I have seen similar report in the past, not sure, how to fix it (probably some more complicated scriptlet). Docbook-style-dsssl rpm uses the /etc/sgml/catalog file too. so its removal from AppStream probably revealed this harmless error message.

Comment 3 RHEL Program Management 2023-08-17 07:28:43 UTC
After evaluating this issue, there are no plans to address it further or fix it in an upcoming release.  Therefore, it is being closed.  If plans change such that this issue will be fixed in an upcoming release, then the bug can be reopened.


Note You need to log in before you can comment on or make changes to this bug.