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

[RISOLTO] Errore in eix-sync, problema di disco

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

Moderator: ago

Post Reply
  • Print view
Advanced search
22 posts • Page 1 of 1
Author
Message
lsegalla
l33t
l33t
User avatar
Posts: 796
Joined: Wed Jun 27, 2007 6:22 am

[RISOLTO] Errore in eix-sync, problema di disco

  • Quote

Post by lsegalla » Mon May 11, 2009 9:17 am

Non riesco ad eseguire eix-sync, sembra che ci sia qualche problema sul disco
Che utility ci sono per verificare il disco ?

Code: Select all

user8-gentoo luca # eix-sync
 * Running emerge --sync
>>> Starting rsync with rsync://88.156.78.16/gentoo-portage...
>>> Checking server timestamp ...
rsync: failed to open exclude file /etc/portage/rsync_excludes: No such file or directory (2)
rsync error: error in file IO (code 11) at exclude.c(1062) [client=3.0.5]
 * Rsync has reported that there is a File IO error. Normally
 * this means your disk is full, but can be caused by corruption
 * on the filesystem that contains PORTDIR. Please investigate
 * and try again after the problem has been fixed.
 * PORTDIR=/usr/portage
 * emerge --sync failed
 * Time statistics:
     2 seconds for syncing
     2 seconds total
