Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

[SOLVED]Why apt-get dist-upgrade not working

If none of the specific sub-forums seem right for your thread, ask here.
Post Reply
Message
Author
User avatar
vgt
Posts: 21
Joined: 2014-10-09 07:42

[SOLVED]Why apt-get dist-upgrade not working

#1 Post by vgt »

Hello,

I'm trying to upgrade my debian from Wheezy to Jessie referring to this page https://wiki.debian.org/DebianTesting
I edited the /etc/apt/sources.list replacing all wheezy with jessie and then testing,

But no matter jessie nor testing, after "apt-get update", the "apt-get upgrade" and "apt-get dist-upgrade" do nothing, what happened?

Here is my /etc/apt/sources.list:

Code: Select all

# 

# deb cdrom:[Debian GNU/Linux 7.6.0 _Wheezy_ - Official Multi-architecture amd64/i386 NETINST #1 20140712-14:48]/ testing main

#deb cdrom:[Debian GNU/Linux 7.6.0 _Wheezy_ - Official Multi-architecture amd64/i386 NETINST #1 20140712-14:48]/ testing main

deb http://debian.bjtu.edu.cn/debian/ testing main contrib non-free
deb-src http://debian.bjtu.edu.cn/debian/ testing main contrib non-free

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

# wheezy-updates, previously known as 'volatile'
deb http://debian.bjtu.edu.cn/debian/ testing-updates main contrib non-free
deb-src http://debian.bjtu.edu.cn/debian/ testing-updates main contrib non-free

# Backported packages for Debian 7 "Wheezy"
# deb http://debian.bjtu.edu.cn/debian/ testing-backports main contrib non-free
And here is what happened after "apt-get update && apt-get dist-upgrade",

Code: Select all

# apt-get update && apt-get dist upgrade
Hit http://debian.bjtu.edu.cn testing Release.gpg
Hit http://debian.bjtu.edu.cn testing-updates Release.gpg            
Hit http://debian.bjtu.edu.cn testing Release                        
Hit http://debian.bjtu.edu.cn testing-updates Release                          
Get:1 http://debian.bjtu.edu.cn testing/main Sources [6,736 kB]                
Get:2 http://debian.bjtu.edu.cn testing/contrib Sources [50.8 kB]              
Get:3 http://debian.bjtu.edu.cn testing/non-free Sources [101 kB]              
Get:4 http://debian.bjtu.edu.cn testing/main amd64 Packages [6,351 kB]         
Get:5 http://debian.bjtu.edu.cn testing/contrib amd64 Packages [48.9 kB]       
Get:6 http://debian.bjtu.edu.cn testing/non-free amd64 Packages [83.2 kB]      
Hit http://debian.bjtu.edu.cn testing/contrib Translation-en/DiffIndex         
Hit http://debian.bjtu.edu.cn testing/main Translation-en/DiffIndex            
Hit http://debian.bjtu.edu.cn testing/non-free Translation-en/DiffIndex        
Get:7 http://debian.bjtu.edu.cn testing-updates/main Sources [2,188 B]         
Get:8 http://debian.bjtu.edu.cn testing-updates/contrib Sources [2,188 B]      
Get:9 http://debian.bjtu.edu.cn testing-updates/non-free Sources [2,188 B]     
Get:10 http://debian.bjtu.edu.cn testing-updates/main amd64 Packages [2,188 B] 
Get:11 http://debian.bjtu.edu.cn testing-updates/contrib amd64 Packages [2,188 B]
Get:12 http://debian.bjtu.edu.cn testing-updates/non-free amd64 Packages [2,188 B]
Get:13 http://debian.bjtu.edu.cn testing-updates/contrib Translation-en [2,188 B]
Get:14 http://debian.bjtu.edu.cn testing-updates/main Translation-en [2,188 B] 
Get:15 http://debian.bjtu.edu.cn testing-updates/non-free Translation-en [2,188 B]
Hit http://dl.google.com stable Release.gpg                                    
Hit http://dl.google.com stable Release                                        
Hit http://security.debian.org testing/updates Release.gpg             
Hit http://dl.google.com stable/main amd64 Packages
Hit http://security.debian.org testing/updates Release                         
Hit http://security.debian.org testing/updates/main Sources            
Hit http://security.debian.org testing/updates/contrib Sources        
Hit http://security.debian.org testing/updates/non-free Sources                
Hit http://security.debian.org testing/updates/main amd64 Packages             
Hit http://security.debian.org testing/updates/contrib amd64 Packages          
Hit http://security.debian.org testing/updates/non-free amd64 Packages         
Hit http://security.debian.org testing/updates/contrib Translation-en  
Ign http://dl.google.com stable/main Translation-en_US                         
Ign http://dl.google.com stable/main Translation-en                    
Hit http://security.debian.org testing/updates/main Translation-en
Hit http://security.debian.org testing/updates/non-free Translation-en
Fetched 15 B in 4s (3 B/s)                       
W: Failed to fetch http://debian.bjtu.edu.cn/debian/dists/testing/main/source/Sources  Hash Sum mismatch

