You are not logged in.
I first noticed the problem weeks ago when I updated the pacman mirrorlist due to some issues. Mostly when I would update or install something, it would give a list of 'File already exist in the filesystem' error and I thought it was normal so I would overwrite the changes with '--overwrite "*" ' option. Now I'm concerned by the thing that the
pacman -Syu
command won't update the packages automatically and would give the 'Nothing to do' message. For the applications, it wouldn't give the updates or even 'the package is already installed. reinstalling.." warning message. The best I could do is manually install the application with
pacman -S <package-name>
command and overwrite the existing files. This really seems to be a concern. Help is much appreciated!
Last edited by werewolf_65 (2021-12-21 03:55:04)
Offline
Don't post screenshots of text output, paste the actual text.
Change your miror.
Offline
What does `pacman -Q` list?
Offline
Don't post screenshots of text output, paste the actual text.
Change your miror.
The screenshot is just to show an example that linux-lts hasn't been updated. (Thought it'd be clearer this way)
And yes I changed my mirror but didn't solve the problem.
Offline
What does `pacman -Q` list?
Offline
jasonwryan wrote:Don't post screenshots of text output, paste the actual text.
Change your miror.
The screenshot is just to show an example that linux-lts hasn't been updated. (Thought it'd be clearer this way).
It's not clearer: it's harder to read and it is a waste of bandwidth: fix it. https://wiki.archlinux.org/title/Genera … s_and_code
Offline
It's not clearer: it's harder to read and it is a waste of bandwidth: fix it. https://wiki.archlinux.org/title/Genera … s_and_code
Ok fixed it.
Offline
You don't have a kernel in pacman's db?! Please paste the output, in full, of `pacman -Syu --debug` (use code tags or a paste service).
Offline
I first noticed the problem weeks ago when I updated the pacman mirrorlist due to some issues.
What issues? Which mirror?
Mostly when I would update or install something, it would give a list of 'File already exist in the filesystem' error and I thought it was normal so I would overwrite the changes with '--overwrite "*" ' option.
Nope, that's not normal at all. You somehow lost your local database which tracks the installed files. The fact that your posted package list lacks the "linux" package or another kernel is problematic.
When you were having trouble with the mirrorlist, did you remove /var/lib/pacman/local while trying to force it to refresh the databases?
My Arch Linux Stuff • Forum Etiquette • Community Ethos - Arch is not for everyone
Offline
Everything that pacman lists as installed appears up to date. But some packages that are installed are not registering in pacman's db. This is in line with the reported previous symptom(s):
Mostly when I would update or install something, it would give a list of 'File already exist in the filesystem' error and I thought it was normal so I would overwrite the changes with '--overwrite "*" ' option.
This does not seem likely to be the result of a one-off error that corrupted the db, but rather a recurring issue with it. The most likely cause of this would likely be a bad / failing disk ... but generally there'd be other obvious signs of problems if this were the case. Either way, have you ran a SMART test on the drive?
"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" - Richard Stallman
Offline
You don't have a kernel in pacman's db?! Please paste the output, in full, of `pacman -Syu --debug` (use code tags or a paste service).
Offline
werewolf_65 wrote:I first noticed the problem weeks ago when I updated the pacman mirrorlist due to some issues.
What issues? Which mirror?
werewolf_65 wrote:Mostly when I would update or install something, it would give a list of 'File already exist in the filesystem' error and I thought it was normal so I would overwrite the changes with '--overwrite "*" ' option.
Nope, that's not normal at all. You somehow lost your local database which tracks the installed files. The fact that your posted package list lacks the "linux" package or another kernel is problematic.
When you were having trouble with the mirrorlist, did you remove /var/lib/pacman/local while trying to force it to refresh the databases?
Now I remember. I think I deleted /var/lib/pacman/local when I faced the first mirror problem. It was in the global mirror , I think 'evowise'. I believe it was out of sync or something and pacman updates weren't working. Then, I searched to update the best mirrors and later relied on reflector to do the job. Now, after getting this error, I deleted reflector and manually assigned the mirrors again. (closer to my region )
Offline
Everything that pacman lists as installed appears up to date. But some packages that are installed are not registering in pacman's db. This is in line with the reported previous symptom(s):
werewolf_65 wrote:Mostly when I would update or install something, it would give a list of 'File already exist in the filesystem' error and I thought it was normal so I would overwrite the changes with '--overwrite "*" ' option.
This does not seem likely to be the result of a one-off error that corrupted the db, but rather a recurring issue with it. The most likely cause of this would likely be a bad / failing disk ... but generally there'd be other obvious signs of problems if this were the case. Either way, have you ran a SMART test on the drive?
No i haven't run the test. But, I had to do a fsck on my /home disk recently.
Last edited by werewolf_65 (2021-12-21 02:12:55)
Offline
Ah, you can forget the drive issue suggestion - if you deleted the whole database directory, that'd explain all the symptoms much more cleanly ... I just assumed one would have mentioned such a drastic measure.
"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" - Richard Stallman
Offline
Ah, you can forget the drive issue suggestion - if you deleted the whole database directory, that'd explain all the symptoms much more cleanly ... I just assumed one would have mentioned such a drastic measure.
Thanks a bunch. My bad for not realizing this. Have a good day everyone!
Offline
For future reference, if you want to force pacman to refresh the downloaded sync databases, you can run "pacman -Syyu".
My Arch Linux Stuff • Forum Etiquette • Community Ethos - Arch is not for everyone
Offline
For future reference, if you want to force pacman to refresh the downloaded sync databases, you can run "pacman -Syyu".
Sure!
Offline