You are not logged in.

#1 2017-05-08 16:11:15

TheGasolineWillBeOurs
Member
Registered: 2015-02-06
Posts: 65

[SOLVED] Installing system wide after building in a clean chroot env.

I have troubles wrapping my head around what I'm actually doing when using the chroot environment. I followed this Wiki and build my package with

multilib-build -- -I someotherpackage.tar.gz

This works fine. I now try to install the package system wide. I believed the right way to do that would be

makechrootpkg -r $CHROOT -- -i

but this is not working since it is complaining that there are missing dependencies. The dependencies are installed, just not in the clean chroot environment, but normally by pacman. How can I install this package?

Last edited by TheGasolineWillBeOurs (2017-05-08 19:53:48)

Offline

#2 2017-05-08 16:26:18

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: [SOLVED] Installing system wide after building in a clean chroot env.

Explicitly:

makechrootpkg -r $CHROOT -I /var/cache/pacman/pkg/$pkgname

Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2017-05-08 16:32:51

TheGasolineWillBeOurs
Member
Registered: 2015-02-06
Posts: 65

Re: [SOLVED] Installing system wide after building in a clean chroot env.

Thanks! This does fail with exactly the same error. (Yes, I did change the "$pkgname".) Wouldn't I need the -i flag somewhere?

Offline

#4 2017-05-08 16:33:22

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,729

Re: [SOLVED] Installing system wide after building in a clean chroot env.

What do you mean "system wide"? You're just wanting to know how to install a package file with pacman?

Offline

#5 2017-05-08 17:06:43

TheGasolineWillBeOurs
Member
Registered: 2015-02-06
Posts: 65

Re: [SOLVED] Installing system wide after building in a clean chroot env.

I want to know how to install a package that I have built in a clean chroot environment, according to the instructions on this wiki. Maybe it is as easy as using the right pacman command. Although I'm under the impression I need a makechrootpkg command.

Last edited by TheGasolineWillBeOurs (2017-05-08 17:07:38)

Offline

#6 2017-05-08 17:36:56

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,729

Re: [SOLVED] Installing system wide after building in a clean chroot env.

Offline

#7 2017-05-08 19:54:25

TheGasolineWillBeOurs
Member
Registered: 2015-02-06
Posts: 65

Re: [SOLVED] Installing system wide after building in a clean chroot env.

Right! That was it! Thanks!

Offline

Board footer

Powered by FluxBB