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

Re: apt-get file:/; unloading kernel modules (2.6.18).



On Thu, Sep 27, 2007 at 21:54:45 -0700, Vivek.M wrote:
> Hi,
> 
> 1. I have copied my Debian CDs to hard-disk and have added the
> required sources.list lines. The problem is that, when i do a apt-get
> install pkg, it tries to load from the internet since they have the
> latest pkg. Since i pay for data transfer, i was wondering if there
> was a way to tell apt-get to use file:/ instead of the net?

See the manpage of apt_preferences. (search for "local site")

[...]

> 2. Is there a way to tell the debian kernel module not to load certain
> modules. Blacklisting doesn't seem to be the right way from what i
> understood of the man modprobe.conf page. I've got pcspkr, rtc, ipv6,
> ali_agp, processor etc loaded and i don;t want to rmmod them - i'd
> rather not have them load. Is there any way to do this?


See "blacklist" in the manpage of modprobe.conf. Sometimes it can be
necessary to use "install MODULENAME /bin/true" in addition to the
blacklisting.

> I am using Debian Etch, kernel -2.6.18-5-486.

-- 
Regards,            | http://users.icfo.es/Florian.Kulzer
          Florian   |



Reply to: