Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 564428 - net-proxy/squid-3.5.10 - Installation of a symlink is blocked by a directory: /usr/share/squid/errors/zh-tw
Summary: net-proxy/squid-3.5.10 - Installation of a symlink is blocked by a directory:...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Hank Leininger
URL:
Whiteboard:
Keywords:
: 554778 (view as bug list)
Depends on: 834600
Blocks:
  Show dependency tree
 
Reported: 2015-10-29 14:45 UTC by Martin Mokrejš
Modified: 2023-06-17 16:59 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,846.26 KB, text/plain)
2015-10-29 16:34 UTC, Martin Mokrejš
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Mokrejš 2015-10-29 14:45:40 UTC
* Messages for package net-proxy/squid-3.5.10:

 * 
 * Installation of a symlink is blocked by a directory:
 *   '/usr/share/squid/errors/zh-tw'
 * This symlink will be merged with a different name:
 *   '/usr/share/squid/errors/zh-tw.backup.0001'
 * 
 * 
 * Installation of a symlink is blocked by a directory:
 *   '/usr/share/squid/errors/zh-cn'
 * This symlink will be merged with a different name:
 *   '/usr/share/squid/errors/zh-cn.backup.0002'
 * 

# ls -latr /usr/share/squid/errors/zh-tw*
lrwxrwxrwx 1 root root    7 Apr 14  2015 /usr/share/squid/errors/zh-tw.backup.0000 -> zh-hant
lrwxrwxrwx 1 root root    7 Oct 29 13:38 /usr/share/squid/errors/zh-tw.backup.0001 -> zh-hant

/usr/share/squid/errors/zh-tw:
total 8
drwxr-xr-x  2 root root 4096 Mar 21  2015 .
drwxr-xr-x 50 root root 4096 Oct 29 13:38 ..
#
Comment 1 Martin Mokrejš 2015-10-29 16:34:36 UTC
Created attachment 415716 [details]
build.log
Comment 2 Eray Aslan gentoo-dev 2015-11-09 07:51:55 UTC
*** Bug 554778 has been marked as a duplicate of this bug. ***
Comment 3 Leonid Kabanov 2017-02-09 01:31:33 UTC
I had the same error:

 * Messages for package net-proxy/squid-3.5.23:

 *
 * Installation of a symlink is blocked by a directory:
 *   '/usr/share/squid/errors/zh-tw'
 * This symlink will be merged with a different name:
 *   '/usr/share/squid/errors/zh-tw.backup.0007'
 *

Dir /usr/share/squid/errors/zh-tw was empty, so I removed the dir and all backup symlinks:

# rmdir /usr/share/squid/errors/zh-tw
# rm /usr/share/squid/errors/zh-tw.backup.000*

After that `emerge squid` successfully complete without errors.
Comment 4 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-10-12 07:12:28 UTC
Apparently still happens: https://bugs.gentoo.org/554778#c2
Comment 5 Hank Leininger 2023-06-17 16:59:50 UTC
I think this has been fixed since https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6378dbf5695a3344e071a6d14eeb63e172ea21a9

Please open a new bug if this still happens with squid 5.x+ versions.