Bug 1717367 - glibc: glibc-all-langpacks should only delete locale archive during uninstallation
Summary: glibc: glibc-all-langpacks should only delete locale archive during uninstall...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: glibc
Version: 29
Hardware: All
OS: All
medium
low
Target Milestone: ---
Assignee: Florian Weimer
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 1717347
TreeView+ depends on / blocked
 
Reported: 2019-06-05 11:06 UTC by Florian Weimer
Modified: 2019-10-30 14:25 UTC (History)
9 users (show)

Fixed In Version: glibc-2.29-14.fc30
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1717347
Environment:
Last Closed: 2019-10-30 14:25:02 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1716710 0 unspecified CLOSED glibc: Update of glibc-all-langpacks removes locale archive due to old postun scriptlet 2021-02-22 00:41:40 UTC

Internal Links: 1716710

Description Florian Weimer 2019-06-05 11:06:01 UTC
+++ This bug was initially created as a clone of Bug #1717347 +++

The %postun scriptlet is buggy: It deletes /usr/lib/locale/locale-archive during package updates, not just during uninstallation.  As a result, it is currently very difficult to update to a glibc-all-langpacks package which installs this file.  See bug 1716710.

We should perform the deletion only if arg[2] == 0 (which signifies uninstallation).

Comment 1 Florian Weimer 2019-06-05 16:19:34 UTC
We also need to drop the %config attribute to avoid creating .rpmsave files in the future.

Comment 2 Fedora Update System 2019-06-06 16:14:02 UTC
FEDORA-2019-62a3a5c89d has been submitted as an update to Fedora 30. https://bodhi.fedoraproject.org/updates/FEDORA-2019-62a3a5c89d

Comment 3 Fedora Update System 2019-06-06 18:16:43 UTC
FEDORA-2019-cd0e4f3119 has been submitted as an update to Fedora 29. https://bodhi.fedoraproject.org/updates/FEDORA-2019-cd0e4f3119

Comment 4 Fedora Update System 2019-06-07 01:07:31 UTC
glibc-2.29-15.fc30 has been pushed to the Fedora 30 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-62a3a5c89d

Comment 5 Fedora Update System 2019-06-07 05:08:37 UTC
glibc-2.28-33.fc29 has been pushed to the Fedora 29 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-cd0e4f3119

Comment 6 Fedora Update System 2019-06-10 00:53:05 UTC
glibc-2.29-15.fc30 has been pushed to the Fedora 30 stable repository. If problems still persist, please make note of it in this bug report.

Comment 7 Fedora Update System 2019-06-22 02:56:15 UTC
glibc-2.28-33.fc29 has been pushed to the Fedora 29 stable repository. If problems still persist, please make note of it in this bug report.


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