Dont know what kind of "hostname" tool you got installed on your machine. It works on my Debian 1.1 system.
On Fri, 30 Aug 1996, Douglas Bates wrote: bates>Package: smartlist bates>Status: install ok half-configured bates>Priority: optional bates>Section: mail bates>Maintainer: Christoph Lameter <[EMAIL PROTECTED]> bates>Version: 3.10-1 bates>Depends: smail | sendmail | mail-transport-agent, procmail, libc5 (>= 5.2.18-1) bates>Description: Versatile and Fast List Processor bates> bates>------ Clip here for transcript ------ bates>Setting up smartlist (3.10-1) ... bates>hostname: illegal option -- q bates>Usage: hostname [-v] {hostname|-F file} set host name (from file) bates> domainname [-v] {nisdomain|-F file} set NIS domain name (from file) bates> hostname [-v] [-d|-f|-s|-a|-i|-y] display formated name bates> hostname [-v] display host name bates> hostname -V|--version|-h|--help print info and exit bates> dnsdomainname=hostname -d, {yp,nis,}domainname=hostname -y bates> -s, --short short host name bates> -a, --alias alias names bates> -i, --ip-address addresses for the host name bates> -f, --fqdn, --long long host name (FQDN) bates> -d, --domain DNS domain name bates> -y, --yp, --nis NIS/YP domain name bates> -F, --file read host name or NIS domain name from given File bates> This comand can get or set the host name or the NIS domain name. You can bates> also get the DNS domain or the FQDN (fully qualified domain name). bates> Unless you are using bind or NIS for host lookups you can change the bates> FQDN (Fully Qualified Domain Name) and the DNS domain name (which is bates> part of the FQDN) in the /etc/hosts file. bates>/var/lib/dpkg/info/smartlist.postinst: newaliases: command not found bates>dpkg: error processing smartlist (--configure): bates> subprocess post-installation script returned error exit status 127 bates>Errors were encountered while processing: bates> smartlist bates>dpkg --configure returned error exit status 1. bates> {}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{} {} Snail Mail: FTS Box 466, 135 N.Oakland Ave, Pasadena, CA 91182 {} {} FISH Internet System Administrator at Fuller Theological Seminary {} {}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{} PGP Public Key = FB 9B 31 21 04 1E 3A 33 C7 62 2F C0 CD 81 CA B5