Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[RISOLTO] Errore in eix-sync, problema di disco
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
lsegalla
l33t
l33t


Joined: 27 Jun 2007
Posts: 796

PostPosted: Mon May 11, 2009 9:17 am    Post subject: [RISOLTO] Errore in eix-sync, problema di disco Reply with quote

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

Code:
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:
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
Back to top
View user's profile Send private message
djinnZ
Advocate
Advocate


Joined: 02 Nov 2006
Posts: 4831
Location: somewhere in L.O.S.

PostPosted: Mon May 11, 2009 10:32 am    Post subject: Reply with quote

Code:
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:
Back to top
View user's profile Send private message
lsegalla
l33t
l33t


Joined: 27 Jun 2007
Posts: 796

PostPosted: Mon May 11, 2009 10:54 am    Post subject: Reply with quote

Code:
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
Back to top
View user's profile Send private message
lsegalla
l33t
l33t


Joined: 27 Jun 2007
Posts: 796

PostPosted: Mon May 11, 2009 11:31 am    Post subject: Reply with quote

...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
Back to top
View user's profile Send private message
lsegalla
l33t
l33t


Joined: 27 Jun 2007
Posts: 796

PostPosted: Mon May 11, 2009 11:47 am    Post subject: Reply with quote

Il problema persiste.

Code:
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:

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 ?
Back to top
View user's profile Send private message
Scen
Retired Dev
Retired Dev


Joined: 29 Jul 2003
Posts: 2470
Location: Padova, Italy

PostPosted: Mon May 11, 2009 12:04 pm    Post subject: Reply with quote

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
Back to top
View user's profile Send private message
lsegalla
l33t
l33t


Joined: 27 Jun 2007
Posts: 796

PostPosted: Mon May 11, 2009 12:07 pm    Post subject: Reply with quote

/etc/fstab
Code:
###################################################################################################
# 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...!!
Back to top
View user's profile Send private message
randomaze
Bodhisattva
Bodhisattva


Joined: 21 Oct 2003
Posts: 9985

PostPosted: Tue May 12, 2009 3:38 pm    Post subject: Reply with quote

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!
Back to top
View user's profile Send private message
lsegalla
l33t
l33t


Joined: 27 Jun 2007
Posts: 796

PostPosted: Wed May 13, 2009 9:45 am    Post subject: Reply with quote

Code:

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 ?
Back to top
View user's profile Send private message
lsegalla
l33t
l33t


Joined: 27 Jun 2007
Posts: 796

PostPosted: Wed May 13, 2009 9:54 am    Post subject: Reply with quote

Tenete presenta anche questo:
Code:
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/ ?
Back to top
View user's profile Send private message
djinnZ
Advocate
Advocate


Joined: 02 Nov 2006
Posts: 4831
Location: somewhere in L.O.S.

PostPosted: Wed May 13, 2009 12:39 pm    Post subject: Reply with quote

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:
Back to top
View user's profile Send private message
lsegalla
l33t
l33t


Joined: 27 Jun 2007
Posts: 796

PostPosted: Thu May 14, 2009 11:21 am    Post subject: Reply with quote

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:
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 :(
Back to top
View user's profile Send private message
Scen
Retired Dev
Retired Dev


Joined: 29 Jul 2003
Posts: 2470
Location: Padova, Italy

PostPosted: Thu May 14, 2009 12:50 pm    Post subject: Reply with quote

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

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
Back to top
View user's profile Send private message
lsegalla
l33t
l33t


Joined: 27 Jun 2007
Posts: 796

PostPosted: Thu May 14, 2009 1:10 pm    Post subject: Reply with quote

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

Code:

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:

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
Back to top
View user's profile Send private message
lsegalla
l33t
l33t


Joined: 27 Jun 2007
Posts: 796

PostPosted: Fri May 15, 2009 9:11 am    Post subject: Reply with quote

Come si ricrea un profilo a questo punto ? Si puo' ?
Back to top
View user's profile Send private message
Peach
Advocate
Advocate


Joined: 08 Mar 2003
Posts: 3686
Location: London, UK

PostPosted: Fri May 15, 2009 10:40 am    Post subject: Reply with quote

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
Back to top
View user's profile Send private message
lsegalla
l33t
l33t


Joined: 27 Jun 2007
Posts: 796

PostPosted: Fri May 15, 2009 10:54 am    Post subject: Reply with quote

Code:
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 ...
Back to top
View user's profile Send private message
Peach
Advocate
Advocate


Joined: 08 Mar 2003
Posts: 3686
Location: London, UK

PostPosted: Fri May 15, 2009 10:58 am    Post subject: Reply with quote

lsegalla wrote:
Code:
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
Back to top
View user's profile Send private message
lsegalla
l33t
l33t


Joined: 27 Jun 2007
Posts: 796

PostPosted: Fri May 15, 2009 11:24 am    Post subject: Reply with quote

L'opzione -vd non me lo accetta
Code:
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:

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
Back to top
View user's profile Send private message
djinnZ
Advocate
Advocate


Joined: 02 Nov 2006
Posts: 4831
Location: somewhere in L.O.S.

PostPosted: Fri May 15, 2009 12:57 pm    Post subject: Reply with quote

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:
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:
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:
Back to top
View user's profile Send private message
lsegalla
l33t
l33t


Joined: 27 Jun 2007
Posts: 796

PostPosted: Fri May 15, 2009 1:46 pm    Post subject: Reply with quote

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:

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:

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:
tar xvjf portage.tar.bz2 -C /usr


Avrei fatto giusto?
Intanto marco come risolto.
Back to top
View user's profile Send private message
djinnZ
Advocate
Advocate


Joined: 02 Nov 2006
Posts: 4831
Location: somewhere in L.O.S.

PostPosted: Fri May 15, 2009 2:19 pm    Post subject: Reply with quote

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:
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