Some packages depend on gcc11-libs. After an update and I reboot the system, it shows the gcc11-libs need to be upgraded. And when I type sudo pacman -S gcc11
, it shows error: target not found: gcc11
. But I can see the package is here. AUR (en) - gcc11
So what should I do to upgrade it?
Pacman can’t install AUR packages.
Use pamac for this.
I tried pacman.
First I didn’t modify anything and got the error.
==> Verifying source file signatures with gpg...
gcc-11.3.0.tar.xz ... cat: write error: Broken pipe
FAILED
==> ERROR: One or more PGP signatures could not be verified!
I checked the AUR package comment. The first comment asks me to add a key. And I added it but got the same error. So I tried to change the build file, but it keeps me in a loop. I don’t know how to solve it.
Warning: gcc11 is only available from AUR
Preparing...
Cloning gcc11 build files...
Running as unit: run-u233.service
fatal: not a git repository (or any parent up to mount point /var/cache/private)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
Finished with result: exit-code
Main processes terminated with: code=exited/status=128
Service runtime: 5ms
CPU time consumed: 5ms
Running as unit: run-u234.service
Finished with result: success
Main processes terminated with: code=exited/status=0
Service runtime: 16ms
CPU time consumed: 16ms
Running as unit: run-u235.service
Finished with result: success
Main processes terminated with: code=exited/status=0
Service runtime: 1.703s
CPU time consumed: 42ms
Generating gcc11 information...
Running as unit: run-u236.service
Finished with result: success
Main processes terminated with: code=exited/status=0
Service runtime: 2.000s
CPU time consumed: 2.316s
Checking gcc11 dependencies...
Resolving dependencies...
Checking inter-conflicts...
To build (2):
gcc11-libs 11.3.0-6 AUR
gcc11 11.3.0-6 AUR
Edit build files : [e]
Apply transaction ? [e/y/N] e
Cloning gcc11 build files...
Running as unit: run-u237.service
fatal: not a git repository (or any parent up to mount point /var/cache/private)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
Finished with result: exit-code
Main processes terminated with: code=exited/status=128
Service runtime: 5ms
CPU time consumed: 5ms
Running as unit: run-u238.service
Finished with result: success
Main processes terminated with: code=exited/status=0
Service runtime: 6ms
CPU time consumed: 5ms
Running as unit: run-u239.service
Finished with result: success
Main processes terminated with: code=exited/status=0
Service runtime: 1.879s
CPU time consumed: 43ms
Generating gcc11 information...
Running as unit: run-u240.service
Finished with result: success
Main processes terminated with: code=exited/status=0
Service runtime: 2.005s
CPU time consumed: 2.325s
Checking gcc11 dependencies...
Resolving dependencies...
Checking inter-conflicts...
To build (2):
gcc11-libs 11.3.0-6 AUR
gcc11 11.3.0-6 AUR
Edit build files : [e]
Apply transaction ? [e/y/N] e
Cloning gcc11 build files...
Running as unit: run-u241.service
fatal: not a git repository (or any parent up to mount point /var/cache/private)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
Finished with result: exit-code
Main processes terminated with: code=exited/status=128
Service runtime: 5ms
CPU time consumed: 5ms
Running as unit: run-u242.service
Finished with result: success
Main processes terminated with: code=exited/status=0
Service runtime: 7ms
CPU time consumed: 7ms
Running as unit: run-u243.service
Finished with result: success
Main processes terminated with: code=exited/status=0
Service runtime: 1.773s
CPU time consumed: 43ms
Generating gcc11 information...
Running as unit: run-u244.service
Finished with result: success
Main processes terminated with: code=exited/status=0
Service runtime: 2.011s
CPU time consumed: 2.334s
Checking gcc11 dependencies...
Resolving dependencies...
Checking inter-conflicts...
To build (2):
gcc11-libs 11.3.0-6 AUR
gcc11 11.3.0-6 AUR
Edit build files : [e]
Apply transaction ? [e/y/N] e
Cloning gcc11 build files...
Running as unit: run-u245.service
fatal: not a git repository (or any parent up to mount point /var/cache/private)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
Finished with result: exit-code
Main processes terminated with: code=exited/status=128
Service runtime: 6ms
CPU time consumed: 5ms
Running as unit: run-u246.service
Finished with result: success
Main processes terminated with: code=exited/status=0
Service runtime: 7ms
CPU time consumed: 7ms
Running as unit: run-u247.service
Finished with result: success
Main processes terminated with: code=exited/status=0
Service runtime: 1.848s
CPU time consumed: 43ms
Generating gcc11 information...
Running as unit: run-u248.service
Finished with result: success
Main processes terminated with: code=exited/status=0
Service runtime: 2.000s
CPU time consumed: 2.318s
Checking gcc11 dependencies...
Resolving dependencies...
Checking inter-conflicts...
To build (2):
gcc11-libs 11.3.0-6 AUR
gcc11 11.3.0-6 AUR
Edit build files : [e]
Apply transaction ? [e/y/N]
Are you 100% certain that you definitely must use this outdated version?
Please understand how the AUR works before using it. Generally, it is not supported.
The thing is when the I run pamac upgrade
it shows
Checking inter-conflicts...
Failed to prepare transaction:
could not satisfy dependencies:
- unable to satisfy dependency 'gcc11-libs=11.3.0-5' required by gcc11
I originally thought that I needed to upgrade gcc11, but after realizing that it was not possible, I deleted gcc11. Now, when I try to upgrade other packages, I receive this prompt, but there is no error message.
Cloning visual-studio-code-bin build files...
Failed to prepare transaction:
Failed to clone visual-studio-code-bin build files
This is again a package from the AUR.
Try to upgrade your system first and then the AUR packages.
pamac update --force-refresh --no-aur
pamac update --aur
If the Failed to clone ...
error still appears, you have to clear the build directory. (use the forum’s search function)
Thanks, I will try it later
Thanks, I have fix this problem using the terminal command.
This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.