You are not logged in.

#1 2009-10-30 02:37:19

taz
Member
Registered: 2009-03-04
Posts: 24

pacman: error: could not remove database testing

helpme plz ( it's happened after i tried to upgrade through ssh session and it has been disscinected cause of network error

LANG="C" pacman -Syu --debug
debug: config: attempting to read file /etc/pacman.conf
debug: config: new section 'options'                   
debug: config: HoldPkg: pacman                         
debug: config: HoldPkg: glibc                          
debug: config: SyncFirst: pacman                       
debug: config: xfercommand: /usr/bin/wget --passive-ftp -c -O %o %u
debug: config: new section 'core'                                  
debug: setlibpaths() called                                        
debug: option 'cachedir' = /var/cache/pacman/pkg/                  
debug: registering sync database 'core'                            
debug: config: including /etc/pacman.d/mirrorlist                  
debug: config: attempting to read file /etc/pacman.d/mirrorlist    
debug: adding new server URL to database 'core': ftp://mirror.yandex.ru/archlinux/core/os/i686
debug: adding new server URL to database 'core': http://archlinux.freeside.ru/core/os/i686    
debug: adding new server URL to database 'core': ftp://mirror.svk.su/archlinux/core/os/i686   
debug: adding new server URL to database 'core': http://mirror.svk.su/archlinux/core/os/i686  
debug: config: finished parsing /etc/pacman.d/mirrorlist                                      
debug: config: new section 'extra'                                                            
debug: registering sync database 'extra'                                                      
debug: config: including /etc/pacman.d/mirrorlist                                             
debug: config: attempting to read file /LANG="C" pacman -Syu --debug
debug: config: attempting to read file /etc/pacman.conf
debug: config: new section 'options'                   
debug: config: HoldPkg: pacman                         
debug: config: HoldPkg: glibc                          
debug: config: SyncFirst: pacman                       
debug: config: xfercommand: /usr/bin/wget --passive-ftp -c -O %o %u
debug: config: new section 'core'                                  
debug: setlibpaths() called                                        
debug: option 'cachedir' = /var/cache/pacman/pkg/                  
debug: registering sync database 'core'                            
debug: config: including /etc/pacman.d/mirrorlist                  
debug: config: attempting to read file /etc/pacman.d/mirrorlist    
debug: adding new server URL to database 'core': ftp://mirror.yandex.ru/archlinux/core/os/i686
debug: adding new server URL to database 'core': http://archlinux.freeside.ru/core/os/i686    
debug: adding new server URL to database 'core': ftp://mirror.svk.su/archlinux/core/os/i686   
debug: adding new server URL to database 'core': http://mirror.svk.su/archlinux/core/os/i686  
debug: config: finished parsing /etc/pacman.d/mirrorlist                                      
debug: config: new section 'extra'                                                            
debug: registering sync database 'extra'                                                      
debug: config: including /etc/pacman.d/mirrorlist                                             
debug: config: attempting to read file /etc/pacman.d/mirrorlist                               
debug: adding new server URL to database 'extra': ftp://mirror.yandex.ru/archlinux/extra/os/i686
debug: adding new server URL to database 'extra': http://archlinux.freeside.ru/extra/os/i686    
debug: adding new server URL to database 'extra': ftp://mirror.svk.su/archlinux/extra/os/i686   
debug: adding new server URL to database 'extra': http://mirror.svk.su/archlinux/extra/os/i686  
debug: config: finished parsing /etc/pacman.d/mirrorlist                                        
debug: config: new section 'community'                                                          
debug: registering sync database 'community'                                                    
debug: config: including /etc/pacman.d/mirrorlist                                               
debug: config: attempting to read file /etc/pacman.d/mirrorlist                                 
debug: adding new server URL to database 'community': ftp://mirror.yandex.ru/archlinux/community/os/i686
debug: adding new server URL to database 'community': http://archlinux.freeside.ru/community/os/i686    
debug: adding new server URL to database 'community': ftp://mirror.svk.su/archlinux/community/os/i686   
debug: adding new server URL to database 'community': http://mirror.svk.su/archlinux/community/os/i686  
debug: config: finished parsing /etc/pacman.d/mirrorlist                                                
debug: config: finished parsing /etc/pacman.conf                                                        
debug: registering local database                                                                       
:: Synchronizing package databases...                                                                   
debug: failed to get lastupdate time for core                                                           
debug: running command: /usr/bin/wget --passive-ftp -c -O /var/lib/pacman/core.db.tar.gz.part ftp://mirror.yandex.ru/archlinux/core/os/i686/core.db.tar.gz                                                                                                                                    
--2009-10-30 05:34:54--  ftp://mirror.yandex.ru/archlinux/core/os/i686/core.db.tar.gz                                                          
           => `/var/lib/pacman/core.db.tar.gz.part'                                                                                            
Resolving mirror.yandex.ru... 77.88.19.68, 77.88.19.73, 77.88.19.74, ...                                                                       
Connecting to mirror.yandex.ru|77.88.19.68|:21... connected.                                                                                   
Logging in as anonymous ... Logged in!                                                                                                         
==> SYST ... done.    ==> PWD ... done.                                                                                                        
==> TYPE I ... done.  ==> CWD (1) /archlinux/core/os/i686 ... done.                                                                            
==> SIZE core.db.tar.gz ... 35741                                                                                                              
==> PASV ... done.    ==> RETR core.db.tar.gz ... done.                                                                                        
Length: 35741 (35K) (unauthoritative)                                                                                                          

100%[=====================================================================================================>] 35,741      --.-K/s   in 0.06s   

2009-10-30 05:34:54 (609 KB/s) - `/var/lib/pacman/core.db.tar.gz.part' saved [35741]

error: could not remove database core
debug: returning error 16 from alpm_db_update : could not remove database entry
error: failed to update core (could not remove database entry)                 
debug: failed to get lastupdate time for extra                                 
debug: running command: /usr/bin/wget --passive-ftp -c -O /var/lib/pacman/extra.db.tar.gz.part ftp://mirror.yandex.ru/archlinux/extra/os/i686/extra.db.tar.gz                                                                                                                                 
--2009-10-30 05:34:54--  ftp://mirror.yandex.ru/archlinux/extra/os/i686/extra.db.tar.gz                                                        
           => `/var/lib/pacman/extra.db.tar.gz.part'                                                                                           
Resolving mirror.yandex.ru... 93.158.155.193, 77.88.19.68, 77.88.19.73, ...                                                                    
Connecting to mirror.yandex.ru|93.158.155.193|:21... connected.                                                                                
Logging in as anonymous ... Logged in!                                                                                                         
==> SYST ... done.    ==> PWD ... done.                                                                                                        
==> TYPE I ... done.  ==> CWD (1) /archlinux/extra/os/i686 ... done.                                                                           
==> SIZE extra.db.tar.gz ... 448517                                                                                                            
==> PASV ... done.    ==> RETR extra.db.tar.gz ... done.                                                                                       
Length: 448517 (438K) (unauthoritative)                                                                                                        

100%[=====================================================================================================>] 448,517     --.-K/s   in 0.1s    

2009-10-30 05:34:54 (4.27 MB/s) - `/var/lib/pacman/extra.db.tar.gz.part' saved [448517]

error: could not remove database extra
debug: returning error 16 from alpm_db_update : could not remove database entry
error: failed to update extra (could not remove database entry)
debug: failed to get lastupdate time for community
debug: running command: /usr/bin/wget --passive-ftp -c -O /var/lib/pacman/community.db.tar.gz.part ftp://mirror.yandex.ru/archlinux/community/os/i686/community.db.tar.gz
--2009-10-30 05:34:54--  ftp://mirror.yandex.ru/archlinux/community/os/i686/community.db.tar.gz
           => `/var/lib/pacman/community.db.tar.gz.part'
Resolving mirror.yandex.ru... 77.88.19.74, 93.158.155.193, 77.88.19.68, ...
Connecting to mirror.yandex.ru|77.88.19.74|:21... connected.
Logging in as anonymous ... Logged in!
==> SYST ... done.    ==> PWD ... done.
==> TYPE I ... done.  ==> CWD (1) /archlinux/community/os/i686 ... done.
==> SIZE community.db.tar.gz ... 377653
==> PASV ... done.    ==> RETR community.db.tar.gz ... done.
Length: 377653 (369K) (unauthoritative)

100%[=====================================================================================================>] 377,653     1.18M/s   in 0.3s

2009-10-30 05:34:55 (1.18 MB/s) - `/var/lib/pacman/community.db.tar.gz.part' saved [377653]

error: could not remove database community
debug: returning error 16 from alpm_db_update : could not remove database entry
error: failed to update community (could not remove database entry)
error: failed to synchronize any databases
debug: unregistering database 'local'
debug: unregistering database 'core'
debug: unregistering database 'extra'
debug: unregistering database 'community'
etc/pacman.d/mirrorlist                               
debug: adding new server URL to database 'extra': ftp://mirror.yandex.ru/archlinux/extra/os/i686
debug: adding new server URL to database 'extra': http://archlinux.freeside.ru/extra/os/i686    
debug: adding new server URL to database 'extra': ftp://mirror.svk.su/archlinux/extra/os/i686   
debug: adding new server URL to database 'extra': http://mirror.svk.su/archlinux/extra/os/i686  
debug: config: finished parsing /etc/pacman.d/mirrorlist                                        
debug: config: new section 'community'                                                          
debug: registering sync database 'community'                                                    
debug: config: including /etc/pacman.d/mirrorlist                                               
debug: config: attempting to read file /etc/pacman.d/mirrorlist                                 
debug: adding new server URL to database 'community': ftp://mirror.yandex.ru/archlinux/community/os/i686
debug: adding new server URL to database 'community': http://archlinux.freeside.ru/community/os/i686    
debug: adding new server URL to database 'community': ftp://mirror.svk.su/archlinux/community/os/i686   
debug: adding new server URL to database 'community': http://mirror.svk.su/archlinux/community/os/i686  
debug: config: finished parsing /etc/pacman.d/mirrorlist                                                
debug: config: finished parsing /etc/pacman.conf                                                        
debug: registering local database                                                                       
:: Synchronizing package databases...                                                                   
debug: failed to get lastupdate time for core                                                           
debug: running command: /usr/bin/wget --passive-ftp -c -O /var/lib/pacman/core.db.tar.gz.part ftp://mirror.yandex.ru/archlinux/core/os/i686/core.db.tar.gz                                                                                                                                    
--2009-10-30 05:34:54--  ftp://mirror.yandex.ru/archlinux/core/os/i686/core.db.tar.gz                                                          
           => `/var/lib/pacman/core.db.tar.gz.part'                                                                                            
Resolving mirror.yandex.ru... 77.88.19.68, 77.88.19.73, 77.88.19.74, ...                                                                       
Connecting to mirror.yandex.ru|77.88.19.68|:21... connected.                                                                                   
Logging in as anonymous ... Logged in!                                                                                                         
==> SYST ... done.    ==> PWD ... done.                                                                                                        
==> TYPE I ... done.  ==> CWD (1) /archlinux/core/os/i686 ... done.                                                                            
==> SIZE core.db.tar.gz ... 35741                                                                                                              
==> PASV ... done.    ==> RETR core.db.tar.gz ... done.                                                                                        
Length: 35741 (35K) (unauthoritative)                                                                                                          

100%[=====================================================================================================>] 35,741      --.-K/s   in 0.06s   

2009-10-30 05:34:54 (609 KB/s) - `/var/lib/pacman/core.db.tar.gz.part' saved [35741]

error: could not remove database core
debug: returning error 16 from alpm_db_update : could not remove database entry
error: failed to update core (could not remove database entry)                 
debug: failed to get lastupdate time for extra                                 
debug: running command: /usr/bin/wget --passive-ftp -c -O /var/lib/pacman/extra.db.tar.gz.part ftp://mirror.yandex.ru/archlinux/extra/os/i686/extra.db.tar.gz                                                                                                                                 
--2009-10-30 05:34:54--  ftp://mirror.yandex.ru/archlinux/extra/os/i686/extra.db.tar.gz                                                        
           => `/var/lib/pacman/extra.db.tar.gz.part'                                                                                           
Resolving mirror.yandex.ru... 93.158.155.193, 77.88.19.68, 77.88.19.73, ...                                                                    
Connecting to mirror.yandex.ru|93.158.155.193|:21... connected.                                                                                
Logging in as anonymous ... Logged in!                                                                                                         
==> SYST ... done.    ==> PWD ... done.                                                                                                        
==> TYPE I ... done.  ==> CWD (1) /archlinux/extra/os/i686 ... done.                                                                           
==> SIZE extra.db.tar.gz ... 448517                                                                                                            
==> PASV ... done.    ==> RETR extra.db.tar.gz ... done.                                                                                       
Length: 448517 (438K) (unauthoritative)                                                                                                        

100%[=====================================================================================================>] 448,517     --.-K/s   in 0.1s    

2009-10-30 05:34:54 (4.27 MB/s) - `/var/lib/pacman/extra.db.tar.gz.part' saved [448517]

error: could not remove database extra
debug: returning error 16 from alpm_db_update : could not remove database entry
error: failed to update extra (could not remove database entry)
debug: failed to get lastupdate time for community
debug: running command: /usr/bin/wget --passive-ftp -c -O /var/lib/pacman/community.db.tar.gz.part ftp://mirror.yandex.ru/archlinux/community/os/i686/community.db.tar.gz
--2009-10-30 05:34:54--  ftp://mirror.yandex.ru/archlinux/community/os/i686/community.db.tar.gz
           => `/var/lib/pacman/community.db.tar.gz.part'
Resolving mirror.yandex.ru... 77.88.19.74, 93.158.155.193, 77.88.19.68, ...
Connecting to mirror.yandex.ru|77.88.19.74|:21... connected.
Logging in as anonymous ... Logged in!
==> SYST ... done.    ==> PWD ... done.
==> TYPE I ... done.  ==> CWD (1) /archlinux/community/os/i686 ... done.
==> SIZE community.db.tar.gz ... 377653
==> PASV ... done.    ==> RETR community.db.tar.gz ... done.
Length: 377653 (369K) (unauthoritative)

100%[=====================================================================================================>] 377,653     1.18M/s   in 0.3s

2009-10-30 05:34:55 (1.18 MB/s) - `/var/lib/pacman/community.db.tar.gz.part' saved [377653]

error: could not remove database community
debug: returning error 16 from alpm_db_update : could not remove database entry
error: failed to update community (could not remove database entry)
error: failed to synchronize any databases
debug: unregistering database 'local'
debug: unregistering database 'core'
debug: unregistering database 'extra'
debug: unregistering database 'community'

Last edited by taz (2009-10-30 02:39:58)


linux is <3

Offline

#2 2009-10-30 04:14:18

foutrelis
Developer
From: Athens, Greece
Registered: 2008-07-28
Posts: 705
Website

Re: pacman: error: could not remove database testing

There isn't much information to work with, but an strace of `pacman -Sy' might help. Also, post the output of `ls -l /var/lib/pacman/sync{,/*}' (redirect it to a file because it'll be several screenfuls).

Offline

Board footer

Powered by FluxBB