Reading package lists... Error!

Hello all, I'm upgrading rstudio workbench on an ubuntu 20.04 server, from 2024.04.1+748.pro2 Workbench (Chocolate Cosmos) for Ubuntu Focal to the December 2024 release. I'm following Upgrade – Administration Guide, running
curl -O https://download2.rstudio.org/server/focal/amd64/rstudio-workbench-2024.12.0-amd64.deb
apt-get install ./rstudio-workbench-2024.12.0-amd64.deb

curl -O https://download2.rstudio.org/server/focal/amd64/rstudio-workbench-2024.12.0-amd64.deb
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 6835 100 6835 0 0 24151 0 --:--:-- --:--:-- --:--:-- 24151
admin@rstudioserver:~$ apt-get install ./rstudio-workbench-2024.12.0-amd64.deb
E: Could not open lock file /var/lib/dpkg/lock-frontend - open (13: Permission denied)
E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), are you root?

Tried again as sudo:
sudo chmod 644 /var/lib/dpkg/lock-frontend
admin@rstudioserver:~ apt-get install ./rstudio-workbench-2024.12.0-amd64.deb E: Could not open lock file /var/lib/dpkg/lock-frontend - open (13: Permission denied) E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), are you root? admin@rstudioserver:~ sudo apt-get install ./rstudio-workbench-2024.12.0-amd64.deb
Reading package lists... Error!
E: Invalid archive signature
E: Internal error, could not locate member control.tar.{zstlz4gzxzbz2lzma}
E: Could not read meta data from /home/drstudioadmin/rstudio-workbench-2024.12.0-amd64.deb
E: The package lists or status file could not be parsed or opened.

Not sure what I'm missing here. Thanks.

Can you please run

sudo apt-get install ./rstudio-workbench-2024.12.0-amd64.deb

and see if this works ?

It looks like your admin user does not have appropriate permissions to install software.

Also, make sure the the deb file has a size of 222 Mb (ls -lh rstudio-workbench-2024.12.0-amd64.deb will report this).