Upgrade 5 to 6 - pve proxy and daemon in failed state SOLVED

Hi there,

I just did an in-place upgrade from 5 to 6 based on the instructions provided at https://pve.proxmox.com/wiki/Upgrade_from_5.x_to_6.0 and now the GUI is not starting:


Code:
> pve5to6

...
WARN: updates for the following packages are available:
  libdevmapper1.02.1, dmsetup, libpve-access-control, libpve-cluster-perl,
  libpve-storage-perl, libpve-cluster-perl, proxmox-backup-client, grub-common,
  pve-qemu-kvm, libproxmox-backup-qemu0, libspice-server1, pve-ha-manager,
  libpve-cluster-perl, dmeventd, liblvm2cmd2.03, zfs-initramfs, lvm2,
  grub2-common, pve-firewall, libpve-cluster-perl, pve-container,
  libpve-cluster-perl, pve-lxc-syscalld, grub-pc, pve-cluster, librados2-perl,
  vncterm, spiceterm, libspice-server1, zfsutils-linux, grub-pc-bin,
  libpve-u2f-server-perl, grub-efi-amd64-bin, pve-manager,
  libproxmox-acme-perl, libpve-cluster-api-perl,
  libpve-cluster-perl, libzfs2linux, libpve-guest-common-perl, libpve-cluster-perl,
  libpve-common-perl, libproxmox-acme-perl, lxc-pve, qemu-server, libpve-cluster-perl,
  libknet1, smartmontools, libzpool2linux, grub-efi-ia32-bin, libpve-http-server-perl,
  criu, lxcfs
...
FAIL: systemd unit 'pveproxy.service' is in state 'failed'
FAIL: systemd unit 'pvedaemon.service' is in state 'failed'


Looks like a perl version issue maybe?

Code:
> pvecm

Experimental "my" subs not enabled at /usr/share/perl5/PVE/APIClient/LWP.pm line 278, <DATA> line 755.
Compilation failed in require at /usr/share/perl5/PVE/API2/ClusterConfig.pm line 12, <DATA> line 755.
BEGIN failed--compilation aborted at /usr/share/perl5/PVE/API2/ClusterConfig.pm line 12, <DATA> line 755.
Compilation failed in require at /usr/share/perl5/PVE/CLI/pvecm.pm line 15, <DATA> line 755.
BEGIN failed--compilation aborted at /usr/share/perl5/PVE/CLI/pvecm.pm line 15, <DATA> line 755.
Compilation failed in require at /usr/bin/pvecm line 8, <DATA> line 755.
BEGIN failed--compilation aborted at /usr/bin/pvecm line 8, <DATA> line 755.
 
I was over-zealous in commenting out repos in `/etc/apt/sources.list`
The documentation describes commenting out repos in that file but it was only meant to be the proxmox hosts which I didn't see because I have a subscription. I uncommented and ran `apt-get update` and `upgrade` and all is working again.