[Bug 716662] New: command-not-found never finds the package of the binary
https://bugzilla.novell.com/show_bug.cgi?id=716662 https://bugzilla.novell.com/show_bug.cgi?id=716662#c0 Summary: command-not-found never finds the package of the binary Classification: openSUSE Product: openSUSE 12.1 Version: Milestone 5 Platform: i586 OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: EagleScreen@gmail.com QAContact: qa@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux i686; rv:6.0) Gecko/20100101 Firefox/6.0 command-not-found never finds the package which contains the searching command. Reproducible: Always Steps to Reproduce: 1.Start OpenSUSE 12.1 2.try with: cnf blender; cnf gedit; cnf gcc; cnf msgunfmt 3.cnf never return the package which contain the command you are searching. Actual Results: cnf never return the package which contain the command you are searching. Expected Results: cnf should return an output like the example: The program blender can be found in the following package: * blender [ path: /usr/bin/blender, repository: zypp (openSUSE 11.1-0) ] Try installing with: sudo zypper install blender bash: blender: command not found -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=716662
https://bugzilla.novell.com/show_bug.cgi?id=716662#c1
Pavol Rusnak
import satsolver Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/usr/lib64/python2.7/site-packages/satsolver.py", line 25, in <module> _satsolver = swig_import_helper() File "/usr/lib64/python2.7/site-packages/satsolver.py", line 21, in swig_import_helper _mod = imp.load_module('_satsolver', fp, pathname, description) ImportError: /usr/lib64/python2.7/site-packages/_satsolver.so: undefined symbol: sat_chksum_create
Klaus: could you please look at this? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=716662
https://bugzilla.novell.com/show_bug.cgi?id=716662#c2
Klaus Kämpf
https://bugzilla.novell.com/show_bug.cgi?id=716662
https://bugzilla.novell.com/show_bug.cgi?id=716662#c3
Rafael Belmonte
https://bugzilla.novell.com/show_bug.cgi?id=716662
https://bugzilla.novell.com/show_bug.cgi?id=716662#c4
Rafael Belmonte
https://bugzilla.novell.com/show_bug.cgi?id=716662
https://bugzilla.novell.com/show_bug.cgi?id=716662#c5
--- Comment #5 from Klaus Kämpf
https://bugzilla.novell.com/show_bug.cgi?id=716662
https://bugzilla.novell.com/show_bug.cgi?id=716662#c6
Pavol Rusnak
https://bugzilla.novell.com/show_bug.cgi?id=716662
https://bugzilla.novell.com/show_bug.cgi?id=716662#c7
Holger Arnold
https://bugzilla.novell.com/show_bug.cgi?id=716662
https://bugzilla.novell.com/show_bug.cgi?id=716662#c8
Klaus Kämpf
'command-not-found' does not work in current 12.1. Did some update reintroduce this bug?
Package versions:
rpm-4.9.1.2-1.5.i586 rpm-python-4.9.1.2-1.2.i586 zypper-1.6.18-5.8.1.i586 libzypp-10.3.5-1.7.2.i586 zypp-plugin-python-0.3-3.1.2.i586 python-satsolver-0.44.3-2.1.3.i586
cnf works fine on a freshly installed 12.1-x86_64 system. Could this be a i586 specific problem ? Looking at the dependency chain, I see the following - command-not-found-0.1.0-46.1.2.noarch - scout-0.1.0-46.1.2.noarch - python-satsolver-0.44.3-2.1.3.x86_64 Which version of command-not-found and scout do you have installed ? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=716662
https://bugzilla.novell.com/show_bug.cgi?id=716662#c9
Holger Arnold
cnf works fine on a freshly installed 12.1-x86_64 system. Could this be a i586 specific problem ?
How could you make searching for packages architecture-dependent?
Which version of command-not-found and scout do you have installed ?
command-not-found-0.1.0-46.1.2.noarch scout-0.1.0-46.1.2.noarch Running scout directly (for example, 'scout bin gcc') also produces no results (and running 'scout webpin gcc' or 'scout --list' crashes the program, but these are probably different problems). 'scout bin -l' gives: Available repositories: zypp - Zypp Repositories
From the scout man page:
"To search for your requested term, you need index data files which are a preconfigured SQLite 3 database. You have to install these in order to get your search request done." The scout package contains no such database, and it seems not to be created at run time. Perhaps the missing database is the problem? The scout package installs a 'repos.config' file in /usr/share/scout (the wrong place for a config file). Besides a number of URLS of older repositories (11.0-11.3), this file contains the following lines: [zypp] name=Zypp Repositories baseurl= Is it intentional that there is no URL for the zypp repositories? The scout man page provides no information about the format of the config file. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=716662
https://bugzilla.novell.com/show_bug.cgi?id=716662#c10
Klaus Kämpf
cnf works fine on a freshly installed 12.1-x86_64 system. Could this be a i586 specific problem ?
How could you make searching for packages architecture-dependent?
I was referring to "it works for me" (on x86_64) and fails for you (on i586)
Which version of command-not-found and scout do you have installed ?
command-not-found-0.1.0-46.1.2.noarch scout-0.1.0-46.1.2.noarch
I have identical versions. So package-wise the only difference is python-satsolver where you have .i586 and I have .x86_64
Running scout directly (for example, 'scout bin gcc') also produces no results (and running 'scout webpin gcc' or 'scout --list' crashes the program, but these are probably different problems).
I get "ValueError: too many values to unpack" Pavol, any idea ?
'scout bin -l' gives:
Available repositories: zypp - Zypp Repositories
Same for me.
From the scout man page:
"To search for your requested term, you need index data files which are a preconfigured SQLite 3 database. You have to install these in order to get your search request done."
The scout package contains no such database, and it seems not to be created at run time. Perhaps the missing database is the problem?
The scout package installs a 'repos.config' file in /usr/share/scout (the wrong place for a config file). Besides a number of URLS of older repositories (11.0-11.3), this file contains the following lines:
[zypp] name=Zypp Repositories baseurl=
Same for me. So what is the _exact_ error you get when you run "cnf blender" ? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=716662
https://bugzilla.novell.com/show_bug.cgi?id=716662#c11
--- Comment #11 from Klaus Kämpf
https://bugzilla.novell.com/show_bug.cgi?id=716662
https://bugzilla.novell.com/show_bug.cgi?id=716662#c12
Holger Arnold
So what is the _exact_ error you get when you run "cnf blender" ?
I get 'blender: command not found'. 'scout bin blender' produces no output.
And what is the output for "zypper lr -d" on your system ?
See the attached file. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=716662
https://bugzilla.novell.com/show_bug.cgi?id=716662#c13
--- Comment #13 from Holger Arnold
https://bugzilla.novell.com/show_bug.cgi?id=716662
https://bugzilla.novell.com/show_bug.cgi?id=716662#c14
Klaus Kämpf
https://bugzilla.novell.com/show_bug.cgi?id=716662
https://bugzilla.novell.com/show_bug.cgi?id=716662#c15
Pavol Rusnak
https://bugzilla.novell.com/show_bug.cgi?id=716662
https://bugzilla.novell.com/show_bug.cgi?id=716662#c16
--- Comment #16 from Holger Arnold
https://bugzilla.novell.com/show_bug.cgi?id=716662
https://bugzilla.novell.com/show_bug.cgi?id=716662#c17
Holger Arnold
Could you please try to disable all repositories except 'oss', call 'zypper refresh' and try 'cnf blender' again? I have a feeling that some repo is crashing satsolver.
I have tried this now and it does neither work on my system nor on a freshly installed and fully updated Suse 12.1. Re-installing the relevant packages also does not help. Is it possible that you manually updated your repos.conf file? (Btw., why is this file stored in /usr/share/scout instead of /etc?) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=716662
https://bugzilla.novell.com/show_bug.cgi?id=716662#c18
--- Comment #18 from Pavol Rusnak
https://bugzilla.novell.com/show_bug.cgi?id=716662
https://bugzilla.novell.com/show_bug.cgi?id=716662#c19
--- Comment #19 from Holger Arnold
https://bugzilla.novell.com/show_bug.cgi?id=716662
https://bugzilla.novell.com/show_bug.cgi?id=716662#c20
--- Comment #20 from Holger Arnold
It is not stored in /etc because it is a data file not a configuration file (should not be changed by the user).
That's probably why it's named '*.conf' ;-)
From the scout man page:
"To search for your requested term, you need index data files which are a preconfigured SQLite 3 database. You have to install these in order to get your search request done." Is this still true or does scout now directly use the zypp db? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=716662
https://bugzilla.novell.com/show_bug.cgi?id=716662#c21
--- Comment #21 from Pavol Rusnak
https://bugzilla.novell.com/show_bug.cgi?id=716662
https://bugzilla.novell.com/show_bug.cgi?id=716662#c
Pavol Rusnak
https://bugzilla.novell.com/show_bug.cgi?id=716662
https://bugzilla.novell.com/show_bug.cgi?id=716662#c22
--- Comment #22 from Rafael Belmonte
participants (1)
-
bugzilla_noreply@novell.com