Pensavo di usare qualcosa di quanto segue, ma non mi lascia, magari devo riavviare e fare la cosa prima che venga montato sda3 (che è l'unità che suppongo di dover analizzare). Corro qualche rischio di perder qualche dato? Devo stare attento a qualcosa ? Che opzioni mi conviene usare ? Oppure mi consigliate qualcos'altro ?

Code: Select all

user8-gentoo luca # fsck.reiserfs
Usage: fsck.reiserfs [mode] [options]  device

Modes:
  --check                       consistency checking (default)
  --fix-fixable                 fix corruptions which can be fixed without
                                --rebuild-tree
  --rebuild-sb                  super block checking and rebuilding if needed
                                (may require --rebuild-tree afterwards)
  --rebuild-tree                force fsck to rebuild filesystem from scratch
                                (takes a long time)
  --clean-attributes            clean garbage in reserved fields in StatDatas
Options:
  -j | --journal device         specify journal if relocated
  -B | --badblocks file         file with list of all bad blocks on the fs
  -l | --logfile file           make fsck to complain to specifed file
  -n | --nolog                  make fsck to not complain
  -z | --adjust-size            fix file sizes to real size
  -q | --quiet                  no speed info
  -y | --yes                    no confirmations
  -V                            prints version and exits
  -a and -p                     some light-weight auto checks for bootup
  -f and -r                     ignored
Expert options:
  --no-journal-available        do not open nor replay journal
  -S | --scan-whole-partition   build tree of all blocks of the device
Last edited by lsegalla on Fri May 15, 2009 1:47 pm, edited 1 time in total.
Top
djinnZ
Advocate
Advocate
User avatar
Posts: 4831
Joined: Thu Nov 02, 2006 12:47 pm
Location: somewhere in L.O.S.
Contact:
Contact djinnZ
Website

  • Quote

Post by djinnZ » Mon May 11, 2009 10:32 am

Code: Select all

rm -Rf /usr/portage/* ; rm -Rf /var/tmp/portage/*
reiserfsck --fix-fixable -y /dev/vattelappesca
rimuovi la dir di portage e poi lanci un check sul disco.
--rebuild-tree -S etc consentono al filesystem di rimuovere gli inode di dubbia esistenza e potresti perdere dei file, solo in casi estremi.
scita et risus abundant in ore stultorum sed etiam semper severi insani sunt:wink:
mala tempora currunt...mater stultorum semper pregna est :evil:
Murpy'sLaw:If anything can go wrong, it will - O'Toole's Corollary:Murphy was an optimist :wink:
Top
lsegalla
l33t
l33t
User avatar
Posts: 796
Joined: Wed Jun 27, 2007 6:22 am

  • Quote

Post by lsegalla » Mon May 11, 2009 10:54 am

Code: Select all

reiserfsck --fix-fixable -y /dev/vattelappesca
Questo comando non funziona...!! :twisted: :twisted: :twisted: :twisted: :twisted:
Sto scherzando, ahahah, era bello da scrivere :-)

Adesso provo intanto ti ringrazio anticipatamente!! :D
Top
lsegalla
l33t
l33t
User avatar
Posts: 796
Joined: Wed Jun 27, 2007 6:22 am

  • Quote

Post by lsegalla » Mon May 11, 2009 11:31 am

...sembra semplice, e invece son bloccato - ora scrivo da un altro pc
dalla modalità testo non riesco a pingare all'esterno della rete
ho riavviato il servizio, ho cambiato ip e route a livello manuale.... niente da fare

da questo pc in locale non vado piu' internet (non ho usato l'opzione rebuild...)

-- EDIT -- RISOLTO quest'ultimo problema
mi si è sputtanato /etc/resolv.conf e l'ho sistemato
Top
lsegalla
l33t
l33t
User avatar
Posts: 796
Joined: Wed Jun 27, 2007 6:22 am

  • Quote

Post by lsegalla » Mon May 11, 2009 11:47 am

Il problema persiste.

Code: Select all

user8-gentoo luca # eix-sync
 * Running emerge --sync
[Errno 2] No such file or directory: '/usr/portage/local/layman/make.conf' in /etc/make.conf
 * emerge --sync failed
 * Time statistics:
     0 seconds total
Ho quindi modificato /etc/make.conf in modo che layman non rompesse i pifferi provvisoriamente, e quindi:

Code: Select all

user8-gentoo luca # eix-sync
 * Running emerge --sync
>>> Starting rsync with rsync://83.164.192.205/gentoo-portage...
rsync: failed to open exclude file /etc/portage/rsync_excludes: No such file or directory (2)
rsync error: error in file IO (code 11) at exclude.c(1062) [client=3.0.5]
 * Rsync has reported that there is a File IO error. Normally
 * this means your disk is full, but can be caused by corruption
 * on the filesystem that contains PORTDIR. Please investigate
 * and try again after the problem has been fixed.
 * PORTDIR=/usr/portage
 * emerge --sync failed
 * Time statistics:
     3 seconds for syncing
     3 seconds total
Spazio su disco ce ne è. :?

Che altro posso fare adesso ?
Top
Scen
Retired Dev
Retired Dev
User avatar
Posts: 2470
Joined: Tue Jul 29, 2003 9:44 am
Location: Padova, Italy
Contact:
Contact Scen
Website

  • Quote

Post by Scen » Mon May 11, 2009 12:04 pm

lsegalla wrote:Che altro posso fare adesso ?
  1. Posta il contenuto di /etc/fstab, tanto per capire come hai partizionato il disco e che fs stai usando
  2. (consiglio personale) Butta via reiserfs, passa ad ext3
I was born in a deep forest/I wish I could live here all my life/I am made from stones and roots/My home, these woods and roads
All my life I loved this sound/Of the woods all around/Eagles flies where the winds blows free
Journey is my destiny
Top
lsegalla
l33t
l33t
User avatar
Posts: 796
Joined: Wed Jun 27, 2007 6:22 am

  • Quote

Post by lsegalla » Mon May 11, 2009 12:07 pm

/etc/fstab

Code: Select all

###################################################################################################
# SEZIONE DI MOUNT PER LE MEMORIE DI MASSA
###################################################################################################

# <fs>                  <mountpoint>    <type>          <opts>          <dump/pass>
/dev/sda1               /boot           ext2            defaults,noatime        1 2
/dev/sda2               none            swap            sw                      0 0
/dev/sda3               /               reiserfs        noatime                 0 1
/dev/cdrom              /mnt/cdrom      auto            noauto,user             0 0

# glibc 2.2 and above expects tmpfs to be mounted at /dev/shm for
# POSIX shared memory (shm_open, shm_unlink).
# (tmpfs is a dynamically expandable/shrinkable ramdisk, and will
#  use almost no memory if not populated with files)
shm                     /dev/shm        tmpfs           nodev,nosuid,noexec     0 0
Mi tengo reiserfs ormai...!!
Top
randomaze
Bodhisattva
Bodhisattva
User avatar
Posts: 9985
Joined: Tue Oct 21, 2003 7:55 am
Contact:
Contact randomaze
Website

  • Quote

Post by randomaze » Tue May 12, 2009 3:38 pm

ma il reiserfscheck che output ha dato?

comunque io farei rapidamente un backup e poi boot da cdrom e oltre al reisercheck farei anche un controllo con badblocks...
Ciao da me!
Top
lsegalla
l33t
l33t
User avatar
Posts: 796
Joined: Wed Jun 27, 2007 6:22 am

  • Quote

Post by lsegalla » Wed May 13, 2009 9:45 am

Code: Select all

reiserfsck 3.6.19 (2003 www.namesys.com)

*************************************************************
** If you are using the latest reiserfsprogs and  it fails **
** please  email bug reports to reiserfs-list@namesys.com, **
** providing  as  much  information  as  possible --  your **
** hardware,  kernel,  patches,  settings,  all reiserfsck **
** messages  (including version),  the reiserfsck logfile, **
** check  the  syslog file  for  any  related information. **
** If you would like advice on using this program, support **
** is available  for $25 at  www.namesys.com/support.html. **
*************************************************************

Will check consistency of the filesystem on /dev/sda3
and will fix what can be fixed without --rebuild-tree
Will put log info to 'stdout'

Do you want to run this program?[N/Yes] (note need to type Yes if you do):Yes
###########
reiserfsck --fix-fixable started at Wed May 13 11:46:15 2009
###########
Replaying journal..
Reiserfs journal '/dev/sda3' in blocks [18..8211]: 0 transactions replayed
Checking internal tree..finished
Comparing bitmaps..finished
Checking Semantic tree:
finished
No corruptions found
There are on the filesystem:
        Leaves 90908
        Internal nodes 588
        Directories 32439
        Other files 371241
        Data block pointers 3698562 (99 of them are zero)
        Safe links 0
###########
reiserfsck finished at Wed May 13 11:48:03 2009
###########
Niente fuori posto.
Con cosa lo faccio il backup ?
Top
lsegalla
l33t
l33t
User avatar
Posts: 796
Joined: Wed Jun 27, 2007 6:22 am

  • Quote

Post by lsegalla » Wed May 13, 2009 9:54 am

Tenete presenta anche questo:

Code: Select all

user8-gentoo luca # emerge eix

!!! /etc/make.profile is not a symlink and will probably prevent most merges.
!!! It should point into a profile within /usr/portage/profiles/
!!! (You can safely ignore this message when syncing. It's harmless.)

!!! If you have just changed your profile configuration, you should revert
!!! back to the previous configuration. Due to your current profile being
!!! invalid, allowed actions are limited to --help, --info, --sync, and
!!! --version.
Se ben capisco /etc/make.profile non punta piu' a niente e quindi devo ripristinare quello prima di tutto, ma avendo rimosso tutte quelle dir all'inizio non so come devo fare adesso

come lo ricreo un profilo in /usr/portage/profiles/ ?
Top
djinnZ
Advocate
Advocate
User avatar
Posts: 4831
Joined: Thu Nov 02, 2006 12:47 pm
Location: somewhere in L.O.S.
Contact:
Contact djinnZ
Website

  • Quote

Post by djinnZ » Wed May 13, 2009 12:39 pm

eselect profile
scita et risus abundant in ore stultorum sed etiam semper severi insani sunt:wink:
mala tempora currunt...mater stultorum semper pregna est :evil:
Murpy'sLaw:If anything can go wrong, it will - O'Toole's Corollary:Murphy was an optimist :wink:
Top
lsegalla
l33t
l33t
User avatar
Posts: 796
Joined: Wed Jun 27, 2007 6:22 am

  • Quote

Post by lsegalla » Thu May 14, 2009 11:21 am

Ringrazio per il consiglio, pero' son ancora fermo. Ho fatto una ricerca e letto questa guida:
http://www.gentoo.org/doc/it/gentoo-upgrading.xml

Ad ogni modo ecco quanto succede:

Code: Select all

user8-gentoo luca # eselect profile list
/bin/sed: impossibile leggere //usr/portage/profiles/profiles.desc: No such file or directory
!!! Error: Failed to get a list of valid profiles
Killed
Suppongo di doverlo ricreare il profilo, ma non so come.
In ogni caso la dir /urs/portage/profiles non esiste e da quanto ho capito è proprio lì che va a guardare :(
Top
Scen
Retired Dev
Retired Dev
User avatar
Posts: 2470
Joined: Tue Jul 29, 2003 9:44 am
Location: Padova, Italy
Contact:
Contact Scen
Website

  • Quote

Post by Scen » Thu May 14, 2009 12:50 pm

Mah, sembra ti manchino alcuni file in /usr/portage. Prova a vedere se un

Code: Select all

emerge --sync -v
risolve.
I was born in a deep forest/I wish I could live here all my life/I am made from stones and roots/My home, these woods and roads
All my life I loved this sound/Of the woods all around/Eagles flies where the winds blows free
Journey is my destiny
Top
lsegalla
l33t
l33t
User avatar
Posts: 796
Joined: Wed Jun 27, 2007 6:22 am

  • Quote

Post by lsegalla » Thu May 14, 2009 1:10 pm

Non posso far quel che dici perchè la prima risposta di DjinnZ era di fare:

Code: Select all

rm -Rf /usr/portage/* ; rm -Rf /var/tmp/portage/*
reiserfsck --fix-fixable -y /dev/vattelappesca
quindi ovviamente non ho nessun file in portage, e non funziona ovviamente nemmeno quanto dici

Code: Select all

user8-gentoo luca # emerge --sync -v
>>> Starting rsync with rsync://217.19.16.188/gentoo-portage...
rsync: failed to open exclude file /etc/portage/rsync_excludes: No such file or directory (2)
rsync error: error in file IO (code 11) at exclude.c(1062) [client=3.0.5]
 * Rsync has reported that there is a File IO error. Normally
 * this means your disk is full, but can be caused by corruption
 * on the filesystem that contains PORTDIR. Please investigate
 * and try again after the problem has been fixed.
 * PORTDIR=/usr/portage
Top
lsegalla
l33t
l33t
User avatar
Posts: 796
Joined: Wed Jun 27, 2007 6:22 am

  • Quote

Post by lsegalla » Fri May 15, 2009 9:11 am

Come si ricrea un profilo a questo punto ? Si puo' ?
Top
Peach
Advocate
Advocate
User avatar
Posts: 3686
Joined: Sat Mar 08, 2003 9:00 pm
Location: London, UK
Contact:
Contact Peach
Website

  • Quote

Post by Peach » Fri May 15, 2009 10:40 am

lsegalla wrote:Come si ricrea un profilo a questo punto ? Si puo' ?
io proverei con emerge-webrsync
dovrebbe essere il comando più fault-tolerant in queste situazioni.
fammi sapere.
Gentoo user since 2004.
"It's all fun and games, until someone loses an eye" - mom
Top
lsegalla
l33t
l33t
User avatar
Posts: 796
Joined: Wed Jun 27, 2007 6:22 am

  • Quote

Post by lsegalla » Fri May 15, 2009 10:54 am

Code: Select all

user8-gentoo luca # emerge-webrsync
Fetching most recent snapshot ...
Trying to retrieve 20090514 snapshot from http://ftp.fi.muni.cz/pub/linux/gentoo                                                                 / ...
Fetching file portage-20090514.tar.lzma.md5sum ...
Fetching file portage-20090514.tar.lzma.gpgsig ...
Fetching file portage-20090514.tar.lzma ...
Checking digest ...
portage-20090514.tar.lzma: OK
Getting snapshot timestamp ...
Syncing local tree ...
rsync: failed to open exclude file /etc/portage/rsync_excludes: No such file or directory (2)
rsync error: error in file IO (code 11) at exclude.c(1062) [client=3.0.5]
Cleaning up ...
Top
Peach
Advocate
Advocate
User avatar
Posts: 3686
Joined: Sat Mar 08, 2003 9:00 pm
Location: London, UK
Contact:
Contact Peach
Website

  • Quote

Post by Peach » Fri May 15, 2009 10:58 am

lsegalla wrote:

Code: Select all

user8-gentoo luca # emerge-webrsync
Fetching most recent snapshot ...
Trying to retrieve 20090514 snapshot from http://ftp.fi.muni.cz/pub/linux/gentoo                                                                 / ...
Fetching file portage-20090514.tar.lzma.md5sum ...
Fetching file portage-20090514.tar.lzma.gpgsig ...
Fetching file portage-20090514.tar.lzma ...
Checking digest ...
portage-20090514.tar.lzma: OK
Getting snapshot timestamp ...
Syncing local tree ...
rsync: failed to open exclude file /etc/portage/rsync_excludes: No such file or directory (2)
rsync error: error in file IO (code 11) at exclude.c(1062) [client=3.0.5]
Cleaning up ...
???
mi pare assurdo
io manco ce l'ho quel file.
prova a lanciarlo con le opzioni -vd e posta l'output
Gentoo user since 2004.
"It's all fun and games, until someone loses an eye" - mom
Top
lsegalla
l33t
l33t
User avatar
Posts: 796
Joined: Wed Jun 27, 2007 6:22 am

  • Quote

Post by lsegalla » Fri May 15, 2009 11:24 am

L'opzione -vd non me lo accetta

Code: Select all

user8-gentoo luca # emerge-webrsync -vd
Usage: /usr/sbin/emerge-webrsync [options]

Options:
  --revert=yyyymmdd   Revert to snapshot
  -q, --quiet         Only output errors
  -v, --verbose       Enable verbose output
  -x, --debug         Enable debug output
  -h, --help          This help screen (duh!)

Error: Invalid option '-vd'

Code: Select all

user8-gentoo luca # emerge-webrsync -v
Fetching most recent snapshot ...
Trying to retrieve 20090514 snapshot from http://ftp.fi.muni.cz/pub/linux/gentoo
/ ...
Fetching file portage-20090514.tar.lzma.md5sum ...
--2009-05-15 13:15:37--  http://ftp.fi.muni.cz/pub/linux/gentoo//snapshots/porta
ge-20090514.tar.lzma.md5sum
Risoluzione di ftp.fi.muni.cz... 147.251.48.205
Connessione a ftp.fi.muni.cz|147.251.48.205|:80... connesso.
HTTP richiesta inviata, in attesa di risposta... 200 OK
Lunghezza: 60 [application/x-tar]
Salvataggio in: "/var/tmp/emerge-webrsync/portage-20090514.tar.lzma.md5sum"

100%[======================================>] 60          --.-K/s   in 0s

2009-05-15 13:15:37 (7,25 MB/s) - "/var/tmp/emerge-webrsync/portage-20090514.tar
.lzma.md5sum" salvato [60/60]

Fetching file portage-20090514.tar.lzma.gpgsig ...
--2009-05-15 13:15:37--  http://ftp.fi.muni.cz/pub/linux/gentoo//snapshots/porta                                                                 ge-20090514.tar.lzma.gpgsig
Risoluzione di ftp.fi.muni.cz... 147.251.48.205
Connessione a ftp.fi.muni.cz|147.251.48.205|:80... connesso.
HTTP richiesta inviata, in attesa di risposta... 200 OK
Lunghezza: 189 [application/x-tar]
Salvataggio in: "/var/tmp/emerge-webrsync/portage-20090514.tar.lzma.gpgsig"

100%[======================================>] 189         --.-K/s   in 0s

2009-05-15 13:15:37 (23,0 MB/s) - "/var/tmp/emerge-webrsync/portage-20090514.tar                                                                 .lzma.gpgsig" salvato [189/189]

Fetching file portage-20090514.tar.lzma ...
--2009-05-15 13:15:37--  http://ftp.fi.muni.cz/pub/linux/gentoo//snapshots/porta                                                                 ge-20090514.tar.lzma
Risoluzione di ftp.fi.muni.cz... 147.251.48.205
Connessione a ftp.fi.muni.cz|147.251.48.205|:80... connesso.
HTTP richiesta inviata, in attesa di risposta... 200 OK
Lunghezza: 31964445 (30M) [application/x-tar]
Salvataggio in: "/var/tmp/emerge-webrsync/portage-20090514.tar.lzma"

100%[=======================================================================================================>] 31.964.445  85,4K/s   in 5m 56s

2009-05-15 13:21:33 (87,7 KB/s) - "/var/tmp/emerge-webrsync/portage-20090514.tar.lzma" salvato [31964445/31964445]

Checking digest ...
portage-20090514.tar.lzma: OK
Getting snapshot timestamp ...
Syncing local tree ...
rsync: failed to open exclude file /etc/portage/rsync_excludes: No such file or directory (2)
rsync error: error in file IO (code 11) at exclude.c(1062) [client=3.0.5]
Cleaning up ...
E siamo al punto di partenza
Top
djinnZ
Advocate
Advocate
User avatar
Posts: 4831
Joined: Thu Nov 02, 2006 12:47 pm
Location: somewhere in L.O.S.
Contact:
Contact djinnZ
Website

  • Quote

Post by djinnZ » Fri May 15, 2009 12:57 pm

Sarà che l'ondata di caldo mi stressa, sarà che stamattina mi hanno fatto precipitare in ufficio dicendo che il server aveva preso fuoco ed invece sto lavorando senza problemi (oddio qualche anno ancora e sono nell'età di maggiore incidenza per gli infarti), sarà che come ogni anno mi sento vecchio in questi giorni... ma [censura] :evil: .
Sono sinceramente tentato di dire arrangiati ma ci vuol tanto a dare un

Code: Select all

wget ftp://ftp.unina.it/pub/linux/distributions/gentoo/snapshots/portage-vattelappesca.tar.bz2
tar -xjf quechediavoloè
:?: mi pare abbastanza ovvio, se proprio hai problemi :evil: .

Mi sarò anche scordato di avvisare che devi ripristinare l'albero di portage ma [censura].

Ovviamente esiste anche una seconda possibilità direttamente con

Code: Select all

PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180" emerge --sync
(modifica facile facile da emerge --info, ovvio che rsync si incazzi a trovare una esclusione su una dir che non esiste, ho solo tolto i --exclude)

Già che ti trovi fai sapere se creando manualmente le directory local distfile e packages in /usr/portage emerge --sync od emerge-webrsync funziona senza warn.

/etc/portage/rsync_excludes ovviamente non dovresti averlo, nel peggiore dei casi crealo vuoto, ovviamente ma da qualche parte avrai un PORTAGE_RSYNC_EXTRA_OPTS="--exclude-from=/etc/portage/rsync_excludes" quindi un bel PORTAGE_RSYNC_EXTRA_OPTS=" " emerge webrsync o commentare l'apposita riga in make.conf dovrebbe risolvere tutto.

Prova un pò.

@randomaze&peach&scen: se vi ci mettete pure voi... :twisted:
scita et risus abundant in ore stultorum sed etiam semper severi insani sunt:wink:
mala tempora currunt...mater stultorum semper pregna est :evil:
Murpy'sLaw:If anything can go wrong, it will - O'Toole's Corollary:Murphy was an optimist :wink:
Top
lsegalla
l33t
l33t
User avatar
Posts: 796
Joined: Wed Jun 27, 2007 6:22 am

  • Quote

Post by lsegalla » Fri May 15, 2009 1:46 pm

Evito ogni risposta polemica, è sempre colpa di chi chiede.
La prima strada forse ci ero arrivato, avrei buttato su un cd di installazione e avrei buttato su un portage da lì. Magari avrei sbagliato comunque.
La seconda opzione non ci sarei arrivato da solo, comunque:

Code: Select all

user8-gentoo / # PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180" emerge --sync
WARNING: adding required option --exclude=/distfiles not included in PORTAGE_RSYNC_OPTS (can be overridden with --exclude='!')
WARNING: adding required option --exclude=/local not included in PORTAGE_RSYNC_OPTS (can be overridden with --exclude='!')
WARNING: adding required option --exclude=/packages not included in PORTAGE_RSYNC_OPTS (can be overridden with --exclude='!')
>>> Starting rsync with rsync://81.91.83.16/gentoo-portage...
rsync: failed to open exclude file /etc/portage/rsync_excludes: No such file or directory (2)
rsync error: error in file IO (code 11) at exclude.c(1062) [client=3.0.5]
 * Rsync has reported that there is a File IO error. Normally
 * this means your disk is full, but can be caused by corruption
 * on the filesystem that contains PORTDIR. Please investigate
 * and try again after the problem has been fixed.
 * PORTDIR=/usr/portage
quindi creo le due dir e riprovo

Code: Select all

user8-gentoo portage # mkdir distfile
user8-gentoo portage # mkdir packages
user8-gentoo portage # PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180" emerge --sync
WARNING: adding required option --exclude=/distfiles not included in PORTAGE_RSYNC_OPTS (can be overridden with --exclude='!')
WARNING: adding required option --exclude=/local not included in PORTAGE_RSYNC_OPTS (can be overridden with --exclude='!')
WARNING: adding required option --exclude=/packages not included in PORTAGE_RSYNC_OPTS (can be overridden with --exclude='!')
>>> Starting rsync with rsync://217.19.16.188/gentoo-portage...
rsync: failed to open exclude file /etc/portage/rsync_excludes: No such file or directory (2)
rsync error: error in file IO (code 11) at exclude.c(1062) [client=3.0.5]
 * Rsync has reported that there is a File IO error. Normally
 * this means your disk is full, but can be caused by corruption
 * on the filesystem that contains PORTDIR. Please investigate
 * and try again after the problem has been fixed.
 * PORTDIR=/usr/portage
quindi creo la dir rsync_escludes e rilancio il tutto e funziona
infine mi dice che c'è un nuovo update di portage, faccio l'emerge, vedo che lavora e quindi considero tutto risolvo

Riguardo alla prima strada, avevo anche fatto un wget e ora ho il file del portage (.tar.bz2), me lo son messo da parte in una cartellina di bacup, non si sa mai... (non so se pensate possa essere utile). Detto questo avrei fatto un

Code: Select all

tar xvjf portage.tar.bz2 -C /usr
Avrei fatto giusto?
Intanto marco come risolto.
Top
djinnZ
Advocate
Advocate
User avatar
Posts: 4831
Joined: Thu Nov 02, 2006 12:47 pm
Location: somewhere in L.O.S.
Contact:
Contact djinnZ
Website

  • Quote

Post by djinnZ » Fri May 15, 2009 2:19 pm

nel nervosismo (e nell'artereosclerosi) m'ero dimenticato anche --exclude='!' come alternativa ma il tuo problema è che hai un --exclude-from=/etc/portage/rsync_excludes impostato e dovrebbe dare comunque errore (ovvero anche riprisrinando l'albero di portage, cosa necessarie solo ad eliminare i warn per dir mancanti e profilo).
Il file/dir te lo sarai perso durante la riparazione del filesystem.
scita et risus abundant in ore stultorum sed etiam semper severi insani sunt:wink:
mala tempora currunt...mater stultorum semper pregna est :evil:
Murpy'sLaw:If anything can go wrong, it will - O'Toole's Corollary:Murphy was an optimist :wink:
Top
Post Reply
  • Print view

22 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