Re: [gentoo-user] Offline Update

2012-09-17 Thread Dale
Paul Hartman wrote:
> On Sun, Sep 16, 2012 at 12:25 PM, Dale  wrote:
>> It's been a while since I did this so, does he need to run emerge
>> --metadata like used to be needed a long time ago?
> Metadata is included in the tree now, so probably not necessary I would guess.
>
>

I thought it was changed but wasn't sure.  I remember seeing all those
files going by when I sync.  I just wasn't sure if that was the same
thing as it used to be. 

Thanks for the info.  Now to remember that in the future.  :/

Dale

:-)  :-) 

-- 
I am only responsible for what I said ... Not for what you understood or how 
you interpreted my words!




Re: [gentoo-user] Offline Update

2012-09-17 Thread Paul Hartman
On Sun, Sep 16, 2012 at 12:25 PM, Dale  wrote:
> It's been a while since I did this so, does he need to run emerge
> --metadata like used to be needed a long time ago?

Metadata is included in the tree now, so probably not necessary I would guess.



Re: [gentoo-user] Offline Update

2012-09-16 Thread João Matos
A few years ago, I used to run gentoo offline. When I needed to update it,
I used to download the portage snapshot, and use the following script,
based on Gentoo handbook:

#!/bin/bash
mv /usr/portage/distfiles /usr/
rm -rf /usr/portage/
tar xvjf $1 -C /usr
mv /usr/distfiles /usr/portage/
emerge --metadata
emerge --regen

I also have another script to built a list of packages for download. You
can take this list to a connected place, download the files and put it into
/usr/portage/distfiles/. If useful, I can give it to you (but I don't know
if it still works).


2012/9/16 Dale 

> Alan McKinnon wrote:
> > On Sun, 16 Sep 2012 18:52:54 +0200
> > Silvio Siefke  wrote:
> >
> >> Hello,
> >>
> >> can i copy the portage tree from my Notebook to the desktop PC?
> > Yes. There is only one tree, not different one for different arches.
> >
> > So it does not matter where you get your tree from, only that you do
> > have a copy.
> >
> > Do make sure that owners and permissions are set to something that will
> > work on the destination after the copy.
> >
> >
>
> It's been a while since I did this so, does he need to run emerge
> --metadata like used to be needed a long time ago?  I think that would
> take care of Bryan's concerns too.
>
> Dale
>
> :-)  :-)
>
> --
> I am only responsible for what I said ... Not for what you understood or
> how you interpreted my words!
>
>
>


-- 
João de Matos
Linux User #461527
Graduando em Engenharia de Computação 2005.1
UEFS - Universidade Estadual de Feira de Santana


Re: [gentoo-user] Offline Update

2012-09-16 Thread Dale
Alan McKinnon wrote:
> On Sun, 16 Sep 2012 18:52:54 +0200
> Silvio Siefke  wrote:
>
>> Hello, 
>>
>> can i copy the portage tree from my Notebook to the desktop PC?
> Yes. There is only one tree, not different one for different arches.
>
> So it does not matter where you get your tree from, only that you do
> have a copy.
>
> Do make sure that owners and permissions are set to something that will
> work on the destination after the copy.
>
>

It's been a while since I did this so, does he need to run emerge
--metadata like used to be needed a long time ago?  I think that would
take care of Bryan's concerns too. 

Dale

:-)  :-) 

-- 
I am only responsible for what I said ... Not for what you understood or how 
you interpreted my words!




Re: [gentoo-user] Offline Update

2012-09-16 Thread Bryan Gardiner
On Sun, 16 Sep 2012 18:52:54 +0200
Silvio Siefke  wrote:

> Hello, 
> 
> can i copy the portage tree from my Notebook to the desktop PC?
> 
> http://en.gentoo-wiki.com/wiki/Networkless_Maintenance
> 
> I use this as help, but must i load the portage latest or can copy
> the tree from Notebook, because is up to date.
> 
> 
> Thanks for help.
> 
> 
> Regards
> Silvio

I don't know if this handles things like package renames that get
processed at the end of syncing.  Maybe emerge knows to do this on the
next run?  I haven't tried this way, can someone confirm?

One way that works is to uncomment the [gentoo-portage] entry in
/etc/rsync.conf on your laptop, start rsyncd, then point your desktop
to sync from your laptop with:

SYNC="rsync://ip.of.laptop.here/gentoo-portage"

in make.conf, and do an emerge --sync / eix-sync as normal.

Cheers,
Bryan



Re: [gentoo-user] Offline Update

2012-09-16 Thread Alan McKinnon
On Sun, 16 Sep 2012 18:52:54 +0200
Silvio Siefke  wrote:

> Hello, 
> 
> can i copy the portage tree from my Notebook to the desktop PC?

Yes. There is only one tree, not different one for different arches.

So it does not matter where you get your tree from, only that you do
have a copy.

Do make sure that owners and permissions are set to something that will
work on the destination after the copy.


> 
> http://en.gentoo-wiki.com/wiki/Networkless_Maintenance
> 
> I use this as help, but must i load the portage latest or can copy
> the tree from Notebook, because is up to date.
> 
> 
> Thanks for help.
> 
> 
> Regards
> Silvio
> 



-- 
Alan McKinnon
alan.mckin...@gmail.com