[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 <prusnak@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |prusnak@suse.com AssignedTo|bnc-team-screening@forge.pr |kkaempf@suse.com |ovo.novell.com | --- Comment #1 from Pavol Rusnak <prusnak@suse.com> 2011-09-08 15:38:06 CEST --- It seems that python-satsolver bindings are broken. When I run python and type "import satsolver" I get; prusnak@zelva:~> python Python 2.7.1 (r271:86832, May 24 2011, 15:30:26) [GCC] on linux3 Type "help", "copyright", "credits" or "license" for more information.
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 <kkaempf@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #2 from Klaus Kämpf <kkaempf@suse.com> 2011-09-21 11:21:55 UTC --- Submitted new satsolver-bindings to Factory. -- 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#c3 Rafael Belmonte <EagleScreen@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|FIXED | --- Comment #3 from Rafael Belmonte <EagleScreen@gmail.com> 2011-10-04 14:53:31 UTC --- I still can reproduce this same bug in 12.1 beta1, therefore, I have to reopen it. -- 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#c4 Rafael Belmonte <EagleScreen@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |RESOLVED Resolution| |FIXED --- Comment #4 from Rafael Belmonte <EagleScreen@gmail.com> 2011-10-22 16:49:43 UTC --- Fixed in 12.1~RC1. -- 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#c5 --- Comment #5 from Klaus Kämpf <kkaempf@suse.com> 2011-10-24 11:49:26 UTC --- Just for the record: It was a bug in libsolv, obsoleting libsatsolver without being a full replacement. -- 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#c6 Pavol Rusnak <prusnak@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |per@opensuse.org --- Comment #6 from Pavol Rusnak <prusnak@suse.com> 2011-11-03 16:41:24 CET --- *** Bug 717128 has been marked as a duplicate of this bug. *** http://bugzilla.novell.com/show_bug.cgi?id=717128 -- 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#c7 Holger Arnold <holgerar@googlemail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED CC| |holgerar@googlemail.com Version|Milestone 5 |Final Resolution|FIXED | --- Comment #7 from Holger Arnold <holgerar@googlemail.com> 2012-02-02 16:07:12 UTC --- '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 -- 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#c8 Klaus Kämpf <kkaempf@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |NEEDINFO InfoProvider| |holgerar@googlemail.com --- Comment #8 from Klaus Kämpf <kkaempf@suse.com> 2012-02-03 09:13:18 UTC --- (In reply to comment #7)
'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 <holgerar@googlemail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |REOPENED InfoProvider|holgerar@googlemail.com | --- Comment #9 from Holger Arnold <holgerar@googlemail.com> 2012-02-03 10:27:28 UTC ---
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 <kkaempf@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |NEEDINFO InfoProvider| |holgerar@googlemail.com --- Comment #10 from Klaus Kämpf <kkaempf@suse.com> 2012-02-03 11:05:59 UTC --- (In reply to comment #9)
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 <kkaempf@suse.com> 2012-02-03 11:06:31 UTC --- And what is the output for "zypper lr -d" on your system ? -- 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#c12 Holger Arnold <holgerar@googlemail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |REOPENED InfoProvider|holgerar@googlemail.com | --- Comment #12 from Holger Arnold <holgerar@googlemail.com> 2012-02-03 13:47:36 UTC ---
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 <holgerar@googlemail.com> 2012-02-03 13:48:10 UTC --- Created an attachment (id=474308) --> (http://bugzilla.novell.com/attachment.cgi?id=474308) Output of 'zypper lr -d' -- 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#c14 Klaus Kämpf <kkaempf@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |kkaempf@suse.com AssignedTo|kkaempf@suse.com |prusnak@suse.com --- Comment #14 from Klaus Kämpf <kkaempf@suse.com> 2012-02-03 14:30:06 UTC --- Sorry, I'm out of options now. Everything looks fine (package versions, zypp repos) Reassigning to maintainer of command-not-found package -- 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#c15 Pavol Rusnak <prusnak@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |NEEDINFO InfoProvider| |EagleScreen@gmail.com --- Comment #15 from Pavol Rusnak <prusnak@suse.com> 2012-03-12 16:23:03 CET --- I have i586 system with the same packages command-not-found-0.1.0-46.1.2.noarch scout-0.1.0-46.1.2.noarch and everything works as expected. 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. -- 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#c16 --- Comment #16 from Holger Arnold <holgerar@googlemail.com> 2012-03-15 06:09:47 UTC --- Sorry, I can't try this now as I have currently no Suse machine available. -- 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#c17 Holger Arnold <holgerar@googlemail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |REOPENED InfoProvider|EagleScreen@gmail.com | --- Comment #17 from Holger Arnold <holgerar@googlemail.com> 2012-03-21 12:31:09 UTC --- (In reply to comment #15)
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 <prusnak@suse.com> 2012-03-21 13:35:03 CET --- No I did not change repos.conf. rpm -V scout command-not-found shows nothing. It is not stored in /etc because it is a data file not a configuration file (should not be changed by the user). -- 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#c19 --- Comment #19 from Holger Arnold <holgerar@googlemail.com> 2012-03-21 12:38:12 UTC --- Created an attachment (id=482362) --> (http://bugzilla.novell.com/attachment.cgi?id=482362) /usr/share/scout/repos.conf The repos.conf file installed by scout-0.1.0-46.1.2. -- 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#c20 --- Comment #20 from Holger Arnold <holgerar@googlemail.com> 2012-03-21 12:45:54 UTC --- (In reply to comment #18)
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 <prusnak@suse.com> 2012-03-21 13:49:25 CET --- If you search for binaries, zypp db is used directly. Index data files are used when searching for Java classes, Python modules etc. But since noone is generating them these features remain useless and the only usable feature is search for binaries. -- 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#c Pavol Rusnak <prusnak@opensuse.org> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|prusnak@suse.com |prusnak@opensuse.org -- 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#c22 --- Comment #22 from Rafael Belmonte <EagleScreen@gmail.com> 2013-11-04 17:04:02 UTC --- This bug seems to be fixed in openSUSE 13.1. -- 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.
participants (1)
-
bugzilla_noreply@novell.com