Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
how to clean distfiles dir!!!quick and easy!!!
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
gspir2004
n00b
n00b


Joined: 30 Sep 2004
Posts: 8

PostPosted: Wed Mar 02, 2005 8:47 pm    Post subject: how to clean distfiles dir!!!quick and easy!!! Reply with quote

1.make backup of your full distfiles dir (/usr/portage/distfiles) on dvdrs or .....in an old hd.......zip tape...... !!!!!!!! as a full directory NOT BZIPED e.t.c. so you can mount them on your hd!!!!!!

2. rm -f -r /usr/portage/distfiles/* ; rm -f -r /usr/portage/distfiles/*. ; rm -f -r /usr/portage/distfiles/*.* ; rm -f -r /usr/portage/distfiles/.* UPPS :oops:

3.mount /dev/(bla bla bla......) /mnt/"distfiles-full-backup"

4.nano /etc/make.conf
add>>>>>> GENTOO_MIRRORS="bla bla bla................................................. /mnt/"distfiles-full-backup" bla bla lba..............................."
the "distfiles-full-backup" is where you have the full distfiles dir. I have 7GB of theme on dvds!!!!!!!! so i don't have them on hd
I only have the distfiles that i nead in /usr/portage/distfiles
5. THE EMERGE COMMAND :twisted:
emerge -uDefqv --newuse world (hit me baby) :D

6.AND NOW execute ls /usr/portage/distfiles........YOU HAVE ONLY WHAT YOU NEED!!!!!

7.i am going too cron it same day...i:idea:

8O 8) :lol:





_______________________________________________________________________________________________________________

my system:
sda >>>> scsi hd my clean and nice GENTOO system!!!! sda1=/boot sda2=swap sda3=/ sda4=/home
hda >>>> ata hd my derty GENTOO system second gentoo installation only for testing and playing with it
hdb >>>> dvdrw
hdc >>>> ata hd winXp and mandrake
hdd >>>> cdrom


my /etc/make.conf for distfiles cleanning


# These settings were set by the catalyst build script that automatically built this stage
# Please consult /etc/make.conf.example for a more detailed example
CFLAGS="-O3 -march=i686 -mtune=i686 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CXXFLAGS="${CFLAGS}"
MAKEOPTS="-j2"
ACCEPT_KEYWORDS="~x86"


USE="3dnow 3dnowex audiofile cdparanoia cjk clamav divx4linux dv dvb dvd \
dvdr dvdread flac gnokii gphoto2 ieee1394 jpeg2k kerberos ldap lirc \
mjpeg mmx mmx2 mpeg4 mplayer nvidia pda pdf pdfkit pic povray ppds \
samba scanner slp sndfile sounds speex sse tetex theora usb v4l v4l2 \
vcd vcdimager videos virus-scan wifi xine xinerama xscreensaver xvid \
zvbi"

SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
FEATURES="buildpkg"
LINGUAS="en el"

DISTDIR=/home/distfiles ### /dev/sda4 ###
PKGDIR=/home/packages ### /dev/sda4 ###
PORT_LOGDIR=/home/portage-log ### /dev/sda4 ###
PORTAGE_NICENESS=3
AUTOCLEAN="yes"

GENTOO_MIRRORS="/mnt/hd/usr/portage/distfiles" #### /dev/hda 120GB with my distfiles from 1 year back , also have them on dvds , allways update them and portage update ####

_______________________________________________________________________________________________________________





GENTOO is the best




did you find any local miror yet? xi-xi xi-xi :lol:
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