You are not logged in.

#1 2023-05-24 14:36:43

laichiaheng
Member
Registered: 2017-02-12
Posts: 297

[Resolved] Can't follow the instruction from Arch news.

[laichiaheng@Julian-PC ~]$ pkgctl repo clone linux
==> Cloning linux ...
Cloning into 'linux'...
git@gitlab.archlinux.org: Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
==> ERROR: failed to clone linux

Last edited by laichiaheng (2023-05-25 03:05:21)

Offline

#2 2023-05-24 14:45:47

loqs
Member
Registered: 2014-03-06
Posts: 18,961

Re: [Resolved] Can't follow the instruction from Arch news.

Offline

#3 2023-05-24 14:56:14

laichiaheng
Member
Registered: 2017-02-12
Posts: 297

Re: [Resolved] Can't follow the instruction from Arch news.

Is this step necessary for normal users?
It still fails after doing this: pkgctl repo clone --unprivileged --universe

Offline

#4 2023-05-24 15:02:44

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,248

Re: [Resolved] Can't follow the instruction from Arch news.

You probably just want to look at the last post for this case: https://bbs.archlinux.org/viewtopic.php … 2#p2101342 -- note the devtools in reference there is only present in testing currently. -- or use the git clone method.

Last edited by V1del (2023-05-24 15:03:38)

Offline

#5 2023-05-25 03:04:27

laichiaheng
Member
Registered: 2017-02-12
Posts: 297

Re: [Resolved] Can't follow the instruction from Arch news.

V1del wrote:

You probably just want to look at the last post for this case: https://bbs.archlinux.org/viewtopic.php … 2#p2101342 -- note the devtools in reference there is only present in testing currently. -- or use the git clone method.

After adding --protocol=https, it works.

sudo pkgctl repo clone --protocol=https linux

Offline

#6 2023-05-25 06:45:01

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,244

Re: [Resolved] Can't follow the instruction from Arch news.

laichiaheng wrote:

Is this step necessary for normal users?

The news wrote:

For users of the now deprecated asp tool, you will need to switch to pkgctl:

Do you intend to build the kernel yourself?
https://wiki.archlinux.org/title/Arch_build_system
https://wiki.archlinux.org/title/Compile_kernel_module
https://wiki.archlinux.org/title/Develo … A_Packager

PSA: Don't copy and paste random stuff from the internet, that you apparently don't understand, into an interactive shell.

Offline

#7 2023-05-30 22:23:51

bulletmark
Member
From: Brisbane, Australia
Registered: 2013-10-22
Posts: 713

Re: [Resolved] Can't follow the instruction from Arch news.

I decided to fetch the Arch kernel source today so went straight to wiki to learn how to use the new pkgctl (at the first link seth quotes above). However the first step there fails with a "Permission denied (publickey)." error so I hunted around and found this thread.

- Are we expected to add that `--protocol=https`  every time we want to use pkgctl?
- Why is the wiki not updated to say this?

Personally I doubt users would be expected to add that option every time so it just seems like a bug to me.

Offline

Board footer

Powered by FluxBB