Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
gentoo with zfs on root; genkernel blocked
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
senorsmile
n00b
n00b


Joined: 28 Oct 2012
Posts: 6
Location: Seattle, WA

PostPosted: Sun Oct 28, 2012 9:58 pm    Post subject: gentoo with zfs on root; genkernel blocked Reply with quote

Firstly, please forgive me if this is not the best place to post this. I am brand new to Gentoo, been using other distros for years.

I am very interested in ZFS, especially on Linux. I am attempting to install gentoo on zfs root following these instructions:
https://github.com/ryao/zfs-overlay/blob/master/zfs-install

Everything works up to the point I try to emerge genkernel. I get the following:

Code:
# emerge sys-kernel/genkernel

Calculating dependencies... done!
[ebuild  N     ] app-arch/cpio-2.11  USE="nls"
[ebuild  N    ~] sys-kernel/genkernel-3.4.44.2  USE="-crypt -cryptsetup (-ibm) (-selinux)"
[blocks B      ] <sys-apps/openrc-0.9.9 ("<sys-apps/openrc-0.9.9" is blocking sys-kernel/genkernel-3.4.44.2)

 * Error: The above package list contains packages which cannot be
 * installed at the same time on the same system.


I added >=sys-apps/openrc-0.9.9 to /etc/portage/package.masks to no avail. I also emerged openrc which pulled in version 0.9.8.4, yet to no avail.
Back to top
View user's profile Send private message
jrussia
Tux's lil' helper
Tux's lil' helper


Joined: 29 Aug 2012
Posts: 89
Location: Chicago

PostPosted: Sun Oct 28, 2012 10:13 pm    Post subject: Reply with quote

Did you skip this step?:

Code:
echo "sys-apps/openrc ~amd64" >> /etc/portage/package.accept_keywords
Back to top
View user's profile Send private message
senorsmile
n00b
n00b


Joined: 28 Oct 2012
Posts: 6
Location: Seattle, WA

PostPosted: Sun Oct 28, 2012 11:26 pm    Post subject: Reply with quote

jrussia wrote:
Did you skip this step?:

Code:
echo "sys-apps/openrc ~amd64" >> /etc/portage/package.accept_keywords


I didn't. Just to make sure,

Code:
# cat /etc/portage/package.accept_keywords
sys-kernel/genkernel ~amd64
sys-apps/openrc ~amd64
Back to top
View user's profile Send private message
BillWho
Veteran
Veteran


Joined: 03 Mar 2012
Posts: 1600
Location: US

PostPosted: Mon Oct 29, 2012 12:27 am    Post subject: Reply with quote

senorsmile wrote:
I added >=sys-apps/openrc-0.9.9 to /etc/portage/package.masks


Should be /etc/portage/package.mask

You can also try >sys-apps/openrc-0.11.2

To check if it's masked equery l -p sys-apps/openrc :wink:
_________________
Good luck :wink:

Since installing gentoo, my life has become one long emerge :)
Back to top
View user's profile Send private message
senorsmile
n00b
n00b


Joined: 28 Oct 2012
Posts: 6
Location: Seattle, WA

PostPosted: Mon Oct 29, 2012 1:25 am    Post subject: Reply with quote

BillWho wrote:
senorsmile wrote:
I added >=sys-apps/openrc-0.9.9 to /etc/portage/package.masks


Should be /etc/portage/package.mask

You can also try >sys-apps/openrc-0.11.2

To check if it's masked equery l -p sys-apps/openrc :wink:


Ah, you're right. It is package.mask. I am having to type everything out as I don't have a browser on the test machine I'm setting this on.

I tried changing the line in package.mask to >sys-apps/openrc-0.11.2 to no avail.

equery command not found, and I can't emerge it.
Back to top
View user's profile Send private message
BillWho
Veteran
Veteran


Joined: 03 Mar 2012
Posts: 1600
Location: US

PostPosted: Mon Oct 29, 2012 1:35 am    Post subject: Reply with quote

senorsmile wrote:
equery command not found, and I can't emerge it.

Code:
emerge app-portage/gentoolkit

_________________
Good luck :wink:

Since installing gentoo, my life has become one long emerge :)
Back to top
View user's profile Send private message
senorsmile
n00b
n00b


