Pagina 1 di 1

[Risolto] errore apt

Inviato: domenica 31 maggio 2009, 18:45
da Gianguido 182
sera a tutti!
dopo aver installato jaunty sul mio portatile, e ho copiato il mio sources.list in /etc/apt/ .
ora il problema è un segnale di divieto d'accesso sulla barra di stato.
cosa potrebbe essere?
per completezza posto il sources.list:
http://pastebin.com/f71b3b471

Re: errore apt

Inviato: domenica 31 maggio 2009, 18:48
da c.realkiller
prova a commentare la riga riguardante il cd rom di hardy.
e sotto mi sembra ci sia una riga riguardante i repo di intrepid

Re: errore apt

Inviato: domenica 31 maggio 2009, 18:55
da il_muflone
fermati col cursore del mouse sopra l'icona e vedi se dice qualche messaggio

Re: errore apt

Inviato: domenica 31 maggio 2009, 18:57
da Gianguido 182
commentata, fatto apt-get update ma non cambia niente.
passando con il cursore sull'icona mi dice che la lista non può essere letta, 13 permesso negato  >:(

Re: errore apt

Inviato: domenica 31 maggio 2009, 18:59
da il_muflone
esegui su un terminale ls -l /etc/apt/sources.list
e incolla il risultato qua

e riporta pure il risultato di sudo apt-get update

Re: errore apt

Inviato: domenica 31 maggio 2009, 19:06
da Gianguido 182
primo comando:

Codice: Seleziona tutto

-rwx------ 1 root root 3991 2009-05-31 17:57 /etc/apt/sources.list
secondo comando:

Codice: Seleziona tutto

