Update issue with zsh-theme-powerlevel10k

Done.

Proceeded OK.

Done.

Error: could not read db 'extra' (Damaged tar archive)
Warning: lua-luarepl: unknown key '%CHECKDEPENDS%perln' in sync database
Error: could not read db 'extra' (Damaged tar archive)
Warning: lua-luarepl: unknown key '%CHECKDEPENDS%perln' in sync database
Error: could not read db 'extra' (Damaged tar archive)
Nothing to do.
Transaction successfully finished.

The console generated too much error in short time, and overflooded the screen.

Okay - to me that looks like you might have a bad mirror set in Pamac. Open the Pamac GUI, then open the Preferences. On the “General” tab, scroll down to “Official Repositories” and change “Use mirrors from” to Global.

Then close the Pamac GUI and run the

pamac update --no-aur --force-refresh

command again, and if that works, run the final command

pamac update --aur --force-refresh

The original is already set as “Worldwide”.
So there is nothing to do.

pamac update --no-aur --force-refresh                                                                                                                                                           ✔ 
Preparing...
==== AUTHENTICATING FOR org.manjaro.pamac.commit ====
Authentication is required to install, update, or remove packages
Authenticating as: Usagi (shurato77)
Password: 
==== AUTHENTICATION COMPLETE ====
Synchronizing package databases...
Refreshing core.db...                                                                                                                                                                                          
Refreshing extra.db...                                                                                                                                                                                         
Refreshing multilib.db...                                                                                                                                                                                      
Refreshing core.files...                                                                                                                                                                                       
Refreshing extra.files...                                                                                                                                                                                      
Refreshing multilib.files...                                                                                                                                                                                   
Warning: lua-luarepl: unknown key '%CHECKDEPENDS%perln' in sync database                                                                                                                                       
Error: could not read db 'extra' (Damaged tar archive)
Warning: lua-luarepl: unknown key '%CHECKDEPENDS%perln' in sync database
Error: could not read db 'extra' (Damaged tar archive)
Warning: lua-luarepl: unknown key '%CHECKDEPENDS%perln' in sync database
Error: could not read db 'extra' (Damaged tar archive)

The error continues non-stop.

Warning: lua-luarepl: unknown key '%CHECKDEPENDS%perln' in sync database
Error: could not read db 'extra' (Damaged tar archive)
Nothing to do.
Transaction successfully finished.

:man_facepalming:

We’re getting there - there is just another database folder that needs to be cleaned and rebuilt.

Run this command (replacing the 2 instances of “scotty” with your username):

sudo mv /tmp/pamac-scotty/dbs/sync /tmp/pamac-scotty/dbs/sync.old

Then run the

pamac update --no-aur --force-refresh

and

pamac update --aur --force-refresh

commands again. I just did that and a new /tmp/pamac-scotty/dbs/sync directory was created with the freshly downloaded databases.

If that works fine, then remove the sync.old directory (and don’t forget to replace “scotty” with your username):

sudo rm -fr /tmp/pamac-scotty/dbs/sync.old
1 Like

Done.

pamac update --no-aur --force-refresh                                                                                                                                                    ✔  4s  
Preparing...
==== AUTHENTICATING FOR org.manjaro.pamac.commit ====
Authentication is required to install, update, or remove packages
Authenticating as: ssss (ssss)
Password: 
==== AUTHENTICATION COMPLETE ====
Synchronizing package databases...
Refreshing core.db...                                                                                                                                                                                          
Refreshing extra.db...                                                                                                                                                                                         
Refreshing multilib.db...                                                                                                                                                                                      
Refreshing core.files...                                                                                                                                                                                       
Refreshing extra.files...                                                                                                                                                                                      
Refreshing multilib.files...                                                                                                                                                                                   
Nothing to do.                                                                                                                                                                                                 
Transaction successfully finished.

Done.

Ok, now the 2 commands proceeded with no error, and Pamac also proceeded with update with no error.

Seems like you got it resolved!
Thank you very much!

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.