DebianThis forum is for the discussion of Debian Linux.
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.
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.
Distribution: Primarily Deb/Ubuntu, and some CentOS
Posts: 829
Rep:
issue with updating system
Had this setup for a while now without any issues and just noticed today when I did apt-get update then apt-get upgrade it gets stuck.
This is my old sources.list file:
Code:
deb http://ftp.us.debian.org/debian/ jessie main
deb-src http://ftp.us.debian.org/debian/ jessie main
deb http://security.debian.org/ jessie/updates main contrib
deb-src http://security.debian.org/ jessie/updates main contrib
# jessie-updates, previously known as 'volatile'
deb http://ftp.us.debian.org/debian/ jessie-updates main contrib
deb-src http://ftp.us.debian.org/debian/ jessie-updates main contrib
# debian 8 "jessie"
deb http://ftp.us.debian.org/debian/ jessie main contrib non-free
deb-src http://ftp.us.debian.org/debian/ jessie main contrib non-free
# jessie BACKPORTS
#deb http://http.debian.net/debian jessie-backports main
# VirtualBox
deb http://download.virtualbox.org/virtualbox/debian jessie contrib
This is what what happened when I tried to apt-get upgrade
Code:
root@myserver:~# apt-get update
Hit http://download.virtualbox.org jessie InRelease
Get:1 http://download.virtualbox.org jessie/contrib amd64 Packages [1,350 B]
Hit http://security.debian.org jessie/updates InRelease
Ign http://download.virtualbox.org jessie/contrib Translation-en_US
Ign http://download.virtualbox.org jessie/contrib Translation-en
Ign http://ftp.debian.org jessie InRelease
Hit http://security.debian.org jessie/updates/main Sources
Hit http://security.debian.org jessie/updates/contrib Sources
Hit http://security.debian.org jessie/updates/main amd64 Packages
Hit http://security.debian.org jessie/updates/contrib amd64 Packages
Hit http://security.debian.org jessie/updates/contrib Translation-en
Hit http://ftp.debian.org jessie Release.gpg
Hit http://security.debian.org jessie/updates/main Translation-en
Hit http://ftp.debian.org jessie Release
Hit http://ftp.debian.org jessie/main Sources
Hit http://ftp.debian.org jessie/contrib Sources
Hit http://ftp.debian.org jessie/non-free Sources
Hit http://ftp.debian.org jessie/main amd64 Packages
Hit http://ftp.debian.org jessie/contrib amd64 Packages
Hit http://ftp.debian.org jessie/non-free amd64 Packages
Hit http://ftp.debian.org jessie/contrib Translation-en
Hit http://ftp.debian.org jessie/main Translation-en
Hit http://ftp.debian.org jessie/non-free Translation-en
Ign http://ftp.utexas.edu jessie InRelease
Ign http://ftp.utexas.edu jessie-updates InRelease
Ign http://ftp.utexas.edu jessie Release.gpg
Ign http://ftp.utexas.edu jessie-updates Release.gpg
Ign http://ftp.utexas.edu jessie Release
Ign http://ftp.utexas.edu jessie-updates Release
Ign http://ftp.utexas.edu jessie/main Sources/DiffIndex
Ign http://ftp.utexas.edu jessie/main amd64 Packages/DiffIndex
Ign http://ftp.utexas.edu jessie-updates/main Sources/DiffIndex
Ign http://ftp.utexas.edu jessie-updates/contrib Sources/DiffIndex
Ign http://ftp.utexas.edu jessie-updates/main amd64 Packages/DiffIndex
Ign http://ftp.utexas.edu jessie-updates/contrib amd64 Packages/DiffIndex
Ign http://ftp.utexas.edu jessie/main Translation-en_US
Ign http://ftp.utexas.edu jessie/main Translation-en
Ign http://ftp.utexas.edu jessie-updates/contrib Translation-en_US
Ign http://ftp.utexas.edu jessie-updates/contrib Translation-en
Ign http://ftp.utexas.edu jessie-updates/main Translation-en_US
Ign http://ftp.utexas.edu jessie-updates/main Translation-en
Err http://ftp.utexas.edu jessie/main Sources
503 Service Unavailable
Err http://ftp.utexas.edu jessie/main amd64 Packages
503 Service Unavailable
Err http://ftp.utexas.edu jessie-updates/main Sources
503 Service Unavailable
100% [Waiting for headers]
deb http://mirrors.gigenet.com/debian/ jessie main
deb-src http://mirrors.gigenet.com/debian/ jessie main
deb http://security.debian.org/ jessie/updates main contrib
deb-src http://security.debian.org/ jessie/updates main contrib
# jessie-updates, previously known as 'volatile'
deb http://mirrors.gigenet.com/debian/ jessie-updates main contrib
deb-src http://mirrors.gigenet.com/debian/ jessie-updates main contrib
# debian 8 "jessie"
deb http://mirrors.gigenet.com/debian/ jessie main contrib non-free
deb-src http://mirrors.gigenet.com/debian/ jessie main contrib non-free
Distribution: Primarily Deb/Ubuntu, and some CentOS
Posts: 829
Original Poster
Rep:
Hi, sorry I didn't mean the second line in my sources.list file, I meant the second repo line listed in my post above (post#3) = deb http://ftp.us.debian.org/debian/ jessie main contrib non-free
Anyway..
What I did to successfully update/upgrade was to comment out the non-free lines .
Code:
deb http://mirrors.gigenet.com/debian/ jessie main
deb-src http://mirrors.gigenet.com/debian/ jessie main
deb http://security.debian.org/ jessie/updates main contrib
deb-src http://security.debian.org/ jessie/updates main contrib
# jessie-updates, previously known as 'volatile'
deb http://mirrors.gigenet.com/debian/ jessie-updates main contrib
deb-src http://mirrors.gigenet.com/debian/ jessie-updates main contrib
# debian 8 "jessie"
#deb http://mirrors.gigenet.com/debian/ jessie main contrib non-free
#deb-src http://mirrors.gigenet.com/debian/ jessie main contrib non-free
But then I dont get updates for non-free. What to do now?
Distribution: Primarily Deb/Ubuntu, and some CentOS
Posts: 829
Original Poster
Rep:
Ok, so I just replaced the non-free lines with another mirror. All works fine now. Thanks all.
Code:
deb http://mirrors.gigenet.com/debian/ jessie main
deb-src http://mirrors.gigenet.com/debian/ jessie main
deb http://security.debian.org/ jessie/updates main contrib
deb-src http://security.debian.org/ jessie/updates main contrib
deb http://mirrors.gigenet.com/debian/ jessie-updates main contrib
deb-src http://mirrors.gigenet.com/debian/ jessie-updates main contrib
deb http://http.us.debian.org/debian/ jessie main contrib non-free
deb-src http://http.us.debian.org/debian/ jessie main contrib non-free
If you ever have mirror issues, you could also just switch to using the Debian redirector. It automagically shunts you to whatever mirror is showing the lowest latency at the time of your update.
Although it never hurts to leave the source repositories enabled.
It increases the time taken to update and increases the bandwidth requirements on Debian mirrors, which uses more electricity, creates more pollution, warms the planet, raises sea levels, and drowns kittens living near the coast!
All for no good reason if you're not using the source.
Last edited by descendant_command; 04-20-2016 at 04:00 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.