evo2, I am sorry. You know I like Linux and kind of hate it at the same time. It is an enormous piece of imaginative work but it is hard to get used to it for a person who knows how to program in Windows. Anyhow I just ran the commands
sudo ... update &
sudo ... install gfortran. This is what I got:
Bug Description
$ sudo apt-get install nmh
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following package was automatically installed and is no longer required:
qt4-demos
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
daemontools fastforward fgetty procmail qmail qmail-run qmail-uids-gids runit ucspi-tcp
Suggested packages:
exmh mh-e mh-book dot-forward qmail-tools socklog-run
Recommended packages:
mail-transport-agent metamail
The following NEW packages will be installed:
daemontools fastforward fgetty nmh procmail qmail qmail-run qmail-uids-gids runit ucspi-tcp
0 upgraded, 10 newly installed, 0 to remove and 170 not upgraded.
Need to get 3,339 kB of archives.
After this operation, 9,404 kB of additional disk space will be used.
Do you want to continue [Y/n]? Y
Get:1
http://archive.ubuntu.com/ubuntu/ precise/universe daemontools amd64 1:0.76-3ubuntu3 [79.6 kB]
Get:2
http://archive.ubuntu.com/ubuntu/ precise/universe fgetty amd64 0.6-5build1 [25.4 kB]
Get:3
http://archive.ubuntu.com/ubuntu/ precise/universe nmh amd64 1.3-1build1 [2,346 kB]
Get:4
http://archive.ubuntu.com/ubuntu/ precise/main procmail amd64 3.22-19 [155 kB]
Get:5
http://archive.ubuntu.com/ubuntu/ precise/universe runit amd64 2.1.1-6.2ubuntu2 [112 kB]
Get:6
http://archive.ubuntu.com/ubuntu/ precise/universe ucspi-tcp amd64 1:0.88-3 [112 kB]
Get:7
http://archive.ubuntu.com/ubuntu/ precise/universe fastforward amd64 1:0.51-3 [63.3 kB]
Get:8
http://archive.ubuntu.com/ubuntu/ precise/universe qmail-uids-gids all 1.06-4 [33.5 kB]
Get:9
http://archive.ubuntu.com/ubuntu/ precise/universe qmail amd64 1.06-4 [403 kB]
Get:10
http://archive.ubuntu.com/ubuntu/ precise/universe qmail-run all 2.0.2 [10.3 kB]
Fetched 3,339 kB in 7s (465 kB/s)
Selecting previously unselected package daemontools.
(Reading database ... 294665 files and directories currently installed.)
Unpacking daemontools (from .../daemontools_1%3a0.76-3ubuntu3_amd64.deb) ...
Selecting previously unselected package fgetty.
Unpacking fgetty (from .../fgetty_0.6-5build1_amd64.deb) ...
Selecting previously unselected package nmh.
Unpacking nmh (from .../nmh_1.3-1build1_amd64.deb) ...
Selecting previously unselected package procmail.
Unpacking procmail (from .../procmail_3.22-19_amd64.deb) ...
Selecting previously unselected package runit.
Unpacking runit (from .../runit_2.1.1-6.2ubuntu2_amd64.deb) ...
Selecting previously unselected package ucspi-tcp.
Unpacking ucspi-tcp (from .../ucspi-tcp_1%3a0.88-3_amd64.deb) ...
Selecting previously unselected package fastforward.
Unpacking fastforward (from .../fastforward_1%3a0.51-3_amd64.deb) ...
Selecting previously unselected package qmail-uids-gids.
Unpacking qmail-uids-gids (from .../qmail-uids-gids_1.06-4_all.deb) ...
Selecting previously unselected package qmail.
Unpacking qmail (from .../qmail_1.06-4_amd64.deb) ...
Selecting previously unselected package qmail-run.
Unpacking qmail-run (from .../qmail-run_2.0.2_all.deb) ...
Processing triggers for man-db ...
Processing triggers for ureadahead ...
ureadahead will be reprofiled on next reboot
Setting up daemontools (1:0.76-3ubuntu3) ...
Setting up fgetty (0.6-5build1) ...
Setting up nmh (1.3-1build1) ...
Setting up procmail (3.22-19) ...
Setting up runit (2.1.1-6.2ubuntu2) ...
grep: /etc/inittab: No such file or directory
grep: /etc/inittab: No such file or directory
runsvdir start/running, process 5561
Setting up ucspi-tcp (1:0.88-3) ...
Setting up fastforward (1:0.51-3) ...
Setting up qmail-uids-gids (1.06-4) ...
No qmail-users or -groups found.
This script runs the following commands, without adding these users and
groups, this qmail-package cannot run on this system.
# groupadd -g 64010 qmail
# addgroup --system nofiles
# useradd -u 64010 -g nofiles -d /var/lib/qmail/alias alias
# useradd -u 64011 -g nofiles -d /var/lib/qmail qmaild
# useradd -u 64015 -g nofiles -d /var/lib/qmail qmaill
# useradd -u 64016 -g nofiles -d /var/lib/qmail qmailp
# useradd -u 64014 -g qmail -d /var/lib/qmail qmailq
# useradd -u 64013 -g qmail -d /var/lib/qmail qmailr
# useradd -u 64012 -g qmail -d /var/lib/qmail qmails
Adding group `nofiles' (GID 132) ...
Done.
qmail uids and gids ok.
Setting up qmail (1.06-4) ...
The hostname -f command returned: $1
Your system needs to have a fully qualified domain name (fqdn) in
order to install the var-qmail packages.
Installation aborted.
dpkg: error processing qmail (--configure):
subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of qmail-run:
qmail-run depends on qmail (>= 1.06-2.1); however:
Package qmail is not configured yet.
dpkg: error processing qmail-run (--configure):
dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
Errors were encountered while processing:
qmail
qmail-run
E: Sub-process /usr/bin/dpkg returned an error code (1)
ProblemType: Package
DistroRelease: Ubuntu 12.04
Package: qmail 1.06-4
ProcVersionSignature: Ubuntu 3.2.0-48.74-generic 3.2.46
Uname: Linux 3.2.0-48-generic x86_64
ApportVersion: 2.0.1-0ubuntu17.3
Architecture: amd64
Date: Fri Jul 26 17:23:38 2013
DistributionChannelDescriptor:
# This is a distribution channel descriptor
# For more information see
http://wiki.ubuntu.com/DistributionChannelDescriptor
canonical-oem-somerville-precise-amd64-20120703-2
DuplicateSignature: package:qmail:1.06-4:subprocess installed post-installation script returned error exit status 1
ErrorMessage: subprocess installed post-installation script returned error exit status 1
InstallationMedia: Ubuntu 12.04 "Precise" - Build amd64 LIVE Binary 20120703-15:08
MarkForUpload: True
SourcePackage: netqmail
Title: package qmail 1.06-4 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
UpgradeStatus: No upgrade log present (probably fresh install)
Tags: precise amd64 apport-package Edit Tag help
Why do I get all this. I did not type install nmh. Why did I get it all?
It says the architecture is amd64. It is true for the host machine: Windows 7 but my Ubuntu is 32 bit machine because for some reason I could not install a 64 bit guest. I did not ask to install
gmail. Why is it there?
Thanks, and I am sorry for my comment. - Alex