public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] /etc/portage/repos.conf/gentoo.conf is missing
@ 2015-04-25  9:51 Mick
  2015-04-25 10:00 ` Dale
  2015-04-26  7:50 ` [gentoo-user] " Alan McKinnon
  0 siblings, 2 replies; 11+ messages in thread
From: Mick @ 2015-04-25  9:51 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: Text/Plain, Size: 189 bytes --]

Are we meant to create the above file manually?

This box is running sys-apps/portage-2.2.18 but I was surprised to see that it 
doesn't have a gentoo.conf file.

-- 
Regards,
Mick

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 473 bytes --]

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

* Re: [gentoo-user] /etc/portage/repos.conf/gentoo.conf is missing
  2015-04-25  9:51 [gentoo-user] /etc/portage/repos.conf/gentoo.conf is missing Mick
@ 2015-04-25 10:00 ` Dale
  2015-04-25 10:19   ` Mick
  2015-04-26  7:50 ` [gentoo-user] " Alan McKinnon
  1 sibling, 1 reply; 11+ messages in thread
From: Dale @ 2015-04-25 10:00 UTC (permalink / raw
  To: gentoo-user

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

Mick wrote:
> Are we meant to create the above file manually?
>
> This box is running sys-apps/portage-2.2.18 but I was surprised to see
that it
> doesn't have a gentoo.conf file.
>

I use the latest, excluding 9999 version, of portage and I have it
here.  I didn't create it so I assume it was installed during a
upgrade.  This is the contents of the file if you need it.


[DEFAULT]
main-repo = gentoo

[gentoo]
location = /var/cache/portage/tree
sync-type = rsync
sync-uri = rsync://rsync.us.gentoo.org/gentoo-portage


Hope that helps.

Dale

:-)  :-)


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

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

* Re: [gentoo-user] /etc/portage/repos.conf/gentoo.conf is missing
  2015-04-25 10:00 ` Dale
@ 2015-04-25 10:19   ` Mick
  2015-04-25 11:58     ` Alexander Kapshuk
  0 siblings, 1 reply; 11+ messages in thread
From: Mick @ 2015-04-25 10:19 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: Text/Plain, Size: 1335 bytes --]

On Saturday 25 Apr 2015 11:00:18 Dale wrote:
> Mick wrote:
> > Are we meant to create the above file manually?
> > 
> > This box is running sys-apps/portage-2.2.18 but I was surprised to see
> 
> that it
> 
> > doesn't have a gentoo.conf file.
> 
> I use the latest, excluding 9999 version, of portage and I have it
> here.  I didn't create it so I assume it was installed during a
> upgrade.  This is the contents of the file if you need it.
> 
> 
> [DEFAULT]
> main-repo = gentoo
> 
> [gentoo]
> location = /var/cache/portage/tree
> sync-type = rsync
> sync-uri = rsync://rsync.us.gentoo.org/gentoo-portage
> 
> 
> Hope that helps.
> 
> Dale
> 
> :-)  :-)

Thanks Dale, I just upgraded two boxen to sys-apps/portage-2.2.18 and both are 
complaining thus:
====================================
!!! SYNC setting found in make.conf.
    This setting is Deprecated and no longer used.  Please ensure your 'sync-
type' and 'sync-uri' are set correctly in /etc/portage/repos.conf/gentoo.conf
====================================

I recall reading "New portage plug-in sync system" in eselect news, but it 
doesn't mention creating such files manually:

