Tftp stops working a few minutes after starting
-
[code]
sudo apt-get update
sudo apt-get install tftpd-hpa[/code]404 errors are due to connectivity, are you certain your fog server has access to the internet?
-
How do I get rid of:
“Errors were encountered while processing:
tftpd-hpa
E: Sub-process /usr/bin/dpkg returned an error code (1)” -
This post is deleted! -
“Should port-fast be enabled on the port to which the server is connected, the port to which the workstation is connected, or both?”
-
You’re removal never completed, run the purge command again now that you ran the update.
and I enabled portfast on every port I had
-
"sudo apt-get purge tftpd-hpa
Reading package lists… Done
Building dependency tree
Reading state information… Done
The following packages will be REMOVED:
tftpd-hpa
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 193 kB disk space will be freed.
Do you want to continue [Y/n]?
(Reading database … 154651 files and directories currently installed.)
Removing tftpd-hpa …
dpkg: error processing tftpd-hpa (–remove):
subprocess installed post-removal script returned error exit status 1
No apport report written because MaxReports is reached already
Processing triggers for ureadahead …
Errors were encountered while processing:
tftpd-hpa
E: Sub-process /usr/bin/dpkg returned an error code (1)
" -
[code]
sudo apt-get -f install tftpd-hpa
sudo apt-get update
sudo apt-get purge tftpd-hpa
sudo apt-get -f tftpd-hpa[/code]if a command fails then stop and report.
-
[CODE]sudo apt-get -f install tftpd-hpa
Reading package lists… Done
Building dependency tree
Reading state information… Done
tftpd-hpa is already the newest version.
The following packages will be REMOVED:
tftpd-hpa
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 193 kB disk space will be freed.
Do you want to continue [Y/n]?
(Reading database … 154651 files and directories currently installed.)
Removing tftpd-hpa …
dpkg: error processing tftpd-hpa (–remove):
subprocess installed post-removal script returned error exit status 1
No apport report written because MaxReports is reached already
Processing triggers for ureadahead …
Errors were encountered while processing:
tftpd-hpa
E: Sub-process /usr/bin/dpkg returned an error code (1)[/CODE] -
see the issue here? it’s not FOG, it’s your Linux Installation, its unhappy for some reason.
[code]
sudo dpkg --configure -a[/code] -
Ran that command and then [code]sudo apt-get purge tftpd-hpa[/code] and got the same error.
-
elijakan14, are you using dnsmasq?
-
This post is deleted! -
I don’t think I am, I ran [code]sudo apt-get remove --auto-remove ltsp-server-standalone[/code]
and got
[code]E: Unable to locate package ltsp-server-standalone[/code] -
try [code] sudo apt -get remove dnsmasq[/code]
-
Can you try these commands:
[code]sudo apt-get -f install tftpd-hpa tftp-hpa
sudo apt-get update
sudo apt-get purge tftpd-hpa tftp-hpa
sudo apt-get -f tftpd-hpa tftp-hpa[/code] -
[quote=“Jaymes Driver, post: 31612, member: 3582”]try [code] sudo apt -get remove dnsmasq[/code][/quote]
[code]sudo apt-get remove dnsmasq
Reading package lists… Done
Building dependency tree
Reading state information… Done
Virtual packages like ‘dnsmasq’ can’t be removed
The following packages will be REMOVED:
tftpd-hpa
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 193 kB disk space will be freed.
Do you want to continue [Y/n]?
(Reading database … 154651 files and directories currently installed.)
Removing tftpd-hpa …
dpkg: error processing tftpd-hpa (–remove):
subprocess installed post-removal script returned error exit status 1
Processing triggers for ureadahead …
Errors were encountered while processing:
tftpd-hpa
E: Sub-process /usr/bin/dpkg returned an error code (1)
[/code] -
[quote=“Tom Elliott, post: 31613, member: 7271”]Can you try these commands:
[code]sudo apt-get -f install tftpd-hpa tftp-hpa
sudo apt-get update
sudo apt-get purge tftpd-hpa tftp-hpa
sudo apt-get -f tftpd-hpa tftp-hpa[/code][/quote]They all gave the error from before
-
What errors?
-
[quote=“Tom Elliott, post: 31618, member: 7271”]What errors?[/quote]
[code] sudo apt-get -f install tftpd-hpa tftp-hpa: http://gyazo.com/624121cc83380b50b924d864afc966e8
sudo apt-get update runs okay with some errors as expected
sudo apt-get purge tftpd-hpa tftp-hpa: http://gyazo.com/9f9e05815d9b935f205bb276783ef40f
sudo apt-get -f install tftpd-hpa tftp-hpa: http://gyazo.com/33240d9ff9b4e6d22b9e253158ca3b89
[/code] -
I know it’s not optimal, but I would highly recommend reinstalling OS at this point. While I’d love to keep digging to figure out exactly what it will take to fix this, it’s been FAR too long I think.