> Due to space considerations, I had to put /usr/share
> on a different filesystem.
> 
> As a result when i attempt to install the fglrx-driver package,
> it chokes on [...]
> dpkg-divert: rename: rename `/usr/X11R6/lib/libGL.so.1.2' to 
> `/usr/share/fglrx/diversions/libGL.so.1.2': Invalid cross-device link

I knew that dpkg-divert can't move files between different filesystems,
but I never saw a system where /usr/share was actually on a different
filesystem than /usr.

I'll divert libGL to /usr/lib/fglrx/diversions rather than
/usr/share/... because according to the FHS the latter can in fact be on
a different filesystem, if I understand correctly. See
http://www.pathname.com/fhs/pub/fhs-2.3.html#USRSHAREARCHITECTUREINDEPENDENTDATA

I couldn't find a concise explanation of what can and can't be on
different filesystems, but I'm hoping that nobody keeps /usr/X11R6 and
/usr/lib on different filesystems. Also, the plan is to deprecate
/usr/X11R6 entirely in the near future (Ubuntu already did so).

While we're at it, libGL is not architecture-independent so placing it
anywhere within /usr/share was incorrect anyway.

The next package version will hopefully also support AMD64, so this
problem will have to be addressed for the 32-bit libGL on AMD64 too:
it's not unlikely to have /emul/ia32-linux and /usr/share on different
filesystems.

-- 
Ciao, Flavio


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to