| Summary: | Script error in nethack fonts package. | ||
|---|---|---|---|
| Product: | Mageia | Reporter: | Nicholas Longo <nmichalo> |
| Component: | RPM Packages | Assignee: | QA Team <qa-bugs> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | Normal | CC: | andrewsfarm, bittwister2, davidwhodgins, geiger.david68210, marja11, shlomif, sysadmin-bugs, thierry.vignaud |
| Version: | 8 | Keywords: | advisory, validated_update |
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| See Also: | https://bugs.mageia.org/show_bug.cgi?id=30612 | ||
| Whiteboard: | MGA8-64-OK | ||
| Source RPM: | nethack-3.6.6-4.mga8, nethack-3.6.6-6.mga9.src.rpm | CVE: | |
| Status comment: | |||
|
Description
Nicholas Longo
2022-07-05 17:38:54 CEST
Assigning to all packagers collectively, since there is no registered maintainer for nethack (the source package for which nethack-bitmap-fonts-core) CC:
(none) =>
marja11 Thank you Nicholas for the report.
Test installing this on a full system appeared to work, but actually doing it resulted in:
2/3: nethack-bitmap-fonts-core
/usr/share/fonts/nethack/: scandir: No such file or directory
After removing 'nethack', which left 2 orphans:
$ sudo urpme --auto-orphans
To satisfy dependencies, the following 2 packages will be removed (50KB):
nethack-bitmap-fonts-3.6.6-4.mga8.noarch
nethack-bitmap-fonts-core-3.6.6-4.mga8.noarch
Tynnu 2 becyn? (y/N) y
wrthi'n tynnu nethack-bitmap-fonts-3.6.6-4.mga8.noarch nethack-bitmap-fonts-core-3.6.6-4.mga8.noarch
rm: cannot remove '/usr/share/fonts/nethack/fonts.dir': No such file or directory
error: %preun(nethack-bitmap-fonts-core-3.6.6-4.mga8.noarch) scriptlet failed, exit status 1
ERROR: 'script' failed for nethack-bitmap-fonts-core-3.6.6-4.mga8.noarch
error: nethack-bitmap-fonts-core-3.6.6-4.mga8.noarch: erase failed
wrthi'n tynnu'r pecyn nethack-bitmap-fonts-3.6.6-4.mga8.noarch.
1/1: wrthi'n tynnu nethack-bitmap-fonts-3.6.6-4.mga8.noarch
#############################################
so it pulled 'nethack-bitmap-fonts' OK.
Trying to remove the other:
$ sudo urpme nethack-bitmap-fonts-core
wrthi'n tynnu nethack-bitmap-fonts-core-3.6.6-4.mga8.noarch
rm: cannot remove '/etc/X11/fontpath.d/nethack': No such file or directory
rm: cannot remove '/usr/share/fonts/nethack/fonts.dir': No such file or directory
error: %preun(nethack-bitmap-fonts-core-3.6.6-4.mga8.noarch) scriptlet failed, exit status 1
ERROR: 'script' failed for nethack-bitmap-fonts-core-3.6.6-4.mga8.noarch
error: nethack-bitmap-fonts-core-3.6.6-4.mga8.noarch: erase failed
All this conforms with the report, and happened on a system with X etc.
I think it is justified to forward this bug. I have put again 'all packagers', CC'ing tv and shlomi (if he is still with us) who dealt with similar problems on this package 2y ago.Assignee:
bugsquad =>
pkg-bugs
sturmvogel
2023-03-18 07:33:42 CET
Source RPM:
nethack-3.6.6-4.mga8 =>
nethack-3.6.6-4.mga8, nethack-3.6.6-6.mga9.src.rpm Should be fixed in nethack-3.6.7-1.mga9. Also for mga8, please test: Packages in 8/Core/Updates_testing: ====================== nethack-3.6.7-1.mga8 nethack-bitmap-fonts-core-3.6.7-1.mga8.noarch.rpm nethack-bitmap-fonts-3.6.7-1.mga8.noarch.rpm From SRPMS: nethack-3.6.7-1.mga8.src.rpm Assignee:
pkg-bugs =>
qa-bugs I checked it out, and it seems to be fixed in Cauldron. Changing to a Mageia 8 bug. Version:
Cauldron =>
8 Well now, that's interesting... MGA8-64 Plasma, in VirtualBox. I installed nethack using MCC, which installed all three packages. Played the game, which while I didn't get far seemed fine. Then I again used MCC, launched from the panel icon, to attempt to remove nethack and dependencies once more. That seemed to go as it should, no errors, but when I went back to install it again before the update, nethack-bitmap-fonts-core was listed as still installed. Attempting to use urpme to remove it resulted in the error that Lewis saw, and an attempt to remove it with MCC launched from the command line didn't work, either - though the error message did show in the terminal window. So I installed the packages that DID remove, and used qarepo to get the updates. Then I once again played the game, which again seemed fine. Then I used urpme to remove all the packages, which it did without any errors. Installed them again, and used MCC from the command line to remove them, again without errors. So I'm going to give this an OK, and validate. CC:
(none) =>
sysadmin-bugs
Dave Hodgins
2023-03-24 00:45:42 CET
Keywords:
(none) =>
advisory An update for this issue has been pushed to the Mageia Updates repository. https://advisories.mageia.org/MGAA-2023-0028.html Status:
NEW =>
RESOLVED |