[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: debconf error



L.V.Gandhi wrote:

While configuring debconf I opted for kde. But when I configure any
package now I get the following error.
debconf: unable to initialize frontend: Kde
debconf: (Can't locate Qt.pm in @INC (@INC contains: /etc/perl
/usr/local/lib/perl/5.8.4 /usr/local/share/perl/5.8.4 /usr/lib/perl5
/usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8
/usr/local/lib/site_perl .) at
/usr/share/perl5/Debconf/FrontEnd/Kde/Wizard.pm line 7, <> line 1.)
debconf: falling back to frontend: Dialog
From where to get Qt.pm. I am running debian sarge in dell inspiron 600m.

Hello,

For answers to this sort of question ("What package contains file X?") there are two good sources of information. I wish they were more widely known so the frequency of this question was reduced.

The first is http://packages.debian.org - go there, scroll to the bottom of the page, and fill out the form "Search the contents of packages". Make sure to select your correct distribution and architecture. Going here, for i386 unstable, I find that Qt.pm is in the libqt-perl package.

The second is to install the apt-file package, run "apt-file update" as root, and then (can be as a normal user) run "apt-file search filename" with filename being the name of the desired file.

A third method is to run "dpkg -S filename" but this only works if the package containing filename is already installed on your computer.

Note that none of these methods will be able to find files (usually in /var or /etc) that are created dynamically upon package installation; /etc/ssh/ssh_host_rsa_key.pub is an example of such a file. You may be able to find creators of some of these files by grepping for the filename in /var/lib/dpkg/info where the package installation and removal scripts are stored. I believe there is work on dpkg ongoing that will eventually fix this deficiency.

regards,

--
Kevin B. McCarty <kmccarty@princeton.edu>   Physics Department
WWW: http://www.princeton.edu/~kmccarty/    Princeton University
GPG: public key ID 4F83C751                 Princeton, NJ 08544



Reply to: