Re: [gentoo-user] Re: update gentoo without network [SOLVED]

2016-01-19 Thread Raffaele BELARDI
Neil Bothwick wrote: > On Mon, 18 Jan 2016 19:39:50 +0100, Raffaele BELARDI wrote: > >> Just tested, it works: >> >> 1. cp -a /var/db/pkg from system A to removable media >> 2. chroot ; emerge-webrsync ; emerge --fetchonly -uDvN world >> 3. cp -a /usr/portage from removable media to system A >> 4.

Re: [gentoo-user] Re: update gentoo without network [SOLVED]

2016-01-18 Thread Neil Bothwick
On Mon, 18 Jan 2016 19:39:50 +0100, Raffaele BELARDI wrote: > Just tested, it works: > > 1. cp -a /var/db/pkg from system A to removable media > 2. chroot ; emerge-webrsync ; emerge --fetchonly -uDvN world > 3. cp -a /usr/portage from removable media to system A > 4. next week, goto 1 Interestin

Re: [gentoo-user] Re: update gentoo without network

2016-01-18 Thread Neil Bothwick
On Mon, 18 Jan 2016 15:28:27 +0100, Raffaele BELARDI wrote: > > Download the latest portage snapshot on B > > Unpack it on A > > Run emerge -ufp @world on A and capture the output > > Use that on B to download the files > > Copy them back to A and emerge -u @world > > > > That avoids the use of a

Re: [gentoo-user] Re: update gentoo without network

2016-01-18 Thread Raffaele BELARDI
Neil Bothwick wrote: > On Mon, 18 Jan 2016 15:05:35 +0100, Raffaele BELARDI wrote: > > If you don't mind a two step approach, you could > > Download the latest portage snapshot on B > Unpack it on A > Run emerge -ufp @world on A and capture the output > Use that on B to download the files > Copy th

Re: [gentoo-user] Re: update gentoo without network

2016-01-18 Thread Neil Bothwick
On Mon, 18 Jan 2016 15:05:35 +0100, Raffaele BELARDI wrote: > > On Mon, 18 Jan 2016 12:38:13 +0100, Raffaele BELARDI wrote: > > > >> I suppose the database I'm looking for is /var/db/pkg, right? > > > > /var/lib/portage/world - this needs to be in sync in the two > > environments. > > Ok but

Re: [gentoo-user] Re: update gentoo without network

2016-01-18 Thread Raffaele BELARDI
Neil Bothwick wrote: > On Mon, 18 Jan 2016 12:38:13 +0100, Raffaele BELARDI wrote: > >> I suppose the database I'm looking for is /var/db/pkg, right? > > /var/lib/portage/world - this needs to be in sync in the two environments. > Ok but that's a 'static' snapshot of the packages; I also need to u

Re: [gentoo-user] Re: update gentoo without network

2016-01-18 Thread Neil Bothwick
On Mon, 18 Jan 2016 12:38:13 +0100, Raffaele BELARDI wrote: > > I have gentoo system A (~x86) on a network that does not allow portage > > access to internet due to some authentication issue. System B (~amd64) > > is on another network with no such restrictions. > > > > To bypass the restrictions