|
Bugzilla – Full Text Bug Listing |
| Summary: | Can not install kernel source package | ||
|---|---|---|---|
| Product: | [openSUSE] openSUSE Tumbleweed | Reporter: | Dr. Werner Fink <werner> |
| Component: | libzypp | Assignee: | E-mail List <zypp-maintainers> |
| Status: | RESOLVED INVALID | QA Contact: | E-mail List <qa-bugs> |
| Severity: | Critical | ||
| Priority: | P5 - None | ||
| Version: | Current | ||
| Target Milestone: | --- | ||
| Hardware: | x86-64 | ||
| OS: | openSUSE Factory | ||
| Whiteboard: | |||
| Found By: | --- | Services Priority: | |
| Business Priority: | Blocker: | --- | |
| Marketing QA Status: | --- | IT Deployment: | --- |
|
Description
Dr. Werner Fink
2018-06-22 07:37:58 UTC
rng-tools are also missed: noether:~ # zypper in rng-tools Loading repository data... Reading installed packages... 'rng-tools' not found in package names. Trying capabilities. No provider of 'rng-tools' found. Resolving package dependencies... Nothing to do. ... aha ... noether:~ # zypper se -d rng-tools Loading repository data... Reading installed packages... S | Name | Summary | Type --+-----------------------+-------------------------------------------+----------- | rng-tools | Support daemon for hardware random device | srcpackage | rng-tools-debuginfo | Debug information for package rng-tools | package | rng-tools-debugsource | Debug sources for package rng-tools | package Note: For an extended search including not yet activated remote resources please use 'zypper search-packages'. noether:~ # zypper search-packages -d rng-tools Could not search for the package: SUSE::Connect::ApiError: Cannot read index for repository medical. Following packages were found in following modules: Package Module or Repository ----------------------------------- -------------------- rng-tools-debuginfo-5-7.11.i586 repo-debug rng-tools-debuginfo-5-7.11.x86_64 repo-debug rng-tools-debugsource-5-7.11.i586 repo-debug rng-tools-debugsource-5-7.11.x86_64 repo-debug srcpackage:rng-tools-5-7.11.noarch repo-source To activate the respective module or product, use SUSEConnect --product. Use SUSEConnect --help for more details. Without be able to install source tree of kernel it is somewhat difficult to work Lada, can you have a look?
An openSUSE user should never be required to register his machine at SCC (as a matter of fact, he cannot even do this), so I don't quite understand that error
To activate the respective module or product, use SUSEConnect --product.
Use SUSEConnect --help for more details.
from comment #0.
Werner, please check that all the repos you are using on that system are plain repo-md repos, and no repo managed by a service is in use: LANG=C zypper ls (check the last column) Hm, I guess you installed some zypper plugin as the "search-packages" functionality is not available in Leap 15.0: # zypper search-packages Unknown command 'search-packages' Type 'zypper help' to get a list of global options and commands. In case 'search-packages' is not a typo it's probably not a built-in command, but provided as a subcommand or plug-in (see 'zypper help subcommand'). In this case a specific package providing the subcommand needs to be installed first. Those packages are often named 'zypper-search-packages' or 'zypper-search-packages-plugin'. And I guess that plugin is designed for SLE... (In reply to Stefan Hundhammer from comment #4) > Werner, please check that all the repos you are using on that system are > plain repo-md repos, and no repo managed by a service is in use: > > LANG=C zypper ls > > (check the last column) # | Alias | Name | Enabled | GPG Check | Refresh | Type ---+----------------------------------+------------------------------------+---------+-----------+---------+------- 1 | Publishing_TeXLive | Publishing_TeXLive | Yes | (r ) Yes | No | rpm-md 2 | Virtualization | Virtualization | Yes | (r ) Yes | No | rpm-md 3 | X11 Utilities | X11 Utilities | Yes | (r ) Yes | Yes | rpm-md 4 | X2Go | X2Go | Yes | (r ) Yes | No | rpm-md 5 | download.opensuse.org-non-oss | Main Repository (NON-OSS) | Yes | (r ) Yes | Yes | rpm-md 6 | download.opensuse.org-tumbleweed | Main Update Repository | Yes | (r ) Yes | Yes | rpm-md 7 | home_gasinvein_anbox | Anbox (openSUSE_Tumbleweed) | Yes | (r ) Yes | No | rpm-md 8 | linuxdownload.adobe.com-linux | Adobe Flash Plugin | Yes | ( p) Yes | Yes | rpm-md 9 | medical | medical | No | ---- | ---- | rpm-md 10 | openSUSE Tools | openSUSE Tools | Yes | (r ) Yes | No | rpm-md 11 | opensuse-guide.org-repo | opensuse-guide.org-repo | Yes | (r ) Yes | Yes | rpm-md 12 | packman.inode.at-suse | Packman Repository | Yes | (r ) Yes | Yes | rpm-md 13 | repo-debug | openSUSE-Tumbleweed-Debug | Yes | (r ) Yes | No | rpm-md 14 | repo-source | openSUSE-Tumbleweed-Source | Yes | (r ) Yes | Yes | rpm-md 15 | repo-source-non-oss | openSUSE-Tumbleweed-Source-Non-Oss | No | ---- | ---- | yast2 16 | server:mail | server:mail | No | ---- | ---- | rpm-md 17 | windowmanagers | windowmanagers | No | ---- | ---- | rpm-md (In reply to Dr. Werner Fink from comment #0) > Just tried to install kerneö sources by using zypper > > zypper search-packages -d kernel-source > Could not search for the package: SUSE::Connect::ApiError: > Cannot read index for repository medical. This is related to bug#1092822. Zyppers hint message to the 'search-packages' command depends on the presence of this search plugin (in system or repos). The package is SLES specific and should IMO not be available in openSUSE. Due to the 'factory first' policy however it's checked in to factory, but the spec file does not disable builds on openSUSE. (In reply to Dr. Werner Fink from comment #2) > Without be able to install source tree of kernel it is somewhat difficult to > work AFAIK the kernel sources are distributed a bit differently, the sources are also available as a binary RPM (besides the SRPM available). Simple "zypper install kernel-source" works for me in Leap15.0... (In reply to Ladislav Slezák from comment #5) > Hm, I guess you installed some zypper plugin as the "search-packages" > functionality is not available in Leap 15.0: > > > # zypper search-packages > Unknown command 'search-packages' > Type 'zypper help' to get a list of global options and commands. > > In case 'search-packages' is not a typo it's probably not a built-in > command, but provided as a subcommand or plug-in (see 'zypper help > subcommand'). > In this case a specific package providing the subcommand needs to be > installed first. Those packages are often named 'zypper-search-packages' or > 'zypper-search-packages-plugin'. > > > And I guess that plugin is designed for SLE... Hmmm .... should remove this/some plugin/s: rpmqpack | grep zypper zypper zypper-aptitude zypper-lifecycle-plugin zypper-log zypper-migration-plugin zypper-search-packages-plugin @Werner: See Publishing_TeXLive et.al. You have quite a lot repos enabled but without autorefresh turned on for them. Is this intentional? AFAIK these are SLE specific: zypper-lifecycle-plugin zypper-migration-plugin zypper-search-packages-plugin zypper-log and zypper-aptitude are common. zypper-log is sometimes even usefull (IMO). rpm -e zypper-search-packages-plugin zypper install kernel-source Loading repository data... Reading installed packages... 'kernel-source' not found in package names. Trying capabilities. No provider of 'kernel-source' found. Resolving package dependencies... remains after zypper ref ... nevertheless zypper se kernel-source Loading repository data... Reading installed packages... S | Name | Summary | Type --+---------------+--------------------------+----------- | kernel-source | The Linux Kernel Sources | srcpackage (In reply to Michael Andres from comment #10) > @Werner: See Publishing_TeXLive et.al. You have quite a lot repos > enabled but without autorefresh turned on for them. Is this intentional? YEP, as testing TeXLive but avoid installing 3000 packages after every rebuild (In reply to Michael Andres from comment #11) > AFAIK these are SLE specific: > zypper-lifecycle-plugin > zypper-migration-plugin > zypper-search-packages-plugin > > > zypper-log and zypper-aptitude are common. zypper-log is sometimes even > usefull (IMO). Removing the plugins and refresh does not change anything > $ zypper se -s kernel-source > > S | Name | Type | Version | Arch | Repository > --+-----------------------+---------+------------+--------+----------- > | kernel-source | package | 4.17.2-1.4 | noarch | tw-oss > | kernel-source-vanilla | package | 4.17.2-1.4 | noarch | tw-oss > | openafs-kernel-source | package | 1.8.0-1.18 | i586 | tw-oss > | openafs-kernel-source | package | 1.8.0-1.20 | x86_64 | tw-oss Use `zypper lr -u` to check whether your repo locations are reasonable: > $ zypper lr -u > Repository priorities are without effect. All enabled repositories share the same priority. > > # | Alias | Name | Enabled | GPG Check | Refresh | URI > --+------------+------------+---------+-----------+---------+------------------------------------------------------ > 1 | debug | debug | No | ---- | ---- | http://download.opensuse.org/tumbleweed/repo/debug > 2 | tw-non-oss | tw-non-oss | Yes | (r ) Yes | Yes | http://download.opensuse.org/tumbleweed/repo/non-oss/ > 3 | tw-oss | tw-oss | Yes | (r ) Yes | Yes | http://download.opensuse.org/tumbleweed/repo/oss/ Do a `zypper ref -f` and check for reported errors. If none and the kernel-source is not found attach the zypper.log (or is it a WS I can access? Then I'll have a look at it). OSS repo was missing :) Works now ... missed repro from http://download.opensuse.org/tumbleweed/repo/oss/ ... don't know how this get missed at all |