kenn wrote: > I've just finished installing freetds and now need to get it to work > with PHP4 ... when I try to install php4-odbc via dselect, here's what I > get: > > > The following packages will be REMOVED: > kernel-image-2.6.8-2-386 > The following NEW packages will be installed: > php4-odbc > > You are running a kernel (version 2.6.8-2-386) and attempting to remove > the same version. This is a potentially disastrous action. Not only > will /boot/vmlinuz-2.6.8-2-386 be removed, making it impossible to boot > it, (you will have to take action to change your boot loader to boot > a new kernel), it will also remove all modules under the directory > /lib/modules/2.6.8-2-386. Just having a copy of the kernel image is not > enough, you will have to replace the modules too. > > I repeat, this is very dangerous. If at all in doubt, answer > no. If you know exactly what you are doing, and are prepared to > hose your system, then answer Yes. > > --------------------------------------------------------- > Why does it need to remove the kernel? and how do i get around it? > /etc/apt/sources.lst looks like this: > > deb ftp://mirrors.kernel.org/debian/ stable main > deb-src ftp://mirrors.kernel.org/debian/ stable main > deb http://security.debian.org/ stable/updates main > > > I know I'm in way over my head, but can someone help me understand this > and what I'm doing wrong? > > Thanks in advance. Man, if you have stable and testing in your server, try to install tdsodbc and freetds from testing, for in stable, at least with tdsodbc, conflicts with unixodb. Maybe the same is happening with freetds In my machine I have:
enigma:~# dpkg -l|grep odbc rc odbcinst1 2.2.4-11 Support library and helper program for acces ii odbcinst1debia 2.2.11-13 Support library and helper program for acces ii php4-odbc 4.3.10-16 ODBC module for php4 ii tdsodbc 0.63-3 ODBC driver for connecting to MS SQL and Syb ii unixodbc 2.2.11-13 ODBC tools libraries enigma:~# apt-cache policy tdsodbc tdsodbc: Installed: 0.63-3 Candidate: 0.63-3 Version Table: *** 0.63-3 0 600 http://mirrors.kernel.org testing/main Packages 100 /var/lib/dpkg/status enigma:~# apt-cache policy unixodbc unixodbc: Installed: 2.2.11-13 Candidate: 2.2.11-13 Version Table: *** 2.2.11-13 0 600 http://mirrors.kernel.org testing/main Packages 100 /var/lib/dpkg/status 2.2.4-11 0 990 http://mirrors.kernel.org stable/main Packages enigma:~# apt-cache policy php4-odbc php4-odbc: Installed: 4:4.3.10-16 Candidate: 4:4.3.10-16 Version Table: 4:4.4.2-1.1 0 600 http://mirrors.kernel.org testing/main Packages *** 4:4.3.10-16 0 990 http://mirrors.kernel.org stable/main Packages 990 http://security.debian.org stable/updates/main Packages 100 /var/lib/dpkg/status enigma:~# Try installing form testing with aptitude install php4-odbc -ttesting Miguel Cobá > > Kenn > > -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]