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

Re: I deleted /usr/src/linux



On Tue, May 17, 2011 at 08:21:42PM -0400, Perry Thompson wrote:
> On 05/17/2011 08:15 PM, Robert Wolfe (Debian) wrote:
> > On 5/17/2011 8:10 PM, Perry Thompson wrote:
> >> In my struggle to make Nvidia work with a new kernel, I deleted
> >> /usr/src/linux. Is this bad? I had never used /usr/src in Ubuntu before,
> >> but I am seeing that it has more of a use in Debian.
> >>
> >> If I was not meant to delete it, is there a way to get it back?
> >>
> >>
> > 
> > IIRC, this is usually where the source code to the linux kernel is
> > located (headers, etc).  IMO, it's usually best to leave this directory
> > and those in it intact.
> > 
> > 
> Is there any way to get it back? Especially by using the repositories?
> Or could I copy it from another Debian system that I have?
> 
On my system, /usr/src/linux is just a symlink to
/usr/src/linux-headers-2.6.32-5-amd64 -- maybe you just need to
re-create that link.

-Rob


Reply to: