Re: I deleted /usr/src/linux
On Tue, May 17, 2011 at 08:25:25PM -0400, Rob Owens wrote: > 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. If you use module-assistant, `m-a prepare` will do this for you automagically and maintain it based on the the kernel header packages installed. - Mark -- Mark Kamichoff p...@prolixium.com http://www.prolixium.com/ signature.asc Description: Digital signature
Re: I deleted /usr/src/linux
apt-get install --reinstall linux-headers-`uname -r` should work... On Tue, May 17, 2011 at 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? > > > -- > To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org > with a subject of "unsubscribe". Trouble? Contact > listmas...@lists.debian.org > Archive: http://lists.debian.org/4dd30e7f.8090...@yahoo.fr > >
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 -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20110518002525.ga23...@aurora.owens.net
Re: I deleted /usr/src/linux
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? -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/4dd31116.6010...@yahoo.fr
Re: I deleted /usr/src/linux
On Tue, May 17, 2011 at 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? > No, you were not meant to delete that, and it's not the end of the system. It's not like of my High School buddies doing "deltree /y C:\"... did you delete /usr/src or just clobber everthing in /usr/src? Just fetch a new vanilla (stock) kernel from kernel.org or apt-get/aptitude install the most current one (be sure to check that it's the srcs and not a prebilt binary kernel) -- > A: Yes. > >Q: Are you sure? > >>A: Because it reverses the logical flow of conversation. > >>>Q: Why is top posting frowned upon?
Re: I deleted /usr/src/linux
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. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/4dd30fa5.5080...@fpsoft.net