Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 564428

Summary: net-proxy/squid-3.5.10 - Installation of a symlink is blocked by a directory: /usr/share/squid/errors/zh-tw
Product: Gentoo Linux Reporter: Martin Mokrejš <mmokrejs>
Component: Current packagesAssignee: Hank Leininger <hlein>
Status: RESOLVED FIXED    
Severity: normal CC: gentoobugs, proxy-maint, sam
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=834503
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 834600    
Bug Blocks:    
Attachments: build.log

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.