On Mon, Mar 05, 2007 at 04:14:44PM -0800, [EMAIL PROTECTED] wrote: > On Mar 5, 6:10 pm, Andrew Sackville-West <[EMAIL PROTECTED]> > wrote: > > On Mon, Mar 05, 2007 at 01:47:05PM -0800, [EMAIL PROTECTED] wrote: > > > On Mar 5, 4:20 pm, Celejar <[EMAIL PROTECTED]> wrote: > > > > On 5 Mar 2007 12:39:42 -0800 > > > > > > "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > > > > > Hello everyone, > > > > > > > I'm a long time RH/Fedora sysadmin/user and have decided to use Debian > > > > > 3.1r5 on my server at home. I downloaded the bootable Network CD > > > > > (180MB) and then via the config after boot I installed additional > > > > > packages. > > > > > > > Everything is working fine and I installed vim 6.3 (current stable > > > > > version) via aptitude and all works well. Except that I want vim 7. > > > > > It is available in the testing and unstable repositories, but when I > > > > > do an "aptitude install vim" it wants to remove my current kernel. > > > > > > I would guess that this is because it depends on libc6 >= 2.3.6-6, but > > > > I may be totally wrong. > > > > > > > I also tried to install vim 7 from source, but when compiling it > > > > > determined that I didn't have ncurses installed. Again aptitude wants > > > > > to delete my current running kernel but didn't say anything about > > > > > installing ncurses. > > > > > > Did you install libncurses-dev? It contains the development files for > > > > building ncurses apps. > > > > > I did not, but my main question is, why is it trying to delete my > > > kernel and not install a new one? > > > > how have you set up your sources.list? and how about apt_preferences? > > > > might be worth your time to jump into aptitude's interactive mode > > (just aptitude, no parameters, on the cli) and marking some packges as > > manually installed. > > Haven't looked at apt_preferences, but my sources.list looks like: > > deb http://mirrors.kernel.org/debian/ stable main > deb-src http://mirrors.kernel.org/debian/ stable main > > ############### > ### TESTING ### > ############### > # Testing (Soon to be Lenny) > #deb http://http.us.debian.org/debian/ testing main contrib non-free > deb http://mirrors.kernel.org/debian/ testing main contrib non-free > # Testing Sources > deb-src http://mirrors.kernel.org/debian/ testing main contrib non- > free > #Testing Security Updates > #deb http://security.debian.org/ testing/updates main contrib non-free > #deb-src http://security.debian.org/ testing/updates main > > deb http://security.debian.org/ stable/updates main > > How should I have it set? What options should I setup in > apt_preferences?
with apt_preferences *not* setup, you are trying to move to etch here. That's probably what's causing a bunch of stuff to get removed. With more than one release's repository in your sources.list, you should set-up apt-preferences with a Default-Release option. otherwise the apt system will try to move you to the latest packages available to it. > > In interactive mode for aptitude, what do you recommend doing? check apt-preferences. something like APT::Default-Release "stable"; wpuld be appropriate to run stable. then try again and see what happens. A
signature.asc
Description: Digital signature