Bug 997166 - missing file for "alternatives --list"
Summary: missing file for "alternatives --list"
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: chkconfig
Version: 19
Hardware: All
OS: Linux
unspecified
low
Target Milestone: ---
Assignee: Lukáš Nykrýn
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-08-14 19:59 UTC by Kai Hambrecht
Modified: 2013-08-15 08:53 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-08-15 08:53:00 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Kai Hambrecht 2013-08-14 19:59:26 UTC
Description of problem:

alternatives --list complains about missing file:

$ alternatives --list
failed to read link /usr/share/config/kdeglobals.defaults: No such file or directory

In fact, the named file does not exist, however unclear why this is needed.


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

Name        : chkconfig
Version     : 1.3.60
Release     : 3.fc19
Architecture: x86_64

Comment 1 Lukáš Nykrýn 2013-08-15 08:12:13 UTC
I suspect that some package removed that file, but it did not change alternatives properly. There is probably some dangling symlink in /etc/alternatives.

Comment 2 Lukáš Nykrýn 2013-08-15 08:38:44 UTC
Small correction, the original link is missing. Just for curiosity, can you post here output of 
ls -al /etc/alternatives
and
grep 'kdeglobals.defaults' /var/lib/alternatives/* | xargs cat

Comment 3 Kai Hambrecht 2013-08-15 08:41:50 UTC
Not a dangling symlink in /etc/alternatives but some orphan config files in /var/lib/alternatives (e.g. kde-theme, qt-theme and gtk-theme). These do not belong to any package anymore, so i removed them. Now "alternatives --list" works fine. Thanks a lot.

Comment 4 Lukáš Nykrýn 2013-08-15 08:53:00 UTC
I was thinking about printing some more usable message, but it would mean some bigger changes in code and I am not sure if it worths the effort. So closing this as NOTABUG.


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