14-jpackage+1-64 rpm uninstall errors

Richard Evans richard.d.evans at oracle.com
Wed Oct 30 10:49:00 UTC 2019


Using 14-jpackage+1-64 with file associations including a png icon, I 
see the RPM includes this in the removal script:

...
xdg-icon-resource uninstall application-x-edqlaunch

The problem is that the xdg-icon-resource command requires a --size 
argument:

xdg-icon-resource uninstall [--noupdate] [--theme theme] [--context 
context] [--mode mode] --size size icon-name

so an erase fails with an error like:

xdg-icon-resource: the icon size must be specified with --size
Try 'xdg-icon-resource --help' for more information.
error: %preun(edq-0.27-1.x86_64) scriptlet failed, exit status 1
error: edq-0.27-1.x86_64: erase failed

leaving the package partly uninstalled.  Earlier when I looked in 
/usr/share/icons/hicolor/ I see my icon under "0x0" so it looks like a 
size should be specified when the package is installed.

I don't see anything like this in the bugs list.

Thanks

Richard
-- 

Oracle <http://www.oracle.com>
Richard Evans | Product Architect
Phone: +441223228408 <tel:+441223228408> | Mobile: +447973839664 
<tel:+447973839664> | Video: richard.d.evans at oracle.com 
<sip:richard.d.evans at oracle.com>
Oracle Product Development
Park House Castle Park | Cambridge | CB3 0DU | United Kingdom

ORACLE Corporation UK Ltd is a company incorporated in England & Wales | 
Company Reg. No. 1782505 | Reg. office: Oracle Parkway, Thames Valley 
Park, Reading RG6 1RA
Green Oracle <http://www.oracle.com/commitment> 	Oracle is committed to 
developing practices and products that help protect the environment



More information about the core-libs-dev mailing list