cnf does not work

Hi! I have the cnf utility not working. What should I do to restore functionality?

$ cnf cnf

Program 'cnf' is present in package 'command-not-found', which is installed on your system.

Absolute path to 'cnf' is '/usr/bin/cnf'. Please check your $PATH variable to see whether it contains the mentioned path.

Maybe it’s not installed on your system?

It is installed but reports the same answer always, such as:

anixx@anixx-desktop:~> cnf qmake

Программу ‘qmake’ можно найти в следующих пакетах:
anixx@anixx-desktop:~>

Despite the response you’re getting, until I actually installed cnf, it didn’t work right for me. Here is where I got help

Installing cnf

HTH,
Tony

Sorry, I can’t read Russian.

On 2010-10-13 18:06, Ansus wrote:
>
> It is installed but reports the same answer always, such as:
>
> anixx@anixx-desktop:~> cnf qmake
>
> Программу ‘qmake’ можно найти в следующих
> пакетах:
> anixx@anixx-desktop:~>

We can not read that. Please run instead: “LANG=en_US.UTF-8 cnf qmake”


Cheers / Saludos,

Carlos E. R.
(from 11.2 x86_64 “Emerald” at Telcontar)

anixx@anixx-desktop:~> LANG=en_US.UTF-8 cnf qmake

The program ‘qmake’ can be found in following packages:
anixx@anixx-desktop:~>

I get this on my 11.2 machine:

$ cnf qmake

The program 'qmake' can be found in following packages:
  * libqt4-devel  path: /usr/bin/qmake, repository: zypp (openSUSE_11.2_OSS) ]
  * libqt4-devel  path: /usr/bin/qmake, repository: zypp (repo-oss) ]

Try installing with:
    sudo zypper install libqt4-devel

I seem to remember cnf uses a database of some sort. Maybe this wasn’t installed or rebuilt properly. Try removing and reinstalling the command-not-found package.

already tried

Sorry, no idea then. Maybe you could strace cnf qmake to see what it’s doing.

Ansus wrote:
> already tried

you can shorten your answer cycle if you SAY what you have tried, as
you ask…

see http://tinyurl.com/anel for other useful stuff


DenverD
When it comes to chocolate, resistance is futile.
CAVEAT: http://is.gd/bpoMD [posted via NNTP w/openSUSE 10.3]

On 2010-10-14 09:36, Ansus wrote:
>
> already tried

Remove the configuration files and databases - they are not removed by an rpm unistall. You also
need to reinstall “scout”, which is what cnf uses. And its databases - if they exist (check
documentation).

Try to see if scout works - see man for help.

Another question: Is internet working from the CLI? I would think it doesn’t.


Cheers / Saludos,

Carlos E. R.
(from 11.2 x86_64 “Emerald” at Telcontar)