Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Problema installazione hyprland
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian)
View previous topic :: View next topic  
Author Message
GianGian2387
Apprentice
Apprentice


Joined: 03 Jun 2021
Posts: 174

PostPosted: Mon Mar 03, 2025 9:53 am    Post subject: Problema installazione hyprland Reply with quote

Sto installando hyprland, seguendo la guida ufficiale consiglia di installare questo:
emerge --ask gui-libs/xdg-desktop-portal-hyprland

Ricevo però questo:

Code:
rentoo home/nemo # emerge --ask gui-libs/xdg-desktop-portal-hypr land these are the packages that would be merged, in order:
Calculating dependencies... done!
jependency resolution took 5.49 s (backtrack: 0/20).
!!! All ebuilds that could satisfy "gui-libs/xdg-desktop-portal-hyprland" have been masked.
111 One of the following masked packages is required to complete your request:
- gui-libs/xdg-desktop-portal-hyprland-9999: guru (masked by: missing keyword)
"amd64 keyword)
gui-libs/xdg-desktop-portal-hyprland-1.3.8: guru (masked by: ~and6t keywords
Por more information, see the MASKED PACKAGES section in the emerge an page or refer to the Gentoo Handbook.


Ho provato con: echo "gui-libs/xdg-desktop-portal-hyprland-1.3.9x ~and64" »> /etc/portage/package.accept_keywords/hyprland

Sicuramente ho sbagliato sintassi perché continuo a ricevere lo stesso errore…
Sapreste dirmi come dovrei modificare?
Back to top
View user's profile Send private message
sMueggli
Guru
Guru


Joined: 03 Sep 2022
Posts: 553

PostPosted: Mon Mar 03, 2025 4:05 pm    Post subject: Reply with quote

Prova con "gui-libs/xdg-desktop-portal-hyprland::guru ~amd64".
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 31516
Location: here

PostPosted: Mon Mar 03, 2025 5:41 pm    Post subject: Re: Problema installazione hyprland Reply with quote

GianGian2387 wrote:
Ho provato con: echo "gui-libs/xdg-desktop-portal-hyprland-1.3.9x ~and64" »> /etc/portage/package.accept_keywords/hyprland

Se specifichi la versione del pacchetto sei obbligato a mettere uno dei seguenti segni =,<,>,<=,>= inoltre la versione è 1.3.9 e non 1.3.9x.
Se non vuoi specificare la versione fai come ha detto GianGian2387.
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
GianGian2387
Apprentice
Apprentice


Joined: 03 Jun 2021
Posts: 174

PostPosted: Mon Mar 03, 2025 6:11 pm    Post subject: Reply with quote

Code:
rentoo
# echo "gui-libs/xdg-desktop-portal-hyprland: guru "amd64" >> /etc/portage/package.accept_keywords/hyprland
rentoo ~ emerge —ask gui-libs/xdg-desktop-portal-hyprland these are the packages that would be merged, in order: calculating dependencies... done!
jependency resolution took 16.05 s (backtrack: 2/20).
11? All ebuilds that could satisfy ">=deu-cpp/sdbus-c++-2.0.0" have been masked.
111 One of the following nasked packages is required to complete your request:
- deu-cpp/sdbus-c*+-2.0.0::gentoo (masked by:
"amd64 keyword)
dependency required by
"gui-libs/xdg-desktop-portal-hyprland-1.3.9: :guru" lebuilal)
dependency required by
"gui-libs/xdg-desktop-portal-hyprland" largument])
for more information, see the MASKED PACKAGES section in the emerge san page or refer to the Gentoo Handbook.
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 31516
Location: here

PostPosted: Mon Mar 03, 2025 7:01 pm    Post subject: Reply with quote

Il tuo output è incasinato puoi usare wgetpaste per postarlo?
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
sabayonino
Veteran
Veteran


Joined: 03 Jan 2012
Posts: 1053

PostPosted: Mon Mar 03, 2025 7:18 pm    Post subject: Reply with quote

