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. next week, goto 1
>
> Interesting, that's worthy of an entry in the wiki for anyone else
> looking to maintain a Gentoo system without Internet access. I would
> suggest that you update portage within the chroot. What you are doing is
> lying to portage about what is actually installed, that shouldn't be a
> problem most of the time given what you are using it for, but different
> versions of portage on the two systems may cause problems at some time in
> the future.

Good suggestion about portage update.
I'll check how to create a wiki entry.

raffaele

Reply via email to