[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: fistfight between libc6-dev and joystick



Dale Scheetz wrote:

> I still don't understand why dpkg wipes the /usr/include/linux directory
> before it loads the files from libc6-dev. If it already exists and has
> non-conflicting files, shouldn't they be left alone when dpkg installs the
> other files?

libc6-dev does it in its preinst:


#!/bin/sh

set -e

# Remove old directories and symlinks, if they exist
rm -rf /usr/include/asm
rm -rf /usr/include/linux
rm -rf /usr/include/scsi


This is probably a legacy of the changed-and-changed-again
/usr/include/linux handling.  Be careful that you don't break upgrades
from older versions if you touch this.  Perhaps Manoj can give
suggestions?  He's dealt in depth with this issue before.

Richard Braakman


--  
To UNSUBSCRIBE, email to debian-devel-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org


Reply to: