Cannot initialize repo

Questions about applications and software
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
jlarysz
Level 1
Level 1
Posts: 2
Joined: Tue Sep 21, 2021 10:21 am

Cannot initialize repo

Post by jlarysz »

Hi:

I have a new installation of Linux Mint 20.2; the purpose of the installation is to build a custom Android ROM. This installation is completely new and I'm working as a user with sudo privileges. GnuPG is installed and I have created a personal gpg key. I have opened up the repo installation directory to "777".

I am unable to initialize "repo" (which I think is the same as "git-repo"). I have installed "snap" and "git-repo" itself, but when I try to initialize repo I get:

Code: Select all

~/bin/repo/install_dir$ repo init -u git://android.git.kernel.org/platform/manifest.git
warning: gpg (GnuPG) is not available.
warning: Installing it is strongly encouraged.

fatal: cannot make /home/jlarysz/bin/repo/install_dir/.repo/repo directory: Permission denied
All suggestion as to how to get past this will be appreciated.
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Locked

Return to “Software & Applications”