Forum archive
Old TKLBAM Version Error
I have old LAMP image with tklbam 1.1. I am trying to backup to the hub but get this error. My other server's backup okay to s3
Traceback (most recent call last):
File "/usr/bin/tklbam-backup", line 266, in <module>
main()
File "/usr/bin/tklbam-backup", line 199, in main
registry.credentials = hb.get_credentials()
File "/usr/lib/tklbam/hub.py", line 192, in get_credentials
return Credentials(response)
File "/usr/lib/tklbam/hub.py", line 160, in __init__
self.usertoken = response['usertoken']
KeyError: 'usertoken'
I have tried various options to update.
running
apt-get update && apt-get install tklbam*
I get
The following packages have unmet dependencies:
linux-image-generic: Depends: linux-image-2.6.32-74-generic but it is not going to be installed
Also tried
dpkg -i tklbam*.deb turnkey-pylib*.deb pycurl-wrapper*.deb
With error
dpkg: error processing tklbam*.deb (--install):
cannot access archive: No such file or directory
dpkg: error processing turnkey-pylib*.deb (--install):
cannot access archive: No such file or directory
dpkg: error processing pycurl-wrapper*.deb (--install):
cannot access archive: No such file or directory
Errors were encountered while processing:
tklbam*.deb
turnkey-pylib*.deb
pycurl-wrapper*.deb
Any ideas so I can migrate this old one.
Thanks
PAul
The dpkg commands require that you have already manually downloaded the relevant deb package, that why that's not working...
As to your issue regarding the linux-image; that is a weird one. I can only assume that at some point you have installed a custom kernel, or perhaps a kernel from backports or something. A quick google showed a couple of similar issues; this one looks possibly the most relevant (it's for Ubuntu not Debian so you won't be able to follow the instructions exactly but it may give you some ideas).
FWIW linux-image is the kernel package so it is pretty vital. I know that you are trying to get TKLBAM working but if you have anyway of getting some sort of backup prior to messing with the kernel I would highly recommend it...
If you want to avoid messing with the kernel for now and just get TKLBAM going, then you can manually download the relevant packages (i.e. using wget) from our repo: http://archive.turnkeylinux.org/debian/pool/squeeze/main/ then install them with dpkg -i as you are already trying (although I'm sure it'll work better if you download them first! :)
PS I thought I posted this before I went to bed last night but it seems I didn't... Sorry about that...