1 |
On Sat, Apr 25, 2015 at 1:19 PM, Mick <michaelkintzios@×××××.com> wrote: |
2 |
|
3 |
> On Saturday 25 Apr 2015 11:00:18 Dale wrote: |
4 |
> > Mick wrote: |
5 |
> > > Are we meant to create the above file manually? |
6 |
> > > |
7 |
> > > This box is running sys-apps/portage-2.2.18 but I was surprised to see |
8 |
> > |
9 |
> > that it |
10 |
> > |
11 |
> > > doesn't have a gentoo.conf file. |
12 |
> > |
13 |
> > I use the latest, excluding 9999 version, of portage and I have it |
14 |
> > here. I didn't create it so I assume it was installed during a |
15 |
> > upgrade. This is the contents of the file if you need it. |
16 |
> > |
17 |
> > |
18 |
> > [DEFAULT] |
19 |
> > main-repo = gentoo |
20 |
> > |
21 |
> > [gentoo] |
22 |
> > location = /var/cache/portage/tree |
23 |
> > sync-type = rsync |
24 |
> > sync-uri = rsync://rsync.us.gentoo.org/gentoo-portage |
25 |
> > |
26 |
> > |
27 |
> > Hope that helps. |
28 |
> > |
29 |
> > Dale |
30 |
> > |
31 |
> > :-) :-) |
32 |
> |
33 |
> Thanks Dale, I just upgraded two boxen to sys-apps/portage-2.2.18 and both |
34 |
> are |
35 |
> complaining thus: |
36 |
> ==================================== |
37 |
> !!! SYNC setting found in make.conf. |
38 |
> This setting is Deprecated and no longer used. Please ensure your |
39 |
> 'sync- |
40 |
> type' and 'sync-uri' are set correctly in |
41 |
> /etc/portage/repos.conf/gentoo.conf |
42 |
> ==================================== |
43 |
> |
44 |
> I recall reading "New portage plug-in sync system" in eselect news, but it |
45 |
> doesn't mention creating such files manually: |
46 |
> |
47 |
> "Migration: |
48 |
> Edit /etc/portage/repos.conf/*.conf files, add the auto-sync option |
49 |
> to each repository definition." |
50 |
> |
51 |
> -- |
52 |
> Regards, |
53 |
> Mick |
54 |
> |
55 |
|
56 |
The setting referred to in the message above is the SYNC variable defined |
57 |
in /etc/portage/make.conf. |
58 |
|
59 |
With the sync url now defined in /etc/portage/repos.conf/gentoo.conf, you |
60 |
either want to comment out the line in /etc/portage/make.conf where SYNC is |
61 |
defined, or get rid of it all together. For the time being, I chose the |
62 |
former. |
63 |
|
64 |
grep uri /etc/portage/repos.conf/gentoo.conf |
65 |
sync-uri = rsync://rsync.uk.gentoo.org/gentoo-portage |
66 |
% grep SYNC /etc/portage/make.conf |
67 |
#SYNC="rsync://rsync.uk.gentoo.org/gentoo-portage" |