LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-19-2014, 10:55 PM   #1
jbruyet
Member
 
Registered: Feb 2011
Location: North Central Washington
Distribution: Debian, OpenSUSE, Kali, Ubuntu
Posts: 178

Rep: Reputation: 7
How do I update Squeeze to Wheezy when I can't update?


Hey all, I just saw that the reason I'm unable to update my Debian server is because Squeeze updates ended on May 2014. I then decided to update to Wheezy, but the instructions I've seen say to run apt-get update before upgrading. Well, that won't work for me now. Here's some of what I get when I try to do updates:

Code:
Err http://ftp.us.debian.org squeeze-updates Release.gpg
  Unable to connect to ftp.us.debian.org:http: [IP: 128.61.240.89 13281]
Err http://ftp.us.debian.org/debian/ squeeze-updates/main Translation-en
  Unable to connect to ftp.us.debian.org:http: [IP: 128.61.240.89 13281]
Err http://ftp.us.debian.org/debian/ squeeze-updates/main Translation-en_US
  Unable to connect to ftp.us.debian.org:http: [IP: 128.61.240.89 13281]
Reading package lists... Done                      
W: Failed to fetch http://ftp.us.debian.org/debian/dists/squeeze/Release.gpg  Could not connect to ftp.us.debian.org:13281 (128.61.240.89). - connect (111: Connection refused) [IP: 128.61.240.89 13281]

W: Failed to fetch http://ftp.us.debian.org/debian/dists/squeeze/main/i18n/Translation-en.bz2  Unable to connect to ftp.us.debian.org:http: [IP: 128.61.240.89 13281]

W: Failed to fetch http://ftp.us.debian.org/debian/dists/squeeze/main/i18n/Translation-en_US.bz2  Unable to connect to ftp.us.debian.org:http: [IP: 128.61.240.89 13281]
I don't want to "Nuke and Repopulate" but at this time I don't see any other choices. Any ideas? Suggestions? Recommendations?

Thanks,

Joe B

Last edited by jbruyet; 08-19-2014 at 10:57 PM.
 
Old 08-19-2014, 11:26 PM   #2
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,726

Rep: Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706
Hi,

after EOL, the repos get moved to archive.debian.org. So you should update your /etc/apt/sources.list accordingly.

Evo2.
 
Old 08-19-2014, 11:27 PM   #3
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
Support for Squeeze has been extended and the repos have been moved. Have a look here: https://wiki.debian.org/LTS/Using
 
1 members found this post helpful.
Old 08-19-2014, 11:42 PM   #4
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,726

Rep: Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706
Hi,

nice catch TobiSGD.

Evo2.
 
Old 08-20-2014, 12:11 AM   #5
jbruyet
Member
 
Registered: Feb 2011
Location: North Central Washington
Distribution: Debian, OpenSUSE, Kali, Ubuntu
Posts: 178

Original Poster
Rep: Reputation: 7
Yes! Thanks guys or gals!

Thanks,

Joe B
 
Old 08-20-2014, 11:57 AM   #6
jbruyet
Member
 
Registered: Feb 2011
Location: North Central Washington
Distribution: Debian, OpenSUSE, Kali, Ubuntu
Posts: 178

Original Poster
Rep: Reputation: 7
Hi TobiGSD, I made the lts changes but I'm still getting pretty much the same errors. My current sources.list:

Code:
root@Outland:/home/jobee# cat /etc/apt/sources.list
deb http://http.debian.net/debian/ squeeze-lts main contrib non-free
deb-src http://http.debian.net/debian/ squeeze-lts main contrib non-free



deb http://http.debian.net/debian/ squeeze main contrib non-free
deb-src http://http.debian.net/debian/ squeeze main contrib non-free

deb http://security.debian.org/ squeeze/updates main contrib non-free
deb-src http://security.debian.org/ squeeze/updates main contrib non-free

deb http://http.debian.net/debian squeeze-lts main contrib non-free
deb-src http://http.debian.net/debian squeeze-lts main contrib non-free
root@Outland:/home/jobee#
And a few of my errors:

Code:
root@Outland:/home/jobee# apt-get update
Err http://http.debian.net squeeze-lts Release.gpg
  Could not connect to http.debian.net:13281 (46.4.205.44). - connect (111: Connection refused)
Err http://http.debian.net/debian/ squeeze-lts/contrib Translation-en
  Unable to connect to http.debian.net:http:
Err http://http.debian.net/debian/ squeeze-lts/contrib Translation-en_US
  Unable to connect to http.debian.net:http:

W: Failed to fetch http://http.debian.net/debian/dists/squeeze-lts/Release.gpg  Could not connect to http.debian.net:13281 (46.4.205.44). - connect (111: Connection refused)

W: Failed to fetch http://http.debian.net/debian/dists/squeeze-lts/contrib/i18n/Translation-en.bz2  Unable to connect to http.debian.net:http:

