Browsing this Thread:   1 Anonymous Users






debian 12 add-apt-repository
#1
Just can't stay away
Just can't stay away


See User information
orangepi@orangepi5plus:~$ sudo add-apt-repository -y ppa:team-xbmc/xbmc-nightly                                                                                                                                    
Traceback 
(most recent call last):                                                                                                                                                                                 
  
File "/usr/bin/add-apt-repository"line 362in <module>                                              
    
sys.exit(if addaptrepo.main() else 1)                                                              
                  ^^^^^^^^^^^^^^^^^                                                                      
  
File "/usr/bin/add-apt-repository"line 345in main                                                                                                                                                            
    shortcut 
handler(source, **shortcut_params)                                                        
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^                                                        
  
File "/usr/lib/python3/dist-packages/softwareproperties/shortcuts.py"line 40in shortcut_handler                                                                                                              
    
return handler(shortcut, **kwargs)                                                                   
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^                                                                                                                                                                             
  
File "/usr/lib/python3/dist-packages/softwareproperties/ppa.py"line 86in __init__                                                                                                                            
    
if self.lpppa.publish_debug_symbols:                                                                                                                                                                           
       ^^^^^^^^^^                                                                                                                                                                                                  
  
File "/usr/lib/python3/dist-packages/softwareproperties/ppa.py"line 126in lpppa                                                                                                                              
    self
._lpppa self.lpteam.getPPAByName(name=self.ppaname)                                                                                                                                                      
                  ^^^^^^^^^^^                                                                                                                                                                                      
  
File "/usr/lib/python3/dist-packages/softwareproperties/ppa.py"line 113in lpteam                                                                                                                             
    self
._lpteam self.lp.people(self.teamname)                                                                                                                                                                   
                   ^^^^^^^^^^^^^^                                                                                                                                                                                  
AttributeError'NoneType' object has no attribute 'people'                                                                                                                                                        
orangepi@orangepi5plus:~$ sudo apt install  python3-launchpadlib



sudo apt install python3-launchpadlib # fix the problem

Posted on: 2023/6/29 11:42
Top








friend links
Themes

(2 themes)
Login
Username:

Password:


Lost Password?
Register now!
Categories
Xoops (11)
--Modules (2)
--Themes (0)
Article (8)