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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
|
08-19-2014, 10:55 PM
|
#1
|
Member
Registered: Feb 2011
Location: North Central Washington
Distribution: Debian, OpenSUSE, Kali, Ubuntu
Posts: 178
Rep:
|
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.
|
|
|
08-19-2014, 11:26 PM
|
#2
|
LQ Guru
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,726
|
Hi,
after EOL, the repos get moved to archive.debian.org. So you should update your /etc/apt/sources.list accordingly.
Evo2.
|
|
|
08-19-2014, 11:27 PM
|
#3
|
Moderator
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
|
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.
|
08-19-2014, 11:42 PM
|
#4
|
LQ Guru
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,726
|
Hi,
nice catch TobiSGD.
Evo2.
|
|
|
08-20-2014, 12:11 AM
|
#5
|
Member
Registered: Feb 2011
Location: North Central Washington
Distribution: Debian, OpenSUSE, Kali, Ubuntu
Posts: 178
Original Poster
Rep:
|
Yes! Thanks guys or gals!
Thanks,
Joe B
|
|
|
08-20-2014, 11:57 AM
|
#6
|
Member
Registered: Feb 2011
Location: North Central Washington
Distribution: Debian, OpenSUSE, Kali, Ubuntu
Posts: 178
Original Poster
Rep:
|
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
|
|
|
08-20-2014, 01:28 PM
|
#7
|
Moderator
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
|
Sorry, but I don't have a Squeeze machine anymore, so I can't help with that.
|
|
|
08-20-2014, 02:18 PM
|
#8
|
Member
Registered: Feb 2011
Location: North Central Washington
Distribution: Debian, OpenSUSE, Kali, Ubuntu
Posts: 178
Original Poster
Rep:
|
Ok thanks. Anyone else?
Thanks,
Joe B
|
|
|
08-20-2014, 03:36 PM
|
#9
|
LQ Addict
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,841
|
I think you have duplicates
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.
|
|
|
|
08-20-2014, 08:59 PM
|
#10
|
Member
Registered: Feb 2011
Location: North Central Washington
Distribution: Debian, OpenSUSE, Kali, Ubuntu
Posts: 178
Original Poster
Rep:
|
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
|
|
|
08-20-2014, 09:07 PM
|
#11
|
LQ Addict
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,841
|
Quote:
Originally Posted by jbruyet
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.
|
|
|
08-21-2014, 01:35 PM
|
#12
|
Member
Registered: Feb 2011
Location: North Central Washington
Distribution: Debian, OpenSUSE, Kali, Ubuntu
Posts: 178
Original Poster
Rep:
|
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
|
|
|
08-21-2014, 11:26 PM
|
#13
|
Member
Registered: Feb 2011
Location: North Central Washington
Distribution: Debian, OpenSUSE, Kali, Ubuntu
Posts: 178
Original Poster
Rep:
|
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.
|
|
|
08-22-2014, 12:56 AM
|
#14
|
LQ Addict
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,841
|
If you were going to wheezy then change sources.list & upgrade it.
|
|
|
08-22-2014, 02:00 AM
|
#15
|
LQ Guru
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,726
|
HI,
Quote:
Originally Posted by EDDY1
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.
|
|
|
All times are GMT -5. The time now is 11:32 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|