You are not logged in.

#1 2011-08-26 07:57:44

polslinux
Member
From: Germany
Registered: 2009-03-30
Posts: 28
Website

[solved] hostname command not found

Some months ago i've got this problem:

 startx: line 127 hostname command not found

that i solved with

pacman -S net-tools

Today the problem is here again O.o

I've reinstalled net-tools and coreutils but nothing sad

Last edited by polslinux (2011-08-26 11:31:26)

Offline

#2 2011-08-26 08:38:49

litemotiv
Forum Fellow
Registered: 2008-08-01
Posts: 5,026

Re: [solved] hostname command not found


ᶘ ᵒᴥᵒᶅ

Offline

#3 2011-08-26 09:53:47

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [solved] hostname command not found

http://mailman.archlinux.org/pipermail/ … 21397.html


Edit: inetutils from [testing] http://www.archlinux.org/packages/testi … inetutils/ have the hostname binary and it was removed from the [testing] net-tools http://www.archlinux.org/packages/testi … net-tools/

Packages in [core] still work the old way: net-tools provides hostname.

Last edited by karol (2011-08-26 10:29:33)

Offline

#4 2011-08-26 11:31:06

polslinux
Member
From: Germany
Registered: 2009-03-30
Posts: 28
Website

Re: [solved] hostname command not found

thanks a lot smile

Offline

#5 2011-10-06 04:39:00

scarecrow
Member
From: Greece
Registered: 2004-11-18
Posts: 715

Re: [solved] hostname command not found

net-tools is not providing hostname since its last update.
I found a rather ugly, but working solution: I installed bysybox (from community) and then linked /bin/busybox to /bin/hostname.
If someone has a better solution, please let me know.

Last edited by scarecrow (2011-10-06 05:02:43)


Microshaft delenda est

Offline

#6 2011-10-06 04:48:12

stlarch
Member
From: hell
Registered: 2010-12-25
Posts: 1,265

Re: [solved] hostname command not found

inetutils provides hostname now

Offline

#7 2011-10-06 05:16:01

scarecrow
Member
From: Greece
Registered: 2004-11-18
Posts: 715

Re: [solved] hostname command not found

@ stlarch:
Thank you!
Should we file a bug report (or rather flag it out-of-date), so that freenx will depend on inetutils package?
EDIT: I notified the package maintainer about this issue.

Last edited by scarecrow (2011-10-06 05:22:22)


Microshaft delenda est

Offline

#8 2011-10-11 02:21:21

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [solved] hostname command not found

Just for the record:
freenx 0.7.3-10 depends on inetutils - http://projects.archlinux.org/svntogit/ … a53cda746a

Offline

#9 2011-11-08 21:54:20

Axanon
Member
From: Toronto
Registered: 2010-06-12
Posts: 53

Re: [solved] hostname command not found

I just did a fresh install of Arch, I have inetutils installed, but the hostname command is not located in my path, it is located at /usr/lib/gettext/hostname.

I assume symlinking to it in /usr/bin would fix any issues.. right?

Offline

#10 2011-11-08 22:26:09

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [solved] hostname command not found

Axanon wrote:

I just did a fresh install of Arch, I have inetutils installed, but the hostname command is not located in my path, it is located at /usr/lib/gettext/hostname.

I assume symlinking to it in /usr/bin would fix any issues.. right?

You need to update your system, no symlinking is necessary.

Offline

Board footer

Powered by FluxBB