Apt-get :: apt-get firefox



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

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.

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.
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

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

Next Page...
original here.