• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Upgrade Plesk (which downgraded kernel)

A

AndyD

Guest
I tried upgrading Plesk to 8.1.1 but was told that my Debian installation was out of date, so I used apt-get distupgrade to get the latest packages. It removed my kernel in order to upgrade it, but the upgrade failed and now I'm left with 2.4.

Now when I try to get a newer kernel back, I'm getting this error:

serv02:~# apt-get -f install
Reading Package Lists... Done
Building Dependency Tree... Done
Correcting dependencies... Done
The following extra packages will be installed:
busybox coreutils klibc-utils libc6 libklibc libselinux1 libsepol1 libvolume-id0 udev
Suggested packages:
glibc-doc
The following packages will be REMOVED:
hotplug
The following NEW packages will be installed:
busybox klibc-utils libklibc libselinux1 libsepol1 libvolume-id0 udev
The following packages will be upgraded:
coreutils libc6
2 upgraded, 7 newly installed, 1 to remove and 303 not upgraded.
8 not fully installed or removed.
Need to get 0B/8548kB of archives.
After unpacking 4572kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Preconfiguring packages ...
(Reading database ... 65892 files and directories currently installed.)
Preparing to replace libc6 2.3.6.ds1-13 (using .../archives/libc6_2.5-11_i386.deb) ...
readlink: invalid option -- e
Try `readlink --help' for more information.
readlink: invalid option -- e
Try `readlink --help' for more information.
readlink: invalid option -- e
Try `readlink --help' for more information.
readlink: invalid option -- e
Try `readlink --help' for more information.
readlink: invalid option -- e
Try `readlink --help' for more information.
readlink: invalid option -- e
Try `readlink --help' for more information.
readlink: invalid option -- e
Try `readlink --help' for more information.
readlink: invalid option -- e
Try `readlink --help' for more information.
readlink: invalid option -- e
Try `readlink --help' for more information.
readlink: invalid option -- e
Try `readlink --help' for more information.
readlink: invalid option -- e
Try `readlink --help' for more information.
WARNING: POSIX threads library NPTL requires kernel version
2.6.1 or later. If you use a kernel 2.4, please upgrade it
before installing glibc.
dpkg: error processing /var/cache/apt/archives/libc6_2.5-11_i386.deb (--unpack):
subprocess pre-installation script returned error exit status 1
Errors were encountered while processing:
/var/cache/apt/archives/libc6_2.5-11_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
serv02:~#

I have no idea what to do, if my box crashes then it's not going to be able to reboot without the kernel there!

Suggestions?!
 
what says

cat /etc/apt/sources.list
uname -a
dpkg -l |grep kernel


i think you have now debian etch 4.0 wich is not support with plesk 8.1.x
 
serv02:~# cat /etc/apt/sources.list
#deb file:///cdrom/ sarge main

# deb cdrom:[Debian GNU/Linux 3.1 r0a _Sarge_ - Official i386 Binary-1 (20050607)]/ unstable contrib main

# deb http://security.debian.org/ stable/updates main contrib

deb ftp://ftp.uk.debian.org/debian/ testing main contrib non-free
deb-src ftp://ftp.uk.debian.org/debian/ testing main contrib non-free
deb ftp://ftp.uk.debian.org/debian/ unstable main contrib non-free

deb http://autoinstall.plesk.com/debian/PSA_8.1.0 sarge all

deb http://autoinstall.plesk.com/debian/PSA_8.0.1 sarge all

deb http://autoinstall.plesk.com/debian/PSA_8.1.1 sarge all
serv02:~# uname -a
Linux serv02.xxxxxxxx.com 2.4.27-2-386 #1 Wed Nov 30 21:38:51 JST 2005 i686 GNU/Linux
serv02:~# dpkg -l |grep kernel
ii iptables 1.3.3-2 Linux kernel 2.4+ iptables administration to
rc kernel-image-2.4.27-2-386 2.4.27-12 Linux kernel image for version 2.4.27 on 386
iU kernel-image-2.6-686 2.6.18+6 Linux 2.6 image on PPro/Celeron/PII/PIII/P4
iU linux-image-2.6-686 2.6.18+6 Linux kernel 2.6 image on PPro/Celeron/PII/P
ii linux-kernel-headers 2.6.18-7 Linux Kernel Headers for development
ii module-init-tools 3.3-pre4-2 tools for managing Linux kernel modules
serv02:~#
 
ok, i think there is no way for you...

plesk 8.1.x only supports debian sarge 3.1

it looks like you are using debian testing / unstable

maybe this week swsoft releases the plesk 8.2 with support for debian etch 4.0 but that's still another system then yours ....

you can try correct your source list like this:

deb http://security.debian.org/ sarge/updates main contrib

deb ftp://ftp.uk.debian.org/debian/ sarge main contrib non-free
deb-src ftp://ftp.uk.debian.org/debian/ sarge main contrib non-free

deb http://autoinstall.plesk.com/debian/PSA_8.1.1 sarge all

and

apt-get install -f linux-image-2.6-686


but i think a fresh install is your only way to go ...
 
That's odd, 8.1.0 has been running since it's release without any problems. It was only upgrading to 8.1.1 that caused problems.
 
I have no idea. Although making the changes to the sources list has helped.

Do you have any idea how I can sort out the kernel problem?

serv02:~# apt-get -f install
Reading Package Lists... Done
Building Dependency Tree... Done
Correcting dependencies... Done
The following packages will be REMOVED:
kernel-image-2.6-686 linux-image-2.6-686 linux-image-2.6.18-4-686
0 upgraded, 0 newly installed, 3 to remove and 92 not upgraded.
3 not fully installed or removed.
Need to get 0B of archives.
After unpacking 48.1MB disk space will be freed.
Do you want to continue? [Y/n] n
Abort.
 
have you tried
apt-get install -f linux-image-2.6-686

what is the output ?

have you icq/msn send it to me in private message (pm)...
 
Thanks for your help. I think I've fixed it.
I appreciate it :)

One more thing, is there any way to know if the machine will boot OK?
 
Back
Top