View previous topic :: View next topic |
Author |
Message |
GianGian2387 Apprentice
Joined: 03 Jun 2021 Posts: 171
|
Posted: Sat May 13, 2023 9:43 am Post subject: |
|
|
continuo a ricevere lo stesso messaggio d'errore |
|
Back to top |
|
|
fedeliallalinea Administrator
Joined: 08 Mar 2003 Posts: 31280 Location: here
|
Posted: Sat May 13, 2023 1:07 pm Post subject: |
|
|
Per smascherare un pacchetto live, solitamente quelli che finiscono con 9999, devi usare la sintassi
Code: | # echo "=net-wireless/broadcom-wl-9999 **" >> /etc/portage/package.unmask |
Questo perché i pacchetti live non hanno keywords _________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
|
GianGian2387 Apprentice
Joined: 03 Jun 2021 Posts: 171
|
Posted: Sun May 14, 2023 1:06 pm Post subject: |
|
|
Dando questo comando ricevo:
Quote: | emerge --ask --verbose =net-wireless/broadcom-wl-9999
--- Invalid atom in /etc/portage/package.unmask/broadcom-wl: =net-wireless/broadcom-wl-9999**
These are the packages that would be merged, in order:
Calculating dependencies... done!
Dependency resolution took 0.68 s.
!!! All ebuilds that could satisfy "=net-wireless/broadcom-wl-9999" have been masked.
!!! one of the following masked packages is required to complete your request:
- =net-wireless/broadcom-wl-9999: :localrepo (masked by: Broadcom license(s), missing keyword)
A copy of the 'Broadcom' license is located at 'var/db/repos/gentoo/licenses/Broadcom'.
For more information, see the MASKED PACKAGES section in the emerge
man page or refer to the Gentoo Handbook. |
|
|
Back to top |
|
|
luna80 Veteran
Joined: 01 Feb 2004 Posts: 1556 Location: switzerland
|
Posted: Sun May 14, 2023 1:13 pm Post subject: |
|
|
devi separare i due asterischi da broadcom-wl
e per l'altro...
Code: | #echo "net-wireless/broadcom-wl-9999 Broadcom" >> /etc/portage/package.license/broadcom-wl |
oppure (se usi i file)
Code: | #echo "net-wireless/broadcom-wl-9999 Broadcom" >> /etc/portage/package.license |
_________________ *** !f j00 c4n r34D tH15 tH3N j00 n33D t0 l0g Off *** |
|
Back to top |
|
|
GianGian2387 Apprentice
Joined: 03 Jun 2021 Posts: 171
|
Posted: Sun May 14, 2023 1:29 pm Post subject: |
|
|
Quote: | emerge --ask --verbose =net-wireless/broadcom-wl-9999
--- Invalid atom in /etc/portage/package.license: net-wireless/broadcom-wl-9999
--- Invalid atom in /etc/portage/package.unmask/broadcom-wl: =net-wireless/broadcom-wl-9999 **
These are the packages that would be merged, in order:
Calculating dependencies... done!
Dependency resolution took 0.68 s.
!!! All ebuilds that could satisfy "=net-wireless/broadcom-wl-9999" have been masked.
!!! one of the following masked packages is required to complete your request:
- =net-wireless/broadcom-wl-9999: :localrepo (masked by: Broadcom license(s), missing keyword)
A copy of the 'Broadcom' license is located at 'var/db/repos/gentoo/licenses/Broadcom'.
For more information, see the MASKED PACKAGES section in the emerge
man page or refer to the Gentoo Handbook. |
|
|
Back to top |
|
|
luna80 Veteran
Joined: 01 Feb 2004 Posts: 1556 Location: switzerland
|
Posted: Sun May 14, 2023 1:52 pm Post subject: |
|
|
Non fai quello che ti diciamo, devi scrivere esattamente quello che postiamo, ci sono errori
Prima di tutto scegli se vuoi usare le cartelle o i files per package.xxx stai mischiando, non da errore ma è più ordinato e comodo
Per il resto, ripeto di controllare quello che hai scritto, e da una lettura alla guida _________________ *** !f j00 c4n r34D tH15 tH3N j00 n33D t0 l0g Off *** |
|
Back to top |
|
|
GianGian2387 Apprentice
Joined: 03 Jun 2021 Posts: 171
|
Posted: Sun May 14, 2023 3:49 pm Post subject: |
|
|
Ho cancellato i precedenti file creati copiato ed incollato i comandi ad uno ad uno...
Quote: | / # echo "net-wireless/broadcom-wl ~amd64" >> /etc/portage/package.accept_keywords/broadcom-wl
# echo "=net-wireless/broadcom-wl-9999" >> /etc/portage/package.unmask/broadcom-wl
# echo "=net-wireless/broadcom-wl-9999 **" >> /etc/portage/package.unmask
bash: /etc/portage/package.unmask/: È una directory
# echo "=net-wireless/broadcom-wl-9999 **" >> /etc/portage/package.unmask/broadcom-wl-9999
# echo "net-wireless/broadcom-wl-9999 Broadcom" >> /etc/portage/package.license
# cd /var/db/repos/localrepo/net-wireless/broadcom-wl
/var/db/repos/localrepo/net-wireless/broadcom-wl # emerge --ask --verbose =net-wireless/broadcom-wl-9999
--- Invalid atom in /etc/portage/package.license: net-wireless/broadcom-wl-9999
--- Invalid atom in /etc/portage/package.unmask/broadcom-wl-9999: =net-wireless/broadcom-wl-9999 **
These are the packages that would be merged, in order:
Calculating dependencies... done!
Dependency resolution took 0.72 s.
!!! All ebuilds that could satisfy "=net-wireless/broadcom-wl-9999" have been masked.
!!! One of the following masked packages is required to complete your request:
- net-wireless/broadcom-wl-9999::localrepo (masked by: Broadcom license(s), missing keyword)
A copy of the 'Broadcom' license is located at '/var/db/repos/gentoo/licenses/Broadcom'.
For more information, see the MASKED PACKAGES section in the emerge
man page or refer to the Gentoo Handbook. |
nel caso di: echo "=net-wireless/broadcom-wl-9999 **" >> /etc/portage/package.unmask ho dovuto aggiungere il nome del file perchè mi restituiva l'errore... per package.licens a me è un file, quindi ho usato il secondo comando che mi hai suggerito, la sintassi mi sembra corretta, non capisco cosa copio sbagliato, potresti spiegarti meglio? |
|
Back to top |
|
|
fedeliallalinea Administrator
Joined: 08 Mar 2003 Posts: 31280 Location: here
|
Posted: Sun May 14, 2023 4:08 pm Post subject: |
|
|
Code: | --- Invalid atom in /etc/portage/package.license: net-wireless/broadcom-wl-9999 |
La linea nel file deve essere net-wireless/broadcom-wl Broadcom
Code: | --- Invalid atom in /etc/portage/package.unmask/broadcom-wl-9999: =net-wireless/broadcom-wl-9999 ** |
Qua la sintassi è giusa ma ho sbagliato (Scusami!) a dirti dove deve essere scritta, non in /etc/portage/package.unmask ma in /etc/portage/package.accept_keywords, quindi metti la stessa linea ma nel file package.accept_keywords. _________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
|
GianGian2387 Apprentice
Joined: 03 Jun 2021 Posts: 171
|
Posted: Sun May 14, 2023 5:00 pm Post subject: |
|
|
ok, riscritto i file come hai indicato, ora finalmente funziona!
Grazie per l'aiuto |
|
Back to top |
|
|
|