so I'm in a very tricky situation. I've installed denyhosts on my debian machine and suddenly I can't use SSH anymore.
Hopefully I could still login through webmin, but with root, so I had to login with another user and then "su".
I flushed the IPtables, changed the port of SSH back to 22 (I had it previously changed) and tried to remove denyhosts : aptitude remove denyhosts.
It doesn't seem to work:
E: Waited for /usr/bin/apt-listchanges --apt || test $? -ne 10 but it wasn't the re E: Failure running script /usr/bin/apt-listchanges --apt || test $? -ne 10
at this point I really don't know what to do, I still can't connect through SSH and I only have this text terminal in webmin that allows me to do it but very slowly. Any idea ?
PS:
When I do an aptitude upgrade now I get an error:
Get:1 http://security.debian.org/ squeeze/updates/main file amd64 5.04-5+squeeze 5 [50.3 kB]
Get:2 http://security.debian.org/ squeeze/updates/main libmagic1 amd64 5.04-5+sq ueeze5 [236 kB]
Fetched 286 kB in 0s (622 kB/s)
dpkg-deb: unrecoverable fatal error, aborting:
wait for subprocess tar failed: No child processes
close failed in file object destructor:
IOError: [Errno 10] No child processes
Traceback (most recent call last):
File "/usr/bin/apt-listchanges", line 237, in <module> main()
File "/usr/bin/apt-listchanges", line 102, in main
pkg = DebianFiles.Package(deb)
File "/usr/share/apt-listchanges/DebianFiles.py", line 133, in __init__
self.binary = pkgdata.Package
AttributeError: ControlStanza instance has no attribute 'Package'
E: Waited for /usr/bin/apt-listchanges --apt || test $? -ne 10 but it wasn't the re
E: Failure running script /usr/bin/apt-listchanges --apt || test $? -ne 10 A package failed to install. Trying to recover:
I get the same kind of error when I do a install or reinstall denyhosts...