You are not logged in.
Hi all:
I had some kind of error doing a full system upgrade on Tuesday and restored a Timeshift backup of my root partition from Monday.
Since then my entire system is full of "exists in filesystem" errors in pacman. I've been deleting these one by one, and that works, but I expect I'll continue to have this problem likely for every package installed on my machine that Timeshift touched. Not sure why my install is having problems with Timeshift either - I've restored these backups before with no issues. In that regard Timeshift actually made the original problem, busted pipewire audio after upgrading to 6.7, worse.
The wiki mentions
pacman -S --overwrite glob package as a solution. I don't understand this "glob" variable - what do I put here? Name of the file to be overwritten doesn't work for me, nor does the package name.
Thanks!
Last edited by finnblue8 (2024-01-18 22:07:15)
Offline
https://en.wikipedia.org/wiki/Glob_(programming)
But not with
Since then my entire system is full of "exists in filesystem" errors in pacman
sudo LC_ALL=C pacman -Qkk 2>&1 | grep -v ', 0 altered files' > /tmp/imlost.txt
cat /tmp/imlost.txt | curl -F 'file=@-' 0x0.stMost likely the package database got corrupted in which case you want to re-install all packages as --dbonly first (technically only those with broken mtrees) and then run a proper update.
Online
Thanks for your reply.
I did
pacman -Qnq | pacman -S - --overwrite '*' which appears to have fixed it by merely reinstalling the system - so not really what I was initially asking about, but it only took a few minutes. My system is up-to-date for now, so we'll see if things revert to having problems tomorrow.
Any idea why Timeshift would have borked things like this? This is a 2-year-old install that has operated pretty much without incident since the GRUB kerfuffle a year or so ago. I haven't needed to use a backup in ages.
I did try the restore from a Linux Mint USB to have a desktop environment, if Mint makes a difference - though I believe I recall using Mint with no problems before...
Offline
That wasn't a very smart approach:
https://wiki.archlinux.org/title/Pacman … )%22_error
Warning: Generally avoid using the --overwrite switch. See System maintenance#Avoid certain pacman commands.
and you passed the general match to all packages…
We don't even know what happened and we won't since you steamrolled over the place.
Please always remember to mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.
Online