Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Something simple I must be missing - re gentoo-sources
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
Kristof Lenum
n00b
n00b


Joined: 29 Mar 2019
Posts: 3

PostPosted: Fri Mar 29, 2019 2:02 pm    Post subject: Something simple I must be missing - re gentoo-sources Reply with quote

When I browse http://gpo.zugaina.org/sys-kernel/gentoo-sources , I can see that the tree is all the way up to kernel 5.0.5, but when I rsync I seem to be outdated.
I have switched URI sync in the repos.conf file around a few times and the newer ebuilds still don't show up.

It has been over a year since I've done gentoo and I have forgotten everything.
How do I get my sync to match up with what the server shows?

The latest kernel in gentoo-sources , for me anyway, is 5.0.2 , and every time I rsync it says nothing has changed.
Back to top
View user's profile Send private message
fedeliallalinea
Bodhisattva
Bodhisattva


Joined: 08 Mar 2003
Posts: 21754
Location: here

PostPosted: Fri Mar 29, 2019 3:18 pm    Post subject: Reply with quote

Welcome to gentoo forum!
You can post your repos.conf? sync process return some error?
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
Kristof Lenum
n00b
n00b


Joined: 29 Mar 2019
Posts: 3

PostPosted: Sat Mar 30, 2019 1:35 am    Post subject: Reply with quote

Ok, I think I got the problem figured out but I need some experienced people to chime in on how to fix this...

All of the new stuff is on the overlay "gentoo".

And I get this when I try to emerge anything..

Code:

WARNING: One or more repositories have been ignored due to duplicate
  profiles/repo_name entries:

  /, gentoo, /usr/portage overrides
    /var/lib/layman/gentoo

  All profiles/repo_name entries must be unique in order to avoid having
  duplicates ignored. Set PORTAGE_REPO_DUPLICATE_WARN="0" in
  /etc/portage/make.conf if you would like to disable this warning.


So that explains why I couldn't install the newer kernels... Now my question, how do I allow duplicates and set the portage overlay "gentoo" as a lower priority level than the regular
official gentoo tree?

I want to have the official repository but also a duplicate named overlay with a lower priority, that way I can cherry pick packages out of it, like the kernel for instance.
What would be the best way to go about this?
Back to top
View user's profile Send private message
Kristof Lenum
n00b
n00b


Joined: 29 Mar 2019
Posts: 3

PostPosted: Sat Mar 30, 2019 1:54 am    Post subject: Reply with quote

Oh wow... I feel like I need some rootbeer now...

It turns out that the duplicate overlay was preventing the main overlay from updating.

So I deleted the duplicate, then resync'd everything and now all the of new stuff shows up in the main tree.

So that was a weird way to mess myself up.
I guess I would have eventually figured it out by looking at the paths but I would not have guessed that sync would not update the main repo just because there was a duplicate name.

I think this could easily be fixed by having layman be able to -a (add) a repository as an alias.

How I made this mistake was that I saw newer stuff from the overlay and I thought, ok well it is not in my main tree and I just sync'd so I guess I need to install the overlay to get it,
and it did show up but I was omitted because of the way portage handles duplicate repos.

I will marked this as SOLVED, but just as a case example, can anyone explain how you can add an overlay that has a duplicate name without running into this
As a sort of just in case scenario, if it ever comes up again?
Thanks.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 43178
Location: 56N 3W

PostPosted: Sat Mar 30, 2019 3:48 pm    Post subject: Reply with quote

Kristof Lenum,

You don't do it that way. You cherry pick out of the ::gentoo repo by using the files in /etc/portage/
They won't exist until you create them.

If you get really attached to old versions that are gone from the tree, you create your own overlay with a unique name and save your old ebuild and ./files versions there.
You need to mask the newer things that you don't want.

Code:
man portage
and the Gentoo Handbook are good sources of information.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum