1 |
Neil Bothwick wrote: |
2 |
> On Thu, 3 Feb 2022 17:49:59 -0600, Dale wrote: |
3 |
>> I found a old email from Neil, hope you see this, and I think I followed |
4 |
>> it correctly but maybe I either missed something or things have changed |
5 |
>> since those instructions were posted. What I'm wanting to do, update |
6 |
>> gentoo-sources manually and remove them manually as well but running |
7 |
>> emerge -auDN world doesn't pull in newer versions and --depclean leaves |
8 |
>> the older versions alone as well. Following the email info, I ended up |
9 |
>> with this: |
10 |
>> |
11 |
>> root@fireball / # cat /etc/portage/sets.conf |
12 |
>> [kernels] |
13 |
>> class = portage.sets.dbapi.OwnerSet |
14 |
>> world-candidate = False |
15 |
>> files = /usr/src |
16 |
> I do this. |
17 |
|
18 |
I renamed this to gentoo-sources. Like this: |
19 |
|
20 |
root@fireball / # cat /etc/portage/sets.conf |
21 |
[gentoo-sources] |
22 |
class = portage.sets.dbapi.OwnerSet |
23 |
world-candidate = False |
24 |
files = /usr/src |
25 |
root@fireball / # |
26 |
|
27 |
|
28 |
> |
29 |
>> root@fireball / # cat /etc/portage/sets/kernels |
30 |
>> sys-kernel/gentoo-sources |
31 |
>> root@fireball / # |
32 |
> But not this. |
33 |
|
34 |
Removed that. |
35 |
|
36 |
|
37 |
> |
38 |
>> and this I've tried with and without: |
39 |
>> |
40 |
>> |
41 |
>> root@fireball / # cat /var/lib/portage/world_sets |
42 |
>> kernels |
43 |
>> root@fireball / # |
44 |
> If you add the set to world_sets, it's the same as putting the kernel in |
45 |
> world. |
46 |
|
47 |
Removed that too. |
48 |
|
49 |
>> This is what I get tho: |
50 |
>> root@fireball / # emerge -auDN world |
51 |
>> Error during set creation: Redefinition of set 'kernels' (sections: |
52 |
>> 'usersets', 'kernels') |
53 |
> That's because there's already a set called kernels - emerge --list-sets |
54 |
> will show you all of them. Just rename your set. |
55 |
> |
56 |
> |
57 |
|
58 |
|
59 |
OK. Renamed as above and I get this now: |
60 |
|
61 |
|
62 |
root@fireball / # emerge -auDN world |
63 |
|
64 |
These are the packages that would be merged, in order: |
65 |
|
66 |
Calculating dependencies... done! |
67 |
[ebuild NS ~] sys-kernel/gentoo-sources-5.16.3:5.16.3::gentoo |
68 |
[5.6.7:5.6.7::gentoo, 5.10.46:5.10.46::gentoo, 5.14.15:5.14.15::gentoo, |
69 |
5.15.17:5.15.17::gentoo] USE="-build -experimental -symlink" 120,568 KiB |
70 |
|
71 |
Total: 1 package (1 in new slot), Size of downloads: 120,568 KiB |
72 |
|
73 |
Would you like to merge these packages? [Yes/No] |
74 |
|
75 |
It still wants to upgrade. Could it be that something is pulling it in |
76 |
as a dependency or something? Am I still doing something wrong? This is |
77 |
a update to the above: |
78 |
|
79 |
|
80 |
root@fireball / # cat /etc/portage/sets.conf |
81 |
[gentoo-sources] |
82 |
class = portage.sets.dbapi.OwnerSet |
83 |
world-candidate = False |
84 |
files = /usr/src |
85 |
root@fireball / # cat /etc/portage/sets/kernels |
86 |
cat: /etc/portage/sets/kernels: No such file or directory |
87 |
root@fireball / # cat /var/lib/portage/world_sets |
88 |
root@fireball / # root@fireball / # cat /var/lib/portage/world | grep kernel |
89 |
sys-kernel/dracut |
90 |
#sys-kernel/gentoo-sources:5.10.46 |
91 |
#sys-kernel/gentoo-sources:5.14.15 |
92 |
#sys-kernel/gentoo-sources:5.15.17 |
93 |
#sys-kernel/gentoo-sources:5.6.7 |
94 |
sys-kernel/linux-firmware |
95 |
root@fireball / # |
96 |
|
97 |
|
98 |
Note the gentoo-sources is commented out, thought it might help. |
99 |
|
100 |
|
101 |
Thoughts? Thanks. |
102 |
|
103 |
Dale |
104 |
|
105 |
:-) :-) |