You are not logged in.

#1 2008-09-15 06:14:37

drum
Member
From: Australia
Registered: 2007-04-06
Posts: 128

libtasn1 makes d/l of gnome fail on new install SOLVED

I understand there is a bug report on libtasn1 but I am installing Arch on a new box and
got as far as d/loading gnome and gnome-extra. At the end of the 400 or so mb and it said it failed because of libtasn1.
What is the best way round this so I can finish the install?
Thanks for any help
Regards

Last edited by drum (2008-09-15 12:07:28)


bebop lives

Offline

#2 2008-09-15 08:12:21

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

Re: libtasn1 makes d/l of gnome fail on new install SOLVED

Offline

#3 2008-09-15 08:28:13

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

Re: libtasn1 makes d/l of gnome fail on new install SOLVED

Delete /usr/share/info/dir, it'll get recreated during the installation of libtasn1.


1000

Offline

#4 2008-09-15 08:51:26

drum
Member
From: Australia
Registered: 2007-04-06
Posts: 128

Re: libtasn1 makes d/l of gnome fail on new install SOLVED

Thanks byte,
the problem is, it's not there to delete yet.

"usr/share/info/dir" : not found in local db

All I have installed so far is xorg and I'm trying to get gnome but gnome won't install.
I suppose I'll have to wait till the bug is fixed.
I don't profess to be much more than a noob to do much else.
big_smile


bebop lives

Offline

#5 2008-09-15 08:56:11

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

Re: libtasn1 makes d/l of gnome fail on new install SOLVED

It's a simple file, use rm.


1000

Offline

#6 2008-09-15 09:04:37

drum
Member
From: Australia
Registered: 2007-04-06
Posts: 128

Re: libtasn1 makes d/l of gnome fail on new install SOLVED

Tried that too but same error came up
I did an updatedb first
smile


bebop lives

Offline

#7 2008-09-15 09:10:58

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

Re: libtasn1 makes d/l of gnome fail on new install SOLVED

What is the exact pacman output? Is libtasn1 conflicting with another package or is it complaining that the file is already on the system?

Offline

#8 2008-09-15 09:42:45

drum
Member
From: Australia
Registered: 2007-04-06
Posts: 128

Re: libtasn1 makes d/l of gnome fail on new install SOLVED

OK
pacman -Rm /usr/share/info/dir

/usr/share/info/dir not found, searching for group..... error: "usr/share/info/dir" : not found in local db

I hope this helps
thanks


bebop lives

Offline

#9 2008-09-15 09:49:45

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

Re: libtasn1 makes d/l of gnome fail on new install SOLVED

The file already exists.

binutils, gcc, glibc, gmp, libidl2, libtool, mpfr and nano are the packages on my system that install .info files, which also means registering them in the dir file (see /usr/share/pacman/proto-info.install). After options=(docs) became default in makepkg.conf not that long ago, we'll probably see this issue for quite some time to come.

I should take back my advice to delete the file. While it's a workaround to install the package, it also means the file will get registered as belonging to a package (which it shouldn't), and that also means it'll get removed (again) once the package gets fixed.
The .install stuff in packages with .info docs might fix the (re)creation of the index, but all other entries will be lost.
Is there no way to recreate a full index?

Last edited by byte (2008-09-15 09:51:53)


1000

Offline

#10 2008-09-15 09:49:58

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

Re: libtasn1 makes d/l of gnome fail on new install SOLVED

Um, that won't work....

What I asked was, when you do "pacman -S gnome" what is the output.  Anyway, I don't think that matters give what you were trying with pacman.

What byte suggested was "rm /usr/share/info/dir".  It removes your info database which isn't too bad...  Better to back it up then restore it afterwards.

Offline

#11 2008-09-15 09:50:35

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

Re: libtasn1 makes d/l of gnome fail on new install SOLVED

drum:Forget it, okay? Just wait. And read up on basic unix file commands in the meantime.

Last edited by byte (2008-09-15 09:53:07)


1000

Offline

#12 2008-09-15 09:51:46

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

Re: libtasn1 makes d/l of gnome fail on new install SOLVED

byte wrote:

Is there no way to recreate a full index?

You can try (untested at my end)

install-info /usr/share/info/* /usr/share/info/dir

Offline

#13 2008-09-15 10:50:57

drum
Member
From: Australia
Registered: 2007-04-06
Posts: 128

Re: libtasn1 makes d/l of gnome fail on new install SOLVED

I'm trying to understand your advice guys.
The result of pacman -S gnome   is
error: could not prepare transaction
error: failed to commit transaction (conflicting files)
libtasn1: /usr/share/info/dir exists in filesystem
errors occurred, no packages were upgraded.

I've been using Arch for 2 years with great success and installed on quite few boxes and laptops
I've never had this problem before and I bow to your greater knowledge and hope for your patience.
Thanks:)


bebop lives

Offline

#14 2008-09-15 11:28:08

ShIfT
Member
Registered: 2008-08-20
Posts: 2

Re: libtasn1 makes d/l of gnome fail on new install SOLVED

drum,

1. rm /usr/share/info/dir
2. pacman -S gnome

done!

Offline

#15 2008-09-15 12:06:45

drum
Member
From: Australia
Registered: 2007-04-06
Posts: 128

Re: libtasn1 makes d/l of gnome fail on new install SOLVED

1. rm /usr/share/info/dir
2. pacman -S gnome

Hi ShIfT,
Great thanks mate
that did the trick
My apologies to everyone for not understanding that in the first place.
Now I have my gnome desktop on my newly built box.
Like I said, I've been running Arch for 2 years and never found a distro that satisfies me as much.
Great forum too. I'm learning  wink


bebop lives

Offline

#16 2008-09-15 12:28:27

foutrelis
Developer
From: Athens, Greece
Registered: 2008-07-28
Posts: 705
Website

Re: libtasn1 makes d/l of gnome fail on new install SOLVED

ShIfT wrote:

drum,

1. rm /usr/share/info/dir
2. pacman -S gnome

done!

How about we stop suggesting people to remove that file so that the package will install? That's just an ugly workaround.

From what I understand, no package should ship that file. Instead, it should copy its foo.info file in /usr/share/info and then install it as shown in /usr/share/pacman/proto-info.install.

byte wrote:

Is there no way to recreate a full index?

I found a way which is described here:

cd /usr/share/info
rm dir
for f in *; do
    install-info $f dir 2>/dev/null
done

Offline

#17 2008-09-15 16:38:04

ShIfT
Member
Registered: 2008-08-20
Posts: 2

Re: libtasn1 makes d/l of gnome fail on new install SOLVED

foutrelis wrote:
ShIfT wrote:

drum,

1. rm /usr/share/info/dir
2. pacman -S gnome

done!

How about we stop suggesting people to remove that file so that the package will install? That's just an ugly workaround.

Isn't if we can rebuild it.

Offline

Board footer

Powered by FluxBB