Re: [gentoo-user] world file cheating

2006-01-07 Thread PaulNM

Trenton Adams wrote:

I've never specified -p, so I think it must be default, because I
always have permissions preserved when I use tar.  Perhaps this is a
GNU tar default setting?



I believe it may be a default for root, but would put it in anyway to be 
safe.

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] world file cheating

2006-01-07 Thread Walter Dnes
On Thu, Jan 05, 2006 at 06:39:33PM +, James wrote
 Hello,
 
 Some time ago, I copied a world file (/var/lib/portage/world)
 from a system with lots of installed software to a 'clone'
 system newly installed with gentoo
 
 Now 'emaint --check world' suggests that not all of those packages have
 been installed. (Busted). I was not responsible enough to verify
 that the clone was 100% similar with the identical ebuilds.
 I thought I had found a way to duplicate the installed software, 
 merely by copying the world file from another system.

  I don't know if it's generally possible, because there are so many
ways to get from-here-to-there.  The following is my *ENTIRE* world
file.  Yes, I'm running Blackbox WM on X.  Three guesses on how I
managed to do this.

[m3000][root][~] cat /var/lib/portage/world
media-sound/alsa-utils
media-sound/mpg123
sys-fs/reiserfsprogs
app-text/xpdf
net-misc/urlview
sys-kernel/linux-headers
sys-boot/lilo
media-gfx/gimp
app-office/gnumeric
app-admin/sudo
net-misc/rdate
net-analyzer/traceroute
x11-misc/fbpanel
app-admin/syslog-ng
media-video/mplayer
media-sound/xmms
x11-misc/bbkeys
media-gfx/gqview
app-office/abiword
sys-process/dcron
net-dialup/pppconfig
net-mail/getmail
mail-client/mutt
net-nntp/slrn
net-misc/whois
media-video/realplayer
sys-libs/glibc
www-client/mozilla-firefox
app-editors/nano
app-arch/gzip
sys-kernel/gentoo-sources
app-admin/logrotate
sys-devel/gettext
net-firewall/iptables
app-portage/gentoolkit
mail-filter/procmail
app-editors/vim
app-misc/mc

-- 
Walter Dnes [EMAIL PROTECTED] In linux /sbin/init is Job #1
My musings on technology and security at http://tech_sec.blog.ca
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] world file cheating

2006-01-06 Thread Harald Arnesen
Trenton Adams [EMAIL PROTECTED] writes:

 I just boot with a gentoo CD, tar up my entire system, and untar it on
 the new system.  If your new system boots with the gentoo CD as well,
 then you can pipe this over ssh.  Something like the following...


 cd /mnt/gentoo
 tar -cz ./ | ssh [EMAIL PROTECTED] 'cd /mnt/gentoo; tar -xz'

Won't you need tar xpz to preserve file ownership and permissions?
-- 
Hilsen Harald.

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] world file cheating

2006-01-06 Thread Trenton Adams
I've never specified -p, so I think it must be default, because I
always have permissions preserved when I use tar.  Perhaps this is a
GNU tar default setting?

On 1/6/06, Harald Arnesen [EMAIL PROTECTED] wrote:
 Trenton Adams [EMAIL PROTECTED] writes:

  I just boot with a gentoo CD, tar up my entire system, and untar it on
  the new system.  If your new system boots with the gentoo CD as well,
  then you can pipe this over ssh.  Something like the following...
 
 
  cd /mnt/gentoo
  tar -cz ./ | ssh [EMAIL PROTECTED] 'cd /mnt/gentoo; tar -xz'

 Won't you need tar xpz to preserve file ownership and permissions?
 --
 Hilsen Harald.

 --
 gentoo-user@gentoo.org mailing list



-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] world file cheating

2006-01-05 Thread Dale

James wrote:


Hello,

Some time ago, I copied a world file (/var/lib/portage/world)
from a system with lots of installed software to a 'clone'
system newly installed with gentoo

Now 'emaint --check world' suggests that not all of those packages have
been installed. (Busted). I was not responsible enough to verify
that the clone was 100% similar with the identical ebuilds.
I thought I had found a way to duplicate the installed software, 
merely by copying the world file from another system.


Any better ideas on how to duplicate gentoo systems,
with the installed list of ebuilds matching?

thoughts and ideas?

James

 

No guru but I would think a emerge -e world would make it install the 
same packages. You would have to make sure your USE line is the same in 
make.conf. I did this on my main rig a while back. It worked for me but 
I copied world and make.conf over.


