Closed tmcgilchrist closed 2 weeks ago
@tmcgilchrist Thank you for bringing this issue to us. We are looking into this issue and will update you on this issue after investigating.
Hi @tmcgilchrist Can you please try the following workflow, It should allow you to install Darcs on Ubuntu 24 as well.
name: Build
on: [push, pull_request]
jobs:
build:
strategy:
fail-fast: false
matrix:
os:
- ubuntu-24.04
- ubuntu-22.04
runs-on: ${{ matrix.os }}
steps:
- name: Update Ubuntu
if: runner.os == 'linux'
run: |
sudo apt-get update
sudo apt-get install -y curl
curl -sSL https://get-ghcup.haskell.org | sh -s -- -y
source $HOME/.ghcup/env
ghcup install ghc 8.10.7
ghcup set ghc 8.10.7
ghcup install cabal 3.4.0.0
ghcup set cabal 3.4.0.0
cabal update
cabal install darcs
This breaks the ocaml-setup
action, which depends on darcs. I don't think the @RaviAkshintala's workaround will get ocaml-setup
working since that action actually executes apt-get install darcs
.
@nlsandler that's correct, we would need changes in setup-ocaml
. I'd be ok if this package wasn't installable on Ubuntu 24.04 on my desktop docker but it is which is why I'd reported it here.
There is an upstream bug report for Debian on this package https://tracker.debian.org/pkg/darcs with the specific failure here https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1054953 I don't know whether this impacts downstream Ubuntu or the images available in runner-images
???
Is there any update on this issue? I'm also hitting this issue when running setup-ocaml
on ubuntu-latest
Hi @tmcgilchrist Hopefully your issue is resolved here, We are closing this issue. Thanks!
Description
The
darcs
package is missing for Ubuntu 24.04 runners. It is available on 22.04 runners. It is also available on regular Ubuntu 24.04 and 22.04 running on desktop docker.Platforms affected
Runner images affected
Image version and build link
Current runner version: '2.319.1' Operating System Runner Image Runner Image Provisioner GITHUB_TOKEN Permissions Secret source: Actions Prepare workflow directory Prepare all required actions Getting action download info Download action repository 'actions/checkout@v4' (SHA:692973e3d937129bcbf40652eb9f2f61becf3332) Download action repository 'ocaml/setup-ocaml@v3' (SHA:190141893c2e2eb492dfe4973030d58ad763a5dc) Complete job name: build (ubuntu-24.04, 5.2)
Is it regression?
Yes
Expected behavior
Darcs package should be available and installable as per regular Ubuntu 24.04 LTS
Actual behavior
Darcs package is missing from the package index available to Ubuntu 24.04 runner
Repro steps
Using this configuration should demonstrate the failure:
Ubuntu 24.04 will fail because it can't install
darcs
while 22.04 will pass.