You are not logged in.
Hi,
While installing pacma with pacman -S pacman, the system show :
...
pacman: /usr/share/man/man8/repo-add.8.gz exists in filesystem
pacman: /usr/share/man/man8/repo-remove.8.gz exists in filesystem
pacman: /usr/share/man/man8/vercmp.8.gz exists in filesystem
pacman: /usr/share/pacman/PKGBUILD-split.proto exists in filesystem
pacman: /usr/share/pacman/PKGBUILD-vcs.proto exists in filesystem
pacman: /usr/share/pacman/PKGBUILD.proto exists in filesystem
pacman: /usr/share/pacman/proto.install exists in filesystem
pacman: /usr/share/pkgconfig/libmakepkg.pc exists in filesystem
pacman: /usr/share/zsh/site-functions/_pacman exists in filesystem
Errors occurred, no packages were upgraded.How to force pacman reinstall ?
System update with pacman -Syyu, still show :
:: Synchronizing package databases...
core is up to date
extra is up to date
community is up to date
:: Starting full system upgrade...
there is nothing to doThis is the same since few weeks. What's wrong on the system ?
Thx
Last edited by ruddy32 (2021-03-13 20:28:39)
Offline
Offline
Mod note: Not an installation issue, moving to NC
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline
The problem is with all packages files. Pacman is not able to list installed packaged.
After running
pacman -S pacman --overwrite '*'the following command
pacman -Qqereturn
pacmanI was using Yay to manage package updates. Is it a bad practice?
Is there a way to list installed packages without pacman?
As I understand, installed packages are available in /var/lib/pacman/local/, right?
This directory list only last installed packages (pacman and its dependencies)
Last edited by ruddy32 (2021-03-13 09:54:36)
Offline
Do you remember doing something funky with your pacman local database?
Because it seems you obliterated it somewhere before this issue pooped up...
There are no “easy” solutions for this since you now must reinstall everything you had previously...
Last edited by GaKu999 (2021-03-13 18:35:46)
Offline
One time there were a missing disk space while updating system. Maybe running a bad command to cleanup system ![]()
I retrieve all installed package using pacman.log.
grep -i '\[ALPM\] installed' /var/log/pacman.log | cut -d ' ' -f 5 | grep -v '(' > packlist
grep -i '\[ALPM\] installed' /var/log/pacman.log | cut -d ' ' -f 4 | grep -v 'installed' >> packlist
sort packlist | uniq > packlistOffline
While I don't believe yay did this, it is generally good practice to use pacman to manage local packages, because you'll never know what a pacman wrapper does while you're not looking. This is (as far as I know) one of the reasons why pacman wrappers will never™ be added to the official repositories.
As a sidenote, you don't need sort|uniq, because of sort -u.
Offline
If you ever also removed packages, they'll be re-added this way.
https://wiki.archlinux.org/index.php/Pa … l_database
Offline
Thx seth. This works fine.
Offline