Dale
:-)

--
To err is human, I'm most certainly human.

I have four rigs:

1:  Home built; Abit NF7 ver 2.0 w/ AMD 2500+ CPU, 1GB of ram and right now two 
80GB hard drives.  Named Smoker
2:  Home built; Iwill KK266-R w/ AMD 1GHz CPU, 256MBs of ram and a 4GB drive.  
Named Swifty
3:  Home built; Gigabyte GA-71XE4 w/ 800MHz CPU, 224MBs of ram and a 2.5GB 
drive.  Named Pokey
4:  Compaq Proliant 6000 Server w/ Quad 200MHz CPUs, 128MBs of ram and a 4.3GB 
SCSI drive.  Named Putput

All run Gentoo Linux, all run folding. #1 is my desktop, 2, 3, and 4 are set up as servers.  


--
gentoo-user@gentoo.org mailing list



[gentoo-user] world file cheating

2006-01-05 Thread James
Hello,

Some time ago, I copied a world file (/var/lib/portage/world)
from a system with lots of installed software to a 'clone'
system newly installed with gentoo

Now 'emaint --check world' suggests that not all of those packages have
been installed. (Busted). I was not responsible enough to verify
that the clone was 100% similar with the identical ebuilds.
I thought I had found a way to duplicate the installed software, 
merely by copying the world file from another system.

Any better ideas on how to duplicate gentoo systems,
with the installed list of ebuilds matching?

thoughts and ideas?

James

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] world file cheating

2006-01-05 Thread Lares Moreau
On Thu, 2006-01-05 at 18:39 +, James wrote:
 Any better ideas on how to duplicate gentoo systems,
 with the installed list of ebuilds matching?
 
 thoughts and ideas?

To get a good list of all packages on your system use qlist (emerge
portage-utils).

# qlist -ICv |sed -e 's:^:=:'  portage.list
# xargs emerge -YOUROPTS  portage.list

If the systems are identical, you can use quickpkg to make packages from
your active system, configs and all, then use those packages to emerge
-K on the other systems.

-- 
Lares Moreau [EMAIL PROTECTED]  | LRU: 400755 http://counter.li.org
lares/irc.freenode.net |
Gentoo x86 Arch Tester |   ::0 Alberta, Canada
Public Key: 0D46BB6E @ subkeys.pgp.net |  Encrypted Mail Preferred
Key fingerprint = 0CA3 E40D F897 7709 3628  C5D4 7D94 483E 0D46 BB6E


signature.asc
Description: This is a digitally signed message part


Re: [gentoo-user] world file cheating

2006-01-05 Thread Trenton Adams
I just boot with a gentoo CD, tar up my entire system, and untar it on
the new system.  If your new system boots with the gentoo CD as well,
then you can pipe this over ssh.  Something like the following...


cd /mnt/gentoo
tar -cz ./ | ssh [EMAIL PROTECTED] 'cd /mnt/gentoo; tar -xz'

I personally actually just use an external HD, that I'm building
gentoo on.  My primary box has it's portage on the external HD, and
I'm trying to install all the packages i need on it.  So, if I need a
new system, I just copy the entire gentoo system off the external HD,
to a new system, and then change configs.

On 1/5/06, James [EMAIL PROTECTED] wrote:
 Hello,

 Some time ago, I copied a world file (/var/lib/portage/world)
 from a system with lots of installed software to a 'clone'
 system newly installed with gentoo

 Now 'emaint --check world' suggests that not all of those packages have
 been installed. (Busted). I was not responsible enough to verify
 that the clone was 100% similar with the identical ebuilds.
 I thought I had found a way to duplicate the installed software,
 merely by copying the world file from another system.

 Any better ideas on how to duplicate gentoo systems,
 with the installed list of ebuilds matching?

 thoughts and ideas?

 James

 --
 gentoo-user@gentoo.org mailing list



-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] world file cheating

2006-01-05 Thread Neil Bothwick
On Thu, 5 Jan 2006 18:39:33 + (UTC), James wrote:

 Any better ideas on how to duplicate gentoo systems,
 with the installed list of ebuilds matching?

cat /var/lib/portage/world | xargs emerge -uvp
cat /var/lib/portage/world | xargs emerge -uv

will ensure that everything in the world file is installed, along with
all dependencies.


-- 
Neil Bothwick

When childhood dies, its corpses are called adults.


signature.asc
Description: PGP signature