On 04/01/2018 00:41, Stroller wrote: > >> On 3 Jan 2018, at 22:11, Alan McKinnon <alan.mckin...@gmail.com> wrote: >> >>>>> >>>>> $ grep -e source /var/lib/portage/world >>>>> sys-kernel/gentoo-sources:4.9.34 >>>> ... >>> >>> I guess this risks that emerge will try to install 4.9.34-r1 during a >>> future update, but I don't believe I've ever experienced that. >> >> Only if the highest-versioned emerged sources are <4.9.34-r1 > > Yes, in the quoted example above I grepped my world file for sources and > 4.9.34 is currently installed. > >>> >>>> If you do want to use versions, I'd recommend using ~ rather than = to >>>> pick up patch-level updates. >>> >>> What do you mean by this exactly, please? >> >> =4.9.34 selects that exact version and only that specific version >> ~4.9.34 select that version and also 4.9.34-r1. There might need to be a >> * on the end of ~4.9.34, I don;t quite recall. Answer in portage's man pages > > I thought it was something like that, but searched `man portage` for "~" more > than one way, and didn't find reference to this. Am I blind?
man 5 ebuild Section "Extended Atom Prefixes", it is near the top, probably first page on most screen sizes. The location is very non-obvious, I only know of it because I refr to it often once I found it -- Alan McKinnon alan.mckin...@gmail.com