[Slackbuilds-users] Error while installing package culmus

B Watson yalhcru at gmail.com
Mon Dec 1 19:15:39 UTC 2014

On 12/1/14, Genghis Khan <genghiskhan at gmx.ca> wrote:
> I am using slapt-src with spkg under Salix OS.

Salix, spkg, and slapt-src are all off-topic for this list. If you ask on
a Salix mailing list, you'll probably get a much better answer.

However, I'll give it a shot:

> ERROR: Package contains symlink with unsafe path.
> (/etc/fonts/conf.d/61-culmus.conf)
> ERROR: Installation script processing failed.
> ERROR: Package installation failed!
> /sbin/spkg -u --reinstall --install-new culmus-0.130-noarch-1_SBo.txz
> Failed

The package's doinst.sh contains this as the last line:

( cd /etc/fonts/conf.d ; ln -sf ../conf.avail/61-culmus.conf 61-culmus.conf )

...which is a perfectly normal thing for a font package to do. spkg
seems to have some extra code to check for "dangerous" symlinks, and this
symlink is triggering it. Possible solutions:

1. See if spkg has an option to disable the check (if it has a man page,
that should tell you).

2. If Salix has Slackware's installpkg, use that instead of spkg.

3. Edit the doinst.sh script in the SlackBuild directory, get rid of the
offending line. After package installation, manually create the symlink.

More information about the SlackBuilds-users mailing list