reran Setup: /etc/profile: line 136: /usr/bin/hostname: No such file or directory

Gerry Reno
Sun Sep 7 13:28:00 GMT 2014

On 09/07/2014 02:12 AM, Achim Gratz wrote:
> Gerry Reno writes:
>> Reran setup on a XP machine this afternoon (Base only) and when I bring up a cygwin term I see this:
>>     /etc/profile: line 136: /usr/bin/hostname: No such file or directory
>> Previously:
>>     $ which hostname
>>     /usr/bin/hostname
> Previously, this was in coreutils, but is now provided from another
> package.
>> Today:
>>     $ which hostname
>>     /cygdrive/c/WINDOWS/system32/hostname
> You are missing the hostname package.  Since that package it is in Base,
> it should be installed automatically.
> So somehow you've managed to update coreutils, but not install hostname.
> Regards,
> Achim.

The original installs were done back in January.

When I rerun Setup and update them they have coreutils but no hostname package.
The hostname package does not get added.


Problem reports:
Unsubscribe info:

More information about the Cygwin mailing list