Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index International Gentoo Users Forum italiano (Italian)
  • Search

rm -r su directory errata

Questa è la sezione italiana del forum gentoo destinata a fornire supporto all'omonima distribuzione.

Moderator: ago

Post Reply
  • Print view
Advanced search
11 posts • Page 1 of 1
Author
Message
pistodj
Apprentice
Apprentice
Posts: 229
Joined: Wed Jan 26, 2005 4:20 pm

rm -r su directory errata

  • Quote

Post by pistodj » Thu Jan 05, 2006 12:36 pm

Il titolo la dice lunga...
Ho per errore fatto un rm -r su / anziche su un'altra directory e per fortuna l'ho interrotto subito...
Ho per fortuna 2 pc gentoo e in un modo o l'altro ho recuperato varie funzionalità...

Ora però penso di nn aver ripristinato portage in quanto quando installo o tento di aggiornare con un energe --sync ricevo il seguente errore...

pc02~# emerge --sync
portage: the directory specified in your PORTAGE_TMPDIR variable, "," does not exist. Please create this directory or correct your PORTAGE_TMPDIR setting.

A me questo errore nn dice nulla in quanto la variabile in questione sembra vuota...
Voi che mi consigliate di fare? nn ho voglia di reinstallare tutto!! Grazie
Top
bandreabis
Advocate
Advocate
User avatar
Posts: 2497
Joined: Fri Feb 18, 2005 4:21 pm
Location: イタリアのロディで

  • Quote

Post by bandreabis » Thu Jan 05, 2006 12:42 pm

Hai provato a ri-emergere portage? :?

Andrea
Il numero di post non fa di me un esperto! Anzi!
Top
Luca89
Advocate
Advocate
User avatar
Posts: 2107
Joined: Wed Apr 27, 2005 12:44 pm
Location: Agrigento (Italy)

  • Quote

Post by Luca89 » Thu Jan 05, 2006 12:46 pm

Cosa restituisce "emerge --info"?
Running Fast!
Top
X-Drum
Advocate
Advocate
User avatar
Posts: 2517
Joined: Sun Aug 24, 2003 6:48 pm
Location: ('Modica','Trieste','Ferrara') Italy
Contact:
Contact X-Drum
Website

Re: rm -r su directory errata

  • Quote

Post by X-Drum » Thu Jan 05, 2006 12:49 pm

pistodj wrote: pc02~# emerge --sync
portage: the directory specified in your PORTAGE_TMPDIR variable, "," does not exist. Please create this directory or correct your PORTAGE_TMPDIR setting.

A me questo errore nn dice nulla in quanto la variabile in questione sembra vuota...
io proverei un:

Code: Select all

mkdir -p /var/tmp/portage
"...There are two sort of lies, lies and benchmarks..."
Top
codadilupo
Advocate
Advocate
Posts: 3135
Joined: Tue Aug 05, 2003 8:48 am

  • Quote

Post by codadilupo » Thu Jan 05, 2006 12:53 pm

anche se la tua personale variabile in /etc/make.conf é vuota, questo non significa che portage non abbia un suo valore già impostato ;-)

emerge --info ti dice dov'e' (altrimenti puoi guardare nel make.globals).
Ad ogni modo, dovrebbe essere /var/tmp/

EDIT: oops, troppo tardi, già detto tutto ;-)

Coda
Top
pistodj
Apprentice
Apprentice
Posts: 229
Joined: Wed Jan 26, 2005 4:20 pm

  • Quote

Post by pistodj » Thu Jan 05, 2006 1:09 pm

se faccio un emerge --info mi restituisce lil solito errore...
ho provato anche a vedere se la cartella /var/tmp/portage esiste e sembra essere tutto in ordine...
l'unica cosa che nn ho fatto è riemergere portage ma nn so se va dato il malfunzionamento di emerge...
ora provo!!
Top
codadilupo
Advocate
Advocate
Posts: 3135
Joined: Tue Aug 05, 2003 8:48 am

  • Quote

Post by codadilupo » Thu Jan 05, 2006 1:16 pm

la tua directory é corretta ?

Code: Select all

harlock@alkadia ~ $ ls -lah /var/tmp/
totale 8,0K
drwxrwxrwt   6 root    root      73  4 gen 01:13 .
drwxr-xr-x  15 root    root    4,0K 17 dic 00:03 ..
drwxr-xr-x   3 root    root     134  2 gen 17:34 genkernel
-rw-r--r--   1 root    root       0 23 dic 01:26 .keep
drwxrwxr-x  99 portage portage 4,0K  5 gen 03:38 portage
harlock@alkadia ~ $
Coda
Top
pistodj
Apprentice
Apprentice
Posts: 229
Joined: Wed Jan 26, 2005 4:20 pm

  • Quote

Post by pistodj » Thu Jan 05, 2006 1:59 pm

si la dir /var/tmp/ è corretta.
la cartella che mi incasina dev'essere /etc perche verificando a occhio vedo che nn esiste make.conf
ora l'ho ripristinato ma nn so che altro manchi dato che il oproblema persiste...
Top
codadilupo
Advocate
Advocate
Posts: 3135
Joined: Tue Aug 05, 2003 8:48 am

  • Quote

Post by codadilupo » Thu Jan 05, 2006 2:55 pm

Ti manca un po' di tutto, dal make.conf al profile.env
Ti consiglio di scompattarti uno stage3 nella directory tmp, e poi sovrascrivere interamente /etc. Alla fine dovrai ripulire con sync ed emerge world e qualcosa rimarrò cmq indietro, ma almeno portage sarà a posto.

Coda
Top
pistodj
Apprentice
Apprentice
Posts: 229
Joined: Wed Jan 26, 2005 4:20 pm

  • Quote

Post by pistodj » Thu Jan 05, 2006 4:06 pm

già ora sto già seguendo il tuo consiglio!! Ho Appena Scaricato lo stage 3.
Cmq avere il firewall compromesso in questo modo penso che magari sia ancora + difficile da manomenttere :)

Meglio nn rischiare!!
Top
makoomba
Bodhisattva
Bodhisattva
User avatar
Posts: 1856
Joined: Thu Jun 03, 2004 3:41 pm

  • Quote

Post by makoomba » Thu Jan 05, 2006 4:57 pm

è stato già detto "fai prima a brasare e reinstallare" ?
When all else fails, read the instructions.
Top
Post Reply
  • Print view

11 posts • Page 1 of 1

Return to “Forum italiano (Italian)”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic