Unable to update system

Hey,

I’ve been trying to update my Manjaro for a few days now using the command sudo pamac update. I runs initially then it asks me to grant the consent to apply transactions, I grant it then it cancels the transaction.
Anyone else facing this issue? or someone who knows how to fix this would be a great help.

Thanks.

Can you post the full output of running that command (pamac update). Also don’t start pamac with sudo.

1 Like

I tried to attach a screen shot, but it was giving me some error so pasted text instead

pamac update
Preparing...
==== AUTHENTICATING FOR org.manjaro.pamac.commit ====
Authentication is required to install, update, or remove packages
Authenticating as: Bhagirohan (bhagirohan)
Password: 
==== AUTHENTICATION COMPLETE ====
Synchronizing package databases...
Refreshing AUR...                                                                        
Checking gcc11 dependencies...                                                           
Checking python2-psutil dependencies...
Checking android-studio dependencies...
Checking python-progress dependencies...
Checking skypeforlinux-stable-bin dependencies...
Checking gcc11-libs dependencies...
Checking visual-studio-code-bin dependencies...
Cloning python2 build files...
Generating python2 information...
Checking python2 dependencies...
Checking python2-setuptools dependencies...
bsdtar: Failed to set default locale
Resolving dependencies...
Checking inter-conflicts...
Error: Failed to prepare transaction:
could not satisfy dependencies:
- unable to satisfy dependency 'gcc11-libs=11.3.0-5' required by gcc11



Edit build files : [e] 
Apply transaction ? [e/y/N] y

Transaction cancelled.

Also could you please explain me why are we not supposed to run pamac with sudo.

Hello,
Remove gcc11 and gcc11-libs packages before doing the update.

1 Like

Hey, it worked but I got a PGP signature error when trying to install python 2 update, since it has been deprecated from manjaro it’s giving an error. Do you know how I can remove it from my update list and block this update for further downloads.?

==> Verifying source file signatures with gpg...
    Python-2.7.18.tar.xz ... cat: write error: Broken pipe
FAILED
==> ERROR: One or more PGP signatures could not be verified!
Finished with result: exit-code
Main processes terminated with: code=exited/status=1
Service runtime: 4.577s
CPU time consumed: 1.784s
Error: Failed to build python2

For python2 package i think you could follow this comment on AUR (en) - python2

@AgentLigament which packages do you want that use Python 2?

The system would be cleaner without it, and a lot of software has been updated to Python 3

1 Like

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