Welcome, Guest. Please login or register.
Did you miss your activation email?

Author Topic: [EN] [SOLVED] Repository Problems  (Read 2946 times)

sqlpython

  • Guest
[EN] [SOLVED] Repository Problems
« on: 2013/01/09, 20:17:10 »
I was getting these results from
Code: [Select]
apt-get update && apt-get dist-upgrade

Code: [Select]
Reading package lists... Done
W: Failed to fetch ftp://ftp.debian.net/debian/dists/unstable/InRelease  

W: Failed to fetch ftp://ftp.debian.net/debian/dists/unstable/Release.gpg  Cannot initiate the connection to ftp.debian.net:21 (2001:41b8:202:deb:216:36ff:fe40:3906). - connect (101: Network is unreachable) [IP: 2001:41b8:202:deb:216:36ff:fe40:3906 21]

W: Some index files failed to download. They have been ignored, or old ones used instead.
Reading package lists... Done
Building dependency tree      
Reading state information... Done
Calculating upgrade... Done
The following packages have been kept back:
  libgimp2.0
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.

I replaced the repository in /etc/apt/sources.list.d/debian.list with
Code: [Select]
deb http://ftp.us.debian.org/debian/ unstable contrib non-free
 Is this acceptable for a Siduction install..as now
I get this..

Code: [Select]

Reading package lists... Done
Reading package lists... Done
Building dependency tree      
Reading state information... Done
Calculating upgrade... Done
The following packages have been kept back:
  libgimp2.0
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.

 Seems Ok but I am seeing libgimp2.0 held back

Plus it is unusual to go for 2 days without added packages being installed as a result of the dist-upgrade.????
Anyone have this problem.?
Anyone know of a solution as I continue researching.?

Offline michaa7

  • User
  • Posts: 2.318
Repository Problems
« Reply #1 on: 2013/01/09, 20:32:18 »
I am using http.debian.net which is the URL for Debian's global load balancing system. Here it works fine since ever. Even the today and in the past days.

If you get errors like the one you mentioned *most likely* you got connected to a server which gets synched. The easiest solution is to simlpy wait half an hour or so.

This way you avoid mistakes like the one you made (as your sources.list is lacking something):

 http://ftp.nl.debian.org/debian/ sid main contrib non-free

or

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

BTW: doesn't matter whether you use "unstable" or "sid". These are equivalent.
Ok, you can't code, but you still might be able to write a bug report for Debian's sake

sqlpython

  • Guest
RE: Repository Problems
« Reply #2 on: 2013/01/09, 21:23:46 »
Thanks for the Suggestions, I experimented with them.

Code: [Select]
deb http://http.debian.net/debian sid main contrib non-free

  The above performed the best and provided the expected dist-upgrade.
I will keep that repository moving forward as the original continues to not perform.

 
Quote
doesn't matter whether you use "unstable" or "sid". These are equivalent.

 Correct, I totally agree and that was never an issue for me.
I simply took my lead from the Debian mirror lists that I found at Debian and/or the repositories in /etc/apt/sources.list.d/debian.list  ...
I am happy to use either label, results is what I want.
  All is well that ends well.
Many Thanks for the help you saved me time. You are a ++ to the community ;^)

Offline michaa7

  • User
  • Posts: 2.318
Re: RE: Repository Problems
« Reply #3 on: 2013/01/09, 23:59:51 »
Quote from: "sqlpython"
Thanks for the Suggestions, I experimented with them.
...


BTW, http://ftp.nl.debian.org/debian/ sid main contrib non-free was a bad suggestion because for you being in US, a nl repo (nl = Netherlands) isn't appropriate.

But what I wanted you to notice is that when you edited the sources.list the first time, you omitted the *main* subrepo, which is the most important one.
Ok, you can't code, but you still might be able to write a bug report for Debian's sake

Offline piper

  • User
  • Posts: 1.785
  • we are the priests ... of the temples of syrinx
RE: Re: RE: Repository Problems
« Reply #4 on: 2013/01/11, 03:44:52 »
Since you live in the new england area maybe
Code: [Select]
deb ftp://ftp.lug.udel.edu/pub/siduction/base unstable main
deb-src ftp://ftp.lug.udel.edu/pub/siduction/base unstable main  
deb ftp://ftp.lug.udel.edu/pub/siduction/extra unstable main
deb-src ftp://ftp.lug.udel.edu/pub/siduction/extra unstable main  
deb ftp://ftp.lug.udel.edu/pub/siduction/fixes unstable main
deb-src ftp://ftp.lug.udel.edu/pub/siduction/fixes unstable main
Free speech isn't just fucking saying what you want to say, it's also hearing what you don't want to fucking hear

I either give too many fucks or no fucks at all, it's like I cannot find a middle ground for a moderate fuck distribution, it's like what the fuck

sqlpython

  • Guest
RE: Re: RE: Repository Problems
« Reply #5 on: 2013/01/11, 08:57:21 »
Quote
But what I wanted you to notice is that when you edited the sources.list the first time, you omitted the *main* subrepo, which is the most important one.

 Aughh! You are correct!
 An oversight on my part as I knew I needed a Main.. Being that I was replacing the Main repository listed here
Code: [Select]
deb ftp://ftp.debian.net/debian/ unstable main contrib non-free

Thanks Also Piper:
 I should have noticed that as the udel is where I downloaded my latests ISO from.
I will correct as udel is much closer to home.