Possible to upgrade the ubuntu of my lxc container?

ytwytw

New Member
Apr 22, 2016
2
0
1
34
Hi

I am using Proxmox 4.1 and I have some LXC containers running with Ubuntu 14.04

Is it possible to upgrade those containers from 14.04 to 16.04?

Do-Release-upgrade does not help in this case

Please advise

Thanks,
 
Hello,


We are using 4.2 and are trying to upgrade our container from Ubuntu 14 to 16.
We have had no success at all since the container keeps on saying :

root@API-Server:/# do-release-upgrade -d
Checking for a new Ubuntu release
No new release found​


Of course we have been doing the usual and expected :

apt-get update
apt-get install update-manager-core
do-release-upgrade

or
do-release-upgrade -d

Absolutely no luck at all and always the same message :

Checking for a new Ubuntu release
No new release found​


Any idea ?



root@API-Server:/# lsb_release -a
No LSB modules are available.
Distributor ID:Ubuntu
Description:Ubuntu 14.04.4 LTS
Release:14.04
Codename:trusty
 
At the end of Day,

I just create a new LXC and manually migrate over (5 containers, not too bad to do manually)

But it would be great to know if there is automated way to do it
 
works here.

Code:
root@ubuntu-1404:~# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 14.04.4 LTS
Release:        14.04
Codename:       trusty

root@ubuntu-1404:~# do-release-upgrade
Checking for a new Ubuntu release
No new release found
root@ubuntu-1404:~# do-release-upgrade -d
Checking for a new Ubuntu release
Get:1 Upgrade tool signature [198 B]
Get:2 Upgrade tool [1265 kB]
Fetched 1265 kB in 0s (0 B/s)
authenticate 'xenial.tar.gz' against 'xenial.tar.gz.gpg'
extracting 'xenial.tar.gz'

Reading cache

Checking package manager
Reading package lists... Done
Building dependency tree
Reading state information... Done
Building data structures... Done
...

and you can always manually change the sources.list from trusty to xenial and the do a apt-get update && apt-get dist-upgrade
 
  • Like
Reactions: DynFi User

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!