LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions
User Name
Password
Linux - Distributions This forum is for Distribution specific questions.
Red Hat, Slackware, Debian, Novell, LFS, Mandriva, Ubuntu, Fedora - the list goes on and on... Note: An (*) indicates there is no official participation from that distribution here at LQ.

Notices


Reply
  Search this Thread
Old 09-22-2006, 11:04 PM   #1
unreal128
Member
 
Registered: Jun 2003
Distribution: SuSE, Slackware, Gentoo
Posts: 207

Rep: Reputation: 30
Gentoo: /var/lib/portage/world File Question


My world file has a single line that reads...
Code:
sys-kernel/gentoo-sourcessys-kernel/genkernelsys-apps/coldplugapp-admin/syslog-ngsys-process/vixie-cronsys-fs/reiserfsprogsnet-misc/dhcpcdsys
Obviously these are all of the system software packages I have emerged on my system, but should it be one huge run-on line like this? I see other lines in the world file that have the same portage category but are given separate lines. I don't want to edit the line until I know this is incorrect.
 
Old 09-22-2006, 11:38 PM   #2
musicman_ace
Senior Member
 
Registered: May 2001
Location: Indiana
Distribution: Gentoo, Debian, RHEL, Slack
Posts: 1,555

Rep: Reputation: 46
it shouldn't look like that.
Each package should be on its own line and follow the convention

category/package
category/package
category/package
category/package
 
Old 09-22-2006, 11:40 PM   #3
unreal128
Member
 
Registered: Jun 2003
Distribution: SuSE, Slackware, Gentoo
Posts: 207

Original Poster
Rep: Reputation: 30
Thanks for the reply. I didn't think it should be like this but needed a second opinion to know for sure. I am still getting familiar with Portage and didn't want to screw anything up.
 
Old 09-23-2006, 02:59 AM   #4
musicman_ace
Senior Member
 
Registered: May 2001
Location: Indiana
Distribution: Gentoo, Debian, RHEL, Slack
Posts: 1,555

Rep: Reputation: 46
The better question is "What made portage do that?" A bug perhaps?
 
Old 09-23-2006, 02:29 PM   #5
unreal128
Member
 
Registered: Jun 2003
Distribution: SuSE, Slackware, Gentoo
Posts: 207

Original Poster
Rep: Reputation: 30
Good question. It was awhile ago when this happened and might be due to simultaneous emerges I was running in two different sessions (this is just a guess though.) It looks like the issue corrected itself though since the long line was followed by a few correct entries.
 
Old 09-27-2006, 06:24 PM   #6
bulliver
Senior Member
 
Registered: Nov 2002
Location: Edmonton AB, Canada
Distribution: Gentoo x86_64; Gentoo PPC; FreeBSD; OS X 10.9.4
Posts: 3,760
Blog Entries: 4

Rep: Reputation: 78
Quote:
might be due to simultaneous emerges I was running in two different sessions
Yeah, that's a definite no-no, it is a great way to break your system.
Creates race conditions, and differences in dependency resolution between the two sessions.

As for your world file, you will probably be all right if you open it in an editor and add the newlines manually.
Check for dupes!
 
Old 09-27-2006, 06:28 PM   #7
unreal128
Member
 
Registered: Jun 2003
Distribution: SuSE, Slackware, Gentoo
Posts: 207

Original Poster
Rep: Reputation: 30
Thanks for the information. I was able to vi the file and correct the bad line a few days ago; no new incidents since then (even after an emerge -Du world.)
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Gentoo X server freezes /var/lib/init.d/ files input output error bendeg Linux - Software 0 12-01-2005 05:01 AM
installing Gentoo. Loading 'Portage' have stupid question! randell6564 Linux - General 9 11-25-2005 07:40 PM
Gentoo portage update question. pete1234 Linux - General 3 09-07-2005 08:34 PM
kdevelop, hello world, /usr/lib/libkdeui.so: could not read symbols: File in wrong fo runlevel: 6 Programming 2 05-04-2005 12:37 AM
Moving /var/adm and /var/lib - why does it hurt? J_Szucs Linux - General 1 09-15-2004 06:46 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions

All times are GMT -5. The time now is 03:40 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration