[SOLVED] upgrade to 4.x some Problems

vikozo

Renowned Member
May 4, 2014
827
34
93
suisse
www.wombat.ch
Hello
i followed the description there
https://pve.proxmox.com/wiki/Upgrade_from_3.x_to_4.0

it would first be nice to get a hint what to answer when the upgrade ask something like
onfiguration file '/etc/default/ipmievd'
==> File on system created by you or by a script.
==> File also in package provided by package maintainer.
What would you like to do about it ? Your options are:
Y or I : install the package maintainer's version
N or O : keep your currently-installed version
D : show the differences between the versions
Z : start a shell to examine the situation
The default action is to keep your current version.
*** ipmievd (Y/I/N/O/D/Z) [default=N] ?

then at the end doing the final update upgrade check i got a
# apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following packages were automatically installed and are no longer required:
apache2-mpm-prefork apache2.2-bin apache2.2-common ipxe-qemu libbluetooth3 libbrlapi0.6 libfdt1 libiscsi2 libnl1
libopus0 libruby1.9.1 libtcl8.5 libvdeplug2 qemu-system-common qemu-utils seabios sharutils tcl8.5
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
pve-qemu-kvm
The following NEW packages will be installed:
pve-qemu-kvm
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
38 not fully installed or removed.
Need to get 0 B/3,626 kB of archives.
After this operation, 13.4 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
(Reading database ... 67291 files and directories currently installed.)
Preparing to unpack .../pve-qemu-kvm_2.4-9_amd64.deb ...
Unpacking pve-qemu-kvm (2.4-9) ...
dpkg: error processing archive /var/cache/apt/archives/pve-qemu-kvm_2.4-9_amd64.deb (--unpack):
trying to overwrite '/usr/bin/virtfs-proxy-helper', which is also in package qemu-system-common 1:2.1+dfsg-12+deb8u4
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Errors were encountered while processing:
/var/cache/apt/archives/pve-qemu-kvm_2.4-9_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

then the Upgrade killed my Munin-client ;-(

and a last but not least i can't access the GUI!

The nice part, the homepage in a KVM are still working ;-)

have a nice day
vincent
 
Last edited:
doing a pveversion -v
~# pveversion -v
proxmox-ve: not correctly installed (running kernel: 2.6.32-41-pve)
pve-manager: not correctly installed (running version: 4.0-48/0d8559d0)
pve-kernel-2.6.32-37-pve: 2.6.32-149
pve-kernel-2.6.32-42-pve: 2.6.32-165
pve-kernel-2.6.32-32-pve: 2.6.32-136
pve-kernel-2.6.32-39-pve: 2.6.32-157
pve-kernel-2.6.32-34-pve: 2.6.32-140
pve-kernel-2.6.32-35-pve: 2.6.32-143
pve-kernel-4.2.2-1-pve: 4.2.2-16
pve-kernel-2.6.32-40-pve: 2.6.32-160
pve-kernel-2.6.32-41-pve: 2.6.32-164
lvm2: 2.02.116-pve1
corosync-pve: not correctly installed
libqb0: 0.17.2-1
pve-cluster: not correctly installed
qemu-server: not correctly installed
pve-firmware: not correctly installed
libpve-common-perl: 4.0-30
libpve-access-control: not correctly installed
libpve-storage-perl: not correctly installed
pve-libspice-server1: 0.12.5-1
vncterm: 1.2-1
pve-qemu-kvm: not correctly installed
pve-container: not correctly installed
pve-firewall: not correctly installed
pve-ha-manager: not correctly installed
ksm-control-daemon: 1.2-1
glusterfs-client: 3.5.2-2+deb8u1
lxc-pve: not correctly installed
lxcfs: not correctly installed
cgmanager: 0.37-pve2
criu: not correctly installed
openvswitch-switch: 2.3.2-1
 
it would first be nice to get a hint what to answer when the upgrade ask something like

I suggest you first read a bock about Debian - those are basics ...

Second, Proxmox VE does not install that software at all - instead, you installed it manually.
So we assume that you can also update it.
 
I'm also wondering if you have a subscription key, so the enterprise repo is ok, or you don't, and you should then comment that repository and add in /etc/apt/sources.list the "non subscription" repo described in the wiki. Apart from your sesolution/connetivity problems, if you have no subscription and you don't have inerted apropriate Proxmox repo you can't update nor upgrade the pve part.
 
which software do you mean? :confused:

For example apache2-mpm-prefork. Also someone installed:

qemu-system-common qemu-utils seabios sharutils tcl8.5

this is not installed on Proxmox VE, and you should remove it.
Also, someone modified /etc/default/ipmievd, and I assume you have done that?
So you should know what do to with that file - either keep your modifications, or
install the new file.
 
@mmenaz
thanks for your feedback
no i don't have a key
---
the connetivity problem is solved
---
i have done some modification to the sources.list and did not save a backup bevor, so what should be in the
/etc/apt/sources.list
/etc/apt/sources.list.d/pve-enterprise.list

Thanks for your help
vincent
 
do you have a enterprise key? if nof go to /etc/apt/sourcelist.conf.de/ edit the file in this dir and recommend the entry with # on start
 
you are welcome, nice day, too...
regards

can you help me?
i found problem when apt-get install pve-ha-simulator
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package pve-ha-simulator