gianguido@Portatilinux:~$ sudo apt-get update
Hit http://archive.canonical.com jaunty Release.gpg
Ign http://archive.canonical.com jaunty/partner Translation-it                 
Hit http://archive.ubuntu.com jaunty Release.gpg                               
Hit http://archive.ubuntu.com jaunty/main Translation-it                       
Get:1 http://ppa.launchpad.net jaunty Release.gpg [307B]                       
Ign http://ppa.launchpad.net jaunty/main Translation-it                        
Hit http://archive.ubuntu.com jaunty/restricted Translation-it                 
Hit http://archive.ubuntu.com jaunty/universe Translation-it                   
Hit http://archive.ubuntu.com jaunty/multiverse Translation-it                 
Hit http://archive.ubuntu.com jaunty-updates Release.gpg                       
Ign http://archive.ubuntu.com jaunty-updates/main Translation-it               
Ign http://archive.ubuntu.com jaunty-updates/restricted Translation-it         
Ign http://archive.ubuntu.com jaunty-updates/universe Translation-it           
Ign http://archive.ubuntu.com jaunty-updates/multiverse Translation-it         
Hit http://archive.ubuntu.com jaunty-backports Release.gpg                     
Hit http://archive.canonical.com jaunty Release                                
Ign http://archive.ubuntu.com jaunty-backports/main Translation-it             
Get:2 http://ppa.launchpad.net jaunty Release.gpg [307B]                       
Ign http://ppa.launchpad.net jaunty/main Translation-it                        
Get:3 http://ppa.launchpad.net jaunty Release [74,6kB]                         
Ign http://archive.ubuntu.com jaunty-backports/restricted Translation-it       
Ign http://archive.ubuntu.com jaunty-backports/universe Translation-it         
Ign http://archive.ubuntu.com jaunty-backports/multiverse Translation-it       
Hit http://archive.ubuntu.com jaunty-security Release.gpg                      
Ign http://ppa.launchpad.net jaunty Release                                    
Ign http://archive.ubuntu.com jaunty-security/main Translation-it              
Ign http://archive.ubuntu.com jaunty-security/restricted Translation-it        
Ign http://archive.ubuntu.com jaunty-security/universe Translation-it          
Ign http://archive.ubuntu.com jaunty-security/multiverse Translation-it        
Hit http://archive.ubuntu.com jaunty-proposed Release.gpg                      
Ign http://archive.ubuntu.com jaunty-proposed/restricted Translation-it        
Ign http://www.moioli.net ubuntu Release.gpg                                   
Get:4 http://ppa.launchpad.net jaunty Release [52,9kB]                         
Ign http://linux.getdropbox.com jaunty Release.gpg                             
Ign http://linux.getdropbox.com jaunty/main Translation-it                     
Ign http://ppa.launchpad.net jaunty Release                                    
Ign http://archive.canonical.com jaunty/partner Packages                       
Get:5 http://download.virtualbox.org jaunty Release.gpg [197B]                 
Ign http://download.virtualbox.org jaunty/non-free Translation-it              
Ign http://archive.ubuntu.com jaunty-proposed/main Translation-it              
Ign http://archive.ubuntu.com jaunty-proposed/multiverse Translation-it        
Ign http://archive.ubuntu.com jaunty-proposed/universe Translation-it          
Hit http://archive.ubuntu.com jaunty Release                                   
Hit http://archive.ubuntu.com jaunty-updates Release                           
Hit http://ppa.launchpad.net jaunty/main Packages                              
Ign http://archive.canonical.com jaunty/partner Sources                        
Hit http://archive.ubuntu.com jaunty-backports Release                         
Hit http://archive.ubuntu.com jaunty-security Release                          
Hit http://archive.ubuntu.com jaunty-proposed Release                          
Ign http://ppa.launchpad.net jaunty/main Packages                              
Ign http://ppa.launchpad.net jaunty/main Sources                               
Hit http://archive.canonical.com jaunty/partner Packages                       
Ign http://linux.getdropbox.com jaunty Release                                 
Hit http://archive.ubuntu.com jaunty/main Packages                             
Hit http://archive.ubuntu.com jaunty/restricted Packages                       
Hit http://archive.ubuntu.com jaunty/main Sources                              
Hit http://archive.ubuntu.com jaunty/restricted Sources                        
Hit http://archive.ubuntu.com jaunty/universe Packages                         
Hit http://archive.ubuntu.com jaunty/universe Sources                          
Hit http://archive.ubuntu.com jaunty/multiverse Packages                       
Hit http://archive.ubuntu.com jaunty/multiverse Sources                        
Get:6 http://download.virtualbox.org jaunty Release [3442B]                    
Hit http://ppa.launchpad.net jaunty/main Packages                              
Hit http://archive.canonical.com jaunty/partner Sources                        
Ign http://download.virtualbox.org jaunty Release                              
Ign http://www.moioli.net ubuntu/stable Translation-it                         
Hit http://archive.ubuntu.com jaunty-updates/main Packages                     
Hit http://archive.ubuntu.com jaunty-updates/restricted Packages               
Hit http://archive.ubuntu.com jaunty-updates/main Sources                     
Hit http://archive.ubuntu.com jaunty-updates/restricted Sources               
Hit http://archive.ubuntu.com jaunty-updates/universe Packages                
Hit http://archive.ubuntu.com jaunty-updates/universe Sources                 
Hit http://archive.ubuntu.com jaunty-updates/multiverse Packages              
Hit http://archive.ubuntu.com jaunty-updates/multiverse Sources               
Hit http://archive.ubuntu.com jaunty-backports/main Packages                  
Hit http://ppa.launchpad.net jaunty/main Sources                              
Ign http://linux.getdropbox.com jaunty/main Packages                          
Hit http://archive.ubuntu.com jaunty-backports/restricted Packages            
Hit http://archive.ubuntu.com jaunty-backports/universe Packages              
Hit http://archive.ubuntu.com jaunty-backports/multiverse Packages            
Hit http://archive.ubuntu.com jaunty-backports/main Sources                   
Hit http://archive.ubuntu.com jaunty-backports/restricted Sources             
Hit http://archive.ubuntu.com jaunty-backports/universe Sources               
Hit http://archive.ubuntu.com jaunty-backports/multiverse Sources             
Hit http://archive.ubuntu.com jaunty-security/main Packages                   
Hit http://archive.ubuntu.com jaunty-security/restricted Packages             
Hit http://archive.ubuntu.com jaunty-security/main Sources                    
Hit http://archive.ubuntu.com jaunty-security/restricted Sources              
Hit http://download.virtualbox.org jaunty/non-free Packages                   
Hit http://archive.ubuntu.com jaunty-security/universe Packages               
Hit http://archive.ubuntu.com jaunty-security/universe Sources                
Hit http://archive.ubuntu.com jaunty-security/multiverse Packages
Hit http://archive.ubuntu.com jaunty-security/multiverse Sources
Hit http://archive.ubuntu.com jaunty-proposed/restricted Packages
Hit http://archive.ubuntu.com jaunty-proposed/main Packages
Hit http://archive.ubuntu.com jaunty-proposed/multiverse Packages             
Hit http://archive.ubuntu.com jaunty-proposed/universe Packages               
Ign http://linux.getdropbox.com jaunty/main Sources                           
Ign http://www.moioli.net ubuntu Release             
Hit http://linux.getdropbox.com jaunty/main Packages
Ign http://www.moioli.net ubuntu/stable Packages     
Hit http://www.moioli.net ubuntu/stable Packages     
Hit http://linux.getdropbox.com jaunty/main Sources
Scaricato 814B in 2s (277B/s)
Lettura della lista dei pacchetti in corso... Fatto
W: Errore GPG: http://ppa.launchpad.net jaunty Release: Le seguenti firme non sono state verificate perché la chiave pubblica non è disponibile: NO_PUBKEY 1C1E55A728CBC482
W: Errore GPG: http://ppa.launchpad.net jaunty Release: Le seguenti firme non sono state verificate perché la chiave pubblica non è disponibile: NO_PUBKEY C5E6A5ED249AD24C
W: Errore GPG: http://download.virtualbox.org jaunty Release: Le seguenti firme non sono state verificate perché la chiave pubblica non è disponibile: NO_PUBKEY DCF9F87B6DFBCBAE
W: È consigliabile eseguire apt-get update per correggere questi problemi

