Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] Symlink Confussion?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
OldTango
Guru
Guru


Joined: 21 Feb 2004
Posts: 587

PostPosted: Sat May 19, 2018 6:17 pm    Post subject: [SOLVED] Symlink Confussion? Reply with quote

After a normal system update I received a log message.
Code:
LOG: postrm
One or more symlinks to directories have been preserved in order to
ensure that files installed via these symlinks remain accessible. This
indicates that the mentioned symlink(s) may be obsolete remnants of an
old install, and it may be appropriate to replace a given symlink with
the directory that it points to.

        /usr/share/gtk-doc/html/libxklavier

The symlink points to
Code:
/usr/share/doc/libxklavier-5.3/html/libxklavier
Which is a vaild Directory. However "libxklavier-5.3" is no longer installed on the system and appears to have been updated, replaced by "libxklavier-5.4". The system doesn't seem to list any dependencies on <=libxklavier-5.3
Code:
equery d libxklavier-5.3
 * These packages depend on libxklavier-5.3:
mate-base/libmatekbd-1.18.2 (>=x11-libs/libxklavier-5.2:0[introspection?])
mate-base/mate-control-center-1.18.2 (>=x11-libs/libxklavier-4:0)
mate-base/mate-settings-daemon-1.18.2 (>=x11-libs/libxklavier-5.2:0)
mate-extra/mate-screensaver-1.18.2 (x11-libs/libxklavier:0)


Should I manually remove the old directory "/usr/share/doc/libxklavier-5.3" and should I also remove the symlink or should it be updated to point to?
Code:
/usr/share/doc/libxklavier-5.4/html/libxklavier


I thought Portage normally took care of this kind of operation automatically but it appears it didn't in this case.

TIA..... :?


Last edited by OldTango on Sun May 20, 2018 3:19 pm; edited 1 time in total
Back to top
View user's profile Send private message
OldTango
Guru
Guru


Joined: 21 Feb 2004
Posts: 587

PostPosted: Sun May 20, 2018 3:18 pm    Post subject: Reply with quote

I probably should have posted this in the MATE DESKTOP SECTION as it is related to MATE mostly, but seemed more like a portage or ebuild problem.

Because "x11-libs/libxklavier-5.3" isn't in the portage tree anymore, I manually removed
Code:
rm -rf /usr/share/doc/libxklavier-5.3
Which of course broke the symlink in "/usr/share/gtk-doc/html/libxklavier". Reinstalling x11-libs/libxklavier loged:
Code:
ERROR: preinst

Installation of a directory is blocked by a file:
  '/usr/share/gtk-doc/html/libxklavier'
This file will be renamed to a different name:
  '/usr/share/gtk-doc/html/libxklavier.backup.0000'
A "revdep-rebuild" found no inconsistencies, however to be sure I reinstalled all the packages depending on "x11-libs/libxklavier" and then removed
Code:
rm /usr/share/gtk-doc/html/libxklavier.backup.0000


This appears to have solved my issue.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum