Neil Bothwick wrote: > On Thu, 3 Feb 2022 17:49:59 -0600, Dale wrote: >> I found a old email from Neil, hope you see this, and I think I followed >> it correctly but maybe I either missed something or things have changed >> since those instructions were posted. What I'm wanting to do, update >> gentoo-sources manually and remove them manually as well but running >> emerge -auDN world doesn't pull in newer versions and --depclean leaves >> the older versions alone as well. Following the email info, I ended up >> with this: >> >> root@fireball / # cat /etc/portage/sets.conf >> [kernels] >> class = portage.sets.dbapi.OwnerSet >> world-candidate = False >> files = /usr/src > I do this.
I renamed this to gentoo-sources. Like this: root@fireball / # cat /etc/portage/sets.conf [gentoo-sources] class = portage.sets.dbapi.OwnerSet world-candidate = False files = /usr/src root@fireball / # > >> root@fireball / # cat /etc/portage/sets/kernels >> sys-kernel/gentoo-sources >> root@fireball / # > But not this. Removed that. > >> and this I've tried with and without: >> >> >> root@fireball / # cat /var/lib/portage/world_sets >> kernels >> root@fireball / # > If you add the set to world_sets, it's the same as putting the kernel in > world. Removed that too. >> This is what I get tho: >> root@fireball / # emerge -auDN world >> Error during set creation: Redefinition of set 'kernels' (sections: >> 'usersets', 'kernels') > That's because there's already a set called kernels - emerge --list-sets > will show you all of them. Just rename your set. > > OK. Renamed as above and I get this now: root@fireball / # emerge -auDN world These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild NS ~] sys-kernel/gentoo-sources-5.16.3:5.16.3::gentoo [5.6.7:5.6.7::gentoo, 5.10.46:5.10.46::gentoo, 5.14.15:5.14.15::gentoo, 5.15.17:5.15.17::gentoo] USE="-build -experimental -symlink" 120,568 KiB Total: 1 package (1 in new slot), Size of downloads: 120,568 KiB Would you like to merge these packages? [Yes/No] It still wants to upgrade. Could it be that something is pulling it in as a dependency or something? Am I still doing something wrong? This is a update to the above: root@fireball / # cat /etc/portage/sets.conf [gentoo-sources] class = portage.sets.dbapi.OwnerSet world-candidate = False files = /usr/src root@fireball / # cat /etc/portage/sets/kernels cat: /etc/portage/sets/kernels: No such file or directory root@fireball / # cat /var/lib/portage/world_sets root@fireball / # root@fireball / # cat /var/lib/portage/world | grep kernel sys-kernel/dracut #sys-kernel/gentoo-sources:5.10.46 #sys-kernel/gentoo-sources:5.14.15 #sys-kernel/gentoo-sources:5.15.17 #sys-kernel/gentoo-sources:5.6.7 sys-kernel/linux-firmware root@fireball / # Note the gentoo-sources is commented out, thought it might help. Thoughts? Thanks. Dale :-) :-)