Re: errore apt

Inviato: domenica 31 maggio 2009, 19:11
da c.realkiller
io proverei con :

Codice: Seleziona tutto

chmod a+r /etc/apt/sources.list

Re: errore apt

Inviato: domenica 31 maggio 2009, 19:16
da ziomax66
c.realkiller ha scritto: io proverei con :

Codice: Seleziona tutto

chmod a+r /etc/apt/sources.list
Questo si ok.
Comunque devi risolvere anche il problema delle firme sui repository che hai aggiunto manualmente.

Re: errore apt

Inviato: domenica 31 maggio 2009, 19:19
da Gianguido 182
ottimo! era un problema di permessi allora :)
per le firme come devo risolvere

Re: errore apt

Inviato: domenica 31 maggio 2009, 19:28
da ziomax66
Per la firma del repository di virtualbox :

Codice: Seleziona tutto

wget -q http://download.virtualbox.org/virtualbox/debian/sun_vbox.asc -O- | sudo apt-key add -
..... per l'altro repository ... un attimo che vedo ...

Re: errore apt

Inviato: domenica 31 maggio 2009, 19:29
da il_muflone
quella delle firme e` la domanda attualmente piu` frequente su questo forum, ci sono centinaia di thread in proposito:

per ogni chiave ripeti:

Codice: Seleziona tutto

gpg --keyserver keyserver.ubuntu.com --recv NUMEROCHIAVE
gpg --export --armor NUMEROCHIAVE | sudo apt-key add -
il numero della chiave ti viene segnalato nell'errore

(e per il futuro usa la ricerca)

Re: errore apt

Inviato: domenica 31 maggio 2009, 19:31
da Gianguido 182
grazie a tutti!
la prossima volta vado con la ricerca  :-[

Re: errore apt

Inviato: domenica 31 maggio 2009, 19:40
da ziomax66
Per l'altro repository prova con :

Codice: Seleziona tutto

sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com B0BE17C2A0C914F086B7B8327D2C7A23BF810CD5
ma non sono sicuro perchè il repository ppa.launchpad.net non lo ho mai usato.

Comunque se ti fai una ricerca sul forum puoi documentarti sulle firme dei repository.

Re: errore apt

Inviato: domenica 31 maggio 2009, 20:01
da c.realkiller
se è tutto a posto metti risolto al primo post.
ciao!