You are not logged in.

#1 2010-07-27 16:42:54

tjwoosta
Member
Registered: 2008-12-18
Posts: 453

[SOLVED]cryptsetup conflicts with mkinitcpio ?

Rebuilding everything from source using abs with customized compiler flags and I stumbled across this issue.

==> WARNING: cryptsetup conflicts with those packages:
 - mkinitcpio
==> Do you want to remove them with "pacman -Rd" ?  [y/N]
==> -----------------------------------------------------
==>

This only comes up when installing cryptsetup after mkinitcpio is already installed. If I install mkinitcpio after cryptsetup theres no warning.

So basically what should I do? Why does cryptsetup conflict with mkinitcpio? It it safe to ignore the warning and keep mkinitcpio anyway? Should I remove mkinitcpio with -Rd first then reinstall it afterwards?

Last edited by tjwoosta (2010-07-27 18:40:24)

Offline

#2 2010-07-27 17:03:33

anonymous_user
Member
Registered: 2009-08-28
Posts: 3,059

Re: [SOLVED]cryptsetup conflicts with mkinitcpio ?

Whats the version of your mkinitcpio? Cryptsetup has this in its PKGBUILD:

conflicts=('mkinitcpio<0.5.99')

Offline

#3 2010-07-27 17:35:43

tjwoosta
Member
Registered: 2008-12-18
Posts: 453

Re: [SOLVED]cryptsetup conflicts with mkinitcpio ?

I noticed that, and that would make sense, but why is mkinitcpio 0.6.7-1 in core when cryptsetup 1.1.3-1, which is part of base, conflicts with it? Theres no warning or anything if you install cryptsetup with base then add mkinitcpio afterwards when recompiling your kernel or something, becasue the mkinitcpio pkgbuild doesnt specify it as a conflict. The only reason I noticed was because Im recompiling everything and cryptsetup came up.

Is there any chance that the  < is supposed to be a > ?

Last edited by tjwoosta (2010-07-27 17:38:47)

Offline

#4 2010-07-27 17:58:51

anonymous_user
Member
Registered: 2009-08-28
Posts: 3,059

Re: [SOLVED]cryptsetup conflicts with mkinitcpio ?

"<" means less than, so it seems fine. Cryptsetup conflicts with mkinitcpio less than version 0.5.99.

Offline

#5 2010-07-27 18:00:29

falconindy
Developer
From: New York, USA
Registered: 2009-10-22
Posts: 4,111
Website

Re: [SOLVED]cryptsetup conflicts with mkinitcpio ?

cryptsetup 1.1.3 installs just fine here alongside mkinitcpio 0.6.7. The inequality in the conflicts is correct.

It would also appear that you're not using Pacman. Use Pacman.

Offline

#6 2010-07-27 18:37:12

tjwoosta
Member
Registered: 2008-12-18
Posts: 453

Re: [SOLVED]cryptsetup conflicts with mkinitcpio ?

Ahh, ok I see now, your right it works with makepkg and pacman. It seems yaourt isnt interpreting the inequality symbols for conflicts properly. The same thing just happened with another package (device-mapper).

It would also appear that you're not using Pacman. Use Pacman.

I would just use pacman and makepkg but its much easier to use yaourt for rebuilding the whole system.

for i in $(pacman -Q); do yaourt -Sb $i; done

A bit sloppy but it does the job, I just have to start ignoring the screwed up conflicts.

Offline

#7 2010-07-28 14:29:26

falconindy
Developer
From: New York, USA
Registered: 2009-10-22
Posts: 4,111
Website

Re: [SOLVED]cryptsetup conflicts with mkinitcpio ?

yaourt -Sb $(pacman -Qq)

Don't expect miracles from just changing your compiler flags. Might as well be using Gentoo at this point...

Offline

Board footer

Powered by FluxBB