Skip to content
This repository was archived by the owner on May 14, 2025. It is now read-only.
This repository was archived by the owner on May 14, 2025. It is now read-only.

repo init for Halium 9.0 on Ubuntu 18.04.6 uses the wrong python #552

@ghost

Description

ub@ub:~/halium$ repo init -u https://github.com/Halium/android -b halium-9.0 --depth=1
gpg: keybox '/home/ub/.repoconfig/gnupg/pubring.kbx' created
gpg: /home/ub/.repoconfig/gnupg/trustdb.gpg: trustdb created
gpg: key 16530D5E920F5C65: public key "Repo Maintainer <[email protected]>" imported
gpg: key 67B7E448692B382C: public key "Conley Owens <[email protected]>" imported
gpg: Total number processed: 2
gpg:               imported: 2

Get https://gerrit.googlesource.com/git-repo/clone.bundle
Get https://gerrit.googlesource.com/git-repo
  File "/home/ub/halium/.repo/repo/main.py", line 79
    file=sys.stderr)
        ^
SyntaxError: invalid syntax

Solved by the commands below but they will probably break something else later.

sudo rm /usr/bin/python
sudo ln -s /usr/bin/python3.6 /usr/bin/python

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