You are not logged in.

#1 2008-09-14 22:21:21

imag1narynumber
Member
From: Connecticut
Registered: 2008-07-23
Posts: 56

libtasn1 error upon upgrading

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

#2 2008-09-14 22:40:04

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: libtasn1 error upon upgrading

It's a bug. It's already been reported: http://bugs.archlinux.org/task/11484

Offline

#3 2008-09-14 22:48:55

imag1narynumber
Member
From: Connecticut
Registered: 2008-07-23
Posts: 56

Re: libtasn1 error upon upgrading

Thanks, I'll have to check there in the future before posting here.

Offline

#4 2008-09-15 07:26:03

jarav
Member
Registered: 2008-09-04
Posts: 63

Re: libtasn1 error upon upgrading

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

#5 2008-09-15 08:10:26

Army
Member
Registered: 2007-12-07
Posts: 1,784

Re: libtasn1 error upon upgrading

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" wink

Last edited by Army (2008-09-15 08:10:39)

Offline

#6 2008-09-15 08:19:41

jarav
Member
Registered: 2008-09-04
Posts: 63

Re: libtasn1 error upon upgrading

Army wrote:

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" wink

Thank you. smile

Offline

#7 2008-09-15 08:19:49

byte
Member
From: Düsseldorf (DE)
Registered: 2006-05-01
Posts: 2,046

Re: libtasn1 error upon upgrading

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

#8 2008-09-15 09:14:03

jarav
Member
Registered: 2008-09-04
Posts: 63

Re: libtasn1 error upon upgrading

Aack. I already deleted it. Hope nothing happens.

Offline

#9 2008-09-15 09:39:41

[eXr]
Member
From: Vigo, Spain
Registered: 2008-06-20
Posts: 12
Website

Re: libtasn1 error upon upgrading

byte wrote:

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 smile


@nachoexr

Offline

#10 2008-09-15 17:06:07

m_kylli
Member
Registered: 2008-07-07
Posts: 8

Re: libtasn1 error upon upgrading

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

#11 2008-09-15 17:40:28

byte
Member
From: Düsseldorf (DE)
Registered: 2006-05-01
Posts: 2,046

Re: libtasn1 error upon upgrading

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

#12 2008-09-15 20:33:50

mangus
Member
From: Bologna, Italy
Registered: 2007-04-07
Posts: 289

Re: libtasn1 error upon upgrading

yeah, but who owns /usr/share/info/dir originally? who generate it?

Offline

#13 2008-09-15 20:40:32

byte
Member
From: Düsseldorf (DE)
Registered: 2006-05-01
Posts: 2,046

Re: libtasn1 error upon upgrading

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

#14 2008-09-16 01:42:29

keerthi
Member
Registered: 2007-11-18
Posts: 95

Re: libtasn1 error upon upgrading

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

#15 2008-09-16 01:56:50

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,414
Website

Re: libtasn1 error upon upgrading

There is an updated version of libtasn1 on its way to a mirror near you.  That should fix it...

Offline

Board footer

Powered by FluxBB