Joined: 28 Oct 2012
Posts: 6
Location: Seattle, WA

PostPosted: Mon Oct 29, 2012 1:54 am    Post subject: Reply with quote

BillWho wrote:
senorsmile wrote:
equery command not found, and I can't emerge it.

Code:
emerge app-portage/gentoolkit


Thanks!

Code:
# equery l -p sys-apps/openrc
 * Searching for openrc in sys-apps ...
[IP-] [  ] sys-apps/openrc-0.9.8.4:0
[-P-] [  ] sys-apps/openrc-0.10.4:0
[-P-] [  ] sys-apps/openrc-0.10.5:0
[-P-] [  ] sys-apps/openrc-0.11:0
[-P-] [  ] sys-apps/openrc-0.11.1:0
[-P-] [  ] sys-apps/openrc-0.11.2:0
[-P-] [M-] sys-apps/openrc-9999:0


It looks like there are multiple versions? Do I need to specify a specific version? 
Back to top
View user's profile Send private message
BillWho
Veteran
Veteran


Joined: 03 Mar 2012
Posts: 1600
Location: US

PostPosted: Mon Oct 29, 2012 2:16 am    Post subject: Reply with quote

senorsmile,

The correct version should get pulled e.g. if you mask sys-apps/openrc-0.11.2 then the next one which is sys-apps/openrc-0.11.1 will get pulled.

You have sys-apps/openrc-0.9.8.4 installed now and you're mixing testing so mixing gets a little tricky at times.

What you should try first is emerge -uavDN @world to update the system first :wink:
_________________
Good luck :wink:

Since installing gentoo, my life has become one long emerge :)
Back to top
View user's profile Send private message
senorsmile
n00b
n00b


Joined: 28 Oct 2012
Posts: 6
Location: Seattle, WA

PostPosted: Mon Oct 29, 2012 2:23 am    Post subject: Reply with quote

BillWho wrote:
senorsmile,

The correct version should get pulled e.g. if you mask sys-apps/openrc-0.11.2 then the next one which is sys-apps/openrc-0.11.1 will get pulled.

You have sys-apps/openrc-0.9.8.4 installed now and you're mixing testing so mixing gets a little tricky at times.

What you should try first is emerge -uavDN @world to update the system first :wink:


Is doing a world upgrade recommended during an install? I have basically just untarred the stage3 and am trying to follow the next steps.
I have started the upgrade, and there are only five updates, so I'll let them install and see if I'm then able to install genkernel.
Back to top
View user's profile Send private message
jrussia
Tux's lil' helper
Tux's lil' helper


Joined: 29 Aug 2012
Posts: 89
Location: Chicago

PostPosted: Mon Oct 29, 2012 2:27 am    Post subject: Reply with quote

maybe world isn't necessary, but try

Code:
emerge genkernel openrc


and i think you will successfully update both of them at once.
Back to top
View user's profile Send private message
BillWho
Veteran
Veteran


Joined: 03 Mar 2012
Posts: 1600
Location: US

PostPosted: Mon Oct 29, 2012 2:32 am    Post subject: Reply with quote

senorsmile wrote:
Is doing a world upgrade recommended during an install? I have basically just untarred the stage3 and am trying to follow the next steps.

:oops: I lost track of zfs, but doing an update shouldn't hurt anything :wink:
_________________
Good luck :wink:

Since installing gentoo, my life has become one long emerge :)
Back to top
View user's profile Send private message
senorsmile
n00b
n00b


Joined: 28 Oct 2012
Posts: 6
Location: Seattle, WA

PostPosted: Mon Oct 29, 2012 3:02 am    Post subject: Reply with quote

So the world emerge finished. Only five updates so it didn't take long on the dual core. Genkernel is now running. I'll post my progress as I go along.
Back to top
View user's profile Send private message
petterb
n00b
n00b


Joined: 04 Dec 2012
Posts: 1
Location: Sweden

PostPosted: Tue Dec 04, 2012 9:45 pm    Post subject: Reply with quote

Any progress here? I am also a Gentoo newbie and I am looking at for the same reason (zfs). I am also trying to install on a zfs mirror using the same instruction but no luck so far.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum