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

packages.d.o: gcc package search is resulting in "Your keyword was too generic"



Hello Phil,

you have chosen to create an also really generic subject! :)
It a bit ironically as you complaining about the outcome while doing a
package search.

So I modified the subject to something more specific.

Am 13.06.19 um 13:55 schrieb Phil Endecott:
> Dear debian-www@lists.debian.org,
> 
> I'm not sure if you're the right contact for this, but if not
> maybe you can redirect me.

This list is about the Debian websites and the maintenance of them, so
unfortunately you are on the wrong list for asking such questions.

For better fitting support channels please visit

  https://www.debian.org/support

...
> I find the package search web pages at packages.debian.org are
> very often useless, because I get the message "Your keyword was
> too generic".
> 
> Specifically, today I found that the version of gcc in Stretch
> was too old for something,

Really?
I never did experience such things. So the only thing I can image that
you want to use some C++17 or even C++19 features.

> and I wondered what newer versions
> might be present in backports.  I ended up here:
> 
> https://packages.debian.org/search?keywords=gcc&searchon=names&section=all&suite=stretch-backports
> 
> This just says "Your keyword was too generic.  Please consider
> using a longer keyword or more keywords."  So I know that there
> are gcc packages in backports, but it won't tell me which.  What
> longer keyword can I use? - the package is just called "gcc",
> isn't it?
> 
> Can something be done to fix this?

Well, yes.
The package you are searching isn't called 'gcc', this is probably the
final binary name you want to start on a cli or by scripts etc.

There are various major version of gcc available, the most recent
(stable) version is 8. So you will look for a package 'gcc-8' and so on.

But there are no backports of the gcc versions available! So the output
of the search is mostly correct.

I typically use a tool named 'rmadison', installed by the package
'devscripts', to get the available versions in the various releases of
an package. Note that rmadison is needing an internet connection as it's
query the Debian infrastructure.

> $ rmadison gcc-6
> gcc-6      | 6.3.0-18+deb9u1 | stable       | source, amd64, arm64, armel, armhf, i386, mips, mips64el, mipsel, ppc64el, s390x
> gcc-6      | 6.3.0-18+deb9u1 | stable-debug | source

> $ rmadison gcc-8
> gcc-8      | 8.3.0-6       | testing             | source, amd64, arm64, armel, armhf, i386, mips, mips64el, mipsel, ppc64el, s390x
> gcc-8      | 8.3.0-7       | unstable            | source, amd64, arm64, armel, armhf, i386, mips, mips64el, mipsel, ppc64el, s390x
> gcc-8      | 8.3.0-7       | unstable-debug      | source
> gcc-8      | 8.3.0-13      | experimental        | source, mips, mips64el, mipsel
> gcc-8      | 8.3.0-13      | experimental-debug  | source
> gcc-8      | 8.3.0-14      | buildd-experimental | source, amd64, arm64, armel, armhf, i386, mips, ppc64el, s390x
> gcc-8      | 8.3.0-14      | experimental        | source, amd64, arm64, armel, armhf, i386, mips, ppc64el, s390x
> gcc-8      | 8.3.0-14      | experimental-debug  | source

> $ rmadison gcc
> gcc        | 4:4.9.2-2      | oldstable    | amd64, armel, armhf, i386
> gcc        | 4:6.3.0-4      | stable       | amd64, arm64, armel, armhf, i386, mips, mips64el, mipsel, ppc64el, s390x
> gcc        | 4:8.3.0-1      | testing      | amd64, arm64, armel, armhf, i386, mips, mips64el, mipsel, ppc64el, s390x
> gcc        | 4:8.3.0-1      | unstable     | amd64, arm64, armel, armhf, i386, mips, mips64el, mipsel, ppc64el, s390x
> gcc        | 4:9-20181127-1 | experimental | amd64, arm64, armel, armhf, i386, mips, mips64el, mipsel, ppc64el, s390x

Hu? A package gcc is available? Why? Have a look at the package description!

> $ LANG= apt show gcc
> Package: gcc
> Version: 4:8.3.0-1
> Priority: optional
> Build-Essential: yes
> Section: devel
> Source: gcc-defaults (1.181)
> Maintainer: Debian GCC Maintainers <debian-gcc@lists.debian.org>
> Installed-Size: 46.1 kB
> Provides: c-compiler, gcc-x86-64-linux-gnu (= 4:8.3.0-1)
> Depends: cpp (= 4:8.3.0-1), gcc-8 (>= 8.3.0-1~)
> Recommends: libc6-dev | libc-dev
> Suggests: gcc-multilib, make, manpages-dev, autoconf, automake, libtool, flex, bison, gdb, gcc-doc
> Conflicts: gcc-doc (<< 1:2.95.3)
> Tag: devel::compiler, devel::lang:c, devel::library, implemented-in::c,
>  interface::commandline, role::devel-lib, role::metapackage,
>  role::program, suite::gnu, works-with::software:source
> Download-Size: 5196 B
> APT-Manual-Installed: no
> APT-Sources: http://ftp.de.debian.org/debian testing/main amd64 Packages
> Description: GNU C compiler
>  This is the GNU C compiler, a fairly portable optimizing compiler for C.
>  .
>  This is a dependency package providing the default GNU C compiler.
> 
> N: There is 1 additional record. Please use the '-a' switch to see it

It's an virtual package that will have different depending in the
Stretch release.

-- 
Regards
Carsten Schoenert


Reply to: