You are not logged in.

#1 2010-10-01 23:47:14

pieiti
Member
Registered: 2010-09-10
Posts: 7

[SOLVED]Problems trying to get packages from the [custom] repo

I've already looked for a solution in threads about this issue, but didn't find any.
Basically I am trying to build a liveCD, using archiso, and I would like to install some AUR packages on the .iso .
First of all, I wrote the AUR packages in the packages.list, with the other "normal" repository packages as well. Then I created a custom repo with repo-add, and I put the compiled packages I need into that. I synced pacman and finally I tried to make all, and this is what I got:

pat ~/myarch$ sudo make all
mkarchiso -p "pacman pacman-color aufs2 aufs2-util base bash coreutils cpio dhcpcd dnsutils file fuse kernel26 syslinux nano syslinux" create "work"
mkarchiso : Configuration Settings
        working directory:   work
               image name:   none
====> Creating working directory: work
====> Installing packages to 'work/root-image/'
error: failed to commit transaction (No such file or directory)
make: *** [root-image] Error 1

As you can see, this time I tried to install just pacman-color from the AUR, and all the other packages are from regular repos.
I don't think that's caused due to the pacman.conf file, because I can sync pacman on the [custom] repo without any problem. That's the pacman.conf part with the repo path:

# An example of a custom package repository.  See the pacman manpage for
# tips on creating your own repositories.
[custom]
Server = file:///home/pat

As you can see the custom.db.tar.gz repo it's located in my /home.
All the packages inside the [custom] repo (in this case it's just pacman-color) are builted with makepkg -s, and added to the repo with repo-add.

I don't know what else to try. I can't even understand why this is not working. In theory I did nothing wrong and I didn't skipped any crucial step.
Why is this happening to me?

Last edited by pieiti (2010-10-02 14:17:33)

Offline

#2 2010-10-02 14:17:04

pieiti
Member
Registered: 2010-09-10
Posts: 7

Re: [SOLVED]Problems trying to get packages from the [custom] repo

I just solved this "problem" by myself.
I just realized that the repo.db.tar.gz MUST be in the same folder of the package.tar.xz, or else it doesn't know the path to the package.
I am a ritard sad

Offline

#3 2011-05-19 14:33:10

walterjwhite
Member
Registered: 2011-05-01
Posts: 207

Re: [SOLVED]Problems trying to get packages from the [custom] repo

Hi,

Thanks for posting the solution - that helped me out.


Walter

Offline

Board footer

Powered by FluxBB