Discussion:
[PVE-User] apt-get upgrade
Karel González Herrera
2015-10-14 19:21:15 UTC
Permalink
I'm working with Proxmox 4.0 after an upgrade gives me this error any
idea I can do

sldsss
karel



***@P-aguila01:~# apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages have been kept back:
libpve-common-perl proxmox-ve
The following packages will be upgraded:
libfreetype6 libnvpair1 libpve-access-control libpve-storage-perl
libuutil1 libzfs2 libzpool2 pve-cluster pve-container pve-manager
qemu-server
zfs-initramfs zfsutils
13 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
Need to get 4503 kB of archives.
After this operation, 34.8 kB disk space will be freed.
Do you want to continue? [Y/n] y
Get:1 http://repositorio.etecsa.cu/repositorio/debian-security/
jessie/updates/main libfreetype6 amd64 2.5.2-3+deb8u1 [466 kB]
Get:2 http://download.proxmox.com/debian/ jessie/pvetest pve-cluster
amd64 4.0-22 [112 kB]
Get:3 http://download.proxmox.com/debian/ jessie/pvetest libuutil1 amd64
0.6.5-pve4~jessie [45.2 kB]
Get:4 http://download.proxmox.com/debian/ jessie/pvetest libnvpair1
amd64 0.6.5-pve4~jessie [42.1 kB]
Get:5 http://download.proxmox.com/debian/ jessie/pvetest
libpve-access-control amd64 4.0-9 [32.0 kB]
Get:6 http://download.proxmox.com/debian/ jessie/pvetest
libpve-storage-perl all 4.0-26 [51.4 kB]
Get:7 http://download.proxmox.com/debian/ jessie/pvetest libzpool2 amd64
0.6.5-pve4~jessie [400 kB]
Get:8 http://download.proxmox.com/debian/ jessie/pvetest libzfs2 amd64
0.6.5-pve4~jessie [153 kB]
Get:9 http://download.proxmox.com/debian/ jessie/pvetest pve-container
all 1.0-7 [62.7 kB]
Get:10 http://download.proxmox.com/debian/ jessie/pvetest qemu-server
amd64 4.0-30 [107 kB]
Get:11 http://download.proxmox.com/debian/ jessie/pvetest pve-manager
amd64 4.0-48 [2629 kB]
Get:12 http://download.proxmox.com/debian/ jessie/pvetest zfsutils amd64
0.6.5-pve4~jessie [380 kB]
Get:13 http://download.proxmox.com/debian/ jessie/pvetest zfs-initramfs
amd64 0.6.5-pve4~jessie [23.2 kB]
Fetched 4503 kB in 11min 54s (6304 B/s)
Can't set locale; make sure $LC_* and $LANG are correct!
Reading changelogs... Done
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LC_TIME = "es_US.UTF-8",
LC_MONETARY = "es_US.UTF-8",
LC_ADDRESS = "es_US.UTF-8",
LC_TELEPHONE = "es_US.UTF-8",
LC_NAME = "es_US.UTF-8",
LC_MEASUREMENT = "es_US.UTF-8",
LC_IDENTIFICATION = "es_US.UTF-8",
LC_NUMERIC = "es_US.UTF-8",
LC_PAPER = "es_US.UTF-8",
LANG = "en_US.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to a fallback locale ("en_US.UTF-8").
locale: Cannot set LC_ALL to default locale: No such file or directory
Preconfiguring packages ...
(Reading database ... 48139 files and directories currently installed.)
Preparing to unpack .../libfreetype6_2.5.2-3+deb8u1_amd64.deb ...
Unpacking libfreetype6:amd64 (2.5.2-3+deb8u1) over (2.5.2-3) ...
Preparing to unpack .../pve-cluster_4.0-22_amd64.deb ...
Unpacking pve-cluster (4.0-22) over (4.0-21) ...
Preparing to unpack .../libuutil1_0.6.5-pve4~jessie_amd64.deb ...
Unpacking libuutil1 (0.6.5-pve4~jessie) over (0.6.5-pve3~jessie) ...
Preparing to unpack .../libnvpair1_0.6.5-pve4~jessie_amd64.deb ...
Unpacking libnvpair1 (0.6.5-pve4~jessie) over (0.6.5-pve3~jessie) ...
Preparing to unpack .../libpve-access-control_4.0-9_amd64.deb ...
Unpacking libpve-access-control (4.0-9) over (4.0-8) ...
Preparing to unpack .../libpve-storage-perl_4.0-26_all.deb ...
Unpacking libpve-storage-perl (4.0-26) over (4.0-24) ...
Preparing to unpack .../libzpool2_0.6.5-pve4~jessie_amd64.deb ...
Unpacking libzpool2 (0.6.5-pve4~jessie) over (0.6.5-pve3~jessie) ...
Preparing to unpack .../libzfs2_0.6.5-pve4~jessie_amd64.deb ...
Unpacking libzfs2 (0.6.5-pve4~jessie) over (0.6.5-pve3~jessie) ...
Preparing to unpack .../pve-container_1.0-7_all.deb ...
Unpacking pve-container (1.0-7) over (1.0-2) ...
Preparing to unpack .../qemu-server_4.0-30_amd64.deb ...
Unpacking qemu-server (4.0-30) over (4.0-28) ...
Preparing to unpack .../pve-manager_4.0-48_amd64.deb ...
Unpacking pve-manager (4.0-48) over (4.0-43) ...
Preparing to unpack .../zfsutils_0.6.5-pve4~jessie_amd64.deb ...
Unpacking zfsutils (0.6.5-pve4~jessie) over (0.6.5-pve3~jessie) ...
Preparing to unpack .../zfs-initramfs_0.6.5-pve4~jessie_amd64.deb ...
Unpacking zfs-initramfs (0.6.5-pve4~jessie) over (0.6.5-pve3~jessie) ...
Processing triggers for man-db (2.7.0.2-5) ...
Processing triggers for systemd (215-17+deb8u2) ...
Processing triggers for initramfs-tools (0.120) ...
update-initramfs: Generating /boot/initrd.img-4.2.1-1-pve
Setting up libfreetype6:amd64 (2.5.2-3+deb8u1) ...
Setting up pve-cluster (4.0-22) ...
Setting up libuutil1 (0.6.5-pve4~jessie) ...
Setting up libnvpair1 (0.6.5-pve4~jessie) ...
Setting up libpve-access-control (4.0-9) ...
Setting up libpve-storage-perl (4.0-26) ...
Setting up libzpool2 (0.6.5-pve4~jessie) ...
Setting up libzfs2 (0.6.5-pve4~jessie) ...
Setting up pve-container (1.0-7) ...
locale: Cannot set LC_ALL to default locale: No such file or directory
Setting up qemu-server (4.0-30) ...
Setting up pve-manager (4.0-48) ...
Installing new version of config file
/etc/apt/sources.list.d/pve-enterprise.list ...
locale: Cannot set LC_ALL to default locale: No such file or directory
Job for pvedaemon.service failed. See 'systemctl status
pvedaemon.service' and 'journalctl -xn' for details.
dpkg: error processing package pve-manager (--configure):
subprocess installed post-installation script returned error exit status 1
Setting up zfsutils (0.6.5-pve4~jessie) ...
Installing new version of config file /etc/default/zfs ...
Installing new version of config file /etc/zfs/zfs-functions ...
locale: Cannot set LC_ALL to default locale: No such file or directory
Processing triggers for initramfs-tools (0.120) ...
update-initramfs: Generating /boot/initrd.img-4.2.1-1-pve
Setting up zfs-initramfs (0.6.5-pve4~jessie) ...
Processing triggers for libc-bin (2.19-18+deb8u1) ...
Processing triggers for initramfs-tools (0.120) ...
update-initramfs: Generating /boot/initrd.img-4.2.1-1-pve
Errors were encountered while processing:
pve-manager
E: Sub-process /usr/bin/dpkg returned an error code (1)
--
Ing. Karel González Herrera
Administrador de Red
Etecsa: Dirección Territorial Norte
e-mail: ***@etecsa.cu
Tel: 8344973 8607483
Mov: 52182690
Martin Maurer
2015-10-14 18:29:26 UTC
Permalink
apt-get dist-upgrade
Martin
Karel González Herrera
2015-10-14 20:14:36 UTC
Permalink
sldsss



