GabrielBB / xvfb-action

Run your tests headlessly ❌🖥️
https://github.com/marketplace/actions/gabrielbb-xvfb-action
MIT License
140 stars 20 forks source link

Unable to fetch xvfb from Ubuntu #24

Closed LeKristapino closed 1 year ago

LeKristapino commented 2 years ago

Hi. Some days ago this action started to fail with 404 Download links from Ubuntu.

Err:13 http://security.ubuntu.com/ubuntu bionic-updates/main amd64 xserver-common all 2:1.19.6-1ubuntu4.9
  404  Not Found [IP: 91.189.88.152 80]
Err:14 http://security.ubuntu.com/ubuntu bionic-updates/universe amd64 xvfb amd64 2:1.19.6-1ubuntu4.9
  404  Not Found [IP: 91.189.88.152 80]
Fetched 7550 kB in 1s (6515 kB/s)
E: Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/x/xorg-server/xserver-common_1.19.6-1ubuntu4.9_all.deb  404  Not Found [IP: 91.189.88.152 80]
E: Failed to fetch http://security.ubuntu.com/ubuntu/pool/universe/x/xorg-server/xvfb_1.19.6-1ubuntu4.9_amd64.deb  404  Not Found [IP: 91.189.88.152 80]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

I don't see xorg-server/xserver-common package anymore and xvfb_1.19.6-1ubuntu4.10_amd64.deb is the closest package I see for xvfb

haydncomley commented 2 years ago

Running sudo apt-get update beforehand within the action step fixed this for me.

LeKristapino commented 1 year ago

@haydncomley That worked, thank you

GabrielBB commented 1 year ago

Thanks @haydncomley . I will open a PR to the new repo with that fix (this repo is now deprecated)