Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
world file (nearly) empty
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Duplicate Threads
View previous topic :: View next topic  
Author Message
kallikap
n00b
n00b


Joined: 30 Dec 2004
Posts: 17
Location: Germany

PostPosted: Sat Apr 02, 2005 12:25 pm    Post subject: world file (nearly) empty Reply with quote

Hi,

I just found out that my /var/lib/portage/world file is nearly empty. I have no idea
when/why this happened, maybe there is a connection to the installation
of the new baselayout which I had to install to get my wlan card running.

How can I rebuild the world file, is there a tool with portage that can do this?

Kalli


cat /var/lib/portage/world:
net-wireless/madwifi-tools
net-wireless/prism54-firmware
net-wireless/wireless-tools
sys-kernel/gentoo-sources
net-wireless/wpa_supplicant
sys-apps/baselayout
net-wireless/madwifi-driver
app-crypt/gpgme
dev-java/sun-jre-bin
net-wireless/ndiswrapper
app-text/acroread

cat /etc/portage/packages.mask
net-im/skype ~x86
dev-lang/mono ~x86
net-misc/cutecom ~x86
net-wireless/wpa_supplicant ~x86
net-wireless/madwifi-driver ~x86
net-wireless/madwifi-tools ~x86
=sys-apps/baselayout-1.11.10-r5 ~x86
=sys-apps/sysvinit-2.86 ~x86
=app-shells/bash-3.0-r9 ~x86
=sys-libs/readline-5.0-r2 ~x86
app-text/acroread ~x86

emerge info:
Portage 2.0.51.19 (default-linux/x86/2004.2, gcc-3.3.5, glibc-2.3.4.20041102-r1, 2.6.10-gentoo-r6 i686)
=================================================================
System uname: 2.6.10-gentoo-r6 i686 Pentium III (Coppermine)
Gentoo Base System version 1.6.10
Python: dev-lang/python-2.3.4-r1 [2.3.4 (#1, Mar 1 2005, 03:47:43)]
dev-lang/python: 2.3.4-r1
sys-devel/autoconf: 2.13, 2.59-r6
sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.4
sys-devel/binutils: 2.15.92.0.2-r1
sys-devel/libtool: 1.5.10-r4
virtual/os-headers: 2.6.8.1-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=pentium3 -fomit-frame-pointer -pipe -mmmx -msse -funroll-loops -mfpmath=sse"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=pentium3 -fomit-frame-pointer -pipe -mmmx -msse -funroll-loops -mfpmath=sse"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="de_DE@euro"
LC_ALL="de_DE@euro"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 X alsa apm arts avi berkdb bitmap-fonts crypt cups curl directfb divx4linux ecc emboss encode esd ethereal fam fbcon flac font-server foomaticdb fortran gdbm gif gnokii gphoto2 gpm gstreamer gtk gtk2 imagemagick imap imlib ipv6 java jce jpeg jpg junit kde ldap libg++ libwww mad mikmod mime mmx motif mp3 mpeg mysql ncurses nls nptl oggvorbis opengl pam pcmcia pdflib perl png pnp ppds python qt quicktime readline ruby sdl slang smime snmp spell sse ssl svg svga tcltk tcpd tetex tiff truetype truetype-fonts type1-fonts unicode usb wifi xml xml2 xmlrpc xmms xsl xv zlib linguas_de"
Unset: ASFLAGS, CBUILD, CTARGET, LDFLAGS, PORTDIR_OVERLAY
Back to top
View user's profile Send private message
fctk
Veteran
Veteran


Joined: 28 Jan 2004
Posts: 1424
Location: Milan, Italy, EU

PostPosted: Sat Apr 02, 2005 12:37 pm    Post subject: Reply with quote

i suggest you to manually write in the world file the packages you want to keep in your system...
for example, if i were you i would write:
Code:
mail-client/mozilla-thunderbird
app-editors/bluefish
net-irc/xchat
media-video/mplayer
x11-misc/xpad

because are the first ones i can remember...
then i would use a tool as unclepine and see what it wants to remove if i do:
Code:
unclepine -u -su

which means: "remove every package which is not more needed, i.e. is not in the world file or is not a depencency of a package which is in the world file".
in that way unclepine will "suggest" me the packages that should be in the world file.
Back to top
View user's profile Send private message
kallikap
n00b
n00b


Joined: 30 Dec 2004
Posts: 17
Location: Germany

PostPosted: Sat Apr 02, 2005 4:02 pm    Post subject: Reply with quote

Mhhh, well the problem is that I have a huge amount of programs installed, it will take me
a long time to get all the important packages together...
But thanks for the hint, I will try that if there is no other recovery method for the world file.

Kalli
Back to top
View user's profile Send private message
tomk
Bodhisattva
Bodhisattva


Joined: 23 Sep 2003
Posts: 7221
Location: Sat in front of my computer

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

Moved from Portage & Programming, please see this FAQ:

https://forums.gentoo.org/viewtopic-t-136627.html
_________________
Search | Read | Answer | Report | Strip
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Duplicate Threads 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