View previous topic :: View next topic |
Author |
Message |
saverik Guru
Joined: 18 Oct 2008 Posts: 385
|
Posted: Wed Jun 28, 2023 10:10 am Post subject: depclean mi cancella i kernel vecchi[Risolto] |
|
|
Ciao, ma come faccio a preservare il kernel compilato e che depclean mi cancella ogni volta?
Ho dato il comando
Code: | emerge: there are no ebuilds to satisfy "sys-kernel/gentoo-sources:6.1.19".
Xeon /home/saverik # emerge --noreplace =sys-kernel/gentoo-sources:6.1.19
!!! '=sys-kernel/gentoo-sources:6.1.19' is not a valid package atom.
!!! Please check ebuild(5) for full details.
Xeon /home/saverik # emerge --ask --noreplace sys-kernel/gentoo-sources:6.1.19
* IMPORTANT: 2 news items need reading for repository 'gentoo'.
* Use eselect news read to view new items.
These are the packages that would be merged, in order:
Calculating dependencies... done!
Dependency resolution took 1.24 s.
emerge: there are no ebuilds to satisfy "sys-kernel/gentoo-sources:6.1.19". |
ma non sembra funzionare..
dove sbaglio? _________________ Dell_7490 i5-8350u ,32GbRam,Adata8200proNvme512Gb
Linux= Gentoo64bit+Kde_Plasma+systemd
Last edited by saverik on Thu Jun 29, 2023 7:23 am; edited 1 time in total |
|
Back to top |
|
|
fedeliallalinea Administrator
Joined: 08 Mar 2003 Posts: 31257 Location: here
|
Posted: Wed Jun 28, 2023 11:18 am Post subject: |
|
|
Il comando non funziona visto che il kernel 6.1.19 non fa più parte dell'albero ufficiale di gentoo.
Per preservare questo kernel dovresti inserirlo manualmente te nel file world ma non è una buona cosa mettere mano a questo file. A questo proposito potresti creare un file set.
Ricapitolando dovresti dare questi comandi:
Code: | # mkdir /etc/portage/sets
# echo "sys-kernel/gentoo-sources:6.1.19" >> /etc/portage/sets/keep-old-kernels
# emerge --noreplace @keep-old-kernels |
_________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
|
fedeliallalinea Administrator
Joined: 08 Mar 2003 Posts: 31257 Location: here
|
Posted: Wed Jun 28, 2023 11:19 am Post subject: |
|
|
Moved from Forum di discussione italiano to Forum italiano (Italian). _________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
|
saverik Guru
Joined: 18 Oct 2008 Posts: 385
|
Posted: Thu Jun 29, 2023 7:24 am Post subject: |
|
|
Grazie!!!!!!!!!!! _________________ Dell_7490 i5-8350u ,32GbRam,Adata8200proNvme512Gb
Linux= Gentoo64bit+Kde_Plasma+systemd |
|
Back to top |
|
|
|