Artix Linux Forum

Artix Linux => Package management => Topic started by: kenny_w on 08 November 2019, 21:42:25

Title: Can't basestrap Runit
Post by: kenny_w on 08 November 2019, 21:42:25
Hello friends!

I can't seem to basestrap runit with base... Is the problem on my end? I think it must be something wrong with the package database but I don't know

Code: [Select]
Enter a number (default=1): 
looking for conflicting packages...
error: unresolvable package conflicts detected
error: failed to prepare transaction (conflicting dependencies)
:: openrc and runit are in conflict
==> ERROR: Failed to install packages to new root

Title: Re: Can't basestrap Runit
Post by: SGOrava on 08 November 2019, 23:40:48
error is in command you used.

Check the wiki:
https://wiki.artixlinux.org/Main/Installation#Install_base_system

in short: add -i option or add elogind-runit
Title: Re: Can't basestrap Runit
Post by: kenny_w on 12 November 2019, 21:27:05
I did add the -i though.....
Title: Re: Can't basestrap Runit
Post by: artoo on 12 November 2019, 22:44:06
Proper basestrap has two options.

Interactive, and non interactive.

Non interactive specifies the elogind init script additionally to base, interactive lets you chose from the 3 elogind init options, elogind-openrc, elogind-s6, elogind-runit.

Non interactive:

Code: [Select]
basestrap /mnt base elogind-<init>

Interactive:

Code: [Select]
basestrap -i /mnt base

Title: Re: Can't basestrap Runit
Post by: kenny_w on 13 November 2019, 19:31:32
Just adding -i didn't work, but adding elogind-runit made it work.