Re: make installworld failing with locales due to broken symlinks

From: Andrey Chernov <ache_at_freebsd.org>
Date: Mon, 16 Nov 2015 05:40:58 +0300
On 16.11.2015 5:37, Andrey Chernov wrote:
> On 16.11.2015 4:57, NGie Cooper wrote:
>> make: stopped in /usr/src/git
>> $ ls -l /usr/share/locale/ca_IT.ISO8859-1/LC_CTYPE
>> lrwxr-xr-x  1 root  wheel  27 Nov  1 16:24 /usr/share/locale/ca_IT.ISO8859-1/LC_CTYPE -> ../la_LN.ISO8859-1/LC_CTYPE
>> $ readlink -f /usr/share/locale/ca_IT.ISO8859-1/LC_CTYPE
>> /usr/share/locale/la_LN.ISO8859-1
>> $ ls `readlink -f /usr/share/locale/ca_IT.ISO8859-1/LC_CTYPE`
>> ls: /usr/share/locale/la_LN.ISO8859-1: No such file or directory
> 
> As I remember, we already hit this type of problem before with old
> locales. "ln -sf" and "rm -rf" should be used everywhere on install
> target to avoid that.
> 
Oops, auto-typo. "rm -f" instead, since all directories are created by
mtree.

-- 
http://ache.vniz.net/
Received on Mon Nov 16 2015 - 01:41:02 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:01 UTC