public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Neil Bothwick <neil@digimed.co.uk>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] transplant /usr/portage [Was: Backup] [Was: Old Firefox ebuild?]
Date: Wed, 26 Oct 2016 21:39:37 +0100	[thread overview]
Message-ID: <20161026213937.3d399f06@digimed.co.uk> (raw)
In-Reply-To: <20161026183408.11166.33666A8D@matica.foolinux.mooo.com>

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

On Wed, 26 Oct 2016 11:40:59 -0700, Ian Zimmerman wrote:

> > 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 :-(

I never saw anything like this when making the change. Try

$ grep -r x-portage /etc/portage /var/lib/portage /usr/share/portage

to see if you can find any mention of x-portage. Also try

$ grep -r usr/portage /etc/portage /var/lib/portage /usr/share/portage

but that will get some hits from /usr/share/portage.
AIUI /usr/share/portage/repos.conf sets the defaults, which are
overridden by the file in /etc. That's how it happens here.


-- 
Neil Bothwick

Drop your carrier .. we have you surrounded

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 163 bytes --]

  reply	other threads:[~2016-10-26 20:39 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 [this message]
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                   ` [gentoo-user] " Bill Kenworthy
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=20161026213937.3d399f06@digimed.co.uk \
    --to=neil@digimed.co.uk \
    --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