You are not logged in.

#1 2018-07-28 08:05:18

archlinuxforever
Member
Registered: 2015-06-18
Posts: 83

Error: "geoclue2: /usr/lib/geoclue exists in filesystem"

Hi

Yesterday I tried to upgrade the whole system with

$ sudo pacman -Suy --overwrite usr/lib/libutf8proc.so.2

As the Home says and I got this error:

error: failed to commit transaction (conflicting files)
geoclue2: /usr/lib/geoclue exists in filesystem

Then, after some tries and search on the forums I run this command:

sudo mv /usr/lib/geoclue /usr/lib/geoclue.original

And the upgrade worked fine. I thougth that directory was garbage, but today I realized that this directory is from the package geoclue (is installed).

So, there is a problem with the packages geoclue and geoclue2. I tried to uninstall geoclue and it work fine, but it deleted the file /usr/lib/geoclue, so I need to install again the package geoclue2 to restore all files deleted by uninstall the package geoclue.

$ LC_ALL=C pacman -Qi geoclue
Name            : geoclue
Version         : 0.12.99-2
Description     : Modular geoinformation service built on the D-Bus messaging system.
Architecture    : x86_64
URL             : http://geoclue.freedesktop.org/
Licenses        : LGPL
Groups          : None
Provides        : None
Depends On      : dbus-glib  libxml2  dconf
Optional Deps   : networkmanager: geolocation [installed]
                  libsoup-gnome: Skyhook location provider
Required By     : None
Optional For    : None
Conflicts With  : None
Replaces        : None
Installed Size  : 830.00 KiB
Packager        : Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>
Build Date      : Mon Jun 30 20:44:35 2014
Install Date    : Sun Jan 3 23:09:16 2016
Install Reason  : Installed as a dependency for another package
Install Script  : Yes
Validated By    : Signature
$ LC_ALL=C pacman -Qi geoclue2
Name            : geoclue2
Version         : 2.4.10-1
Description     : Modular geoinformation service built on the D-Bus messaging system
Architecture    : x86_64
URL             : https://www.freedesktop.org/wiki/Software/GeoClue/
Licenses        : LGPL
Groups          : None
Provides        : None
Depends On      : libsoup  json-glib  libmm-glib  avahi  libnotify
Optional Deps   : None
Required By     : empathy  gnome-clocks  gnome-maps  gnome-settings-daemon  gnome-weather  webkit2gtk  webkitgtk  webkitgtk2
Optional For    : None
Conflicts With  : None
Replaces        : None
Installed Size  : 1160.00 KiB
Packager        : Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>
Build Date      : Sun Jul 15 22:27:14 2018
Install Date    : Fri Jul 27 22:09:49 2018
Install Reason  : Installed as a dependency for another package
Install Script  : No
Validated By    : Signature

I get this errors reinstalling geoclue2 (sorry, I forgot to run it with LC_AL=C):

$ sudo pacman -S geoclue2
advertencia: geoclue2-2.4.10-1 está actualizado -- reinstalándolo
resolviendo dependencias...
buscando conflictos entre paquetes...

Paquetes (1) geoclue2-2.4.10-1

Tamaño total de la instalación:  1,13 MiB
Tamaño neto tras actualizar:    0,00 MiB

:: ¿Continuar con la instalación? [S/n] 
(1/1) comprobando las claves del depósito                                            [################################################] 100%
(1/1) verificando la integridad de los paquetes                                      [################################################] 100%
(1/1) cargando los archivos de los paquetes                                          [################################################] 100%
(1/1) comprobando conflictos entre archivos                                          [################################################] 100%
(1/1) comprobando el espacio disponible en el disco                                  [################################################] 100%
advertencia: no se pudo obtener información del archivo usr/lib/geoclue
advertencia: no se pudo obtener información del archivo usr/share/gtk-doc/html/geoclue/geoclue.devhelp2
advertencia: no se pudo obtener información del archivo usr/share/gtk-doc/html/geoclue/home.png
advertencia: no se pudo obtener información del archivo usr/share/gtk-doc/html/geoclue/index.html
advertencia: no se pudo obtener información del archivo usr/share/gtk-doc/html/geoclue/left.png
advertencia: no se pudo obtener información del archivo usr/share/gtk-doc/html/geoclue/right.png
advertencia: no se pudo obtener información del archivo usr/share/gtk-doc/html/geoclue/style.css
advertencia: no se pudo obtener información del archivo usr/share/gtk-doc/html/geoclue/up.png
:: Procesando los cambios de los paquetes...
(1/1) reinstalando geoclue2                                                          [################################################] 100%
:: Ejecutando los «hooks» de posinstalación...
(1/3) Reloading system manager configuration...
(2/3) Arming ConditionNeedsUpdate...
(3/3) Updating the desktop file MIME type cache...
$

I don't know why the package geoclue wasn't uninstalled before install the package geoclue2. This could be the problem.

So, if someone has this error must uninstall the package geoclue first to avoid it. Correct admin?

Last edited by archlinuxforever (2018-07-28 08:10:11)

Offline

#2 2018-07-28 09:07:56

loqs
Member
Registered: 2014-03-06
Posts: 17,410

Offline

#3 2018-07-28 13:24:49

archlinuxforever
Member
Registered: 2015-06-18
Posts: 83

Re: Error: "geoclue2: /usr/lib/geoclue exists in filesystem"

Thanks a lot.

I didn't know that I need to check for orphans after system upgrade.

Offline

Board footer

Powered by FluxBB