apt-get firefox


Forum: Apt-get
Topic: apt-get firefox
started by: freeballer

Posted by freeballer on Aug. 30 2004,02:05
I wanted to remaster .80 dsl with a few additional apps (eg. bittorrent, firefox, xchat,gaim,gftp,pan) cause I have a few 200mb mini-cds.
I extracted the compressed loopback  file system to my hd and chrooted to it. I restored the dpkg structure and changed it to testing.. and updated apt-get.
when trying to apt-get firefox, I get an error message that seems to be a problem with pango but being relatively new to linux and debian I don't know howto fix it


Setting up perl (5.8.4-2) ...

Setting up defoma (0.11.8-0.1) ...

Setting up libpango1.0-common (1.4.1-2) ...
Updating the modules list for Pango-1.4.0.../usr/bin/pango-querymodules: error w                                                                                      hile loading shared libraries: libXft.so.2: cannot open shared object file: No s                                                                                      uch file or directory
dpkg: error processing libpango1.0-common (--configure):
subprocess post-installation script returned error exit status 127
dpkg: dependency problems prevent configuration of libpango1.0-0:
libpango1.0-0 depends on libpango1.0-common (>= 1.4.1-2); however:
 Package libpango1.0-common is not configured yet.
dpkg: error processing libpango1.0-0 (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libgtk2.0-bin:
libgtk2.0-bin depends on libpango1.0-0 (>= 1.4.0); however:
 Package libpango1.0-0 is not configured yet.
dpkg: error processing libgtk2.0-bin (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libgtk2.0-0:
libgtk2.0-0 depends on libpango1.0-0 (>= 1.4.0); however:
 Package libpango1.0-0 is not configured yet.
dpkg: error processing libgtk2.0-0 (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of mozilla-firefox:
mozilla-firefox depends on libgtk2.0-0 (>= 2.4.1); however:
 Package libgtk2.0-0 is not configured yet.
mozilla-firefox depends on libpango1.0-0 (>= 1.4.0); however:
 Package libpango1.0-0 is not configured yet.
dpkg: error processing mozilla-firefox (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
libpango1.0-common
libpango1.0-0
libgtk2.0-bin
libgtk2.0-0
mozilla-firefox
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@ttyp0[/]#


I would appreciate the help, this error will not allow me to install anything I wanted to remaster dsl.
I've tried both testing and unstable but they don't seem to work.
thanks for your time
Freeballer

Posted by cbagger01 on Aug. 30 2004,03:16
It sounds like the pango-querymodules script/program is having trouble finding the libXft.so.2 file.

For DSL version 0.8, this file exists in the /usr/X11R6/lib/ directory.  Try creating a few symlinks back to this file and place the simlinks in other lib folders like /usr/lib and /lib

Then re-run Synaptic installation of the packages and see if it works this time.

Good Luck.

Posted by zepster on Aug. 31 2004,03:00
I am having the same problem!  I see your answer but am a total newbie to anything Linux so I'm wondering if you could translate that solution into idiot steps so I can fix mine too.
Posted by cbagger01 on Aug. 31 2004,05:28
OK,

Open up an xterm and type in:

sudo emelfm

When the emelfm window opens up, use the left window page to navigate to the
/usr/X11R6/lib  directory.
Use the right pane to navigate to the /lib directory.

Highlight the file named "libXft.so.2" in the left pane.

Press the "Symlink button".

In the right pane, navigate to the /usr/lib directory and repeat the process... etc..


You also might be able to find out where the program expects the file to be located by typing:

ldd /usr/bin/pango-querymodules

Good Luck

Posted by DonttPanic on Sep. 01 2004,12:08
I believe you need an older version of firefox. The version you were getting required GTK 2.0. DSL has GTK 1.2

Also, it looks like you'll need the pango libs.

Unfortunately, I dont know how to get or update that stuff

Have fun :D

Posted by freeballer on Sep. 04 2004,03:34
I was not  able to find libXft.so.2 in the directory you specified ("/usr/X11R6/lib")

Trying to setup updatedb/slocate I get an error:
/usr/bin/updatedb: line 142 /usr/lib/locaate/frcode: no such file or directory
and "find" gives me alot of "find: /proc/1238/fd: permission denied" errors

I obviously wanted to use it to find the file so that I can symlink it to the directories where the other pango modules were located.

Does anybody know how  this can  be fixed? And/or where to find the files to symlink?
Thanks

Posted by cbagger01 on Sep. 04 2004,17:32
Hmm..

I have this file in this location.

Maybe it is because I install some other extension like Opera or something. I'll double-check with a bootup of DSL with command "dsl base".

As for the update/find thingie, I think that you need to install the GNU utils extension in order for them to work properly.

Powered by Ikonboard 3.1.2a
Ikonboard © 2001 Jarvis Entertainment Group, Inc.