***@P-aguila01:~# apt-get dist-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
Can't set locale; make sure $LC_* and $LANG are correct!
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LC_TIME = "es_US.UTF-8",
LC_MONETARY = "es_US.UTF-8",
LC_ADDRESS = "es_US.UTF-8",
LC_TELEPHONE = "es_US.UTF-8",
LC_NAME = "es_US.UTF-8",
LC_MEASUREMENT = "es_US.UTF-8",
LC_IDENTIFICATION = "es_US.UTF-8",
LC_NUMERIC = "es_US.UTF-8",
LC_PAPER = "es_US.UTF-8",
LANG = "en_US.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to a fallback locale ("en_US.UTF-8").
locale: Cannot set LC_ALL to default locale: No such file or directory
Setting up pve-manager (4.0-48) ...
locale: Cannot set LC_ALL to default locale: No such file or directory
Job for pvedaemon.service failed. See 'systemctl status
pvedaemon.service' and 'journalctl -xn' for details.
dpkg: error processing package pve-manager (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
pve-manager
E: Sub-process /usr/bin/dpkg returned an error code (1)
***@P-aguila01:~#



-------- Mensaje reenviado --------
Asunto: Re: [PVE-User] apt-get upgrade
Fecha: Wed, 14 Oct 2015 20:29:26 +0200 (CEST)
apt-get dist-upgrade
Martin

_______________________________________________
pve-user mailing list
pve-***@pve.proxmox.com
http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-user
--
Ing. Karel González Herrera
Administrador de Red
Etecsa: Dirección Territorial Norte
e-mail: ***@etecsa.cu
Tel: 8344973 8607483
Mov: 52182690
Chidester, Bryce
2015-10-14 19:34:23 UTC
Permalink
Judging by the error about upgrading pve-manager, and not using dist
-upgrade, I'd say you didn't follow the instructions on
http://pve.proxmox.com/wiki/Upgrade_from_3.x_to_4.0 which indicate that
pve-manager (among others) should be removed before upgrade.


--

Bryce
Post by Martin Maurer
apt-get dist-upgrade
Martin
_______________________________________________
pve-user mailing list
http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-user
Karel González Herrera
2015-10-14 21:23:22 UTC
Permalink
This Proxmox I install from the 4.0 beta 2 and I was working fine until
I this upgrade

sldsss
Karel
Post by Chidester, Bryce
Judging by the error about upgrading pve-manager, and not using dist
-upgrade, I'd say you didn't follow the instructions on
http://pve.proxmox.com/wiki/Upgrade_from_3.x_to_4.0 which indicate that
pve-manager (among others) should be removed before upgrade.
--
Ing. Karel González Herrera
Administrador de Red
Etecsa: Dirección Territorial Norte
e-mail: ***@etecsa.cu
Tel: 8344973 8607483
Mov: 52182690
Continue reading on narkive:
Loading...