Created
March 24, 2012 18:46
-
-
Save THUFIR/2186508 to your computer and use it in GitHub Desktop.
fqdn
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
thufir@dur:~$ | |
thufir@dur:~$ sudo echo "hostname wrong" | |
sudo: unable to resolve host dur | |
hostname wrong | |
thufir@dur:~$ | |
thufir@dur:~$ cat /etc/hostname | |
dur | |
thufir@dur:~$ | |
thufir@dur:~$ cat /etc/hosts | |
127.0.0.1 localhost | |
#127.0.1.1 dur | |
127.0.1.1 dur.bounceme.net | |
# The following lines are desirable for IPv6 capable hosts | |
::1 ip6-localhost ip6-loopback | |
fe00::0 ip6-localnet | |
ff00::0 ip6-mcastprefix | |
ff02::1 ip6-allnodes | |
ff02::2 ip6-allrouters | |
thufir@dur:~$ | |
thufir@dur:~$ hostname | |
dur | |
thufir@dur:~$ | |
thufir@dur:~$ sudo aptitude install -y inn2 | |
sudo: unable to resolve host dur | |
The following NEW packages will be installed: | |
inn2 inn2-inews{a} libconvert-binhex-perl{a} libmime-tools-perl{a} | |
0 packages upgraded, 4 newly installed, 0 to remove and 0 not upgraded. | |
Need to get 0 B/4,349 kB of archives. After unpacking 10.4 MB will be used. | |
Selecting previously deselected package inn2-inews. | |
(Reading database ... 185240 files and directories currently installed.) | |
Unpacking inn2-inews (from .../inn2-inews_2.5.2+20110413-1_i386.deb) ... | |
Selecting previously deselected package libconvert-binhex-perl. | |
Unpacking libconvert-binhex-perl (from .../libconvert-binhex-perl_1.119+pristine-3_all.deb) ... | |
Selecting previously deselected package libmime-tools-perl. | |
Unpacking libmime-tools-perl (from .../libmime-tools-perl_5.502-1_all.deb) ... | |
Processing triggers for man-db ... | |
Setting up inn2-inews (2.5.2+20110413-1) ... | |
Selecting previously deselected package inn2. | |
(Reading database ... 185334 files and directories currently installed.) | |
Unpacking inn2 (from .../inn2_2.5.2+20110413-1_i386.deb) ... | |
Processing triggers for man-db ... | |
Processing triggers for ureadahead ... | |
Setting up libconvert-binhex-perl (1.119+pristine-3) ... | |
Setting up libmime-tools-perl (5.502-1) ... | |
Setting up inn2 (2.5.2+20110413-1) ... | |
innconfval: hostname does not resolve or domain not set in inn.conf | |
dpkg: error processing inn2 (--configure): | |
subprocess installed post-installation script returned error exit status 1 | |
No apport report written because MaxReports is reached already | |
Errors were encountered while processing: | |
inn2 | |
E: Sub-process /usr/bin/dpkg returned an error code (1) | |
A package failed to install. Trying to recover: | |
Setting up inn2 (2.5.2+20110413-1) ... | |
innconfval: hostname does not resolve or domain not set in inn.conf | |
dpkg: error processing inn2 (--configure): | |
subprocess installed post-installation script returned error exit status 1 | |
Errors were encountered while processing: | |
inn2 | |
thufir@dur:~$ | |
thufir@dur:~$ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment