Bug 1107877 - Preinstall scriptlet is failing
Summary: Preinstall scriptlet is failing
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora
Classification: Fedora
Component: libxml2
Version: 22
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Daniel Veillard
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-06-10 22:03 UTC by Bruno Wolff III
Modified: 2016-07-19 11:47 UTC (History)
5 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2016-07-19 11:47:12 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
yum output (1.72 KB, text/plain)
2014-06-10 22:03 UTC, Bruno Wolff III
no flags Details

Description Bruno Wolff III 2014-06-10 22:03:01 UTC
Created attachment 907438 [details]
yum output

Description of problem:

Error in PREIN scriptlet in rpm package xml-common-0.6.3-41.fc21.noarch

Comment 1 Bruno Wolff III 2014-06-10 23:30:29 UTC
[bruno@wolff ~]$ ls -l /etc/xml*
total 20
-rw-r--r--. 1 root root    0 Jun 10 18:20 catalog
-rw-r--r--. 1 root root 1171 Jan 14  2012 catalog.rpmnew
-rw-r--r--. 1 root root 1241 Sep 28  2009 catalog.rpmsave
-rw-r--r--. 1 root root 1626 Jun  7 04:52 docbook-simple.xml
-rw-r--r--. 1 root root 1105 Jun  7 04:48 docbook-slides.xml
-rw-r--r--. 1 root root 1293 Jun  8 06:24 xhtml1-dtds-1.0-20020801.11.xml
lrwxrwxrwx. 1 root root   31 Jun 10 04:21 xhtml1-dtds.xml -> xhtml1-dtds-1.0-20020801.11.xml
[bruno@wolff ~]$ ls -lc /etc/xml
total 20
-rw-r--r--. 1 root root    0 Jun 10 18:20 catalog
-rw-r--r--. 1 root root 1171 Jun 10 08:07 catalog.rpmnew
-rw-r--r--. 1 root root 1241 Jun 10 08:07 catalog.rpmsave
-rw-r--r--. 1 root root 1626 Jun 10 08:07 docbook-simple.xml
-rw-r--r--. 1 root root 1105 Jun 10 08:07 docbook-slides.xml
-rw-r--r--. 1 root root 1293 Jun 10 08:07 xhtml1-dtds-1.0-20020801.11.xml
lrwxrwxrwx. 1 root root   31 Jun 10 04:21 xhtml1-dtds.xml -> xhtml1-dtds-1.0-20020801.11.xml

Comment 2 Bruno Wolff III 2014-06-10 23:36:57 UTC
Moving catalog.rpmnew to catalog and then retrying the update worked.

Comment 3 Ondrej Vasik 2014-08-05 07:17:17 UTC
Strange - /usr/bin/xmlcatalog is from the libxml2 package - moving there to get information what could be the reason for "add command fails". I never saw this kind of failure before - and the sgml-common package is relatively old&stable.

Comment 4 Daniel Veillard 2014-08-23 15:29:36 UTC
Hum, maybe if /etc/xml/catalog was empty instead of being
non-existant then the command to add it would fail because it
would first load the catalog (in order to add the corresponding
new nodes to the tree) and fail doing this because an empty file
is not a well formed XML file.
I checked the code quickly and indeed, unless you use the create
command xmlcatalog will fail if the target file is inexistant or
broken. That sounds relatively normal.

 Now who created that empty catalog ???

Git blame indicates that xmlcatalog.c was mostly unmodified for the
last 10 years, and indeed it's the first time since then I got a bug
targetting it. I would rather suspect that the empty catalog was the
result of a botched rpm upgrade or something,

Daniel

Comment 5 Jaroslav Reznik 2015-03-03 16:01:08 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 22 development cycle.
Changing version to '22'.

More information and reason for this action is here:
https://fedoraproject.org/wiki/Fedora_Program_Management/HouseKeeping/Fedora22

Comment 6 Fedora End Of Life 2016-07-19 11:47:12 UTC
Fedora 22 changed to end-of-life (EOL) status on 2016-07-19. Fedora 22 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.


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