You are not logged in.

#1 2022-12-13 00:05:49

joseribeiro
Member
Registered: 2013-02-17
Posts: 73

[SOLVED] archiso: I can't get my custom repo to work

Hello,

I am trying to set a custom repo with archiso but I can't, I receive an error that says target not found.

Here is what I've done:

$ repo-add /home/$USER/livecd/myrepo/myrepo.db.tar.gz /home/$USER/livecd/myrepo/*.zst

/home/$USER/livecd/archlive/pacman.conf

[myrepo]
SigLevel = Optional TrustAll
Server = file:///home/$USER/livecd/myrepo

Trying to build the ISO

# mkarchiso -v -w /home/$USER/iso-tmp/ -o /home/$USER/Transferências/ /home/$USER/livecd/archlive/
==> Creating install root at /home/$USER/iso-tmp/x86_64/airootfs
==> Installing packages to /home/$USER/iso-tmp/x86_64/airootfs
:: Synchronizing package databases...
 core is up to date
 extra is up to date
 community is up to date
error: target not found: hunspell-pt_pt
error: target not found: mythes-pt_pt
error: target not found: yay
==> ERROR: Failed to install packages to new root

Notes:

1 - I also tried to set the multilib repo but with no success.
2 - I set this custom repo on /etc/pacman.conf  and it works on my system, but not with the archiso.

Last edited by joseribeiro (2022-12-13 19:56:23)

Offline

#2 2022-12-13 09:42:09

philo
Member
Registered: 2015-01-26
Posts: 275

Re: [SOLVED] archiso: I can't get my custom repo to work

What do you need a custom repo for?

Do not use yay.

Last edited by philo (2022-12-13 11:28:35)

Offline

#3 2022-12-13 10:24:43

schard
Forum Moderator
From: Hannover
Registered: 2016-05-06
Posts: 2,657
Website

Re: [SOLVED] archiso: I can't get my custom repo to work

Judging from pacman's output, pacman completely ignores your /home/$USER/livecd/archlive/pacman.conf file.
Let's check the config and repo first:

$ pacman -Sl myrepo --config /home/$USER/livecd/archlive/pacman.conf

Inofficial first vice president of the Rust Evangelism Strike Force

Offline

#4 2022-12-13 17:41:32

joseribeiro
Member
Registered: 2013-02-17
Posts: 73

Re: [SOLVED] archiso: I can't get my custom repo to work

schard wrote:

Judging from pacman's output, pacman completely ignores your /home/$USER/livecd/archlive/pacman.conf file.
Let's check the config and repo first:

$ pacman -Sl myrepo --config /home/$USER/livecd/archlive/pacman.conf

The ouput of the above command:

myrepo hunspell-pt_pt 20220621-1 [installed]
myrepo mythes-pt_pt 20060817-4 [installed]
myrepo yay 11.3.1-1 [installed]

Offline

#5 2022-12-13 19:54:30

joseribeiro
Member
Registered: 2013-02-17
Posts: 73

Re: [SOLVED] archiso: I can't get my custom repo to work

I did it all from scratch again and now it works. I do not know what the problem was but now it is solved. Thanks anyway. smile

Last edited by joseribeiro (2022-12-14 01:08:53)

Offline

Board footer

Powered by FluxBB