iproute in %base-packages but no matching package

  • Done
  • quality assurance status badge
Details
4 participants
  • Julien Lepiller
  • Leo Famulari
  • mikadoZero
  • Ricardo Wurmus
Owner
unassigned
Submitted by
mikadoZero
Severity
normal

Debbugs page

mikadoZero wrote 6 years ago
(address . bug-guix@gnu.org)
bm2fu5lo.fsf@yandex.com
guix describe:
guix 1bc24bb
branch: master
commit: 1bc24bbf00e21a26d9eb71e5c89d941812dcdad7

which iproute:
iproute not found

In system.scm in the definition of %base-packages there is iproute but
if I search for it there is no package with that name.
Output of `guix package -s iproute`:

name: iproute2
version: 4.20.0
outputs: out
systems: x86_64-linux i686-linux armhf-linux aarch64-linux mips64el-linux
dependencies: bdb@6.2.32 bison@3.0.5 flex@2.6.4 iptables@1.6.2 pkg-config@0.29.2
location: gnu/packages/linux.scm:1254:2
license: GPL 2+
synopsis: Utilities for controlling TCP/IP networking and traffic in Linux
description: Iproute2 is a collection of utilities for controlling TCP/IP
+ networking and traffic with the Linux kernel. The most important of these are
+ `ip', which configures IPv4 and IPv6, and `tc' for traffic control.
+
+ Most network configuration manuals still refer to ifconfig and route as the
+ primary network configuration tools, but ifconfig is known to behave inadequately
+ in modern network environments, and both should be deprecated.
relevance: 6

name: ghc-iproute
version: 1.7.5
outputs: out
systems: x86_64-linux i686-linux
dependencies: ghc-appar@0.1.4 ghc-byteorder@1.0.4 ghc-network@2.6.3.6
+ ghc-safe@0.3.17
location: gnu/packages/haskell.scm:2834:2
license: Modified BSD
synopsis: IP routing table
description: IP Routing Table is a tree of IP ranges to search one of them on the
+ longest match base. It is a kind of TRIE with one way branching removed. Both
+ IPv4 and IPv6 are supported.
relevance: 4
Julien Lepiller wrote 6 years ago
(name . mikadoZero)(address . mikadozero@yandex.com)(address . 34835@debbugs.gnu.org)
50BA79CA-A1C0-48A7-B42F-A4A92B94F9A4@lepiller.eu
Le 12 mars 2019 22:48:19 GMT+01:00, mikadoZero <mikadozero@yandex.com> a écrit :
Toggle quote (55 lines)
>guix describe:
>guix 1bc24bb
> repository URL: https://git.savannah.gnu.org/git/guix.git
> branch: master
> commit: 1bc24bbf00e21a26d9eb71e5c89d941812dcdad7
>
>which iproute:
>iproute not found
>
>In system.scm in the definition of %base-packages there is iproute but
>if I search for it there is no package with that name.
>Output of `guix package -s iproute`:
>
>name: iproute2
>version: 4.20.0
>outputs: out
>systems: x86_64-linux i686-linux armhf-linux aarch64-linux
>mips64el-linux
>dependencies: bdb@6.2.32 bison@3.0.5 flex@2.6.4 iptables@1.6.2
>pkg-config@0.29.2
>location: gnu/packages/linux.scm:1254:2
>homepage: https://wiki.linuxfoundation.org/networking/iproute2
>license: GPL 2+
>synopsis: Utilities for controlling TCP/IP networking and traffic in
>Linux
>description: Iproute2 is a collection of utilities for controlling
>TCP/IP
>+ networking and traffic with the Linux kernel. The most important of
>these are
>+ `ip', which configures IPv4 and IPv6, and `tc' for traffic control.
>+
>+ Most network configuration manuals still refer to ifconfig and route
>as the
>+ primary network configuration tools, but ifconfig is known to behave
>inadequately
>+ in modern network environments, and both should be deprecated.
>relevance: 6
>
>name: ghc-iproute
>version: 1.7.5
>outputs: out
>systems: x86_64-linux i686-linux
>dependencies: ghc-appar@0.1.4 ghc-byteorder@1.0.4 ghc-network@2.6.3.6
>+ ghc-safe@0.3.17
>location: gnu/packages/haskell.scm:2834:2
>homepage: https://www.mew.org/~kazu/proj/iproute/
>license: Modified BSD
>synopsis: IP routing table
>description: IP Routing Table is a tree of IP ranges to search one of
>them on the
>+ longest match base. It is a kind of TRIE with one way branching
>removed. Both
>+ IPv4 and IPv6 are supported.
>relevance: 4

iproute2 provides the "ip" command. Try "ip a" for instance to list your devices and addresses. Does it work?
Leo Famulari wrote 6 years ago
(name . mikadoZero)(address . mikadozero@yandex.com)(address . 34835-done@debbugs.gnu.org)
20190312221412.GA14844@jasmine.lan
On Tue, Mar 12, 2019 at 05:48:19PM -0400, mikadoZero wrote:
Toggle quote (3 lines)
> In system.scm in the definition of %base-packages there is iproute but
> if I search for it there is no package with that name.

