Package: nala

Version: 0.12.2
saber716rus@BOM-WXX9 ~/Загрузки> sudo nala install 
debreate_0.8-dev9_all.deb
Уведломение: The following will be installed to satisfy debreate:
  python3-pip
================================================================================
 Installing                                                                     
================================================================================
  Пакет:                    Версия:                                  
  Размер:  
  debreate                  0.8-dev9                                      2 KB  
  python3-pip               23.0.1+dfsg-1                               1.3 MB  
  python3-wheel             0.38.4-2                                     31 KB  
                                                                                
================================================================================
 Summary                                                                        
================================================================================
 Install 3 Пакеты                                                         
      
                                                                                
 Disk space required  7.0 MB   
                               
Do you want to continue? [Д/н] y
╭─ Установка пакетов 
──────────────────────────────────────────────────────────╮
│Unpacking:  python3-wheel (0.38.4-2)                                         
 │
│Unpacking:  python3-pip (23.0.1+dfsg-1)                                      
 │
│Setting up: python3-wheel (0.38.4-2)                                         
 │
│Setting up: python3-pip (23.0.1+dfsg-1)                                      
 │
│Processing: triggers for man-db (2.11.2-2)                                   
 │
│Unpacking:  debreate (0.8-dev9)                                              
 │
│Setting up: debreate (0.8-dev9)                                              
 │
│An unhandled exception occurred and Debreate shut down:                      
 │
│Traceback (most recent call last):                                           
 │
│File "/usr/bin/debreate", line 230, in <module>                              
 │
│╭────────────────────────────────────────────────────────────────────────────╮│
││⠦ Running dpkg … 
━━━━━━━━━━━━━━━━━━━━━━━━━━━╸━━━━━━━━━
 75.0% • 0:00:02 • 6/8││
│╰────────────────────────────────────────────────────────────────────────────╯│
╰──────────────────────────────────────────────────────────────────────────────╯
╭───────────────────── Traceback 
(most recent call last) 
──────────────────────╮
│ /usr/lib/python3/dist-packages/nala/nala.py:364 in install                  
 │
│                                                                             
 │
│   361 │   man_help: bool = MAN_HELP,                                      
   │
│   362 ) -> None:                                                            
 │
│   363 │   """Install packages."""                                         
   │
│ ❱ 364 │   _install(pkg_names, ctx)                                      
     │
│   365                                                                       
 │
│   366                                                                       
 │
│   367 @nala.command(help=_("Remove packages."))                             
 │
│                                                                             
 │
│ 
╭──────────────────────────────
 locals 
──────────────────────────────╮
       │
│ │         assume_yes = None                                          │  
     │
│ │        auto_remove = None                                          │  
     │
│ │                ctx = <click.core.Context object at 0x7f7c66a3f1d0> │  
     │
│ │              debug = None                                          │  
     │
│ │      download_only = None                                          │  
     │
│ │        dpkg_option = []                                            │  
     │
│ │         fix_broken = None                                          │  
     │
│ │ install_recommends = None                                          │  
     │
│ │   install_suggests = None                                          │  
     │
│ │           man_help = None                                          │  
     │
│ │          pkg_names = ['debreate_0.8-dev9_all.deb']                 │  
     │
│ │              purge = None                                          │  
     │
│ │           raw_dpkg = None                                          │  
     │
│ │   remove_essential = None                                          │  
     │
│ │             simple = None                                          │  
     │
│ │             update = None                                          │  
     │
│ │            verbose = None                                          │  
     │
│ 
╰────────────────────────────────────────────────────────────────────╯
       │
│                                                                             
 │
│ /usr/lib/python3/dist-packages/nala/nala.py:190 in _install                 
 │
│                                                                             
 │
│   187 │   │   │   error.unmarked_error(nala_pkgs.user_explicit)       
       │
│   188 │                                                                   
   │
│   189 │   auto_remover(cache, nala_pkgs)                                  
   │
│ ❱ 190 │   get_changes(cache, nala_pkgs, "install")                      
     │
│   191                                                                       
 │
│   192                                                                       
 │
