Pagina 1 di 1

Problema PPA

Inviato: mercoledì 2 settembre 2009, 16:14
da Lord_neo
Salve a tutti!

Stavo provando ad utilizzare il mio ppa su launchpad...

Sembra che l'upload e la compilazione vadano a buon fine visto che vengono creati i deb per le tre architetture supportate.

Ho provato quindi ad aggiungere il mio ppa fra le mie sources, aggiungendo la chiave pubblica, ma quando provo ad installare il pacchetto mi dice che il pacchetto "non può essere autenticato"...  ???

Altro piccolo dubbio: se volessi effettuare la compilazione anche per karmic? devo riuploadare un altro dsc creato da un'altro changelog?

per la cronaca il mio ppa è questo: https://launchpad.net/~lord-neo/+archive/ppa

Grazie  ;)

Re: Problema PPA

Inviato: mercoledì 2 settembre 2009, 16:44
da Janvitus

Re: Problema PPA

Inviato: mercoledì 2 settembre 2009, 17:29
da Lord_neo
avevo già eseguito il passaggio... ma ho riprovato:

Codice: Seleziona tutto

lord@lord-laptop:~$ sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 1DC52A39  
[sudo] password for lord: 
Executing: gpg --ignore-time-conflict --no-options --no-default-keyring --secret-keyring /etc/apt/secring.gpg --trustdb-name /etc/apt/trustdb.gpg --keyring /etc/apt/trusted.gpg --keyserver keyserver.ubuntu.com --recv-keys 1DC52A39
gpg: richiesta della chiave 1DC52A39 dal server hkp keyserver.ubuntu.com
gpg: chiave 1DC52A39: chiave pubblica «Launchpad PPA for Lord_neo» importata
gpg: Numero totale esaminato: 1
gpg:               importate: 1  (RSA: 1)
lord@lord-laptop:~$ sudo apt-get update
Hit http://it.archive.ubuntu.com jaunty Release.gpg
Hit http://security.ubuntu.com jaunty-security Release.gpg                     
Ign http://security.ubuntu.com jaunty-security/main Translation-it             
Hit http://wine.budgetdedicated.com jaunty Release.gpg                         
Ign http://wine.budgetdedicated.com jaunty/main Translation-it                 
Hit http://ppa.launchpad.net jaunty Release.gpg                                
Ign http://ppa.launchpad.net jaunty/main Translation-it                        
Hit http://archive.ubuntu.com jaunty Release.gpg                               
Ign http://security.ubuntu.com jaunty-security/restricted Translation-it       
Ign http://security.ubuntu.com jaunty-security/universe Translation-it         
Ign http://security.ubuntu.com jaunty-security/multiverse Translation-it       
Hit http://wine.budgetdedicated.com jaunty Release                             
Hit http://it.archive.ubuntu.com jaunty/main Translation-it                    
Hit http://security.ubuntu.com jaunty-security Release                         
Hit http://ppa.launchpad.net jaunty Release.gpg                                
Ign http://ppa.launchpad.net jaunty/main Translation-it                        
Hit http://ppa.launchpad.net jaunty Release.gpg                                
Ign http://ppa.launchpad.net jaunty/main Translation-it                        
Hit http://ppa.launchpad.net jaunty Release.gpg                                
Ign http://ppa.launchpad.net jaunty/main Translation-it                        
Hit http://ppa.launchpad.net jaunty Release.gpg                                
Ign http://ppa.launchpad.net jaunty/main Translation-it                        
Hit http://ppa.launchpad.net jaunty Release.gpg                                
Hit http://archive.ubuntu.com jaunty Release                                   
Ign http://ppa.launchpad.net jaunty/main Translation-it                        
Hit http://ppa.launchpad.net jaunty Release.gpg                                
Ign http://ppa.launchpad.net jaunty/main Translation-it                        
Hit http://ppa.launchpad.net jaunty Release.gpg                                
Ign http://ppa.launchpad.net jaunty/main Translation-it                        
Hit http://ppa.launchpad.net jaunty Release.gpg                                
Hit http://it.archive.ubuntu.com jaunty/restricted Translation-it              
Ign http://ppa.launchpad.net jaunty/main Translation-it                        
Ign http://ppa.launchpad.net jaunty Release.gpg                                
Ign http://ppa.launchpad.net jaunty/main Translation-it                        
Hit http://ppa.launchpad.net jaunty Release.gpg                                
Ign http://ppa.launchpad.net jaunty/main Translation-it                        
Ign http://wine.budgetdedicated.com jaunty/main Packages                       
Hit http://it.archive.ubuntu.com jaunty/universe Translation-it                
Hit http://download.virtualbox.org jaunty Release.gpg                          
Ign http://download.virtualbox.org jaunty/non-free Translation-it              
Hit http://ppa.launchpad.net jaunty Release                                    
Hit http://ppa.launchpad.net jaunty Release                                    
Hit http://ppa.launchpad.net jaunty Release                                    
Hit http://ppa.launchpad.net jaunty Release                                    
Hit http://ppa.launchpad.net jaunty Release                                    
Hit http://ppa.launchpad.net jaunty Release                                    
Hit http://wine.budgetdedicated.com jaunty/main Packages                       
Hit http://security.ubuntu.com jaunty-security/main Packages                   
Hit http://archive.ubuntu.com jaunty/main Sources                              
Hit http://it.archive.ubuntu.com jaunty/multiverse Translation-it              
Hit http://ppa.launchpad.net jaunty Release                                    
Hit http://ppa.launchpad.net jaunty Release                                    
Hit http://ppa.launchpad.net jaunty Release                                    
Hit http://security.ubuntu.com jaunty-security/restricted Packages             
Hit http://security.ubuntu.com jaunty-security/restricted Sources              
Hit http://security.ubuntu.com jaunty-security/main Sources                    
Hit http://security.ubuntu.com jaunty-security/multiverse Sources              
Hit http://archive.ubuntu.com jaunty/restricted Sources                        
Hit http://it.archive.ubuntu.com jaunty-updates Release.gpg                    
Get:1 http://ppa.launchpad.net jaunty Release [74,6kB]                         
Hit http://ppa.launchpad.net jaunty Release                                    
Hit http://ppa.launchpad.net jaunty/main Packages                              
Hit http://ppa.launchpad.net jaunty/main Packages                              
Hit http://security.ubuntu.com jaunty-security/universe Sources                
Hit http://security.ubuntu.com jaunty-security/universe Packages               
Hit http://security.ubuntu.com jaunty-security/multiverse Packages             
Hit http://download.virtualbox.org jaunty Release                              
Ign http://it.archive.ubuntu.com jaunty-updates/main Translation-it            
Hit http://ppa.launchpad.net jaunty/main Packages                              
Hit http://ppa.launchpad.net jaunty/main Packages                              
Hit http://ppa.launchpad.net jaunty/main Packages                              
Hit http://ppa.launchpad.net jaunty/main Packages                              
Ign http://it.archive.ubuntu.com jaunty-updates/restricted Translation-it      
Ign http://it.archive.ubuntu.com jaunty-updates/universe Translation-it        
Hit http://ppa.launchpad.net jaunty/main Packages                              
Hit http://ppa.launchpad.net jaunty/main Packages                              
Ign http://it.archive.ubuntu.com jaunty-updates/multiverse Translation-it
Hit http://ppa.launchpad.net jaunty/main Packages                              
Ign http://ppa.launchpad.net jaunty/main Packages                              
Hit http://ppa.launchpad.net jaunty/main Packages                              
Hit http://ppa.launchpad.net jaunty/main Sources                               
Hit http://it.archive.ubuntu.com jaunty Release                               
Hit http://ppa.launchpad.net jaunty/main Packages                              
Hit http://it.archive.ubuntu.com jaunty-updates Release                       
Hit http://download.virtualbox.org jaunty/non-free Packages
Hit http://it.archive.ubuntu.com jaunty/main Packages              
Hit http://it.archive.ubuntu.com jaunty/restricted Packages        
Hit http://it.archive.ubuntu.com jaunty/restricted Sources         
Hit http://it.archive.ubuntu.com jaunty/main Sources               
Hit http://it.archive.ubuntu.com jaunty/multiverse Sources         
Hit http://it.archive.ubuntu.com jaunty/universe Sources           
Hit http://it.archive.ubuntu.com jaunty/universe Packages          
Hit http://it.archive.ubuntu.com jaunty/multiverse Packages        
Hit http://it.archive.ubuntu.com jaunty-updates/main Packages      
Hit http://it.archive.ubuntu.com jaunty-updates/restricted Packages
Hit http://it.archive.ubuntu.com jaunty-updates/restricted Sources 
Hit http://it.archive.ubuntu.com jaunty-updates/main Sources       
Hit http://it.archive.ubuntu.com jaunty-updates/multiverse Sources 
Hit http://it.archive.ubuntu.com jaunty-updates/universe Sources   
Hit http://it.archive.ubuntu.com jaunty-updates/universe Packages  
Hit http://it.archive.ubuntu.com jaunty-updates/multiverse Packages
Scaricato 1B in 2s (0B/s)                                          
Lettura della lista dei pacchetti in corso... Fatto
lord@lord-laptop:~$ sudo apt-get install hello
Lettura della lista dei pacchetti in corso... Fatto
Generazione dell'albero delle dipendenze in corso       
Lettura informazioni sullo stato... Fatto        
I seguenti pacchetti NUOVI (NEW) saranno installati:
  hello