"Migration:
    Edit /etc/portage/repos.conf/*.conf files, add the auto-sync option
    to each repository definition."

-- 
Regards,
Mick

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 473 bytes --]

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

* Re: [gentoo-user] /etc/portage/repos.conf/gentoo.conf is missing
  2015-04-25 10:19   ` Mick
@ 2015-04-25 11:58     ` Alexander Kapshuk
  2015-04-25 12:46       ` Mick
  0 siblings, 1 reply; 11+ messages in thread
From: Alexander Kapshuk @ 2015-04-25 11:58 UTC (permalink / raw
  To: Gentoo mailing list

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

On Sat, Apr 25, 2015 at 1:19 PM, Mick <michaelkintzios@gmail.com> wrote:

> On Saturday 25 Apr 2015 11:00:18 Dale wrote:
> > Mick wrote:
> > > Are we meant to create the above file manually?
> > >
> > > This box is running sys-apps/portage-2.2.18 but I was surprised to see
> >
> > that it
> >
> > > doesn't have a gentoo.conf file.
> >
> > I use the latest, excluding 9999 version, of portage and I have it
> > here.  I didn't create it so I assume it was installed during a
> > upgrade.  This is the contents of the file if you need it.
> >
> >
> > [DEFAULT]
> > main-repo = gentoo
> >
> > [gentoo]
> > location = /var/cache/portage/tree
> > sync-type = rsync
> > sync-uri = rsync://rsync.us.gentoo.org/gentoo-portage
> >
> >
> > Hope that helps.
> >
> > Dale
> >
> > :-)  :-)
>
> Thanks Dale, I just upgraded two boxen to sys-apps/portage-2.2.18 and both
> are
> complaining thus:
> ====================================
> !!! SYNC setting found in make.conf.
>     This setting is Deprecated and no longer used.  Please ensure your
> 'sync-
> type' and 'sync-uri' are set correctly in
> /etc/portage/repos.conf/gentoo.conf
> ====================================
>
> I recall reading "New portage plug-in sync system" in eselect news, but it
> doesn't mention creating such files manually:
>
> "Migration:
>     Edit /etc/portage/repos.conf/*.conf files, add the auto-sync option
>     to each repository definition."
>
> --
> Regards,
> Mick
>

The setting referred to in the message above is the SYNC variable defined
in /etc/portage/make.conf.

With the sync url now defined in /etc/portage/repos.conf/gentoo.conf, you
either want to comment out the line in /etc/portage/make.conf where SYNC is
defined, or get rid of it all together. For the time being, I chose the
former.

grep uri /etc/portage/repos.conf/gentoo.conf
sync-uri = rsync://rsync.uk.gentoo.org/gentoo-portage
% grep SYNC /etc/portage/make.conf
#SYNC="rsync://rsync.uk.gentoo.org/gentoo-portage"

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

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

* Re: [gentoo-user] /etc/portage/repos.conf/gentoo.conf is missing
  2015-04-25 11:58     ` Alexander Kapshuk
@ 2015-04-25 12:46       ` Mick
  2015-04-25 13:07         ` Alexander Kapshuk
  0 siblings, 1 reply; 11+ messages in thread
From: Mick @ 2015-04-25 12:46 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: Text/Plain, Size: 1374 bytes --]

On Saturday 25 Apr 2015 12:58:39 Alexander Kapshuk wrote:
> On Sat, Apr 25, 2015 at 1:19 PM, Mick <michaelkintzios@gmail.com> wrote:

> > I recall reading "New portage plug-in sync system" in eselect news, but
> > it doesn't mention creating such files manually:
> > 
> > "Migration:
> >     Edit /etc/portage/repos.conf/*.conf files, add the auto-sync option
> >     to each repository definition."
> > 
> > --
> > Regards,
> > Mick
> 
> The setting referred to in the message above is the SYNC variable defined
> in /etc/portage/make.conf.
> 
> With the sync url now defined in /etc/portage/repos.conf/gentoo.conf, you
> either want to comment out the line in /etc/portage/make.conf where SYNC is
> defined, or get rid of it all together. For the time being, I chose the
> former.
> 
> grep uri /etc/portage/repos.conf/gentoo.conf
> sync-uri = rsync://rsync.uk.gentoo.org/gentoo-portage
> % grep SYNC /etc/portage/make.conf
> #SYNC="rsync://rsync.uk.gentoo.org/gentoo-portage"

Thanks Alexander, I will be adding the sync-uri line in 
/etc/portage/repos.conf/gentoo.conf once I know for sure if I should be 
creating this file myself, or if portage ought to have created and for some 
reason hasn't.

On another box of mine the file exists, but I can't recall if I created it 
myself or portage did it for me.  :-/

-- 
Regards,
Mick

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 473 bytes --]

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

* Re: [gentoo-user] /etc/portage/repos.conf/gentoo.conf is missing
  2015-04-25 12:46       ` Mick
@ 2015-04-25 13:07         ` Alexander Kapshuk
  2015-04-25 15:49           ` Mick
  0 siblings, 1 reply; 11+ messages in thread
From: Alexander Kapshuk @ 2015-04-25 13:07 UTC (permalink / raw
  To: Gentoo mailing list

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

On Sat, Apr 25, 2015 at 3:46 PM, Mick <michaelkintzios@gmail.com> wrote:

> On Saturday 25 Apr 2015 12:58:39 Alexander Kapshuk wrote:
> > On Sat, Apr 25, 2015 at 1:19 PM, Mick <michaelkintzios@gmail.com> wrote:
>
> > > I recall reading "New portage plug-in sync system" in eselect news, but
> > > it doesn't mention creating such files manually:
> > >
> > > "Migration:
> > >     Edit /etc/portage/repos.conf/*.conf files, add the auto-sync option
> > >     to each repository definition."
> > >
> > > --
> > > Regards,
> > > Mick
> >
> > The setting referred to in the message above is the SYNC variable defined
> > in /etc/portage/make.conf.
> >
> > With the sync url now defined in /etc/portage/repos.conf/gentoo.conf, you
> > either want to comment out the line in /etc/portage/make.conf where SYNC
> is
> > defined, or get rid of it all together. For the time being, I chose the
> > former.
> >
> > grep uri /etc/portage/repos.conf/gentoo.conf
> > sync-uri = rsync://rsync.uk.gentoo.org/gentoo-portage
> > % grep SYNC /etc/portage/make.conf
> > #SYNC="rsync://rsync.uk.gentoo.org/gentoo-portage"
>
> Thanks Alexander, I will be adding the sync-uri line in
> /etc/portage/repos.conf/gentoo.conf once I know for sure if I should be
> creating this file myself, or if portage ought to have created and for some
> reason hasn't.
>
> On another box of mine the file exists, but I can't recall if I created it
> myself or portage did it for me.  :-/
>
> --
> Regards,
> Mick
>
The portage news item makes a reference to the wiki article on the subject
matter:
eselect news read 21 | grep wiki
        Please see the wiki page url [1] for detailed instructions.
examples see the wiki page listed below [1].
[1] https://wiki.gentoo.org/wiki/Project:Portage/Sync

The 'Migration' section states that:
If /etc/portage/repos.conf does not exist:
root # mkdir /etc/portage/repos.conf
root # cp /usr/share/portage/config/repos.conf
/etc/portage/repos.conf/gentoo.conf

Which is what I did on one of my systems, while on the other,
'/etc/portage/repos.conf/gentoo.conf' seems to have come into being without
any interference on my part, so to speak.

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

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

* Re: [gentoo-user] /etc/portage/repos.conf/gentoo.conf is missing
  2015-04-25 13:07         ` Alexander Kapshuk
@ 2015-04-25 15:49           ` Mick
  2015-04-25 16:27             ` Alexander Kapshuk
  2015-04-25 17:11             ` [gentoo-user] " »Q«
  0 siblings, 2 replies; 11+ messages in thread
From: Mick @ 2015-04-25 15:49 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: Text/Plain, Size: 2563 bytes --]

On Saturday 25 Apr 2015 14:07:38 Alexander Kapshuk wrote:
> On Sat, Apr 25, 2015 at 3:46 PM, Mick <michaelkintzios@gmail.com> wrote:
> > On Saturday 25 Apr 2015 12:58:39 Alexander Kapshuk wrote:
> > > On Sat, Apr 25, 2015 at 1:19 PM, Mick <michaelkintzios@gmail.com> wrote:
> > > > I recall reading "New portage plug-in sync system" in eselect news,
> > > > but it doesn't mention creating such files manually:
> > > > 
> > > > "Migration:
> > > >     Edit /etc/portage/repos.conf/*.conf files, add the auto-sync
> > > >     option to each repository definition."
> > > > 
> > > > --
> > > > Regards,
> > > > Mick
> > > 
> > > The setting referred to in the message above is the SYNC variable
> > > defined in /etc/portage/make.conf.
> > > 
> > > With the sync url now defined in /etc/portage/repos.conf/gentoo.conf,
> > > you either want to comment out the line in /etc/portage/make.conf
> > > where SYNC
> > 
> > is
> > 
> > > defined, or get rid of it all together. For the time being, I chose the
> > > former.
> > > 
> > > grep uri /etc/portage/repos.conf/gentoo.conf
> > > sync-uri = rsync://rsync.uk.gentoo.org/gentoo-portage
> > > % grep SYNC /etc/portage/make.conf
> > > #SYNC="rsync://rsync.uk.gentoo.org/gentoo-portage"
> > 
> > Thanks Alexander, I will be adding the sync-uri line in
> > /etc/portage/repos.conf/gentoo.conf once I know for sure if I should be
> > creating this file myself, or if portage ought to have created and for
> > some reason hasn't.
> > 
> > On another box of mine the file exists, but I can't recall if I created
> > it myself or portage did it for me.  :-/
> > 
> > --
> > Regards,
> > Mick
> 
> The portage news item makes a reference to the wiki article on the subject
> matter:
> eselect news read 21 | grep wiki
>         Please see the wiki page url [1] for detailed instructions.
> examples see the wiki page listed below [1].
> [1] https://wiki.gentoo.org/wiki/Project:Portage/Sync
> 
> The 'Migration' section states that:
> If /etc/portage/repos.conf does not exist:
> root # mkdir /etc/portage/repos.conf
> root # cp /usr/share/portage/config/repos.conf
> /etc/portage/repos.conf/gentoo.conf
> 
> Which is what I did on one of my systems, while on the other,
> '/etc/portage/repos.conf/gentoo.conf' seems to have come into being without
> any interference on my part, so to speak.

Ahh!  Well spotted.  Thank you Alexander.  The mystery as to why some systems 
were converted and others require manual intervention remains ...

-- 
Regards,
Mick

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 473 bytes --]

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

* Re: [gentoo-user] /etc/portage/repos.conf/gentoo.conf is missing
  2015-04-25 15:49           ` Mick
@ 2015-04-25 16:27             ` Alexander Kapshuk
  2015-04-25 17:11             ` [gentoo-user] " »Q«
  1 sibling, 0 replies; 11+ messages in thread
From: Alexander Kapshuk @ 2015-04-25 16:27 UTC (permalink / raw
  To: Gentoo mailing list

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

On Sat, Apr 25, 2015 at 6:49 PM, Mick <michaelkintzios@gmail.com> wrote:

> On Saturday 25 Apr 2015 14:07:38 Alexander Kapshuk wrote:
> > On Sat, Apr 25, 2015 at 3:46 PM, Mick <michaelkintzios@gmail.com> wrote:
> > > On Saturday 25 Apr 2015 12:58:39 Alexander Kapshuk wrote:
> > > > On Sat, Apr 25, 2015 at 1:19 PM, Mick <michaelkintzios@gmail.com>
> wrote:
> > > > > I recall reading "New portage plug-in sync system" in eselect news,
> > > > > but it doesn't mention creating such files manually:
> > > > >
> > > > > "Migration:
> > > > >     Edit /etc/portage/repos.conf/*.conf files, add the auto-sync
> > > > >     option to each repository definition."
> > > > >
> > > > > --
> > > > > Regards,
> > > > > Mick
> > > >
> > > > The setting referred to in the message above is the SYNC variable
> > > > defined in /etc/portage/make.conf.
> > > >
> > > > With the sync url now defined in /etc/portage/repos.conf/gentoo.conf,
> > > > you either want to comment out the line in /etc/portage/make.conf
> > > > where SYNC
> > >
> > > is
> > >
> > > > defined, or get rid of it all together. For the time being, I chose
> the
> > > > former.
> > > >
> > > > grep uri /etc/portage/repos.conf/gentoo.conf
> > > > sync-uri = rsync://rsync.uk.gentoo.org/gentoo-portage
> > > > % grep SYNC /etc/portage/make.conf
> > > > #SYNC="rsync://rsync.uk.gentoo.org/gentoo-portage"
> > >
> > > Thanks Alexander, I will be adding the sync-uri line in
> > > /etc/portage/repos.conf/gentoo.conf once I know for sure if I should be
> > > creating this file myself, or if portage ought to have created and for
> > > some reason hasn't.
> > >
> > > On another box of mine the file exists, but I can't recall if I created
> > > it myself or portage did it for me.  :-/
> > >
> > > --
> > > Regards,
> > > Mick
> >
> > The portage news item makes a reference to the wiki article on the
> subject
> > matter:
> > eselect news read 21 | grep wiki
> >         Please see the wiki page url [1] for detailed instructions.
> > examples see the wiki page listed below [1].
> > [1] https://wiki.gentoo.org/wiki/Project:Portage/Sync
> >
> > The 'Migration' section states that:
> > If /etc/portage/repos.conf does not exist:
> > root # mkdir /etc/portage/repos.conf
> > root # cp /usr/share/portage/config/repos.conf
> > /etc/portage/repos.conf/gentoo.conf
> >
> > Which is what I did on one of my systems, while on the other,
> > '/etc/portage/repos.conf/gentoo.conf' seems to have come into being
> without
> > any interference on my part, so to speak.
>
> Ahh!  Well spotted.  Thank you Alexander.  The mystery as to why some
> systems
> were converted and others require manual intervention remains ...
>
> --
> Regards,
> Mick
>

No worries. There is bound to be some one on this list who will shed light
on this mystery.

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

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

* [gentoo-user] Re: /etc/portage/repos.conf/gentoo.conf is missing
  2015-04-25 15:49           ` Mick
  2015-04-25 16:27             ` Alexander Kapshuk
@ 2015-04-25 17:11             ` »Q«
  1 sibling, 0 replies; 11+ messages in thread
From: »Q« @ 2015-04-25 17:11 UTC (permalink / raw
  To: gentoo-user

On Sat, 25 Apr 2015 16:49:37 +0100
Mick <michaelkintzios@gmail.com> wrote:

> On Saturday 25 Apr 2015 14:07:38 Alexander Kapshuk wrote:

> > [1] https://wiki.gentoo.org/wiki/Project:Portage/Sync
> > 
> > The 'Migration' section states that:
> > If /etc/portage/repos.conf does not exist:
> > root # mkdir /etc/portage/repos.conf
> > root # cp /usr/share/portage/config/repos.conf
> > /etc/portage/repos.conf/gentoo.conf
> > 
> > Which is what I did on one of my systems, while on the other,
> > '/etc/portage/repos.conf/gentoo.conf' seems to have come into being
> > without any interference on my part, so to speak.  
> 
> Ahh!  Well spotted.  Thank you Alexander.  The mystery as to why some
> systems were converted and others require manual intervention
> remains ...

I made the transition manually the other day.  I guess I might as well
toss into this thread a couple of minor roadbumps I hit.

The filename gentoo doesn't matter to portage AFAICT, but it
does matter to other tools, e.g. mirrorselect, so use gentoo.conf.

<https://wiki.gentoo.org/wiki/Layman#Using_.27repos.conf.27_method_.28default_method_for_app-portage.2Flayman-2.1.0_or_later_.29>
says `layman-updater -R` will update repos.conf/layman.conf as long as
you have >=layman-2.1.0, but with layman-2.1.0-r3, I couldn't get it to
work.  I moved to layman-2.3.0 and it created the file fine.








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

* Re: [gentoo-user] /etc/portage/repos.conf/gentoo.conf is missing
  2015-04-25  9:51 [gentoo-user] /etc/portage/repos.conf/gentoo.conf is missing Mick
  2015-04-25 10:00 ` Dale
@ 2015-04-26  7:50 ` Alan McKinnon
  2015-04-26  8:13   ` Mick
  1 sibling, 1 reply; 11+ messages in thread
From: Alan McKinnon @ 2015-04-26  7:50 UTC (permalink / raw
  To: gentoo-user

On 25/04/2015 11:51, Mick wrote:
> Are we meant to create the above file manually?
> 
> This box is running sys-apps/portage-2.2.18 but I was surprised to see that it 
> doesn't have a gentoo.conf file.
> 



Read the latest news item



-- 
Alan McKinnon
alan.mckinnon@gmail.com



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

* Re: [gentoo-user] /etc/portage/repos.conf/gentoo.conf is missing
  2015-04-26  7:50 ` [gentoo-user] " Alan McKinnon
@ 2015-04-26  8:13   ` Mick
  0 siblings, 0 replies; 11+ messages in thread
From: Mick @ 2015-04-26  8:13 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: Text/Plain, Size: 656 bytes --]

On Sunday 26 Apr 2015 08:50:34 Alan McKinnon wrote:
> On 25/04/2015 11:51, Mick wrote:
> > Are we meant to create the above file manually?
> > 
> > This box is running sys-apps/portage-2.2.18 but I was surprised to see
> > that it doesn't have a gentoo.conf file.
> 
> Read the latest news item

I did read the news item, but my surprise is that on some systems of mine the 
file was created on its own (it seems) and on others it wasn't.  My memory is 
not what it used to be, so I couldn't be certain that where present I hadn't 
created the file myself and then duly forgot about it.  So, I thought of 
asking here.

-- 
Regards,
Mick

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 473 bytes --]

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

end of thread, other threads:[~2015-04-26  8:14 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-04-25  9:51 [gentoo-user] /etc/portage/repos.conf/gentoo.conf is missing Mick
2015-04-25 10:00 ` Dale
2015-04-25 10:19   ` Mick
2015-04-25 11:58     ` Alexander Kapshuk
2015-04-25 12:46       ` Mick
2015-04-25 13:07         ` Alexander Kapshuk
2015-04-25 15:49           ` Mick
2015-04-25 16:27             ` Alexander Kapshuk
2015-04-25 17:11             ` [gentoo-user] " »Q«
2015-04-26  7:50 ` [gentoo-user] " Alan McKinnon
2015-04-26  8:13   ` Mick

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