On 11/6/07, Andrew Sackville-West <[EMAIL PROTECTED]> wrote: > On Tue, Nov 06, 2007 at 01:32:47PM +1100, hce wrote: > > On 11/6/07, Andrew Sackville-West <[EMAIL PROTECTED]> wrote: > > > On Tue, Nov 06, 2007 at 11:35:17AM +1100, hce wrote: > > > > On 11/6/07, Andrew Sackville-West <[EMAIL PROTECTED]> 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.
I did sudo apt-get --reinstall install tftpd > you can verify with > > dpkg -l tftpd $ sudo 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 +++-==============-==============-============================================ ii tftpd 0.17-15 Trivial file transfer protocol server Couldn't see what is difference :-). > which should now show > > ... > ii tftpd blah blah blah > > and > > dpkg -L tftpd $ sudo dpkg -L tftpd /. /usr /usr/sbin /usr/sbin/in.tftpd /usr/share /usr/share/man /usr/share/man/man8 /usr/share/man/man8/in.tftpd.8.gz /usr/share/doc /usr/share/doc/tftpd /usr/share/doc/tftpd/README /usr/share/doc/tftpd/copyright /usr/share/doc/tftpd/changelog.Debian.gz /usr/share/doc/tftpd/changelog.gz /usr/share/man/man8/tftpd.8.gz That's different. > which should show a handful of files (its a pretty small package). > > > and now you can try restarting inet.d and see what happens. Well, I've called "$ sudo /etc/init.d/openbsd-inetd restart", but tftpd doesn't seem work. I tried a tftp client, but could not get files. Also I tried "netstat -a | grep tftp", nothing shown up?? Thank you. Jim -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]