facebook/hhvm

Can't install hhvm on Ubuntu 2022-04

nonopolarity opened this issue · 5 comments

Basically just following everything exactly to install on Ubuntu 2022-04
(This is Ubuntu on VirtualBox on a Windows 11 machine... if it may be an issue)

(I am putting all the commands in a do.bash and use bash do.bash to create the following log)

apt-get update
apt-get install software-properties-common apt-transport-https
apt-key adv --recv-keys --keyserver hkp://keyserver.ubuntu.com:80 0xB4112585D386EB94

add-apt-repository https://dl.hhvm.com/ubuntu
apt-get update
apt-get install hhvm

This is the log:
(since it was saying no permission all the time, so I used sudo bash first to make myself root to run it)

root@ken-VirtualBox:/home/ken# bash do.bash
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
software-properties-common is already the newest version (0.99.22.2).
apt-transport-https is already the newest version (2.4.6).
0 upgraded, 0 newly installed, 0 to remove and 262 not upgraded.
Warning: apt-key is deprecated. Manage keyring files in trusted.gpg.d instead (see apt-key(8)).
Executing: /tmp/apt-key-gpghome.KjyTyHy6ef/gpg.1.sh --recv-keys --keyserver hkp://keyserver.ubuntu.com:80 0xB4112585D386EB94
gpg: key B4112585D386EB94: "HHVM Package Signing <opensource+hhvm@fb.com>" not changed
gpg: Total number processed: 1
gpg:              unchanged: 1
Repository: 'deb https://dl.hhvm.com/ubuntu jammy main'
Description:
Archive for codename: jammy components: main
More info: https://dl.hhvm.com/ubuntu
Adding repository.
Press [ENTER] to continue or Ctrl-c to cancel.
Found existing deb entry in /etc/apt/sources.list.d/archive_uri-https_dl_hhvm_com_ubuntu-jammy.list
Adding deb entry to /etc/apt/sources.list.d/archive_uri-https_dl_hhvm_com_ubuntu-jammy.list
Found existing deb-src entry in /etc/apt/sources.list.d/archive_uri-https_dl_hhvm_com_ubuntu-jammy.list
Adding disabled deb-src entry to /etc/apt/sources.list.d/archive_uri-https_dl_hhvm_com_ubuntu-jammy.list
Ign:1 https://dl.hhvm.com/ubuntu jammy InRelease
Err:2 https://dl.hhvm.com/ubuntu jammy Release
  404  Not Found [IP: 65.8.158.11 443]
Get:3 http://security.ubuntu.com/ubuntu jammy-security InRelease [110 kB]
Hit:4 http://us.archive.ubuntu.com/ubuntu jammy InRelease
Hit:5 http://us.archive.ubuntu.com/ubuntu jammy-updates InRelease
Get:6 http://us.archive.ubuntu.com/ubuntu jammy-backports InRelease [99.8 kB]
Reading package lists... Done                                     
E: The repository 'https://dl.hhvm.com/ubuntu jammy Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
Hit:1 http://us.archive.ubuntu.com/ubuntu jammy InRelease
Ign:2 https://dl.hhvm.com/ubuntu jammy InRelease                             
Err:3 https://dl.hhvm.com/ubuntu jammy Release                               
  404  Not Found [IP: 65.8.158.11 443]
Get:4 http://security.ubuntu.com/ubuntu jammy-security InRelease [110 kB] 
Hit:5 http://us.archive.ubuntu.com/ubuntu jammy-updates InRelease
Get:6 http://us.archive.ubuntu.com/ubuntu jammy-backports InRelease [99.8 kB]
Reading package lists... Done                                       
E: The repository 'https://dl.hhvm.com/ubuntu jammy Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package hhvm
root@ken-VirtualBox:/home/ken#

It is saying E: Unable to locate package hhvm

Yeah, we don't have packages for Ubuntu 22.04 yet, but it's being worked on.

Atry commented

Now we build universal deb packages of HHVM, which should be able to run on Ubuntu 22.04. See https://hhvm.com/blog/2022/08/30/experimenting-with-universal-deb-packages.html

E: Unable to locate package hhvm

Still giving the same issue.

Now we build universal deb packages of HHVM, which should be able to run on Ubuntu 22.04. See https://hhvm.com/blog/2022/08/30/experimenting-with-universal-deb-packages.html

E: Unable to locate package hhvm

Still giving the same issue.

I got this error when following the installation instructions found https://docs.hhvm.com/hhvm/installation/linux

but, following @Atry 's link adds the universal repository instead of the ubuntu specific one which worked for me.