Skip to content

APT: E: Unable to locate package golang-1.22-go #33

@andrew-stclair

Description

@andrew-stclair

Issue Description

The listed package of go in 05-go.yml is out of date

- golang-1.22-go

This results in the following error:

#19 [13/17] RUN apt-get install -y  golang-1.22-go  && apt-get clean
#19 0.068 Reading package lists...
#19 0.555 Building dependency tree...
#19 0.691 Reading state information...
#19 0.755 E: Unable to locate package golang-1.22-go
#19 0.755 E: Couldn't find any package by glob 'golang-1.22-go'
#19 0.755 E: Couldn't find any package by regex 'golang-1.22-go'
#19 ERROR: process "/bin/sh -c apt-get install -y  golang-1.22-go  && apt-get clean" did not complete successfully: exit code: 100

Steps to Reproduce

  • setup a new custom vanilla-os image repository or use an existing one
  • include the 05-go.yml module like this in your recipe.yml file
  - name: modules
    type: includes
    includes:
      - gh:vanilla-os/dev-image:main:modules/05-go.yml
  • try to build the image

On what version of Vanilla OS this happens?

Unreleased

Additional Information

This is from the latest Vanilla OS 2 desktop:main and nvidia:main images

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingtriage

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions