LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   apt-get install samba-common (https://www.linuxquestions.org/questions/debian-26/apt-get-install-samba-common-531592/)

kristof_v 02-23-2007 02:25 AM

apt-get install samba-common
 
hi,

I'm running a debian stable server with kernel 2.6.8-2-386.
however when I try to install samba-common apt gives me this output:

subversion:~# apt-get install samba-common
Reading Package Lists... Done
Building Dependency Tree... Done
The following extra packages will be installed:
libc6 libc6-dev libkrb53 libncurses5 libncurses5-dev libpopt0 libreadline5
locales readline-common tzdata
Suggested packages:
glibc-doc krb5-doc krb5-user
The following packages will be REMOVED:
initrd-tools kernel-image-2.6.8-2-386
The following NEW packages will be installed:
readline-common samba-common tzdata
The following packages will be upgraded:
libc6 libc6-dev libkrb53 libncurses5 libncurses5-dev libpopt0 libreadline5
locales
8 upgraded, 3 newly installed, 2 to remove and 674 not upgraded.
Need to get 12,2MB/16,5MB of archives.
After unpacking 32,7MB disk space will be freed.
Do you want to continue? [Y/n] n
Abort.


These 2 lines concern me a lot:
The following packages will be REMOVED:
initrd-tools kernel-image-2.6.8-2-386

apt is going to remove the kernel-image??
it's the only kernel-image on the system so if apt is going to remove it, the system will be completely f*cked up!

what can I do now?

pljvaldez 02-23-2007 11:40 AM

Can you post your /etc/apt/sources.list? The "674 not upgraded" looks like you're running mixed sources.

If you tried it, it would probably fail to remove the kernel saying something like "Can't remove a running kernel" or the like. But from here it looks like you have some other problem going on that's making this a headache...

kristof_v 02-26-2007 10:11 AM

you were right pljvaldez.

my sources.lst contained both unstable and stable repos...
thx for your help :)


All times are GMT -5. The time now is 09:50 PM.