Cant update - error: could not open file /var/lib/pacman/local/geos-3.7.0-1/desc

#1

Hello,

This is what I do:

sudo pacman -Syu
:: Synchronizing package databases...
 core is up to date
 extra is up to date
 community is up to date
 multilib is up to date
:: Starting full system upgrade...
error: could not open file /var/lib/pacman/local/geos-3.7.0-1/desc: No such file or directory
warning: lib32-systemd: local (239.303-1) is newer than multilib (239.6-2)
warning: libsystemd: local (239.303-1) is newer than core (239.6-2)
warning: systemd: local (239.303-1) is newer than core (239.6-2)
warning: systemd-sysvcompat: local (239.303-1) is newer than core (239.6-2)
resolving dependencies...
looking for conflicting packages...
warning: could not fully load metadata for package geos-3.7.0-1
error: failed to prepare transaction (invalid or corrupted package)

The unusual error is: error: could not open file /var/lib/pacman/local/geos-3.7.0-1/desc: No such file or directory

I also tried without success:

sudo pacman -S archlinux-keyring manjaro-keyring
sudo pacman-key --populate archlinux manjaro
sudo pacman-key --refresh-keys

What can I do to fix it?
Thanks.

Problema para actualizar el sistema
#2

Follow the logic from here:


in your case, at the end, you will have to run:
sudo pacman -Sy geos

1 Like
#3

From where do i copy the missing desc file if its not in /var/lib/pacman/local/geos-3.7.0-1/ ?
Only the mtree zip is there.

#4

As described by @Fabish - from another package … for instance from /var/lib/pacman/local/alsa-plugins-1.1.7-3/

#5

Thanks. I also had to copy files and now i’m upgrading my apps again.

#7

Hmm, now i get thess errors after it downloaded the apps:

(46/46) checking keys in keyring                   [######################] 100%
(46/46) checking package integrity                 [######################] 100%
(46/46) loading package files                      [######################] 100%
(46/46) checking for file conflicts                [######################] 100%
error: failed to commit transaction (conflicting files)
geos: /usr/bin/geos-config exists in filesystem
geos: /usr/include/geos.h exists in filesystem
Errors occurred, no packages were upgraded.

What to do next?

#8

Follow this:

3 Likes
#9

Thanks again. Now it worked. I moved the files and the upgrade completed.

1 Like
closed #10

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