W: Failed to fetch http://debian.bjtu.edu.cn/debian/dists/testing/contrib/source/Sources  Hash Sum mismatch

W: Failed to fetch http://debian.bjtu.edu.cn/debian/dists/testing/non-free/source/Sources  Hash Sum mismatch

W: Failed to fetch http://debian.bjtu.edu.cn/debian/dists/testing/main/binary-amd64/Packages  Hash Sum mismatch

W: Failed to fetch http://debian.bjtu.edu.cn/debian/dists/testing/contrib/binary-amd64/Packages  Hash Sum mismatch

W: Failed to fetch http://debian.bjtu.edu.cn/debian/dists/testing/non-free/binary-amd64/Packages  Hash Sum mismatch

W: Failed to fetch http://debian.bjtu.edu.cn/debian/dists/testing-updates/main/source/Sources  Hash Sum mismatch

W: Failed to fetch http://debian.bjtu.edu.cn/debian/dists/testing-updates/contrib/source/Sources  Hash Sum mismatch

W: Failed to fetch http://debian.bjtu.edu.cn/debian/dists/testing-updates/non-free/source/Sources  Hash Sum mismatch

W: Failed to fetch http://debian.bjtu.edu.cn/debian/dists/testing-updates/main/binary-amd64/Packages  Hash Sum mismatch

W: Failed to fetch http://debian.bjtu.edu.cn/debian/dists/testing-updates/contrib/binary-amd64/Packages  Hash Sum mismatch

W: Failed to fetch http://debian.bjtu.edu.cn/debian/dists/testing-updates/non-free/binary-amd64/Packages  Hash Sum mismatch

W: Failed to fetch http://debian.bjtu.edu.cn/debian/dists/testing-updates/contrib/i18n/Translation-en  Hash Sum mismatch

W: Failed to fetch http://debian.bjtu.edu.cn/debian/dists/testing-updates/main/i18n/Translation-en  Hash Sum mismatch

W: Failed to fetch http://debian.bjtu.edu.cn/debian/dists/testing-updates/non-free/i18n/Translation-en  Hash Sum mismatch

E: Some index files failed to download. They have been ignored, or old ones used instead.

# apt-get dist-upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Thanks!
Last edited by vgt on 2014-10-24 10:09, edited 1 time in total.
a novice at the college of coders

User avatar
vgt
Posts: 21
Joined: 2014-10-09 07:42

Re: Why apt-get dist-upgrade not working

#2 Post by vgt »

debianxfce wrote:The update mechanism is not fully sure of the state of your system, so it better to do clean install from cd, because you can verify the downloaded iso and you will have installation media when your installation fails.

I recommend jessie beta 2 32-bit xfce cdrom, wine and evertyhing works after some tuning:http://forums.debian.net/viewtopic.php?f=17&t=118203

Do you mean that the update via editing the sources.list tends to fail? Because it seems that apt-get cannot figure out the states of a lot of machines. So we have to use an image to re install the whole system?
a novice at the college of coders

reinob
Posts: 1198
Joined: 2014-06-30 11:42
Has thanked: 99 times
Been thanked: 47 times

Re: Why apt-get dist-upgrade not working

#3 Post by reinob »

vgt wrote:Do you mean that the update via editing the sources.list tends to fail? Because it seems that apt-get cannot figure out the states of a lot of machines. So we have to use an image to re install the whole system?
Actually the problem is the mirror you're using. Try again later or dump that mirror and use another one.

User avatar
vgt
Posts: 21
Joined: 2014-10-09 07:42

Re: Why apt-get dist-upgrade not working

#4 Post by vgt »

reinob wrote:
vgt wrote:Do you mean that the update via editing the sources.list tends to fail? Because it seems that apt-get cannot figure out the states of a lot of machines. So we have to use an image to re install the whole system?
Actually the problem is the mirror you're using. Try again later or dump that mirror and use another one.
Thank you very much! I'm upgrading now:D
a novice at the college of coders

Post Reply