The package is named 'iproute2' but the Scheme variable, which is what
%base-packages is a list of, is named 'iproute'.
-----BEGIN PGP SIGNATURE-----

iQIzBAABCAAdFiEEsFFZSPHn08G5gDigJkb6MLrKfwgFAlyILzQACgkQJkb6MLrK
fwh8uRAAjnfRfTEp1tQwrfQNmOHgJrA3Q4MyVegrmXjCawCn9h9ZG+Prx5FhCHa1
eDdwphLX1ylb0iivOkgVCgujMJu6IKw5rvROVOXzcxeXjul+mt8co3gg7sak6z2C
Bkd1aWF5uXatTO96MwAKY12/LyRJ67R5JG+YmF+E54RbaB3EIk7kz2F5uqK5U0p/
b2noq+Vrb/W4RlWb5gGtVfWS4MziWC60DUzROxqV+rBJV93sCO7O6WCP0JiT/smo
fxXYlpAu9QrSpjZOw0lALU7GCIK3M1Mvwt2xK/P2SeietWnEuXC2XwuY2bTm+F2k
2HozV/jCna07TCmU49dSZcYmgiUnVHN+ir6ksI43YBhBsZIeua0rIeiEGm4oPklt
A9dOS+5hM5i1RpPYuflgP9F6c6acpwjQoTUR/6fqLJLbCQo+W+wbBsU7nqGWKT9z
jwOxcT/hQl+SFm6SJQ6N1MXTez3ElmRTFHRPBx0KYBSUj651r78GsCBZDmXjoHUE
X9iBzOvCs9ylw6KG7u1kZCy4pdL8EM0BYFraWbU1O650rMuGhfNgXPMECk1gPEy1
srJaRtVy1cLtLC1RJBIIDVXDiXoYlNtvdZiKPQLCXtEplF/ByuwIPTdjM23DbKQV
I6AhfPVqyGk+yVMoMOjPYhDDn9/FltZEnnIwtwAYmeGX7o0qkhs=
=Ma6a
-----END PGP SIGNATURE-----


Closed
mikadoZero wrote 6 years ago
(name . Julien Lepiller)(address . julien@lepiller.eu)(address . 34835@debbugs.gnu.org)
8sxju0uw.fsf@yandex.com
Julien Lepiller writes:

Toggle quote (2 lines)
> iproute2 provides the "ip" command. Try "ip a" for instance to list your devices and addresses. Does it work?

That works. Thank you for explaining that.
mikadoZero wrote 6 years ago
(name . Leo Famulari)(address . leo@famulari.name)(address . 34835-done@debbugs.gnu.org)
7ed3u0k7.fsf@yandex.com
Leo Famulari writes:
Toggle quote (3 lines)
> The package is named 'iproute2' but the Scheme variable, which is what
> %base-packages is a list of, is named 'iproute'.

Thank you for the clarification.

Is it common for the Scheme variable to be different from the package
name? What benefit is there to it being different compared to it being
the same?
Closed
Ricardo Wurmus wrote 6 years ago
(name . mikadoZero)(address . mikadozero@yandex.com)(address . 34835-done@debbugs.gnu.org)(name . Leo Famulari)(address . leo@famulari.name)
878sxj5d45.fsf@elephly.net
mikadoZero <mikadozero@yandex.com> writes:

Toggle quote (4 lines)
> Is it common for the Scheme variable to be different from the package
> name? What benefit is there to it being different compared to it being
> the same?

It is not very common, but sometimes it is necessary (in the case of
“gnu-gettext”), and sometimes it is merely convenient.

--
Ricardo
Closed
mikadoZero wrote 6 years ago
(name . Ricardo Wurmus)(address . rekado@elephly.net)(address . 34835-done@debbugs.gnu.org)
4l86ucto.fsf@yandex.com
Ricardo Wurmus writes:

Toggle quote (9 lines)
> mikadoZero <mikadozero@yandex.com> writes:
>
>> Is it common for the Scheme variable to be different from the package
>> name? What benefit is there to it being different compared to it being
>> the same?
>
> It is not very common, but sometimes it is necessary (in the case of
> “gnu-gettext”), and sometimes it is merely convenient.

Thanks
Closed
?
Your comment

This issue is archived.

To comment on this conversation send an email to 34835@debbugs.gnu.org

To respond to this issue using the mumi CLI, first switch to it
mumi current 34835
Then, you may apply the latest patchset in this issue (with sign off)
mumi am -- -s
Or, compose a reply to this issue
mumi compose
Or, send patches to this issue
mumi send-email *.patch
You may also tag this issue. See list of standard tags. For example, to set the confirmed and easy tags
mumi command -t +confirmed -t +easy
Or, remove the moreinfo tag and set the help tag
mumi command -t -moreinfo -t +help