I think I found it...

The /bin directory is, by default, symlinked to /usr/bin.

And this is causing the problem, since nano provides both a /bin/nano (real
executable) and an /usr/bin/nano (symbolic link to /bin/nano). When the
latter file is being created, the first one is overwritten = things work
poorly...

(Should this kind of bug be reported using launchpad.net? I tried it the
other day but the package list was all empty so I don't know if it is still
being used...)

Best regards,
Per Lundberg

On Wed, Aug 27, 2008 at 3:11 PM, Per Lundberg <[EMAIL PROTECTED]> wrote:

> Hello once again,
>
> The nano package has a circular symlink (/bin/nano -> /bin/nano) on my
> hardy-based Nexenta. I tried uninstalling the package and reinstalling it,
> but the problem still remained.
>
> To my guess, this is caused by the postinst/preinst script since the
> dpkg-deb -c <package> output is reasonable:
>
> drwxr-xr-x root/root         0 2008-06-16 14:18:09 ./
> drwxr-xr-x root/root         0 2008-06-16 14:18:08 ./bin/
> -rwxr-xr-x root/root    145564 2008-06-16 14:18:08 ./bin/nano
>
> The nano package does some "update-alternatives" stuff in its installation
> which is almost 100% certainly causing this.
>
> --
> Best regards,
> Per Lundberg
>



-- 
Best regards,
Per Lundberg
_______________________________________________
gnusol-devel mailing list
[email protected]
http://lists.sonic.net/mailman/listinfo/gnusol-devel

Reply via email to