IPRoute2 error on upgrade to Cassini

I am getting the below error when I tried upgrading to Cassini this morning:

error: could not open file /var/lib/pacman/local/iproute2-6.1.0-3/desc: No such file or directory
looking for conflicting packages...

Due to work, the last time I upgraded was back in October. Any help would be appreciated.

Try this:

sudo pacman -S --dbonly iproute2   
sudo pacman -Syu

No, here is the error:

❯ sudo pacman -S --dbonly iproute2
[sudo] password for neofax:
warning: iproute2-6.1.0-3 is up to date -- reinstalling
resolving dependencies...
looking for conflicting packages...
error: could not open file /var/lib/pacman/local/iproute2-6.1.0-3/desc: No such file or directory
warning: could not fully load metadata for package iproute2-6.1.0-3
error: failed to prepare transaction (invalid or corrupted package)

Try this:

sudo mv /var/lib/pacman/local/iproute2-6.1.0-3 ~/.
sudo pacman -Syu iproute2

Perfect! That fixed the problem.

1 Like

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