Topgrade: Backtrace Omitted Error

I have done a word search and do not find a solution.

I have issue when I use command: topgrade

Error is:

―― 9:15:46 - System update ―――――――――――――――――――――――――――――――――――――――――――――――――――― no new news System update failed: 0: Command failed: `/usr/bin/paru -Pw` 1: `/usr/bin/paru` failed: exit status: 1

Location:
src/steps/os/archlinux.rs:34

Backtrace omitted. Run with RUST_BACKTRACE=1 environment variable to display it.
Run with RUST_BACKTRACE=full to include source snippets.
Retry? (y)es/(N)o/(s)hell/(q)uit

I have try to solve with command: paru -S
Nothing I am doing is working. Is a veteran user able to help?

whats the output of

sudo pacman -Syu

Whats the output of

paru

This was happening to me a while (around 2-3 weeks) ago. Make sure you have the latest version of topgrade (10.2.2). A lot of things broke when there was a change of maintainer. But it’s mostly stable now.

I have the same issue with Topgrade involving .NET. For some reason even though in my case because of Emby and Sonarr I have the .NET 6.0 and 7.0 SDKs installed but Topgrade is still throwing that message. I have to think the issues are related and a Topgrade issue not a OS issue. One suggestion get rid of paru and use yay.

Topgrade version 10.2.2

.NET failed:
0: Command failed: `/usr/bin/dotnet tool list --global`

Stderr:
The command could not be loaded, possibly because:
* You intended to execute a .NET application:
The application 'tool' does not exist.
* You intended to execute a .NET SDK command:
No .NET SDKs were found.

Download a .NET SDK:
https://aka.ms/dotnet/download

Learn about SDK resolution:
https://aka.ms/dotnet/sdk-not-found
1: `/usr/bin/dotnet` failed: exit status: 145

Location:
src/steps/generic.rs:476

Backtrace omitted. Run with RUST_BACKTRACE=1 environment variable to display it.
Run with RUST_BACKTRACE=full to include source snippets.
Retry? (y)es/(N)o/(s)hell/(q)uit

Output of: sudo pacman -Syu

:: Synchronizing package databases... endeavouros 32.8 KiB 24.0 KiB/s 00:01 [----------------------] 100% core 152.5 KiB 105 KiB/s 00:01 [----------------------] 100% extra 1726.6 KiB 304 KiB/s 00:06 [----------------------] 100% community 7.2 MiB 499 KiB/s 00:15 [----------------------] 100% multilib 162.6 KiB 112 KiB/s 00:01 [----------------------] 100% :: Starting full system upgrade... :: Replace yad-eos with endeavouros/yad? [Y/n]

Output of: paru

:: Synchronizing package databases... endeavouros is up to date core is up to date extra is up to date community is up to date multilib is up to date :: Starting full system upgrade... :: Replace yad-eos with endeavouros/yad? [Y/n]

How are you doing topgrade 10.2.2? I thought topgrade upgrade itself each time you run it.

so both pacman and paru are working fine. So its just an issue with topgrade.

I’m not sure how to fix it. I don’t use topgrade. I use paru and pacman

@Locutus @B_N

Hello,
I had this last time twice too.

With “no” simply cancel this.
Wait for a while all needed data & dependencies are in the repository.
Try again till problem hopefully gone.


Edit:
Reinstall pacman -S topgrade … and make sure to clear the cache before packagebuild will start.


pacman & paru gives you hints:

Replace yad-eos with endeavouros/yad

do this


Another idea of mine (cause I don’t remember the solution of this problem anymore):
If you have 32-bit libs of mono installed, deinstall them:
yay -Ss mono
or
pacman -Ss mono


You also could try this

update your mirrorlist(s)

after that:
yay -Syyu
or
sudo pacman -Syyu


If that doesn’t help, try this too:

checkrebuild -v
sudo paccheck --md5sum --quiet
sudo pacman -Qqn | sudo pacman -S -

Best regards, Tm

P.S.
I’ve done the new update of topgrade this moment with no errors.

Looks like paru is working. Try to upgrade using that. The latest version is 10.2.4 now, btw.

I do this: paru

Then it ask

Replace yad-eos with endeavouros/yad? [Y/n]

I accept and do default until it ask I reboot.

I reboot, type: topgrade

It is working again.

Thank you sradjoker, Amadeus, Locutus, Tanzmusikus.

1 Like

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