OpenVZ Forum


Home » General » Support » apt-get dist-upgrade not working for 042stab085.20-amd64
apt-get dist-upgrade not working for 042stab085.20-amd64 [message #51280] Mon, 31 March 2014 14:46 Go to next message
shamu is currently offline  shamu
Messages: 13
Registered: December 2010
Location: Upper Bavaria / Germany
Junior Member
Hi folks,

so far, i.e. until (including) kernel version 042stab085.17 kernel upgrades on all my debian wheezy systems worked fine!

On 03/24/14 I was announced by the mailing list kernel Kernel RHEL6 042stab085.20 is available. Having had a look at http://download.openvz.org/debian/dists/wheezy/main/binary-a md64/kernel/ I found the following kernels available there:

linux-image-2.6.32-openvz-042stab081.3-amd64_1_amd64.deb 25-Sep-2013 22:02 42M
linux-image-2.6.32-openvz-042stab081.5-amd64_1_amd64.deb 17-Oct-2013 01:04 42M
linux-image-2.6.32-openvz-042stab081.8-amd64_1_amd64.deb 28-Oct-2013 17:03 42M
linux-image-2.6.32-openvz-042stab083.2-amd64_1_amd64.deb 12-Nov-2013 20:56 42M
linux-image-2.6.32-openvz-042stab084.12-amd64_1_amd64.deb 30-Dec-2013 02:56 42M
linux-image-2.6.32-openvz-042stab084.14-amd64_1_amd64.deb 16-Jan-2014 17:48 42M
linux-image-2.6.32-openvz-042stab084.17-amd64_1_amd64.deb 16-Jan-2014 18:05 42M
linux-image-2.6.32-openvz-042stab085.20-amd64_1_amd64.deb 24-Mar-2014 12:56 45M
linux-image-2.6.32-openvz-amd64_042stab085.17_amd64.deb 13-Mar-2014 14:45 45M
linux-image-openvz-amd64_042stab085.20_amd64.deb 24-Mar-2014 12:58 3.8K

I.e. the one I need (bold) is available there too. Although the download path

'deb http://download.openvz.org/debian wheezy main'

is right in my sources.list and and 'apt-get update' works fine the new kernel won't be downloaded. I tryed several time, automated by script and cron job and manually. But, the result is the same - no new kernel downloaded.

Any idea what's going wrong? It's the same behavior on four totally different machines in four different nets. Any suggestions what to do next or what may happen?

Thanks in advance and greetinx

shamu


Re: apt-get dist-upgrade not working for 042stab085.20-amd64 [message #51285 is a reply to message #51280] Mon, 31 March 2014 18:46 Go to previous messageGo to next message
Paparaciz
Messages: 302
Registered: August 2009
Senior Member
I supect that this threads in mailing list will help your problem:
https://lists.openvz.org/pipermail/users/2014-March/005532.h tml
https://lists.openvz.org/pipermail/users/2014-March/005528.h tml
https://lists.openvz.org/pipermail/users/2014-March/005487.h tml

As I understood you have to remove openvz kernel and install again it. sorry, I didn't readed this messages in mailing list carefully because I don't use debian.
hope it helps.
Re: apt-get dist-upgrade not working for 042stab085.20-amd64 [message #51289 is a reply to message #51285] Tue, 01 April 2014 07:19 Go to previous messageGo to next message
shamu is currently offline  shamu
Messages: 13
Registered: December 2010
Location: Upper Bavaria / Germany
Junior Member
Thanks for your quick feedback which points to the right way!

I followed the discussion (which is being continued) on the mentioned list and found a description of the current installation's state problem [when using 'apt-get dist-upgrade' to upgrade OpenVZ kernel in Wheezy (stable)] here:

https://lists.openvz.org/pipermail/users/2014-March/005541.h tml

This is what users end up with:

# apt-cache policy linux-image-openvz-amd64
linux-image-openvz-amd64:
Installed: 042+1
Candidate: 042+1
Version table:
*** 042+1 0
100 /var/lib/dpkg/status
042stab085.20 0
500 http://download.openvz.org/debian/ wheezy/main amd64
Packages

Currently, users now have to remove and reinstall in order to get a working package, which is unlucky.

As long as this issue isn't fixed in the *openvz*.deb-package(s) a kernel upgrade from 042stab085.17 to 042stab085.20 won't be possible by 'apt-get dist-upgrade'. I'll continue reading the list mentioned above and will see when and which solution the package maintainer will perform.

Again, thanks for pointing me to the right way!

Greetinx

shamu
Re: apt-get dist-upgrade not working for 042stab085.20-amd64 [message #51371 is a reply to message #51289] Tue, 29 April 2014 09:39 Go to previous message
shamu is currently offline  shamu
Messages: 13
Registered: December 2010
Location: Upper Bavaria / Germany
Junior Member
I solved the problem this way:

------------------------------------------------------------ -------------------

***********************************************
* Before installalling current OpenVZ kernel: *
***********************************************

~# dpkg -l | grep openvz

ii linux-image-2.6.32-openvz-amd64 042stab085.17 amd64 Linux kernel binary image for version 2.6.32-openvz-amd64
ii linux-image-openvz-amd64 042+1 amd64 OpenVZ Linux kernel (meta-package)

~# uname -r

2.6.32-openvz-amd64

****************************************
* Installalling current OpenVZ kernel: *
****************************************

~# apt-get update

~# apt-get dist-upgrade

Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut.
Statusinformationen werden eingelesen.... Fertig
Paketaktualisierung (Upgrade) wird berechnet... Fertig
0 aktualisiert, 0 neu installiert, 0 zu entfernen und 0 nicht aktualisiert.

Note: Sadly, apt-get doesn't see any new OpenVZ kernel(s), although they are
available in the repository.

Therefor update to new kernel manually be exactly telling apt-get what
to install:

~# apt-get install linux-image-2.6.32-openvz-042stab088.4-amd64

=> installs new kernel image package: linux-image-2.6.32-openvz-042stab088.4-amd64_1_amd64.deb

~# apt-get remove --purge linux-image-openvz-amd64

=> removes old kernel meta package: linux-image-openvz-amd64_042+1_amd64.deb

~# apt-get install linux-image-openvz-amd64

=> installs new kernel meta package: linux-image-openvz-amd64_042stab088.4_amd64.deb

~# dpkg -l | grep openvz

ii linux-image-2.6.32-openvz-042stab088.4-amd64 1 amd64 Linux kernel binary image for version 2.6.32-openvz-042stab088.4-amd64
ii linux-image-2.6.32-openvz-amd64 042stab085.17 amd64 Linux kernel binary image for version 2.6.32-openvz-amd64
ii linux-image-openvz-amd64 042stab088.4 amd64 OpenVZ Linux kernel (meta-package)

~# reboot (hint: check grub.cfg before restarting)

~# uname -r

2.6.32-openvz-042stab088.4-amd64

~# dpkg -l | grep openvz

ii linux-image-2.6.32-openvz-042stab088.4-amd64 1 amd64 Linux kernel binary image for version 2.6.32-openvz-042stab088.4-amd64
ii linux-image-2.6.32-openvz-amd64 042stab085.17 amd64 Linux kernel binary image for version 2.6.32-openvz-amd64
ii linux-image-openvz-amd64 042stab088.4 amd64 OpenVZ Linux kernel (meta-package)

~# apt-get remove --purge linux-image-2.6.32-openvz-amd64

=> removes old kernel image package: linux-image-2.6.32-openvz-amd64_042stab085.17_amd64.deb

*******************************************
* After installing current OpenVZ kernel: *
*******************************************

~# dpkg -l | grep openvz

ii linux-image-2.6.32-openvz-042stab088.4-amd64 1 amd64 Linux kernel binary image for version 2.6.32-openvz-042stab088.4-amd64
ii linux-image-openvz-amd64 042stab088.4 amd64 OpenVZ Linux kernel (meta-package)

~# uname -r

2.6.32-openvz-042stab088.4-amd64

~# apt-get clean

~# rm -rf /lib/modules/2.6.32-openvz-amd64

------------------------------------------------------------ -------------------

May be, the description above will help anyone.

Greetinx

shamu
Previous Topic: CentOS 6 container missing conf files
Next Topic: rpm -q kernel
Goto Forum:
  


Current Time: Tue Apr 16 13:44:08 GMT 2024

Total time taken to generate the page: 0.01486 seconds