You are not logged in.

#1 2023-11-12 14:53:56

nectar
Member
Registered: 2023-11-11
Posts: 4

Pacman not updating packages, it's only showing there is nothing to do

Hello

I have the same problem as this guy: https://bbs.archlinux.org/viewtopic.php?id=289114 (In brief) But I will expand more details here in this post.

It's been a while since I didn't get any updates on my Arch Linux. Whenever I run "sudo pacman -Sy/yu/yyu" The only output coming is: there is nothing to do (Check Log No. 1)

But when I try to install a new program or package, it asks me to install updated packages, when I press yes to install them, it shows: "exists in the filesystem" (Check Log No. 2)
But using --overwrite "*" with the install command, it works, I have seen on the forum other users were saying this is not normal at all.

Here is the full log of "pacman -Syu --debug" - https://0x0.st/Hv-O.txt

I searched on the internet to solve this issue and tried many methods.

Things I tried:
1. Updated my mirrors many times, and tried the freshly updated links, but no luck. (Most of the people were suggesting this)
2. Renamed directories from /var/lib/pacman then ran command for update.
3. I deleted /var/cache/pacman/ directory's content. Then ran the update again.

Aur Helper I use:
1. Paru

Logs:
1. "sudo pacman -Syu" - https://0x0.st/HvoK.txt
1.1. "sudo pacman -Syu --debug" - https://0x0.st/Hv-O.txt
2. I tried to install "neovim" with paru - https://0x0.st/Hvo8.txt
3. Reflector status: https://0x0.st/Hvos.txt
4. /var/lib/pacman/local/ contents: https://0x0.st/HvoP.txt
5. Reflector config - https://0x0.st/HvoB.txt
6. Mirrorlist - https://0x0.st/HvoA.txt

Notes:
I may have deleted the local db, but I am not sure about this.

Been trying to fix this for a while. Finally, I am posting the issue here. Let me know if I have to add any other logs.
Thanks.

Offline

#2 2023-11-12 15:15:38

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,635

Re: Pacman not updating packages, it's only showing there is nothing to do

nectar wrote:

Notes:
I may have deleted the local db, but I am not sure about this.

Yes, it appears you did. pacman -Q should show all packages installed on your system, but from that debug output, it will only show a few.

See https://wiki.archlinux.org/title/Pacman … l_database

Offline

#3 2023-11-12 16:47:08

nectar
Member
Registered: 2023-11-11
Posts: 4

Re: Pacman not updating packages, it's only showing there is nothing to do

I followed the steps. After running that script 2 files were created, files.list is empty and pkglist.orig has lots of pkg names.
The next line of command didn't return anything. Then the next which used "comm" returned this - https://0x0.st/HvHK.txt (seems like error hmm)

Should I proceed to the next bash function?

EDIT:
Ah, it's not an error. The purpose of that code was to check if some important base packages were missing and add them to the list.
I don't have any missing base packages, so comm showed those outputs.

EDIT2:
Thanks, it worked.

Last edited by nectar (2023-11-12 18:18:20)

Offline

Board footer

Powered by FluxBB