You are not logged in.

#1 2012-03-22 00:00:04

jnor
Member
Registered: 2012-03-21
Posts: 13

Error when reinstalling libtool

Hello :-)

I get some errors I fail to understand:


sudo pacman -S libtool
warning: libtool-2.4.2-4 is up to date -- reinstalling
resolving dependencies...
looking for inter-conflicts...

Targets (1): libtool-2.4.2-4

Total Installed Size:   1.28 MiB

Proceed with installation? [Y/n]
(1/1) checking package integrity                                                                     [############################################################] 100%
(1/1) loading package files                                                                          [############################################################] 100%
(1/1) checking for file conflicts                                                                    [############################################################] 100%
error: failed to commit transaction (conflicting files)
libtool: /usr/bin/libtool exists in filesystem
libtool: /usr/bin/libtoolize exists in filesystem
libtool: /usr/share/aclocal/argz.m4 exists in filesystem
libtool: /usr/share/aclocal/libtool.m4 exists in filesystem
libtool: /usr/share/aclocal/ltdl.m4 exists in filesystem
libtool: /usr/share/aclocal/ltoptions.m4 exists in filesystem
libtool: /usr/share/aclocal/ltsugar.m4 exists in filesystem
libtool: /usr/share/aclocal/ltversion.m4 exists in filesystem
libtool: /usr/share/aclocal/lt~obsolete.m4 exists in filesystem
libtool: /usr/share/info/libtool.info-1.gz exists in filesystem
libtool: /usr/share/info/libtool.info-2.gz exists in filesystem
libtool: /usr/share/info/libtool.info.gz exists in filesystem
libtool: /usr/share/libtool/config/compile exists in filesystem
libtool: /usr/share/libtool/config/config.guess exists in filesystem
libtool: /usr/share/libtool/config/config.sub exists in filesystem
libtool: /usr/share/libtool/config/depcomp exists in filesystem
libtool: /usr/share/libtool/config/install-sh exists in filesystem
libtool: /usr/share/libtool/config/ltmain.sh exists in filesystem
libtool: /usr/share/libtool/config/missing exists in filesystem
libtool: /usr/share/man/man1/libtool.1.gz exists in filesystem
libtool: /usr/share/man/man1/libtoolize.1.gz exists in filesystem
Errors occurred, no packages were upgraded.

Offline

#2 2012-03-22 00:09:18

mcmillan
Member
Registered: 2006-04-06
Posts: 737

Re: Error when reinstalling libtool

Offline

#3 2012-03-22 00:10:34

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Error when reinstalling libtool

What's the output of

stat -c %s $(find /var/lib/pacman/local -name "libtool-*")/files

?
If it's '0' (zero) or you get an error saying there's no such file, you can try forcing the (re)installation of libtool.



Please use [ code ] tags for posting snippets of code.

like this

Last edited by karol (2012-03-22 00:15:35)

Offline

#4 2012-03-22 00:21:35

jnor
Member
Registered: 2012-03-21
Posts: 13

Re: Error when reinstalling libtool

Quick replys !

I see, that makes sense. Thank you for the link.

karol wrote:

What's the output of

stat -c %s $(find /var/lib/pacman/local -name "libtool-*")/files

?
If it's '0' (zero) or you get an error saying there's no such file, you can try forcing the (re)installation of libtool.



Please use [ code ] tags for posting snippets of code.

like this

The command returns "0"

Okay thanks for the tip, I will use the code tags from now on.

Last edited by jnor (2012-03-22 00:22:22)

Offline

#5 2012-03-22 00:24:52

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Error when reinstalling libtool

That means the metadata database got somehow corrupted. Did you suffer power outage, problems with your harddrive (or whatever you have your Arch installed on)?

Offline

Board footer

Powered by FluxBB