Skip to content

bzr (no such package) #636

Open
Open

Description

@rijulsudhir

On running fn -v build-server -t rijulsudhir/fn-api-ext
it is showing

Building image rijulsudhir/fn-api-ext 
FN_REGISTRY:  127.0.0.1:5000
Current Context:  distributed-fn
Sending build context to Docker daemon  3.072kB
Step 1/11 : FROM golang:1-alpine AS build-env
 ---> 3a38ce03c951
Step 2/11 : RUN apk --no-cache add build-base git bzr mercurial gcc
 ---> Running in 7815735ce714
fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz
fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz
ERROR: unable to select packages:
  bzr (no such package):                                                                  
    required by: world[bzr]
The command '/bin/sh -c apk --no-cache add build-base git bzr mercurial gcc' returned a non-zero code: 1

build can be completed by changing FROM golang:1-alpine AS build-env to FROM golang:1-alpine3.11 AS build-env in the generated dockerfile in the temp folder and building with docker build.

As per https://gitlab.alpinelinux.org/alpine/abuild/-/issues/10000 it seems like bzr package has been removed in the latest version.

Activity

  1. rijulsudhir commented on Nov 20, 2021

    @rijulsudhir
    Author

    If anyone else face the same issue, you can install cli using below command
    curl -LSs https://raw.githubusercontent.com/rijulsudhir/fn-1-cli/master/install | sh
    This is just a temporary solution until the official fix is available.
    (you can check out the modifications made at https://github.com/rijulsudhir/fn-1-cli)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions