Greetings!  I was attempting to update our turnkey linux installation, however having some errors while attempting to do so.  Any guidance or suggestions would be appreciated.  I have limited linux experience, please excuse my ignorance!

 

See attached log file from my attempts. I tried to published documentation method and the standard sudo apt-get update/upgrade. Also it doesn't work with sudo in front of anything.  (see snipit below here)


root@ospftp ~# sudo apt-get upgrade
-bash: sudo: command not found

root@ospftp ~# sudo apt-get update
-bash: sudo: command not found
 

Replies (3)

I guess my log attachment

Reply 1

I guess my log attachment didn't work,I will post the errors below here in reply:

------------------------------



root@ospftp ~# apt-get update
Get:1 http://archive.turnkeylinux.org lucid-security Release.gpg [1133B]
Get:2 http://archive.turnkeylinux.org lucid Release.gpg [1106B]
Get:3 http://archive.turnkeylinux.org lucid-security Release [1121B]
Err http://archive.turnkeylinux.org lucid-security Release

Get:4 http://archive.ubuntu.com lucid-security Release.gpg [1152B]
Get:5 http://archive.turnkeylinux.org lucid Release [1094B]
Err http://archive.turnkeylinux.org lucid Release

Get:6 http://archive.ubuntu.com lucid Release.gpg [1125B]
Get:7 http://archive.ubuntu.com lucid-updates Release.gpg [1149B]
Get:8 http://archive.ubuntu.com lucid-security Release [1140B]
Err http://archive.ubuntu.com lucid-security Release

Get:9 http://archive.ubuntu.com lucid Release [1113B]
Err http://archive.ubuntu.com lucid Release

Get:10 http://archive.ubuntu.com lucid-updates Release [1137B]
Err http://archive.ubuntu.com lucid-updates Release

Fetched 11.3kB in 0s (15.4kB/s)
Reading package lists... Done
W: A error occurred during the signature verification. The repository is not updated and the previous index files will be used.GPG error: http://archive.turnkeylinux.org lucid-security Release: The following signatures were invalid: NODATA 1 NODATA 2

W: A error occurred during the signature verification. The repository is not updated and the previous index files will be used.GPG error: http://archive.turnkeylinux.org lucid Release: The following signatures were invalid: NODATA 1 NODATA 2

W: A error occurred during the signature verification. The repository is not updated and the previous index files will be used.GPG error: http://archive.ubuntu.com lucid-security Release: The following signatures were invalid: NODATA 1 NODATA 2

W: A error occurred during the signature verification. The repository is not updated and the previous index files will be used.GPG error: http://archive.ubuntu.com lucid Release: The following signatures were invalid: NODATA 1 NODATA 2

W: A error occurred during the signature verification. The repository is not updated and the previous index files will be used.GPG error: http://archive.ubuntu.com lucid-updates Release: The following signatures were invalid: NODATA 1 NODATA 2

W: Failed to fetch http://archive.turnkeylinux.org/ubuntu/dists/lucid-security/Release

W: Failed to fetch http://archive.turnkeylinux.org/ubuntu/dists/lucid/Release

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/lucid-security/Release

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/lucid/Release

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/lucid-updates/Release

W: Some index files failed to download, they have been ignored, or old ones used instead.
root@ospftp ~# apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages have been kept back:
  casper
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.

the published update method

Reply 2

the published update method did not work either:

root@ospftp ~# turnkey-install-security-updates
-bash: turnkey-install-security-updates: command not found

This is a crazy old server!

Reply 3

This is a ~10 year old server which is based on a version of Ubuntu which has not been supported for at least 5+ years. The reason why it's not working is because the Ubuntu Lucid repository no longer exists.

The only thing I can recommend is migrating the data to a newer, supported server. It's so old I would definitely not recommend trying to update this OS (it'll be more trouble than it's worth).

Please share a bit more about the server's purpose. I.e. where it's running and what it's hosting. WIth more info I'm more than happy to share my opinion on the best way forward.