public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Offline Update
@ 2012-09-16 16:52 Silvio Siefke
  2012-09-16 17:10 ` Alan McKinnon
  2012-09-16 17:11 ` Bryan Gardiner
  0 siblings, 2 replies; 7+ messages in thread
From: Silvio Siefke @ 2012-09-16 16:52 UTC (permalink / raw
  To: gentoo-user

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


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-user] Offline Update
  2012-09-16 16:52 [gentoo-user] Offline Update Silvio Siefke
@ 2012-09-16 17:10 ` Alan McKinnon
  2012-09-16 17:25   ` Dale
  2012-09-16 17:11 ` Bryan Gardiner
  1 sibling, 1 reply; 7+ messages in thread
From: Alan McKinnon @ 2012-09-16 17:10 UTC (permalink / raw
  To: gentoo-user

On Sun, 16 Sep 2012 18:52:54 +0200
Silvio Siefke <siefke_listen@web.de> 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.mckinnon@gmail.com



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-user] Offline Update
  2012-09-16 16:52 [gentoo-user] Offline Update Silvio Siefke
  2012-09-16 17:10 ` Alan McKinnon
@ 2012-09-16 17:11 ` Bryan Gardiner
  1 sibling, 0 replies; 7+ messages in thread
From: Bryan Gardiner @ 2012-09-16 17:11 UTC (permalink / raw
  To: gentoo-user

On Sun, 16 Sep 2012 18:52:54 +0200
Silvio Siefke <siefke_listen@web.de> 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


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-user] Offline Update
  2012-09-16 17:10 ` Alan McKinnon
@ 2012-09-16 17:25   ` Dale
  2012-09-16 17:55     ` João Matos
  2012-09-17 15:33     ` Paul Hartman
  0 siblings, 2 replies; 7+ messages in thread
From: Dale @ 2012-09-16 17:25 UTC (permalink / raw
  To: gentoo-user

Alan McKinnon wrote:
> On Sun, 16 Sep 2012 18:52:54 +0200
> Silvio Siefke <siefke_listen@web.de> 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!



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-user] Offline Update
  2012-09-16 17:25   ` Dale
@ 2012-09-16 17:55     ` João Matos
  2012-09-17 15:33     ` Paul Hartman
  1 sibling, 0 replies; 7+ messages in thread
From: João Matos @ 2012-09-16 17:55 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 1621 bytes --]

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 <rdalek1967@gmail.com>

> Alan McKinnon wrote:
> > On Sun, 16 Sep 2012 18:52:54 +0200
> > Silvio Siefke <siefke_listen@web.de> 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

[-- Attachment #2: Type: text/html, Size: 2170 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-user] Offline Update
  2012-09-16 17:25   ` Dale
  2012-09-16 17:55     ` João Matos
@ 2012-09-17 15:33     ` Paul Hartman
  2012-09-17 18:30       ` Dale
  1 sibling, 1 reply; 7+ messages in thread
From: Paul Hartman @ 2012-09-17 15:33 UTC (permalink / raw
  To: gentoo-user

On Sun, Sep 16, 2012 at 12:25 PM, Dale <rdalek1967@gmail.com> 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.


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-user] Offline Update
  2012-09-17 15:33     ` Paul Hartman
@ 2012-09-17 18:30       ` Dale
  0 siblings, 0 replies; 7+ messages in thread
From: Dale @ 2012-09-17 18:30 UTC (permalink / raw
  To: gentoo-user

Paul Hartman wrote:
> On Sun, Sep 16, 2012 at 12:25 PM, Dale <rdalek1967@gmail.com> 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!



^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2012-09-17 18:33 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-09-16 16:52 [gentoo-user] Offline Update Silvio Siefke
2012-09-16 17:10 ` Alan McKinnon
2012-09-16 17:25   ` Dale
2012-09-16 17:55     ` João Matos
2012-09-17 15:33     ` Paul Hartman
2012-09-17 18:30       ` Dale
2012-09-16 17:11 ` Bryan Gardiner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox