TASK ERROR: Not an ARRAY reference at /usr/lib/x86_64-linux-gnu/perl5/5.32/AptPkg/hash.pm line 54.

Bl1c

New Member
Aug 15, 2023
3
2
3
Ukraine
Code:
Not an ARRAY reference at /usr/lib/x86_64-linux-gnu/perl5/5.32/AptPkg/hash.pm line 54.
To fix it, add an unsubscribed Proxmox repository (if you don't have a subscription) to the end of the /etc/apt/sources.list file:

Code:
nano /etc/apt/sources.list

Add line:
Code:
deb http://download.proxmox.com/debian/pve bullseye pve-no-subscription
#monual proxmox update ref

And do:
Code:
apt-get update
apt-get dist-upgrade

After that, check if the update error in Proxmox has been resolved.
 
Hi,
Code:
Not an ARRAY reference at /usr/lib/x86_64-linux-gnu/perl5/5.32/AptPkg/hash.pm line 54.
when exactly did this error trigger? I.e. when running what command?

Add line:
Code:
deb http://download.proxmox.com/debian/pve bullseye pve-no-subscription
#monual proxmox update ref
Please note that Proxmox VE 7 based on Bullseye is end-of-life since the end of July: https://pve.proxmox.com/wiki/FAQ
You should consider upgrading: https://pve.proxmox.com/wiki/Upgrade_from_7_to_8

For information about package repositories, also see: https://pve.proxmox.com/wiki/Package_Repositories
 

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!