Code:
echo "gui-libs/xdg-desktop-portal-hyprland: guru "amd64" >> /etc/portage/package.accept_keywords/hyprland


forse intendevi
Code:

echo "gui-libs/xdg-desktop-portal-hyprland::guru ~amd64" > /etc/portage/package.accept_keywords/hyprland


o nella nuova forma , semplicemente
Code:

echo "gui-libs/xdg-desktop-portal-hyprland::guru" > /etc/portage/package.accept_keywords/hyprland

_________________
LRS 64/32
Back to top
View user's profile Send private message
GianGian2387
Apprentice
Apprentice


Joined: 03 Jun 2021
Posts: 174

PostPosted: Mon Mar 03, 2025 9:43 pm    Post subject: Reply with quote

Code:
Calculating dependencies… done!
Dependency Resolution took 15.49 s (backtrack: 2/20)

!!! All ebuilds that could satisfy “>”=dev-cpp/sdbus-c++-2.0.0” have been masked.
!!! One of the following masked packages is required to complete your request:
- dev-cpp/sdbus-c++-2.0.0::gentoo (masked by: amd64 keyword)
 
Dependency required by “gui-libs/xdg-desktop-portal-hyprland-1.3.9::guru” [ebuild)
Dependency required by “gui-libs/xdg-desktop-portal-hyprland“ [srgument)
For more Information, See the masked packages section in the emerge
Man Page or refer to the gentoo handbook


Ho provato ad inserire: Echo “>”=dev-cpp/sdbus-c++ ~amd64” > /etc/portage/package.accept_leywords/hyprland,
Ricevo imessaggio d’errore postato nel primo post
Back to top
View user's profile Send private message
sabayonino
Veteran
Veteran


Joined: 03 Jan 2012
Posts: 1053

PostPosted: Mon Mar 03, 2025 10:31 pm    Post subject: Reply with quote

L'errore è di sintassi e ce l'hai davanti agli occhi

Quote:
“>=dev-cpp/sdbus-c++-2.0.0”


e non inserirlo alòl'interno di hyperland (che tra l'altro va a sostituire il contenuto con il solo ">") , usa il nome del pacchetto che devi smascherare per un futuro controllo

e Fede ti ha già indicato come utilizzare gli operatori logici


Code:
echo "gui-libs/xdg-desktop-portal-hyprland::guru" > /etc/portage/package.accept_keywords/hyprland

Code:
echo ">=dev-cpp/sdbus-c++-2.0.0"  > /etc/portage/package.accept_keywords/sdbus-c++



il redirect ">" singolo và a sostituire il contenuto del file
il redirect ">>" doppio và ad aggiungere il contenuto"

Nella versione di smascheramento , per indicare una particolare versione
"<" minore di
">" maggiore di
"=" versione specifica di
">=" versione maggiore o uguale a
"=<" versione minore o uguale a
senza nulla , vuol dire tutte le versioni.
gli apici non vanno indicati nel comando echo , ma vanno utilizzati solo per inserire l'intera stringa

redirect singolo (sostituisce il contenuto di un file)
Code:
pacchetto" > nome_file


Maggiore o uguale alla versione
Code:
echo ">=pacchetto-specifico-2.0 " > nome_file


Minore o uguale alla versione
Code:
echo "=<pacchetto-specifico-2.0 " > nome_file


Solo una data versione
Code:
echo "=pacchetto-specifico-2.0 " > nome_file



Code:
echo "=pacchetto-specifico-2.0 " > nome_file

redirect doppio (aggiunge il contenuto al file)
Code:
echo "pacchetto-specifico-2.1 " >> nome_file


In questo caso smascheri solo le versioni 2.0 (nuovo file con ">") e 2.1 (aggiungi la versione 2.1 con ">>")
Inoltre ad oggi , ~amd64 (testing) si può omettere se utilizzi la versione keyword stabile di gentoo
_________________
LRS 64/32
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum