#1 2017-12-21 07:52:09

valvalosch
Trusted Member
Registered: 2013-12-23
Posts: 10

404's on sudo apt-get update

Hello,

I have a server running in the UK (for a while) and we've had 2 IP changes over the years. I can access the server just fine due after figuring out my ip again. I'm not sure if it is related, but i keep getting 404 error when is apt-get update.
Is this just me?
Has my server been hacked?

my /etc/apt/source.list is as follows:

deb http://ftp.debian.org/debian/ squeeze main contrib non-free
deb http://ftp.debian.org/debian/ squeeze-updates main contrib non-free
deb http://security.debian.org/ squeeze/updates main contrib non-free
deb http://packages.dotdeb.org squeeze all

any ideas?

Offline

#2 2017-12-21 09:10:28

Backtogeek
Low End Boss
From: ~/
Registered: 2013-02-13
Posts: 3,607
Website

Re: 404's on sudo apt-get update

https://en.wikipedia.org/wiki/HTTP_404

Squeeze is debian 6, debain 6 has been end of life for over a year at least, reinstall use debian 7 minimum.

You are essentially running a windows 98 server right now.


http://LittleHappyCloud.net KVM VPS with 1TB Bandwidth for €3.00

Offline

#3 2017-12-21 10:39:49

valvalosch
Trusted Member
Registered: 2013-12-23
Posts: 10

Re: 404's on sudo apt-get update

Thanks for the quick reply. Upgraded to Stretch which seemed easy enough.

I always thought there was some dependency for debian because of the shared kernel. Are you telling me i can install any distribution?

Last edited by valvalosch (2017-12-21 10:40:30)

Offline

#4 2017-12-21 12:07:37

Backtogeek
Low End Boss
From: ~/
Registered: 2013-02-13
Posts: 3,607
Website

Re: 404's on sudo apt-get update

Yep, login to solusvm, click reinstall, you obviously have to remain within the limits of your ram so centos 7 is a no go but most others are available.


http://LittleHappyCloud.net KVM VPS with 1TB Bandwidth for €3.00

Offline

#5 2017-12-22 00:41:01

WSS
Trusted Member
Registered: 2016-12-22
Posts: 318

Re: 404's on sudo apt-get update

If you have at least 128MB RAM, you can run Jessie just fine.    I've upgraded all of my wheezy installs to jessie so I can continue to sit on the trailing end of technology.  The use is a bit annoying with a little bit less RAM/CPU with systemd, but overall it's still quite usable for VPN/nginx/etc..

If you change all "squeeze" references to "wheezy" in your config, then do an apt-get update; apt-get upgrade; apt-get dist-upgrade; reboot; apt-get dist-upgrade, it should take you fairly seamlessly into Debian 7; be prepped to edit a few config files.

Last edited by WSS (2017-12-22 00:42:23)


RbyeR4Nm.png

Offline

Board footer