W: Failed to fetch http://http.debian.net/debian/dists/squeeze-lts/contrib/i18n/Translation-en_US.bz2  Unable to connect to http.debian.net:http:
I'm current with my debian-archive-keyring file. I was going to change my apt.conf file but I don't even have one. Any other ideas?

Thanks,

Joe B
 
Old 08-20-2014, 01:28 PM   #7
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
Sorry, but I don't have a Squeeze machine anymore, so I can't help with that.
 
Old 08-20-2014, 02:18 PM   #8
jbruyet
Member
 
Registered: Feb 2011
Location: North Central Washington
Distribution: Debian, OpenSUSE, Kali, Ubuntu
Posts: 178

Original Poster
Rep: Reputation: 7
Ok thanks. Anyone else?

Thanks,

Joe B
 
Old 08-20-2014, 03:36 PM   #9
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,841

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
I think you have duplicates
Quote:
deb http://http.debian.net/debian squeeze-lts main contrib non-free
deb-src http://http.debian.net/debian squeeze-lts main contrib non-free
Also did you need to run
Quote:
apt-get install debian-archive-keyring
per
Quote:
You need to have an up-to-date debian-archive-keyring package before APT will trust the squeeze-lts suite. If you see a NO_PUBKEY warning after adding the squeeze-lts sources, run apt-get install debian-archive-keyring and try again.
 
Old 08-20-2014, 08:59 PM   #10
jbruyet
Member
 
Registered: Feb 2011
Location: North Central Washington
Distribution: Debian, OpenSUSE, Kali, Ubuntu
Posts: 178

Original Poster
Rep: Reputation: 7
Hi Eddy1, as to duplicates I just copied what was on the Squeeze LTS page: https://wiki.debian.org/LTS/Using

I ran the keyring install but the keyring is already installed.

Thanks,

Joe B
 
Old 08-20-2014, 09:07 PM   #11
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,841

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
Quote:
Originally Posted by jbruyet View Post
Hi Eddy1, as to duplicates I just copied what was on the Squeeze LTS page: https://wiki.debian.org/LTS/Using

I ran the keyring install but the keyring is already installed.

Thanks,

Joe B
Remove the dup's or comment out then re-run
Code:
apt-get update & apt-get upgrade
You have to do as root or using sudo
Not to forget
You can also run the 'check-support-status' utility manually to get a list of all unsupported packages installed on your system
Most likely you'll have to run
Quote:
apt-get check-support-status

Last edited by EDDY1; 08-20-2014 at 09:12 PM.
 
Old 08-21-2014, 01:35 PM   #12
jbruyet
Member
 
Registered: Feb 2011
Location: North Central Washington
Distribution: Debian, OpenSUSE, Kali, Ubuntu
Posts: 178

Original Poster
Rep: Reputation: 7
Hmmm... I just held my breath and tried to upgrade one of my servers at work and it worked just fine. It's been rebooted, I've logged in and it's up and working great with no errors. I must have a different problem with my server at home. Thanks all for the time spent on this problem for me. I'm going to close this thread and start looking elsewhere on my home server.

Thanks,

Joe B
 
Old 08-21-2014, 11:26 PM   #13
jbruyet
Member
 
Registered: Feb 2011
Location: North Central Washington
Distribution: Debian, OpenSUSE, Kali, Ubuntu
Posts: 178

Original Poster
Rep: Reputation: 7
I just tried updating my home Debian 6 server the exact same way I did at work and it still didn't work, even using the "tweaked" Wheezy addresses in sources.list. I decided to go ahead and "Nuke and Repopulate" my home Debian 6 server. I'll need to upgrade to Wheezy eventually so I might as well do it now and get it over with. Besides, reinstalling Apache will give me a little more practical experience with configuring it too.

Thanks,

Joe B

Last edited by jbruyet; 08-21-2014 at 11:28 PM.
 
Old 08-22-2014, 12:56 AM   #14
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,841

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
If you were going to wheezy then change sources.list & upgrade it.
 
Old 08-22-2014, 02:00 AM   #15
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,726

Rep: Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706
HI,
Quote:
Originally Posted by EDDY1 View Post
If you were going to wheezy then change sources.list & upgrade it.
OP was originally trying to upgrade. The Debian upgrade instructions say to upgrade all the squeeze packages before changing sources.list for wheezy, hence this thread.

Evo2.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Not able to update on Debian Wheezy jabt Linux - Newbie 4 10-08-2013 10:54 PM
raw php code only after trying update to wheezy astanton Debian 3 11-05-2012 10:34 AM
IDE CDROM not opening after update to wheezy matiasar Debian 6 03-05-2012 07:14 AM
[SOLVED] update problem on wheezy cccc Debian 2 03-03-2012 10:06 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:32 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration