Re: How to check tftp server is running?
On Tue, Nov 06, 2007 at 01:32:47PM +1100, hce wrote:
> On 11/6/07, Andrew Sackville-West <andrew@farwestbilliards.com> wrote: > > On Tue, Nov 06, 2007 at 11:35:17AM +1100, hce wrote: > > > On 11/6/07, Andrew Sackville-West <andrew@farwestbilliards.com> wrote: > > ... > > > > please provide > > > > > > > > dpkg -l tftpd > > > > > > ~$ dpkg -l tftpd > > > Desired=Unknown/Install/Remove/Purge/Hold > > > | Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed > > > |/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad) > > > ||/ Name Version Description > > > +++-==============-==============-============================================ > > > rc tftpd 0.17-15 Trivial file transfer protocol server > > > > > > That command seems work. > > > > > > > rc means that it is not installed. > > > > > > and > > > > > > > > apt-cache policy tftpd > > > > > > ~$ apt-cache policy tftpd > > > tftpd: > > > Installed: 0.17-15 > > > Candidate: 0.17-15 > > > Version table: > > > *** 0.17-15 0 > > > 500 ftp://ftp.au.debian.org etch/main Packages > > > 100 /var/lib/dpkg/status > > > > > > That shows it was indeed installed. > > > > yeah. you've got a problem there. > > > > do > > > > apt-get update > > $ sudo apt-get update
[snipped output of apt-get --reinstall... process]
> > $ sudo apt-cache policy tftpd > tftpd: > Installed: 0.17-15 > Candidate: 0.17-15 > Version table: > *** 0.17-15 0 > 500 ftp://ftp.au.debian.org etch/main Packages > 100 /var/lib/dpkg/status > > It was the same as the previouse one, what was the problem there?
sorry for not being clear. the problem was that dpkg thinks you've
removed the package as evidenced by the dpkg -L failure and the status
of tftpd shown in dpkg -l (rc for removed but still configured (i
think)) while apt-cache thinks the package is installed as shown by
the previous apt-cache policy output.
By --reinstalling it, the files should be there now.
you can verify with
dpkg -l tftpd
which should now show
...
ii tftpd blah blah blah
and
dpkg -L tftpd
which should show a handful of files (its a pretty small package).
and now you can try restarting inet.d and see what happens.
A
--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Received on Mon Nov 5 22:43:58 2007
This archive was generated by hypermail 2.1.8
: Mon Feb 25 2008 - 13:58:54 EST
|