Pagina 1 di 1

[Risolto] errore periodico in aggiornamenti

Inviato: domenica 12 ottobre 2008, 9:54
da a.vietti
salute a tutti gli ubuntu sostenitori! mi compare un problema periodico che mi impedisce lo scaricamento degli aggiornamenti. facendo apt-get update compare questa lista con le quattro indicazioni finali

Codice: Seleziona tutto

andrea@andrea-desktop:~$ sudo apt-get update
[sudo] password for andrea: 
Hit http://it.archive.ubuntu.com hardy Release.gpg
Hit http://archive.canonical.com hardy Release.gpg                             
Ign http://archive.canonical.com hardy/partner Translation-it                  
Hit http://security.ubuntu.com hardy-security Release.gpg                      
Ign http://security.ubuntu.com hardy-security/main Translation-it              
Hit http://packages.medibuntu.org hardy Release.gpg                            
Ign http://ppa.launchpad.net hardy Release.gpg                                 
Ign http://ppa.launchpad.net hardy/main Translation-it                         
Hit http://archive.canonical.com hardy Release                                 
Ign http://security.ubuntu.com hardy-security/restricted Translation-it        
Ign http://security.ubuntu.com hardy-security/universe Translation-it          
Ign http://security.ubuntu.com hardy-security/multiverse Translation-it        
Get:1 http://it.archive.ubuntu.com hardy/main Translation-it [111kB]           
Hit http://security.ubuntu.com hardy-security Release                          
Ign http://packages.medibuntu.org hardy/free Translation-it                    
Get:2 http://ppa.launchpad.net hardy Release [27,6kB]                          
Ign http://ppa.launchpad.net hardy/main Packages                               
Hit http://archive.canonical.com hardy/partner Packages                        
Hit http://security.ubuntu.com hardy-security/main Packages                    
Ign http://packages.medibuntu.org hardy/non-free Translation-it                
Hit http://ppa.launchpad.net hardy/main Packages                               
Hit http://archive.canonical.com hardy/partner Sources                         
Hit http://security.ubuntu.com hardy-security/restricted Packages              
Hit http://security.ubuntu.com hardy-security/main Sources                     
Hit http://security.ubuntu.com hardy-security/restricted Sources               
Hit http://security.ubuntu.com hardy-security/universe Packages                
Hit http://security.ubuntu.com hardy-security/universe Sources                 
Hit http://security.ubuntu.com hardy-security/multiverse Packages              
Hit http://security.ubuntu.com hardy-security/multiverse Sources               
Hit http://packages.medibuntu.org hardy Release                                
Hit http://packages.medibuntu.org hardy/free Packages                          
Get:3 http://it.archive.ubuntu.com hardy/restricted Translation-it [2568B]
Hit http://packages.medibuntu.org hardy/non-free Packages                      
Get:4 http://it.archive.ubuntu.com hardy/universe Translation-it [41,6kB]      
Get:5 http://it.archive.ubuntu.com hardy/multiverse Translation-it [3158B]     
Hit http://it.archive.ubuntu.com hardy-updates Release.gpg                     
Ign http://it.archive.ubuntu.com hardy-updates/restricted Translation-it
Ign http://it.archive.ubuntu.com hardy-updates/main Translation-it 
Ign http://it.archive.ubuntu.com hardy-updates/multiverse Translation-it
Ign http://it.archive.ubuntu.com hardy-updates/universe Translation-it
Hit http://it.archive.ubuntu.com hardy-backports Release.gpg       
Ign http://it.archive.ubuntu.com hardy-backports/restricted Translation-it
Ign http://it.archive.ubuntu.com hardy-backports/main Translation-it
Ign http://it.archive.ubuntu.com hardy-backports/multiverse Translation-it
Ign http://it.archive.ubuntu.com hardy-backports/universe Translation-it
Hit http://it.archive.ubuntu.com hardy Release                     
Hit http://it.archive.ubuntu.com hardy-updates Release                         
Hit http://it.archive.ubuntu.com hardy-backports Release                       
Hit http://it.archive.ubuntu.com hardy/main Packages                           
Hit http://it.archive.ubuntu.com hardy/restricted Packages                     
Hit http://it.archive.ubuntu.com hardy/main Sources                            
Hit http://it.archive.ubuntu.com hardy/restricted Sources          
Hit http://it.archive.ubuntu.com hardy/universe Packages           
Hit http://it.archive.ubuntu.com hardy/universe Sources            
Hit http://it.archive.ubuntu.com hardy/multiverse Packages         
Hit http://it.archive.ubuntu.com hardy/multiverse Sources          
Hit http://it.archive.ubuntu.com hardy-updates/restricted Packages 
Hit http://it.archive.ubuntu.com hardy-updates/main Packages       
Hit http://it.archive.ubuntu.com hardy-updates/multiverse Packages 
Hit http://it.archive.ubuntu.com hardy-updates/universe Packages   
Hit http://it.archive.ubuntu.com hardy-backports/restricted Packages
Hit http://it.archive.ubuntu.com hardy-backports/main Packages     
Hit http://it.archive.ubuntu.com hardy-backports/multiverse Packages
Hit http://it.archive.ubuntu.com hardy-backports/universe Packages 
Scaricato 158kB in 8s (17,9kB/s)                                               
Lettura della lista dei pacchetti in corso... Fatto
W: Duplicate sources.list entry http://security.ubuntu.com hardy-security/restricted Packages (/var/lib/apt/lists/security.ubuntu.com_ubuntu_dists_hardy-security_restricted_binary-i386_Packages)
W: Duplicate sources.list entry http://security.ubuntu.com hardy-security/main Packages (/var/lib/apt/lists/security.ubuntu.com_ubuntu_dists_hardy-security_main_binary-i386_Packages)
W: Duplicate sources.list entry http://security.ubuntu.com hardy-security/multiverse Packages (/var/lib/apt/lists/security.ubuntu.com_ubuntu_dists_hardy-security_multiverse_binary-i386_Packages)
W: Duplicate sources.list entry http://security.ubuntu.com hardy-security/universe Packages (/var/lib/apt/lists/security.ubuntu.com_ubuntu_dists_hardy-security_universe_binary-i386_Packages)
W: È consigliabile eseguire apt-get update per correggere questi problemi
andrea@andrea-desktop:~$ 
[/code

premettendo che non sono assolutamente esperto, chiederei a qualche buona anima se mi indica quali sono nella source list sottostante, i repository da escludere con il #. grazie anticipatamente a chiunque possa aiutarmi. e poi...nella source listi mi vengono riportati degli avvisi nei primi repository...forse sono quelli che devo togliere visto che non sono supportati dall'ubuntu team?
[code]# deb cdrom:[Ubuntu 8.04 _Hardy Heron_ - Release i386 (20080423)]/ hardy main restricted
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.

deb http://it.archive.ubuntu.com/ubuntu/ hardy main restricted
deb-src http://it.archive.ubuntu.com/ubuntu/ hardy main restricted

## Major bug fix updates produced after the final release of the
## distribution.

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## universe WILL NOT receive any review or updates from the Ubuntu security
## team.
deb http://it.archive.ubuntu.com/ubuntu/ hardy universe
deb-src http://it.archive.ubuntu.com/ubuntu/ hardy universe

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu 
## team, and may not be under a free licence. Please satisfy yourself as to 
## your rights to use the software. Also, please note that software in 
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://it.archive.ubuntu.com/ubuntu/ hardy multiverse
deb-src http://it.archive.ubuntu.com/ubuntu/ hardy multiverse

## Uncomment the following two lines to add software from the 'backports'
## repository.
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
# deb-src http://it.archive.ubuntu.com/ubuntu/ hardy-backports main restricted universe multiverse

## Uncomment the following two lines to add software from Canonical's
## 'partner' repository. This software is not part of Ubuntu, but is
## offered by Canonical and the respective vendors as a service to Ubuntu
## users.
deb http://archive.canonical.com/ubuntu hardy partner
deb-src http://archive.canonical.com/ubuntu hardy partner

deb http://security.ubuntu.com/ubuntu hardy-security main restricted
deb-src http://security.ubuntu.com/ubuntu hardy-security main restricted
deb http://security.ubuntu.com/ubuntu hardy-security universe
deb-src http://security.ubuntu.com/ubuntu hardy-security universe
deb http://security.ubuntu.com/ubuntu hardy-security multiverse
deb-src http://security.ubuntu.com/ubuntu hardy-security multiverse
deb http://packages.medibuntu.org/ hardy free non-free
deb http://www.bashterritory.com/pytube/releases /
deb http://security.ubuntu.com/ubuntu/ hardy-security restricted main multiverse universe
deb http://it.archive.ubuntu.com/ubuntu/ hardy-updates restricted main multiverse universe
deb http://it.archive.ubuntu.com/ubuntu/ hardy-backports restricted main multiverse universe
deb http://ppa.launchpad.net/awn-testing/ubuntu hardy main
grazie ancora a tutti per i preziosi supporti.[/code]

Re: errore periodico in aggiornamenti

Inviato: domenica 12 ottobre 2008, 10:03
da Stealth
Lasciati il terminale aperto con il messaggio di errore di update, poi schiaccia alt+F2 e scrivi nella finestrella

Codice: Seleziona tutto

gksu gedit /etc/apt/sources.list
per aprire il file (è quello che contiene gli indirizzi a cui si collega per aggiornare) con diritto di modifica. Con il file aperto ti vai a cercare le linee con i duplicati segnalati, e ci metti un cancelletto (#) davanti. Poi salvi, chiudi e ridai un update.....e vedi come va
ciao

Re: errore periodico in aggiornamenti

Inviato: domenica 12 ottobre 2008, 10:49
da a.vietti
Stealth ha scritto: Lasciati il terminale aperto con il messaggio di errore di update, poi schiaccia alt+F2 e scrivi nella finestrella

Codice: Seleziona tutto

gksu gedit /etc/apt/sources.list
per aprire il file (è quello che contiene gli indirizzi a cui si collega per aggiornare) con diritto di modifica. Con il file aperto ti vai a cercare le linee con i duplicati segnalati, e ci metti un cancelletto (#) davanti. Poi salvi, chiudi e ridai un update.....e vedi come va
ciao
grazie del suggerimento che mi sono salvato per la prossima volta che capita, perchè adesso ho rifatto apt-gep update e non mi da alcun errore. Però ho il sospetto che risuccederà perchè deve esserci qualcosa di troppo ed, in quel caso, eseguirò quanto da te indicato. A tuo parere il problema è risolto attualmente o solo rimandato?

Re: errore periodico in aggiornamenti

Inviato: domenica 12 ottobre 2008, 10:55
da Stealth
La seconda che hai detto, anche se non capisco in nessun modo come sia possibile la duplicazione......saltuaria  :-\
Più in generale, comunque, la maggior parte delle cose mi sfugge, ne ho trovata un'altra
ciao

Re: errore periodico in aggiornamenti

Inviato: domenica 12 ottobre 2008, 11:12
da a.vietti
sono daccordo infatti è strano...è come se l'update risolvesse temporaneamente il conflitto di duplicazione...mi è sorto un sospetto guardando la lista di repository di terze parti in sinaptyc...che siano quei quattro rep. indicati li all'interno che vanno deselezionati?Immagine cosa ne dici, forse ho beccato l'inghippo?

file:///home/andrea/Scrivania/Schermata-Sorgenti%20software.png

Re: errore periodico in aggiornamenti

Inviato: domenica 12 ottobre 2008, 12:02
da Stealth
Per allegare quell'immagine devi cliccare sul pulsante in basso, sotto la finestra in cui scrivi il post, che si chiama "opzioni aggiuntive"
Meglio ancora se lo metti su un sito tipo imageshack e posti solo il link  ;)
ciao

Re: errore periodico in aggiornamenti

Inviato: martedì 14 ottobre 2008, 0:19
da a.vietti
Stealth ha scritto: Per allegare quell'immagine devi cliccare sul pulsante in basso, sotto la finestra in cui scrivi il post, che si chiama "opzioni aggiuntive"
Meglio ancora se lo metti su un sito tipo imageshack e posti solo il link  ;)
ciao
eccola, grazie del suggerimento... ;D

Re: errore periodico in aggiornamenti

Inviato: martedì 14 ottobre 2008, 9:16
da Stealth
Io proverei a togliere il segno di spunta dalla penultima voce in quella lista, non la leggo tutta ma mi sembra un duplicato delle precedenti
ciao

Re: [Risolto] errore periodico in aggiornamenti

Inviato: mercoledì 15 ottobre 2008, 22:43
da a.vietti
grazie al suggerimento sopraindicato di Stealth penso di avere definitivamente risolto il problema. Evidentemente, fra i repository di terze parti vi era questo pacchetto che conteneva gli stessi rep già presenti. spuntandola ho risolto tutto. Faccio presente che probabilmente era l'unica azione valida visto che la source list non ha subito cambiamenti di alcun tipo. probabilmente non vi erano righe da segnare con # ma soltanto togliere questa spuntatura doppia da sinaptic. grazie per l'aiuto. (good)