0 aggiornati, 1 installati, 0 da rimuovere e 0 non aggiornati.
È necessario prendere 58,1kB di archivi. 
Dopo quest'operazione, verranno occupati 659kB di spazio su disco.
ATTENZIONE: i seguenti pacchetti non possono essere autenticati!
  hello
Installare questi pacchetti senza la verifica [s/N]? 
e compare sempre lo stesso problema.

Non è che bisogna fare qualcosa in fase di creazione del dsc? anche se io ho eseguito il comando

debuild -S -sa -k "chiave privata"

e dovrebbe essere giusto... ???

Re: Problema PPA

Inviato: giovedì 3 settembre 2009, 20:48
da melchiorre
io di solito do un semplice

Codice: Seleziona tutto

debuild -S -sa
e va tutto bene

Re: Problema PPA

Inviato: venerdì 4 settembre 2009, 0:02
da Lord_neo
Se facessi così creerei un pacchetto nn firmato...no?

Re: Problema PPA

Inviato: venerdì 4 settembre 2009, 0:17
da melchiorre
no, c'è la firma di debuild del ppa

Re: Problema PPA

Inviato: venerdì 4 settembre 2009, 2:40
da Lord_neo
quindi in locale lo creo senza firma e uppo direttamente il dsc??  :-[

Re: Problema PPA

Inviato: venerdì 4 settembre 2009, 16:06
da Janvitus
Ma il pacchetto in locale deve essere creato con la firma, poi cancelli la cartella sorgente, riscompatti tutto con dpkg-source -x e dai all'interno un debuild -S. ti crea il source.changes, devi caricare questo sul ppa.

Re: Problema PPA

Inviato: venerdì 4 settembre 2009, 16:55
da Lord_neo
si pardon.. uppo il changes..

ma perchè riscompattare tutto ?? io ho seguito l'help di launchpad e non mi sembra ci fossero tutti questi passaggi in più...

Re: Problema PPA

Inviato: lunedì 7 settembre 2009, 14:20
da Janvitus
Si, vero, dipende come crei il pacchetto, Personalmente lo faccio alla "vecchia maniera" =)

Re: Problema PPA

Inviato: lunedì 7 settembre 2009, 16:03
da melchiorre
Io uso questa procedura:

dhmake (credo cartella debian e sistemo tutto là dentro)

debuils -S -sa (creo sorgenti e file.changes)

dput file.changes (faccio l'upload del pacchetto che ppa mi compilerà)

Re: Problema PPA

Inviato: venerdì 18 settembre 2009, 0:59
da Lord_neo
proverò così allora...

vedremo che capita  ;)

grazie