You are not logged in.

#1 2013-05-22 17:54:00

Jonnothin
Member
Registered: 2011-10-18
Posts: 16

[SOLVED]systemd conflicts

After attempting the pacstrap -i /mnt base I get some systemd conflicts with libsystemd and systemd-tools. systemd-syscompat also conflicts with sysvinit.

From what I've been reading this has to do with boot-up protocols and such so I'd rather not mess it up (plus saying yes to everything doesn't work lol).

Does pacstrap take pacman commands? If so can I force it like pacman to install without issue? Also do I need any of the items that are in conflict (sysvinit, libsystemd, and systemd-tools)? And I imagine by forcing it to install it would accept whatever I told it to keep and remove, right?

Last edited by Jonnothin (2013-05-22 19:12:23)

Offline

#2 2013-05-22 18:09:42

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: [SOLVED]systemd conflicts

Wait, why is it trying to install sysvinit?  Are you telling it to?  Is this on an existing system?  Sysvinit is deprecated and gone, so it is not in use at all on Arch Linux anymore.  We now use systemd.

You should never force anything.  It is not good practice.  If you want to know exactly what pactrap does, you should check out the script itself.  It is pretty simple, and is written in bash.

I think a better idea would be to simply chroot into the installation (I am assuming this is an existing installation) and then use pacman proper from there.  There is the arch-chroot tool that you can use to make the chroot super stooopid simple, and it even bind mounts resolv.conf for you so that you have interwebs and everything from inside the chroot.

Offline

#3 2013-05-22 18:13:54

Jonnothin
Member
Registered: 2011-10-18
Posts: 16

Re: [SOLVED]systemd conflicts

I'm sorry I didn't clarify enough.

This is a new installation and I'm following the instructions on the beginner's guide. The beginner's guide didn't specify whether to install everything (default=all) or not. So naturally I left it at the default. Which packages should I omit?

Last edited by Jonnothin (2013-05-22 18:14:15)

Offline

#4 2013-05-22 18:14:56

mcmillan
Member
Registered: 2006-04-06
Posts: 737

Re: [SOLVED]systemd conflicts

It's kind of confusing what you're doing. If you want advice about how to proceed, you'll need post exactly what commands and errors you're getting. But if you're following the guides in the wiki correctly I don't think you should be seeing these kinds of problems.

Offline

#5 2013-05-22 18:14:59

teateawhy
Member
From: GER
Registered: 2012-03-05
Posts: 1,138
Website

Re: [SOLVED]systemd conflicts

Do not use pacstrap on an existing installation.
Edit: Obviously i was 60 seconds too slow.

Last edited by teateawhy (2013-05-22 18:16:32)

Offline

#6 2013-05-22 18:16:20

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,611

Re: [SOLVED]systemd conflicts

You don't want to omit anything from base. I'm guessing you meant sysvinit-tools instead of sysvinit, which is where WW was getting confused.

We're going to need the exact error message to know what's going on.

Offline

#7 2013-05-22 18:18:06

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: [SOLVED]systemd conflicts

teateawhy, apparently this is a new installation.... though I fail to see how.

@OP, there is no possible way that you should be pulling in sysvinit, as it is not even in the repos.  So you must be trying to isntall on a partition that hasn't been reformatted... that is the only thing I can come up with.  If you haven't actually installed anything to that partition yet (as I think is the case if you haven't been able to overcome the conflicts), can you chroot into /mnt?  What does "ls /mnt" return?  Is there a full filesystem heirarchy there?

Offline

#8 2013-05-22 18:18:31

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,906
Website

Re: [SOLVED]systemd conflicts

What are you using as a mirror? libsystemd and systemd-tools haven't been separate packages for quite some time, and sysvinit was dropped from the repos earlier this year..

EDIT: I think Wonderwoofy's on to something there.

Last edited by WorMzy (2013-05-22 18:19:23)


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Online

#9 2013-05-22 18:19:51

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

Re: [SOLVED]systemd conflicts

Arch isn't Manjaro/Bridge or whoever else it is still including sysvinit in their repos...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#10 2013-05-22 18:21:14

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: [SOLVED]systemd conflicts

Actually, I think that jasonwryan is more onto something here...

Offline

#11 2013-05-22 18:29:53

Jonnothin
Member
Registered: 2011-10-18
Posts: 16

Re: [SOLVED]systemd conflicts

Here's exactly what I get:

pacstrap -i /mnt base
::Synchronizing package databases...
core is up to date
extra is up to date
community is up to date
:: there are 52 members in group base:
:: (list of all base files...)

Enter a selection (default=all):
warning:bzip-1.0.6-4 is up to date -- reinstalling
warning: heirloom-mailx-12.5-3 is up to date -- reinstalling
warning: jfsutils-1.1.15-3 is up to date -- reinstalling
warning: nanon-2.2.6-2 is up to date -- reinstalling
warning: sysfsutils-2.1.0-8 is up to date -- reinstalling
warning: usbutils-006-1 is up to date --reinstalling
resolving dependencies...
looking for inter-conflicts
:: util-linux and eject are in conflict. Remove eject? [y/N] y
:: systemd and libsystemd are in conflict. Remove libsystemd? [y/N] y
:: systemd and systemd-tools are in conflict. Remove systemd-tools? [y/N] y
:: systemd-sysvcompat and sysvinit are in conflict. Remove sysvinit? [y/N] y
error: failed to prepare transaction (could not satisfy dependencies)
::gcc: requires gcc-libs=4.7.1-4
::initscripts: requires sysvinit
::virtualbox-modules: requires linux<3.5
==ERROR:Failed to install packages to new root
pacstrap -i /mnt base 10.52s user 0.08s system 46% cpu 22.94 total
1 root@archiso ~ # _

I have an idea of what it might be now. I'll let you guys know in a few minutes.

Offline

#12 2013-05-22 18:37:05

opt1mus
Member
From: UK
Registered: 2011-12-31
Posts: 212
Website

Re: [SOLVED]systemd conflicts

What source are you using for the packages? As virtualbox-modules is not in the official repos, at least not as that, it's split.

Offline

#13 2013-05-22 18:40:51

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,906
Website

Re: [SOLVED]systemd conflicts

By the looks of things this is not a new installation, it is an old installation that you're trying to install over the top of. Is there a reason why you're doing this, instead of reformatting the partition first?


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Online

#14 2013-05-22 18:42:18

Jonnothin
Member
Registered: 2011-10-18
Posts: 16

Re: [SOLVED]systemd conflicts

I'm using the default mirrorlist. Also my idea didn't work. I thought that maybe somehow the old arch install that was there was somehow interfering, but that can't be it, I reformated it.

EDIT cfdisk didn't overwrite the old install. I'll try again.

Last edited by Jonnothin (2013-05-22 18:45:56)

Offline

#15 2013-05-22 18:45:13

opt1mus
Member
From: UK
Registered: 2011-12-31
Posts: 212
Website

Re: [SOLVED]systemd conflicts

What command/method did you use to reformat? As it appears to have not worked.

Offline

#16 2013-05-22 18:45:33

HalosGhost
Forum Moderator
From: Twin Cities, MN
Registered: 2012-06-22
Posts: 2,095
Website

Re: [SOLVED]systemd conflicts

Jonnothin wrote:

I'm using the default mirrorlist. Also my idea didn't work. I thought that maybe somehow the old arch install that was there was somehow interfering, but that can't be it, I reformated it.

Are you sure? Because this really doesn't look like a fresh install... See Opt1mus's comment above.

All the best,

-Sam

Last edited by HalosGhost (2013-05-22 18:46:08)

Offline

#17 2013-05-22 18:46:45

Jonnothin
Member
Registered: 2011-10-18
Posts: 16

Re: [SOLVED]systemd conflicts

cfdisk didn't overwrite it. I'll try reformating again.

Offline

#18 2013-05-22 18:48:30

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: [SOLVED]systemd conflicts

cfdisk *shoudn't* reformat it, that is jsut creating the partition.  You need to make a new filesystem.

Offline

#19 2013-05-22 18:57:27

Jonnothin
Member
Registered: 2011-10-18
Posts: 16

Re: [SOLVED]systemd conflicts

Okay, it works now.

It was the old arch install. I used cfdisk to delete the partition and put the table back the way it was and then used mkfs.ext4.

Thanks for all the help!

...Today must not be my day for computers...

Offline

#20 2013-05-22 19:00:03

opt1mus
Member
From: UK
Registered: 2011-12-31
Posts: 212
Website

Re: [SOLVED]systemd conflicts

Jonnothin wrote:

[...] I used cfdisk to delete the partition and put the table back the way it was[...]

This was completely unnecessary/redundant, all you needed to do was use mkfs on the relevant partition/s.

-- edit spelling --

Last edited by opt1mus (2013-05-22 19:09:45)

Offline

#21 2013-05-22 19:02:42

HalosGhost
Forum Moderator
From: Twin Cities, MN
Registered: 2012-06-22
Posts: 2,095
Website

Re: [SOLVED]systemd conflicts

Either way, if you have the problem worked out, please add [Solved] to the beginning of your thread title.

All the best,

-HG

Offline

#22 2013-05-22 19:07:47

Jonnothin
Member
Registered: 2011-10-18
Posts: 16

Re: [SOLVED]systemd conflicts

@Opt1mus Thanks. I remember that next time hopefully.

@HalosGhost Will do.

Offline

Board footer

Powered by FluxBB