public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Bill Kenworthy <billk@iinet.net.au>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] transplant /usr/portage [Was: Backup] [Was: Old Firefox ebuild?]
Date: Thu, 27 Oct 2016 06:17:53 +0800	[thread overview]
Message-ID: <cf15324f-7ad4-0dd7-6fdb-ea7259007a10@iinet.net.au> (raw)
In-Reply-To: <20161026183408.11166.33666A8D@matica.foolinux.mooo.com>

On 27/10/16 02:40, Ian Zimmerman wrote:
> On 2016-10-15 22:03, Neil Bothwick wrote:
> 
>>>     PORTDIR = [path]
>>>
>>>               Defines the location of main repository. This variable is
>>>               deprecated in favor of settings in repos.conf. If you
>>>               change this, you must update your
>>>               /etc/portage/make.profile symlink accordingly.  Defaults
>>>               to /usr/portage.
>>>
>>> So, 2 warnings ... looks dangerous after all.
>>
>> Not really warnings, just advice. Yes, you should really use the new way
>> of setting it. Then run eselect profile to reset your profile symlink.
>>
>> All you are doing is moving the portage tree to a filesystem that you
>> backup and telling portage abut it. There's nothing dangerous about it
>> and you won't stop your system working even if you get it wrong. I do
>> that on all my Gentoo boxes as I don't want dynamic data in /usr. 
> 
> So I have done this, but now every portage operation gives me:
> 
> !!! Section 'x-portage' in repos.conf has location attribute
> set to nonexistent directory: '/usr/portage'
> 
> There is no [x-portage] section in /etc/portage/repos.conf/gentoo.conf,
> the file I modified to point to the new location.  My modification was:
> 
> < location = /usr/portage
>> location = /var/lib/portage/ports
> 
> and this was in the [gentoo] section.
> 
> Apart from that file, there is also
> /usr/share/portage/config/repos.conf, but I thought this was just a
> template for the one in /etc.  The original contents were the same,
> ie. location = /usr/portage, and _no_ [x-portage] section.
> 
> I am confused, just as I feared would happen :-(
> 

No its not a template - portage reads it and throws a wobbly.  I just
copy /etc/portage/repos.d/gentoo.conf over it (or whatever you are using
on your system).  I think its supposed to be a default fallback, and it
all workd regardless even with the error.

BillK



  parent reply	other threads:[~2016-10-26 22:18 UTC|newest]

Thread overview: 36+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-10-14 18:02 [gentoo-user] Old Firefox ebuild? Ian Zimmerman
2016-10-14 18:16 ` Mick
2016-10-14 19:15   ` [gentoo-user] " Ian Zimmerman
2016-10-14 20:38     ` Neil Bothwick
2016-10-14 18:29 ` Holger Hoffstätte
2016-10-15  1:05   ` Ian Zimmerman
2016-10-15  3:27     ` Kai Krakow
2016-10-15  3:42       ` Kai Krakow
2016-10-15  5:35         ` [gentoo-user] Backup [Was: Old Firefox ebuild?] Ian Zimmerman
2016-10-15  8:14           ` Neil Bothwick
2016-10-15 19:22             ` [gentoo-user] " Ian Zimmerman
2016-10-15 21:03               ` Neil Bothwick
2016-10-26 18:40                 ` [gentoo-user] transplant /usr/portage [Was: Backup] " Ian Zimmerman
2016-10-26 20:39                   ` Neil Bothwick
2016-10-27  1:16                     ` [gentoo-user] " Ian Zimmerman
2016-10-27  7:49                       ` Neil Bothwick
2016-10-28 12:53                       ` Fernando Rodriguez
2016-10-26 22:17                   ` Bill Kenworthy [this message]
2016-10-15 11:22           ` [gentoo-user] Backup " Rich Freeman
2016-10-15 19:18             ` [gentoo-user] " Kai Krakow
2016-10-14 18:39 ` [gentoo-user] Old Firefox ebuild? Alexey Mishustin
2016-10-15 23:41   ` Miroslav Rovis
2016-10-16  9:06     ` Alexey Mishustin
2016-10-14 18:40 ` Michael Mol
2016-10-16 10:34 ` [gentoo-user] " Martin Vaeth
2016-10-16 10:52   ` Alexey Mishustin
2016-10-16 18:08   ` waltdnes
2016-10-16 19:27     ` Martin Vaeth
2016-10-16 20:10   ` Miroslav Rovis
2016-10-17  0:04   ` Ian Zimmerman
2016-10-17  9:34     ` Wolfgang Mueller
2016-10-18 19:58   ` Ian Zimmerman
     [not found]     ` <CAHVfhucadA8hPT+T3B+PfQx36nG1NMCH5N6SyBWtWpsnm0SZJg@mail.gmail.com>
     [not found]       ` <CAHVfhud4-Mr+2K6c18xFTnonLuQhuO7VD5rHOS1pS+Oo8J+4+A@mail.gmail.com>
2016-10-19  4:41         ` Andy Mender
2016-10-21 12:10           ` Martin Vaeth
2016-10-21 13:09             ` Andy Mender
2016-10-21 17:14               ` Ian Zimmerman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=cf15324f-7ad4-0dd7-6fdb-ea7259007a10@iinet.net.au \
    --to=billk@iinet.net.au \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox