apt-get upgrade & Kernel-update Error

tsaenger

Renowned Member
Mar 10, 2010
136
2
83
Hello,

if i want to update my VZ-Container with Debian 5 i get this error:
Code:
Not updating initrd symbolic links since we are being updated/reinstalled 
(2.6.26-24 was configured last, according to dpkg)
Not updating image symbolic links since we are being updated/reinstalled 
(2.6.26-24 was configured last, according to dpkg)
Running postinst hook script update-grub.
Searching for GRUB installation directory ... found: /boot/grub
User postinst hook script [update-grub] exited with value 1
dpkg: Fehler beim Bearbeiten von linux-image-2.6.26-2-686 (--configure):
 Unterprozess post-installation script gab den Fehlerwert 1 zurück
Richte libc6-dev ein (2.7-18lenny6) ...
Richte libc6-i686 ein (2.7-18lenny6) ...
Richte locales ein (2.7-18lenny6) ...
Generating locales (this might take a while)...
  de_DE.UTF-8... done
  de_DE.UTF-8... done
Generation complete.
Fehler traten auf beim Bearbeiten von:
 linux-image-2.6.26-2-686
E: Sub-process /usr/bin/dpkg returned an error code (1)

I think it's not possible to install the normal kernel. But how can i disable this kernel-update?

I am using
Code:
/boot# uname -r
2.6.32-4-pve

Thanks for help

Tobias
 
Hi,
i think do you don't use the proxmox-template (debian-5.0-standard_5.0-2_i386.tar.gz)?
I never had some issue with that template, but i'm used not often...

Perhaps you look at this template for differences?

Udo
 
Hi Udo,

i have 3 VZ-Container with the same template.
2 of them working fine.
1 of the has this Problem.
All Container are migrated from a debian 5 system.

Now i created a new container an copied the new 102.conf file to 211.conf (old one)
After that i changed the IP and hostname and restarted the machine.
But i did not solved my problem.

My conf looks like this:
Code:
# PVE default config for 256MB RAM

ONBOOT="yes"

# Primary parameters
NUMPROC="1024:1024"
NUMTCPSOCK="9223372036854775807:9223372036854775807"
NUMOTHERSOCK="9223372036854775807:9223372036854775807"
VMGUARPAGES="899072:9223372036854775807"

# Secondary parameters
KMEMSIZE="9223372036854775807:9223372036854775807"
OOMGUARPAGES="899072:9223372036854775807"
PRIVVMPAGES="899072:911572"
TCPSNDBUF="9223372036854775807:9223372036854775807"
TCPRCVBUF="9223372036854775807:9223372036854775807"
OTHERSOCKBUF="9223372036854775807:9223372036854775807"
DGRAMRCVBUF="9223372036854775807:9223372036854775807"

# Auxiliary parameters
NUMFILE="9223372036854775807:9223372036854775807"
NUMFLOCK="9223372036854775807:9223372036854775807"
NUMPTY="255:255"
NUMSIGINFO="1024:1024"
DCACHESIZE="9223372036854775807:9223372036854775807"
LOCKEDPAGES="768000:768000"
SHMPAGES="9223372036854775807:9223372036854775807"
NUMIPTENT="9223372036854775807:9223372036854775807"
PHYSPAGES="0:9223372036854775807"

# Disk quota parameters
DISKSPACE="83886080:92274688"
DISKINODES="16000000:17600000"
QUOTATIME="0"
QUOTAUGIDLIMIT="0"

# CPU fair sheduler parameter
CPUUNITS="1000"
CPUS="1"
VE_ROOT="/var/lib/vz/root/$VEID"
VE_PRIVATE="/var/lib/vz/private/$VEID"
OSTEMPLATE="debian-5.0-standard_5.0-2_i386"
ORIGIN_SAMPLE="pve.auto"
IP_ADDRESS="10.16.0.99"
HOSTNAME="host.tld.de"
NAMESERVER="10.16.0.227"
SEARCHDOMAIN="tld.de"

Do you have an othe idea?

Thanks

Tobias
 
Hi,

i solved my Problem.
I saw that the kernel linux-image-2.6.26-686 was also installed at my VZ.
I removed the krenel and now i didn't get any errormsg.
I think this came form the migration.

Thanks
Tobias