You are not logged in.
I just ran yaourt -Syu and got the following error after the updates were downloaded:
error: could not prepare transaction
error: failed to commit transaction (conflicting files)
libtasn1: /usr/share/info/dir exists in filesystem
Any ideas? Is this a generic error that I should've been able to find via Google? Thanks in advance!
Offline
It's a bug. It's already been reported: http://bugs.archlinux.org/task/11484
Offline
Thanks, I'll have to check there in the future before posting here.
Offline
same problem here. So what do i do? wait for the bug to be resolved? Any workarounds, such as deleting the /usr/share/info/dir file? I am a newbie to Arch.
Offline
I removed it. But before I do that, I always check, if this file belongs to another package. If so, I would look into the bugtracker, report it if not already present and wait for the fix. If not, it should be safe to remove it. You can check that with
pacman -Qo /usr/share/info/dir
-o is for "owns"
Last edited by Army (2008-09-15 08:10:39)
Offline
I removed it. But before I do that, I always check, if this file belongs to another package. If so, I would look into the bugtracker, report it if not already present and wait for the fix. If not, it should be safe to remove it. You can check that with
pacman -Qo /usr/share/info/dir
-o is for "owns"
Thank you.
Offline
You just wait, yes. Or --ignore libtasn1. Should be only gnutls depending on it.
You shouldn't go deleting stuff without knowing what it's being used for. You just ruined the 'info' subsystem, for example.
Last edited by byte (2008-09-15 08:23:27)
1000
Offline
Aack. I already deleted it. Hope nothing happens.
Offline
You just wait, yes. Or --ignore libtasn1. Should be only gnutls depending on it.
You shouldn't go deleting stuff without knowing what it's being used for. You just ruined the 'info' subsystem, for example.
thank you for the tip
@nachoexr
Offline
I backed up the old dir-file:
sudo mv /usr/share/info/dir /usr/share/info/dir.bak
Then I updated libtasn1:
sudo pacman -S libtasn1
Then I restored the old dir-file:
sudo rm /usr/share/info/dir
sudo mv /usr/share/info/dir.bak /usr/share/info/dir
And finally I installed libtasn1's info info into the old dir-file:
sudo install-info /usr/share/info/libtasn1.info /usr/share/info/dir
Offline
m_kylli: Yeah, perfect.
And as of now there's even a fixed libtasn1-1.5-2 package out, at least for 64bit. i686 should follow shortly. :]
1000
Offline
yeah, but who owns /usr/share/info/dir originally? who generate it?
Offline
Nothing owns it. It's a dynamically generated listing (see /var/lib/pacman/local/libtasn1-1.5-2/install), like the locate database (/etc/cron.daily/updatedb) or the whatis index (/etc/cron.daily/whatis).
1000
Offline
I force installed libtasn1 using pacman -Sf libtasn1. Now pacman -Qo /usr/share/info/dir says that it is owned by libtasn1. How do I reverse this damage? Thanks.
Offline
There is an updated version of libtasn1 on its way to a mirror near you. That should fix it...
Offline