Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
unmerge sysvinit
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC
View previous topic :: View next topic  
Author Message
Massimo B.
Veteran
Veteran


Joined: 09 Feb 2005
Posts: 1563
Location: Germany

PostPosted: Fri Apr 29, 2005 9:04 am    Post subject: unmerge sysvinit Reply with quote

After a new installation, once again, I crashed my new gentoo:

An emerge -u -p world told me, that sysvinit blocks baselayout. So because sysvinit is masked and baselayout says it includes sysvinit, in unmerged sysvinit.
Now nothing works: no reboot, halt scripts anymore, so I had to switch the iBook off, emerge is looking for a libstdc++...
I started the liveCD, and copied the stage1-tar over.
Now I have still the problem that emerge baselayout says:
Code:
sys-apps/sysvinit is blocking sys/apps/baselayout-1.9.4-r6

Which one should be installed?

Paolo
Back to top
View user's profile Send private message
moocha
Watchman
Watchman


Joined: 21 Oct 2003
Posts: 5722

PostPosted: Fri Apr 29, 2005 5:19 pm    Post subject: Reply with quote

Both. Somehow you ended up with a version of sysvinit that requires a newer version of baselayout. Try unmasking the highest ~ppc-keyworded baselayout.
Copying over the stage 1 files wasn't very smart - you will now have to re-emerge system since you overwrote the newer files you had with older ones from the tarball. Problems like this are solved by booting from the LiveCD and chrooting into the Gentoo installation just like you did when installing - except you don't start over but emerge what you've unmerged.
_________________
Military Commissions Act of 2006: http://tinyurl.com/jrcto

"Those who would give up essential liberty to purchase a little temporary safety deserve neither liberty nor safety."
-- attributed to Benjamin Franklin
Back to top
View user's profile Send private message
nixnut
Bodhisattva
Bodhisattva


Joined: 09 Apr 2004
Posts: 10974
Location: the dutch mountains

PostPosted: Fri Apr 29, 2005 6:59 pm    Post subject: Reply with quote

moocha wrote:
Both.

Really?
Code:

bash-2.05b$ esearch sysvinit
[ Results for search key : sysvinit ]
[ Applications found : 1 ]

*  sys-apps/sysvinit [ Masked ]
      Latest version available: 2.86
      Latest version installed: [ Not Installed ]
      Size of downloaded files: 96 kB
      Homepage:    http://freshmeat.net/projects/sysvinit/
      Description: /sbin/init - parent of all processes
      License:     GPL-2

It looks like sysvinit is not installed. Am I missing something?
_________________
Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered

talk is cheap. supply exceeds demand
Back to top
View user's profile Send private message
moocha
Watchman
Watchman


Joined: 21 Oct 2003
Posts: 5722

PostPosted: Fri Apr 29, 2005 8:29 pm    Post subject: Reply with quote

Well, yes, he unmerged it - by "both" I meant he needs both sysvinit and baselayout installed. What happened is that somehow he must have unkeyworded something, leaving an incompatible sysvinit-baselayout combination.
_________________
Military Commissions Act of 2006: http://tinyurl.com/jrcto

"Those who would give up essential liberty to purchase a little temporary safety deserve neither liberty nor safety."
-- attributed to Benjamin Franklin
Back to top
View user's profile Send private message
Massimo B.
Veteran
Veteran


Joined: 09 Feb 2005
Posts: 1563
Location: Germany

PostPosted: Sat Apr 30, 2005 8:57 am    Post subject: Reply with quote

thanks, I will try it.
Why I put the stage 1 over was, because even emerge didn't work anymore. A lib was missing. So of course I chrooted from live CD.
As I understand now: Usually sysvinit is not installed, because baselayout provides it. But because I unmerged sysvinit, baselayout was left unusable. My mistake was unmerging the important sysvinit. But I have not idea why there was the blockage just by emerge -u world.

Another question: Is it dangerous to have several emerge processes on different terminals aat the same time? What about breaking a process by Suspend and Resume? I noticed sometimes emerge failures after that, but doing the same emerge again without break worked.

Paolo
Back to top
View user's profile Send private message
moocha
Watchman
Watchman


Joined: 21 Oct 2003
Posts: 5722

PostPosted: Sat Apr 30, 2005 2:31 pm    Post subject: Reply with quote

No, sysvinit must be installed, and so must be baselayout. sysvinit provides the /sbin/init binary and /etc/inittab, and baselayout provides the scripts which are started by /sbin/init from /etc/inittab and bring the system up.
If you have portage-2.0.51.19 or later, it's safe to run multiple emerges at the same time - but i wouldn't do it, nevertheless.
_________________
Military Commissions Act of 2006: http://tinyurl.com/jrcto

"Those who would give up essential liberty to purchase a little temporary safety deserve neither liberty nor safety."
-- attributed to Benjamin Franklin
Back to top
View user's profile Send private message
bruda
Guru
Guru


Joined: 06 May 2004
Posts: 376
Location: Sherbrooke, QC, Canada

PostPosted: Sat Apr 30, 2005 5:30 pm    Post subject: Reply with quote

moocha wrote:
No, sysvinit must be installed, and so must be baselayout. sysvinit provides the /sbin/init binary and /etc/inittab, and baselayout provides the scripts which are started by /sbin/init from /etc/inittab and bring the system up.

Looks like this is no longer necessary, sysvinit is not installed on my systems and the said files are provided by baselayout instead:
Code:
< titi:root > qpkg -f /etc/inittab
sys-apps/baselayout *
< titi:root > qpkg -f /sbin/init
sys-apps/baselayout *

_________________
Quid latine dictum sit altum videtur
Back to top
View user's profile Send private message
Massimo B.
Veteran
Veteran


Joined: 09 Feb 2005
Posts: 1563
Location: Germany

PostPosted: Sun May 01, 2005 9:16 am    Post subject: Reply with quote

I don't succeed. I tried emerging sysvinit and baselayout again, with ACCEPT_KEYWORDS="~ppc" (because sysvinit 2.8.5-r1 and 2.8.6 is still masked?).
I tried also with --nodeps because baselayout is still blocked:
Code:
# emerge -B -p baselayout
[blocks B ] sys-apps/sysvinit (is blocking sys-apps/baselayout-1.9.4-r6)
[ebuild   R] sys-apps/baselayout-1.9.4-r6

I tried also a -B, because a german member told me to do it for later restores of important packages, if nothing works anymore.
Should I hold binaries of the whole system or just of important parts like sysvinit and baselayout?

So emerge-error is still:
Code:
make: Entering directory '/var/tmp/portage/baselayout-1.9.4-r6/work/rc-scripts-1.4.16/src'
powerpc-unknown-linux-gnu-gcc -mcpu=750 -O2 -pipe -fomit-frame-pointer -mpowerpc-gfxopt -mmultiple -mstring  -c -o consoletype.o consoletype.c
gcc-config error: Could not run/locate "powerpc-unknown-linux-gnu-gcc"
make: *** [consoletype.o] Error 1

Paolo
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC 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