Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Portage ha cambiato percorsi
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
antonellocaroli
Guru
Guru


Joined: 11 Aug 2016
Posts: 351

PostPosted: Thu Feb 20, 2020 10:55 am    Post subject: Portage ha cambiato percorsi Reply with quote

Ho visto solo adesso che sono cambiati i percorsi di portage.

Nel make.conf ho impostato attulamente:

Code:
PORTDIR="/usr/portage"
DISTDIR="/usr/portage/distfiles"
PKGDIR="/usr/portage/packages"



ma adesso sembra che siano cambiati....

come procedere per migrare ai nuovi percorsi?

esiste un tool?

lasciando i vecchi percorsi é un problema?
Back to top
View user's profile Send private message
fedeliallalinea
Bodhisattva
Bodhisattva


Joined: 08 Mar 2003
Posts: 23989
Location: here

PostPosted: Thu Feb 20, 2020 10:59 am    Post subject: Reply with quote

Vedi https://forums.gentoo.org/viewtopic-p-8373904.html#8373904
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
antonellocaroli
Guru
Guru


Joined: 11 Aug 2016
Posts: 351

PostPosted: Thu Feb 20, 2020 6:53 pm    Post subject: Reply with quote

ho seguito quel post...ma emerege continua ad usare /usr/portage

l'unica cosa che non ho fatto é questo punto

Code:
Edit /etc/portage/repos.conf/gentoo.conf to refer to the new location. This is the "location =" line.


ma nel mio sistema quel file non esiste...

lo devo creare exnovo? come?

io ho questo

/usr/share/portage/config/repos.conf

Code:
[DEFAULT]
main-repo = gentoo

[gentoo]
location = /usr/portage
sync-type = rsync
sync-uri = rsync://rsync.gentoo.org/gentoo-portage
auto-sync = yes
sync-rsync-verify-jobs = 1
sync-rsync-verify-metamanifest = no
sync-rsync-verify-max-age = 24
sync-openpgp-key-path = /usr/share/openpgp-keys/gentoo-release.asc
sync-openpgp-keyserver = hkps://keys.gentoo.org
sync-openpgp-key-refresh-retry-count = 40
sync-openpgp-key-refresh-retry-overall-timeout = 1200
sync-openpgp-key-refresh-retry-delay-exp-base = 2
sync-openpgp-key-refresh-retry-delay-max = 60
sync-openpgp-key-refresh-retry-delay-mult = 4
sync-webrsync-verify-signature = no


devo spostare quel file?
mv /usr/share/portage/config/repos.conf /etc/portage/repos.conf/gentoo.conf

e editare la location?
Back to top
View user's profile Send private message
antonellocaroli
Guru
Guru


Joined: 11 Aug 2016
Posts: 351

PostPosted: Thu Feb 20, 2020 7:03 pm    Post subject: Reply with quote

antonellocaroli wrote:
ho seguito quel post...ma emerege continua ad usare /usr/portage

l'unica cosa che non ho fatto é questo punto

Code:
Edit /etc/portage/repos.conf/gentoo.conf to refer to the new location. This is the "location =" line.


ma nel mio sistema quel file non esiste...

lo devo creare exnovo? come?

io ho questo

/usr/share/portage/config/repos.conf

Code:
[DEFAULT]
main-repo = gentoo

[gentoo]
location = /usr/portage
sync-type = rsync
sync-uri = rsync://rsync.gentoo.org/gentoo-portage
auto-sync = yes
sync-rsync-verify-jobs = 1
sync-rsync-verify-metamanifest = no
sync-rsync-verify-max-age = 24
sync-openpgp-key-path = /usr/share/openpgp-keys/gentoo-release.asc
sync-openpgp-keyserver = hkps://keys.gentoo.org
sync-openpgp-key-refresh-retry-count = 40
sync-openpgp-key-refresh-retry-overall-timeout = 1200
sync-openpgp-key-refresh-retry-delay-exp-base = 2
sync-openpgp-key-refresh-retry-delay-max = 60
sync-openpgp-key-refresh-retry-delay-mult = 4
sync-webrsync-verify-signature = no


devo spostare quel file?
mv /usr/share/portage/config/repos.conf /etc/portage/repos.conf/gentoo.conf

e editare la location?


e anche facendo cosi, usa var/db
ma continua ad usare /usr/portage/distfile per salvare il sorgente....

Quindi alla fine mi pare che comunque bisogna specificare i percorsi nel make.conf o mi sono perso qualcosa?
Back to top
View user's profile Send private message
fedeliallalinea
Bodhisattva
Bodhisattva


Joined: 08 Mar 2003
Posts: 23989
Location: here

PostPosted: Fri Feb 21, 2020 6:50 am    Post subject: Reply with quote

antonellocaroli wrote:
Quindi alla fine mi pare che comunque bisogna specificare i percorsi nel make.conf o mi sono perso qualcosa?

Devi spostare /usr/share/portage/config/repos.conf in /etc/portage/repos.conf/gentoo.conf e cambiare location da /usr/portage a /var/db/repos/gentoo.
Nel make.conf teoricamente non dovrebbe essere necessario specificare PORTDIR ma purtroppo ci sono ancora programmi che usano questa variabila quindi nel mio ho inserito
Code:
PORTDIR=/var/db/repos/gentoo
DISTDIR=/var/cache/distfiles
PKGDIR=/var/cache/binpkgs

_________________
Questions are guaranteed in life; Answers aren't.
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