Bug 481468

Summary: Could not uninstall / erase nethack-3.4.3-18.fc10.x86_64 package
Product: [Fedora] Fedora Reporter: András Szilárd <andras.szilard>
Component: nethackAssignee: Luke Macken <lmacken>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 10CC: lmacken, pfrields
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-01-25 10:27:07 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description András Szilárd 2009-01-25 09:50:53 UTC
Description of problem:
Could not uninstall nethack.

# yum erase nethack-3.4.3-18.fc10.x86_64
[...]
Running Transaction
rm: cannot remove `/etc/X11/fontpath.d/nethack': No such file or directory
rm: cannot remove `/usr/games/nethack-3.4.3/fonts/fonts.dir': No such file or directory
====================================================================== Leaving rpm code ======================================================================

Removed:
  nethack.x86_64 0:3.4.3-18.fc10                                                                                                                              

Complete!

But, the package was not really removed.

Version-Release number of selected component (if applicable):

$ rpm -qi nethack-3.4.3-18.fc10.x86_64
Name        : nethack                      Relocations: (not relocatable)
Version     : 3.4.3                             Vendor: Fedora Project
Release     : 18.fc10                       Build Date: Mon 11 Aug 2008 08:55:47 PM CEST
Install Date: Fri 28 Nov 2008 08:51:49 PM CET      Build Host: x86-5
Group       : Amusements/Games              Source RPM: nethack-3.4.3-18.fc10.src.rpm
Size        : 5827973                          License: NGPL
Signature   : DSA/SHA1, Wed 29 Oct 2008 05:14:18 AM CET, Key ID bf226fcc4ebfc273
Packager    : Fedora Project
URL         : http://nethack.org
Summary     : A rogue-like single player dungeon exploration game

How reproducible:
always

Workaround:
# touch /etc/X11/fontpath.d/nethack
# touch /usr/games/nethack-3.4.3/fonts/fonts.dir
# yum erase nethack-3.4.3-18.fc10.x86_64
[...]
Running Transaction
  Erasing        : nethack                                                                                                                                1/1 
====================================================================== Leaving rpm code ======================================================================

Removed:
  nethack.x86_64 0:3.4.3-18.fc10                                                                                                                              

Complete!

Comment 1 András Szilárd 2009-01-25 10:27:07 UTC
Sorry for the inconvenience caused, an other package must be responsible for this fault. Unfortunately, I am not sure which.
Installing, and right after removing the nethack package works.