│   193 def remove_completion(ctx: typer.Context) -> Generator[str, None, 
None │
│                                                                             
 │
│ 
╭──────────────────────────
 locals 
──────────────────────────╮
               │
│ │     broken = []                                            │          
     │
│ │      cache = <nala.cache.Cache object at 0x7f7c6478e650>   │          
     │
│ │        ctx = <click.core.Context object at 0x7f7c66a3f1d0> │          
     │
│ │  not_exist = []                                            │          
     │
│ │  not_found = []                                            │          
     │
│ │  pkg_names = []                                            │          
     │
│ │ ver_failed = False                                         │          
     │
│ 
╰────────────────────────────────────────────────────────────╯
               │
│                                                                             
 │
│ /usr/lib/python3/dist-packages/nala/install.py:413 in get_changes           
 │
│                                                                             
 │
│    410 │                                                                  
   │
│    411 │   download_pkgs(pkgs)                                            
   │
│    412 │   write_history(cache, nala_pkgs, operation)                     
   │
│ ❱  413 │   start_dpkg(cache, nala_pkgs)                                 
     │
│    414                                                                      
 │
│    415                                                                      
 │
│    416 def start_dpkg(cache: Cache, nala_pkgs: PackageHandler) -> None:     
 │
│                                                                             
 │
│ 
╭─────────────────────────────────
 locals 
─────────────────────────────────╮
 │
│ │     cache = <nala.cache.Cache object at 0x7f7c6478e650>                 
 │ │
│ │ nala_pkgs = PackageHandler(                                             
 │ │
│ │             │   autoremoved=set(),                                    
   │ │
│ │             │   user_explicit=[],                                     
   │ │
│ │             │   local_debs=[                                          
   │ │
│ │             │   │   <nala.debfile.NalaDebPackage object at          
     │ │
│ │             0x7f7c6478d890>                                             
 │ │
│ │             │   ],                                                    
   │ │
│ │             │   not_needed=[],                                        
   │ │
│ │             │   delete_pkgs=[],                                       
   │ │
│ │             │   install_pkgs=[                                        
   │ │
│ │             │   │   NalaPackage(                                    
     │ │
│ │             │   │   │   name='debreate',                          
       │ │
│ │             │   │   │   version='0.8-dev9',                       
       │ │
│ │             │   │   │   size=1517,                                
       │ │
│ │             │   │   │   old_version=None                          
       │ │
│ │             │   │   ),                                              
     │ │
│ │             │   │   NalaPackage(                                    
     │ │
│ │             │   │   │   name='python3-pip',                       
       │ │
│ │             │   │   │   version='23.0.1+dfsg-1',                  
       │ │
│ │             │   │   │   size=1324972,                             
       │ │
│ │             │   │   │   old_version=None                          
       │ │
│ │             │   │   ),                                              
     │ │
│ │             │   │   NalaPackage(                                    
     │ │
│ │             │   │   │   name='python3-wheel',                     
       │ │
│ │             │   │   │   version='0.38.4-2',                       
       │ │
│ │             │   │   │   size=30808,                               
       │ │
│ │             │   │   │   old_version=None                          
       │ │
│ │             │   │   )                                               
     │ │
│ │             │   ],                                                    
   │ │
│ │             │   reinstall_pkgs=[],                                    
   │ │
│ │             │   upgrade_pkgs=[],                                      
   │ │
│ │             │   autoremove_pkgs=[],                                   
   │ │
│ │             │   autoremove_config=[],                                 
   │ │
│ │             │   delete_config=[],                                     
   │ │
│ │             │   recommend_pkgs=[],                                    
   │ │
│ │             │   suggest_pkgs=[],                                      
   │ │
│ │             │   configure_pkgs=[],                                    
   │ │
│ │             │   downgrade_pkgs=[],                                    
   │ │
│ │             │   held_pkgs=[]                                          
   │ │
│ │             )                                                           
 │ │
│ │ operation = 'install'                                                   
 │ │
│ │      pkgs = [                                                           
 │ │
│ │             │   <Package: name:'python3-pip' architecture='amd64'     
   │ │
│ │             id:21237>,                                                  
 │ │
│ │             │   <Package: name:'python3-wheel' architecture='amd64'   
   │ │
│ │             id:42853>                                                   
 │ │
│ │             ]                                                           
 │ │
│ 
╰──────────────────────────────────────────────────────────────────────────╯
 │
│                                                                             
 │
│ /usr/lib/python3/dist-packages/nala/install.py:421 in start_dpkg            
 │
│                                                                             
 │
│    418 │   try:                                                           
   │
│    419 │   │   # Set Use-Pty to False. This makes Sigwinch signals 
accepted  │
│    420 │   │   apt_pkg.config.set("Dpkg::Use-Pty", "0")                 
     │
│ ❱  421 │   │   commit_pkgs(cache, nala_pkgs)                          
       │
│    422 │   # Catch system error because if dpkg fails it'll throw this    
   │
│    423 │   except (apt_pkg.Error, SystemError) as error:                  
   │
│    424 │   │   apt_error(error)                                         
     │
│                                                                             
 │
│ 
╭─────────────────────────────────
 locals 
─────────────────────────────────╮
 │
│ │     cache = <nala.cache.Cache object at 0x7f7c6478e650>                 
 │ │
│ │ nala_pkgs = PackageHandler(                                             
 │ │
│ │             │   autoremoved=set(),                                    
   │ │
│ │             │   user_explicit=[],                                     
   │ │
│ │             │   local_debs=[                                          
   │ │
│ │             │   │   <nala.debfile.NalaDebPackage object at          
     │ │
│ │             0x7f7c6478d890>                                             
 │ │
│ │             │   ],                                                    
   │ │
│ │             │   not_needed=[],                                        
   │ │
│ │             │   delete_pkgs=[],                                       
   │ │
│ │             │   install_pkgs=[                                        
   │ │
│ │             │   │   NalaPackage(                                    
     │ │
│ │             │   │   │   name='debreate',                          
       │ │
│ │             │   │   │   version='0.8-dev9',                       
       │ │
│ │             │   │   │   size=1517,                                
       │ │
│ │             │   │   │   old_version=None                          
       │ │
│ │             │   │   ),                                              
     │ │
│ │             │   │   NalaPackage(                                    
     │ │
│ │             │   │   │   name='python3-pip',                       
       │ │
│ │             │   │   │   version='23.0.1+dfsg-1',                  
       │ │
│ │             │   │   │   size=1324972,                             
       │ │
│ │             │   │   │   old_version=None                          
       │ │
│ │             │   │   ),                                              
     │ │
│ │             │   │   NalaPackage(                                    
     │ │
│ │             │   │   │   name='python3-wheel',                     
       │ │
│ │             │   │   │   version='0.38.4-2',                       
       │ │
│ │             │   │   │   size=30808,                               
       │ │
│ │             │   │   │   old_version=None                          
       │ │
│ │             │   │   )                                               
     │ │
│ │             │   ],                                                    
   │ │
│ │             │   reinstall_pkgs=[],                                    
   │ │
│ │             │   upgrade_pkgs=[],                                      
   │ │
│ │             │   autoremove_pkgs=[],                                   
   │ │
│ │             │   autoremove_config=[],                                 
   │ │
│ │             │   delete_config=[],                                     
   │ │
│ │             │   recommend_pkgs=[],                                    
   │ │
│ │             │   suggest_pkgs=[],                                      
   │ │
│ │             │   configure_pkgs=[],                                    
   │ │
│ │             │   downgrade_pkgs=[],                                    
   │ │
│ │             │   held_pkgs=[]                                          
   │ │
│ │             )                                                           
 │ │
│ 
╰──────────────────────────────────────────────────────────────────────────╯
 │
│                                                                             
 │
│ /usr/lib/python3/dist-packages/nala/install.py:368 in commit_pkgs           
 │
│                                                                             
 │
│    365 │   │   │   │   update = UpdateProgress(live)                
         │
│    366 │   │   │   │   cache.commit_pkgs(install, update)           
         │
│    367 │   │   │   │   if nala_pkgs.local_debs:                     
         │
│ ❱  368 │   │   │   │   │   cache.commit_pkgs(install, update, 
nala_pkgs.loca │
│    369 │   │   │   │   term_log.write(                              
         │
│    370 │   │   │   │   │   _("Log Ended: 
[{date}]").format(date=get_date())  │
│    371 │   │   │   │   )                                            
         │
│                                                                             
 │
│ 
╭─────────────────────────────────
 locals 
─────────────────────────────────╮
 │
│ │        cache = <nala.cache.Cache object at 0x7f7c6478e650>              
 │ │
│ │ config_purge = ()                                                       
 │ │
│ │     dpkg_log = <_io.TextIOWrapper name='/var/log/nala/dpkg-debug.log'   
 │ │
│ │                mode='w' encoding='utf-8'>                               
 │ │
│ │      install = <nala.dpkg.InstallProgress object at 0x7f7c66bfebd0>     
 │ │
│ │         live = <nala.dpkg.DpkgLive object at 0x7f7c6601a850>            
 │ │
│ │    nala_pkgs = PackageHandler(                                          
 │ │
│ │                │   autoremoved=set(),                                 
   │ │
│ │                │   user_explicit=[],                                  
   │ │
│ │                │   local_debs=[                                       
   │ │
│ │                │   │   <nala.debfile.NalaDebPackage object at       
     │ │
│ │                0x7f7c6478d890>                                          
 │ │
│ │                │   ],                                                 
   │ │
│ │                │   not_needed=[],                                     
   │ │
│ │                │   delete_pkgs=[],                                    
   │ │
│ │                │   install_pkgs=[                                     
   │ │
│ │                │   │   NalaPackage(                                 
     │ │
│ │                │   │   │   name='debreate',                       
       │ │
│ │                │   │   │   version='0.8-dev9',                    
       │ │
│ │                │   │   │   size=1517,                             
       │ │
│ │                │   │   │   old_version=None                       
       │ │
│ │                │   │   ),                                           
     │ │
│ │                │   │   NalaPackage(                                 
     │ │
│ │                │   │   │   name='python3-pip',                    
       │ │
│ │                │   │   │   version='23.0.1+dfsg-1',               
       │ │
│ │                │   │   │   size=1324972,                          
       │ │
│ │                │   │   │   old_version=None                       
       │ │
│ │                │   │   ),                                           
     │ │
│ │                │   │   NalaPackage(                                 
     │ │
│ │                │   │   │   name='python3-wheel',                  
       │ │
│ │                │   │   │   version='0.38.4-2',                    
       │ │
│ │                │   │   │   size=30808,                            
       │ │
│ │                │   │   │   old_version=None                       
       │ │
│ │                │   │   )                                            
     │ │
│ │                │   ],                                                 
   │ │
│ │                │   reinstall_pkgs=[],                                 
   │ │
│ │                │   upgrade_pkgs=[],                                   
   │ │
│ │                │   autoremove_pkgs=[],                                
   │ │
│ │                │   autoremove_config=[],                              
   │ │
│ │                │   delete_config=[],                                  
   │ │
│ │                │   recommend_pkgs=[],                                 
   │ │
│ │                │   suggest_pkgs=[],                                   
   │ │
│ │                │   configure_pkgs=[],                                 
   │ │
│ │                │   downgrade_pkgs=[],                                 
   │ │
│ │                │   held_pkgs=[]                                       
   │ │
│ │                )                                                        
 │ │
│ │         task = 0                                                        
 │ │
│ │     term_log = <_io.TextIOWrapper name='/var/log/nala/term.log' 
mode='a' │ │
│ │                encoding='utf-8'>                                        
 │ │
│ │       update = <nala.dpkg.UpdateProgress object at 0x7f7c5f6bc9d0>      
 │ │
│ 
╰──────────────────────────────────────────────────────────────────────────╯
 │
│                                                                             
 │
│ /usr/lib/python3/dist-packages/nala/cache.py:62 in commit_pkgs              
 │
│                                                                             
 │
│    59 │   ) -> bool:                                                      
   │
│    60 │   │   """Apply the marked changes to the cache."""              
     │
│    61 │   │   if local_debs:                                            
     │
│ ❱  62 │   │   │   res = install_archives(                           
         │
│    63 │   │   │   │   [pkg.filename for pkg in local_debs if 
pkg.filename],  │
│    64 │   │   │   )                                                   
       │
│    65 │   │   │   install_progress.finish_update()                    
       │
│                                                                             
 │
│ 
╭─────────────────────────────────
 locals 
─────────────────────────────────╮
 │
│ │ install_progress = <nala.dpkg.InstallProgress object at 0x7f7c66bfebd0> 
 │ │
│ │       local_debs = [                                                    
 │ │
│ │                    │   <nala.debfile.NalaDebPackage object at         
   │ │
│ │                    0x7f7c6478d890>                                      
 │ │
│ │                    ]                                                    
 │ │
│ │             self = <nala.cache.Cache object at 0x7f7c6478e650>          
 │ │
│ │  update_progress = <nala.dpkg.UpdateProgress object at 0x7f7c5f6bc9d0>  
 │ │
│ 
╰──────────────────────────────────────────────────────────────────────────╯
 │
│                                                                             
 │
│ /usr/lib/python3/dist-packages/nala/cache.py:286 in install_archives        
 │
│                                                                             
 │
│   283 │   │   apt_pkg.pkgsystem_unlock_inner()                          
     │
│   284 │                                                                   
   │
│   285 │   try:                                                            
   │
│ ❱ 286 │   │   res = install_progress.run_install(apt)                 
       │
│   287 │   finally:                                                        
   │
│   288 │   │   if did_unlock:                                            
     │
│   289 │   │   │   apt_pkg.pkgsystem_lock_inner()                      
       │
│                                                                             
 │
│ 
╭────────────────────────────────
 locals 
─────────────────────────────────╮
  │
│ │              apt = ['debreate_0.8-dev9_all.deb']                        
│  │
│ │       did_unlock = False                                                
│  │
│ │ install_progress = <nala.dpkg.InstallProgress object at 0x7f7c66bfebd0> 
│  │
│ 
╰─────────────────────────────────────────────────────────────────────────╯
  │
│                                                                             
 │
│ /usr/lib/python3/dist-packages/nala/dpkg.py:483 in run_install              
 │
│                                                                             
 │
│    480 │   │   self.child = AptExpect(self.child_fd, timeout=None)      
     │
│    481 │   │                                                            
     │
│    482 │   │   signal.signal(signal.SIGWINCH, 
self.sigwinch_passthrough)     │
│ ❱  483 │   │   self.child.interact(self.pre_filter)                   
       │
│    484 │   │   return os.WEXITSTATUS(self.wait_child())                 
     │
│    485 │                                                                  
   │
│    486 │   def sigwinch_passthrough(                                      
   │
│                                                                             
 │
│ 
╭──────────────────────────
 locals 
───────────────────────────╮
              │
│ │  apt = ['debreate_0.8-dev9_all.deb']                        │         
     │
│ │  pid = 17433                                                │         
     │
│ │ self = <nala.dpkg.InstallProgress object at 0x7f7c66bfebd0> │         
     │
│ 
╰─────────────────────────────────────────────────────────────╯
              │
│                                                                             
 │
│ /usr/lib/python3/dist-packages/nala/dpkg.py:1049 in interact                
 │
│                                                                             
 │
│   1046 │   │                                                            
     │
│   1047 │   │   _setwinsize(self.child_fd, term.lines, term.columns)     
     │
│   1048 │   │                                                            
     │
│ ❱ 1049 │   │   self.interact_copy(output_filter)                      
       │
│   1050 │                                                                  
   │
│   1051 │   def interact_copy(self, output_filter: Callable[[bytes], 
None]) - │
│   1052 │   │   """Interact with the pty."""                             
     │
│                                                                             
 │
│ 
╭─────────────────────────────────
 locals 
─────────────────────────────────╮
 │
│ │ output_filter = <bound method InstallProgress.pre_filter of             
 │ │
│ │                 <nala.dpkg.InstallProgress object at 0x7f7c66bfebd0>>   
 │ │
│ │          self = <nala.dpkg.AptExpect object at 0x7f7c65a97610>          
 │ │
│ 
╰──────────────────────────────────────────────────────────────────────────╯
 │
│                                                                             
 │
│ /usr/lib/python3/dist-packages/nala/dpkg.py:1056 in interact_copy           
 │
│                                                                             
 │
│   1053 │   │   while self.isalive():                                    
     │
│   1054 │   │   │   try:                                               
       │
│   1055 │   │   │   │   ready = 
poll_ignore_interrupts([self.child_fd, term.S │
│ ❱ 1056 │   │   │   │   if self.child_fd in ready and not 
self._read(output_f │
│   1057 │   │   │   │   │   break                                  
           │
│   1058 │   │   │   │   if term.STDIN in ready:                      
         │
│   1059 │   │   │   │   │   self._write()                          
           │
│                                                                             
 │
│ 
╭─────────────────────────────────
 locals 
─────────────────────────────────╮
 │
│ │ output_filter = <bound method InstallProgress.pre_filter of             
 │ │
│ │                 <nala.dpkg.InstallProgress object at 0x7f7c66bfebd0>>   
 │ │
│ │         ready = [56]                                                    
 │ │
│ │          self = <nala.dpkg.AptExpect object at 0x7f7c65a97610>          
 │ │
│ 
╰──────────────────────────────────────────────────────────────────────────╯
 │
│                                                                             
 │
│ /usr/lib/python3/dist-packages/nala/dpkg.py:1082 in _read                   
 │
│                                                                             
 │
│   1079 │   │   if data == b"":                                          
     │
│   1080 │   │   │   # BSD-style EOF                                    
       │
│   1081 │   │   │   return False                                       
       │
│ ❱ 1082 │   │   output_filter(data)                                    
       │
│   1083 │   │   return True                                              
     │
│   1084 │                                                                  
   │
│   1085 │   def _write(self) -> None:                                      
   │
│                                                                             
 │
│ 
╭─────────────────────────────────
 locals 
─────────────────────────────────╮
 │
│ │          data = b'An unhandled exception occurred and Debreate shut     
 │ │
│ │                 down:\r\nTraceback (most recent '+506                   
 │ │
│ │ output_filter = <bound method InstallProgress.pre_filter of             
 │ │
│ │                 <nala.dpkg.InstallProgress object at 0x7f7c66bfebd0>>   
 │ │
│ │          self = <nala.dpkg.AptExpect object at 0x7f7c65a97610>          
 │ │
│ 
╰──────────────────────────────────────────────────────────────────────────╯
 │
│                                                                             
 │
│ /usr/lib/python3/dist-packages/nala/dpkg.py:672 in pre_filter               
 │
│                                                                             
 │
│    669 │   │   │   │   self.line_fix.clear()                        
         │
│    670 │   │   │                                                      
       │
│    671 │   │   │   if data.count(b"\r\n") > 1:                        
       │
│ ❱  672 │   │   │   │   self.split_data(data)                      
           │
│    673 │   │   │   │   return                                       
         │
│    674 │   │   self.format_dpkg_output(data)                            
     │
│    675                                                                      
 │
│                                                                             
 │
│ 
╭─────────────────────────────────
 locals 
─────────────────────────────────╮
 │
│ │ data = b'An unhandled exception occurred and Debreate shut              
 │ │
│ │        down:\r\nTraceback (most recent '+506                            
 │ │
│ │ self = <nala.dpkg.InstallProgress object at 0x7f7c66bfebd0>             
 │ │
│ 
╰──────────────────────────────────────────────────────────────────────────╯
 │
│                                                                             
 │
│ /usr/lib/python3/dist-packages/nala/dpkg.py:685 in split_data               
 │
│                                                                             
 │
│    682 │   │   │   for new_line in line.split(b"\r"):                 
       │
│    683 │   │   │   │   if new_line:                                 
         │
│    684 │   │   │   │   │   check_error(data, new_line.decode(), 
error)       │
│ ❱  685 │   │   │   │   │   self.format_dpkg_output(new_line)    
             │
│    686 │                                                                  
   │
│    687 │   def format_dpkg_output(self, rawline: bytes) -> None:          
   │
│    688 │   │   """Facilitate what needs to happen to dpkg output."""    
     │
│                                                                             
 │
│ 
╭─────────────────────────────────
 locals 
─────────────────────────────────╮
 │
│ │       data = b'An unhandled exception occurred and Debreate shut        
 │ │
│ │              down:\r\nTraceback (most recent '+506                      
 │ │
│ │ data_split = [                                                          
 │ │
│ │              │   b'An unhandled exception occurred and Debreate shut  
   │ │
│ │              down:',                                                    
 │ │
│ │              │   b'Traceback (most recent call last):',               
   │ │
│ │              │   b'  File "/usr/bin/debreate", line 230, in 
<module>',   │ │
│ │              │   b'    main()',                                       
   │ │
│ │              │   b'  File "/usr/bin/debreate", line 27, in main',     
   │ │
│ │              │   b'    import globals.paths',                         
   │ │
│ │              │   b'  File "/usr/share/debreate/globals/paths.py", 
line   │ │
│ │              16, in <module>',                                          
 │ │
│ │              │   b'    import libdbr.paths',                          
   │ │
│ │              │   b'  File "/usr/share/debreate/lib/libdbr/paths.py",  
   │ │
│ │              line 18, in <module>',                                     
 │ │
│ │              │   b'    from . import sysinfo',                        
   │ │
│ │              │   ... +6                                               
   │ │
│ │              ]                                                          
 │ │
│ │      error = False                                                      
 │ │
│ │       line = b'    main()'                                              
 │ │
│ │   new_line = b'    main()'                                              
 │ │
│ │       self = <nala.dpkg.InstallProgress object at 0x7f7c66bfebd0>       
 │ │
│ 
╰──────────────────────────────────────────────────────────────────────────╯
 │
│                                                                             
 │
│ /usr/lib/python3/dist-packages/nala/dpkg.py:695 in format_dpkg_output       
 │
│                                                                             
 │
│    692 │   │   if self.raw:                                             
     │
│    693 │   │   │   self.rawline_handler(rawline)                      
       │
│    694 │   │   │   return                                             
       │
│ ❱  695 │   │   self.line_handler(rawline)                             
       │
│    696 │                                                                  
   │
│    697 │   def line_handler(self, rawline: bytes) -> None:                
   │
│    698 │   │   """Handle text operations for not a rawline."""          
     │
│                                                                             
 │
│ 
╭────────────────────────────
 locals 
────────────────────────────╮
           │
│ │ rawline = b'    main()'                                        │      
     │
│ │    self = <nala.dpkg.InstallProgress object at 0x7f7c66bfebd0> │      
     │
│ 
╰────────────────────────────────────────────────────────────────╯
           │
│                                                                             
 │
│ /usr/lib/python3/dist-packages/nala/dpkg.py:718 in line_handler             
 │
│                                                                             
 │
│    715 │   │   self.term_log(rawline)                                   
     │
│    716 │   │                                                            
     │
│    717 │   │   # Main format section for making things pretty           
     │
│ ❱  718 │   │   msg = msg_formatter(line)                              
       │
│    719 │   │   # If verbose we just send it. No bars                    
     │
│    720 │   │   if not arguments.scroll:                                 
     │
│    721 │   │   │   print(msg)                                         
       │
│                                                                             
 │
│ 
╭────────────────────────────
 locals 
────────────────────────────╮
           │
│ │    line = 'main()'                                             │      
     │
│ │ rawline = b'    main()'                                        │      
     │
│ │    self = <nala.dpkg.InstallProgress object at 0x7f7c66bfebd0> │      
     │
│ 
╰────────────────────────────────────────────────────────────────╯
           │
│                                                                             
 │
│ /usr/lib/python3/dist-packages/nala/dpkg.py:869 in msg_formatter            
 │
│                                                                             
 │
│    866 │   │   line = f"{color(f'{FETCHED}:', 'BLUE')} {' 
'.join(line.split( │
│    867 │                                                                  
   │
│    868 │   if match := re.findall(VERSION_PATTERN, line):                 
   │
│ ❱  869 │   │   return format_version(match, line)                     
       │
│    870 │   return line                                                    
   │
│    871                                                                      
 │
│    872                                                                      
 │
│                                                                             
 │
│ ╭───── locals ─────╮                                
                         │
│ │  line = 'main()' │                                                    
     │
│ │ match = ['()']   │                                                    
     │
│ ╰──────────────────╯                
                                         │
│                                                                             
 │
│ /usr/lib/python3/dist-packages/nala/dpkg.py:816 in format_version           
 │
│                                                                             
 │
│    813 │   """Format version numbers."""                                  
   │
│    814 │   for ver in match:                                              
   │
│    815 │   │   version = ver[1:-1]                                      
     │
│ ❱  816 │   │   if version[0].isdigit():                               
       │
│    817 │   │   │   new_ver = ver.replace(version, color(version, 
"BLUE"))    │
│    818 │   │   │   new_ver = re.sub(PARENTHESIS_PATTERN, paren_color, 
new_ve │
│    819 │   │   │   line = line.replace(ver, new_ver)                  
       │
│                                                                             
 │
│ ╭────── locals ──────╮                          
                             │
│ │    line = 'main()' │                                                  
     │
│ │   match = ['()']   │                                                  
     │
│ │     ver = '()'     │                                                  
     │
│ │ version = ''       │                                                  
     │
│ ╰────────────────────╯          
                                             │
╰──────────────────────────────────────────────────────────────────────────────╯
IndexError: string index out of range
saber716rus@BOM-WXX9 ~/Загрузки [1]> 

Reply via email to