No Internet on new install [SOLVED]

Help with issues regarding installation of Debian

Re: No Internet on new install

Postby kedaha » 2011-05-20 22:17

P.S. By the way, when your post includes chunks of code from the terminal, or if you edit it, please just use the mouse to select the text and then click on the fifth tab along, the code tab above the window so that the post occupies lest space and can be scrolled.
Desktop, laptop and server: Stable: 3.2.0-4-amd64, 7.6 "wheezy"
Raspberry Pi, Raspbian (LXDE)
User avatar
kedaha
 
Posts: 2225
Joined: 2008-05-24 12:26

Re: No Internet on new install

Postby triplemaya » 2011-05-20 22:27

Hi. Thanks for that kedaha. I'll try that next time. Still having major problems though.

Half way through the updates finally running ok, there was some kind of serious disk error. Starting again did not help. So, once more, with feeling. A reinstall. That all went smoothly enough, I thought. But when I went to boot for the first time, I got these errors:

Code: Select all
can't access job control tty turned off

mounting /sys on /root/sys no such file or directory

target filesystem doesn't have requested /sbin/init


I turned the computer off and started again, but got the same error. So. Once again, another install. I imagine I must have missed a step in the install. But I don't at all understand what I did wrong. I thought I did everything the same as last time. When it finishes, and I get a huge list of things I can do, what do I *have* to do?
triplemaya
 
Posts: 99
Joined: 2010-11-23 13:43

Re: No Internet on new install

Postby triplemaya » 2011-05-20 23:01

Hi. Thanks everyone.

Code edited as requested.

I think what I did wrong last time was put in a domain name when it asked for it. I did not do that before, and I thought perhaps that was where I was going wrong. But I think that messed it up. A bit of instruction on that screen about why and when you would want to put in a domain name might be a good idea.

So. I did one more reinstall, and it all works ok, but only after I put in all the edits that kedaha told me to do. I did try setting the domain server to the uk server, but that made no difference at all. only when I edited the files as instructed do I get connected to the net for updates.

I guess all's well that ends well, but I am mightily puzzled about why the standard install requires that I edit these files when I have finished. Clearly this is not for the naive user! I don't think I would have got through this if I had not had a few years of training on ubuntu so I knew how to do commands and so on.
triplemaya
 
Posts: 99
Joined: 2010-11-23 13:43

Re: No Internet on new install

Postby triplemaya » 2011-05-20 23:11

Well, I spoke too soon again. I am not getting all of the right connections. I have tried Main Server, US Server and UK Server, but all give errors.

Code: Select all
W: Failed to fetch http://ftp.gb.debian.org/debian/dists/squeeze/updates/Release.gpg  Could not resolve 'ftp.gb.debian.org'

W: Failed to fetch http://ftp.uss.debian.org/debian/dists/squeeze-updates/Release.gpg  Could not resolve 'ftp.uss.debian.org'

W: Failed to fetch http://ftp.uss.debian.org/debian/dists/squeeze-updates/main/i18n/Translation-en.bz2  Could not resolve 'ftp.uss.debian.org'

W: Failed to fetch http://ftp.uss.debian.org/debian/dists/squeeze-updates/main/i18n/Translation-en_GB.bz2  Could not resolve 'ftp.uss.debian.org'

W: Failed to fetch http://ftp.us.debian.org/debian/dists/squeeze-updates/main/source/Sources.gz  404  Not Found

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


This was all working perfectly before, on one of the previous installs, so I have absolutely no idea what is going wrong.
triplemaya
 
Posts: 99
Joined: 2010-11-23 13:43

Re: No Internet on new install

Postby Joel » 2011-05-21 00:48

I had the same problem, it was my dns, this is what I get adviced:

1.- edit your file /etc/resolv.conf, you should see something like:
Code: Select all
domain some.crap
search some.crap
nameserver nicenumbers


2.- comment everything:
Code: Select all
# domain some.crap
# search some.crap
# nameserver nicenumbers


3.- Go to free dns server and pick one, I use 8.8.8.8 :)

4.- Use it on your /etc/resolv.conf, you may go sudo on this:
Code: Select all
# domain some.crap
# search some.crap
# nameserver nicenumbers
nameserver 8.8.8.8


5.- save on try again aptitude update

6.- If that worked, then...

7.- sudo chattr +i /etc/resolv.conf, to avoid external programs edit the file.

8.- hope it helps like it helped me.
* PC: Intel Core 2 DUO E6550 @ 2.33 GHz with 2 GB RAM: Archlinux-32b w/ xfce4.
* Laptop: Intel Core 2 DUO T6600 @ 2.20 GHz with 4 GB RAM: ArchLinux-64b w/ xfce4.
User avatar
Joel
 
Posts: 207
Joined: 2007-11-16 14:29
Location: Tijuana, BC, México

Re: No Internet on new install

Postby kedaha » 2011-05-21 08:09

triplemaya wrote:Well, I spoke too soon again. I am not getting all of the right connections. I have tried Main Server, US Server and UK Server, but all give errors.

Code: Select all
W: Failed to fetch http://ftp.gb.debian.org/debian/dists/squeeze/updates/Release.gpg  Could not resolve 'ftp.gb.debian.org'

W: Failed to fetch http://ftp.uss.debian.org/debian/dists/squeeze-updates/Release.gpg  Could not resolve 'ftp.uss.debian.org'

W: Failed to fetch http://ftp.uss.debian.org/debian/dists/squeeze-updates/main/i18n/Translation-en.bz2  Could not resolve 'ftp.uss.debian.org'

W: Failed to fetch http://ftp.uss.debian.org/debian/dists/squeeze-updates/main/i18n/Translation-en_GB.bz2  Could not resolve 'ftp.uss.debian.org'

W: Failed to fetch http://ftp.us.debian.org/debian/dists/squeeze-updates/main/source/Sources.gz  404  Not Found

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


This was all working perfectly before, on one of the previous installs, so I have absolutely no idea what is going wrong.


Regarding the incorrect screen resolution during installation, please note that there is a Help option in the initial boot menu for details about setting a more suitable boot parameter, for example vga=771.
If you now have a working system, there is, as before, no need to reinstall to solve a few trivial issues.
There is no need to add a domain name if you have no domain.
What does your sources list look like now?:
cat /etc/apt/sources.list
After changing the sources, did you run the command aptitude update or apt-get update?
triplemaya wrote:Ubuntu is much much simpler than all this!! (I'm trying to migrate from ubuntu, but maybe I am just not clever enough for debian!)

Well, a little time and patience help so please consult the Installation Guide, the wiki and also see Absent Minded's post.
Thanks for editing the thread to wrap the terminal stuff in code blocks.
Desktop, laptop and server: Stable: 3.2.0-4-amd64, 7.6 "wheezy"
Raspberry Pi, Raspbian (LXDE)
User avatar
kedaha
 
Posts: 2225
Joined: 2008-05-24 12:26

Re: No Internet on new install

Postby triplemaya » 2011-05-21 12:26

Hi. I don't know if this makes any sense, but after experimenting it seems as if setting
Code: Select all
[main]
plugins=ifupdown,keyfile

[ifupdown]
managed=true


to

Code: Select all
[main]
plugins=ifupdown,keyfile

[ifupdown]
managed=false


allows me to get updates, but I have to reverse this in order to install software from the repos.

To answer your question about /etc/apt/sources.list, I went to Debian sources generator and got this

Code: Select all
#############################################################
################### OFFICIAL DEBIAN REPOS ###################
#############################################################

###### Debian Main Repos
deb http://ftp.uk.debian.org/debian/ squeeze main contrib non-free
deb-src http://ftp.uk.debian.org/debian/ squeeze main contrib non-free

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



which seemed to simplify things.
triplemaya
 
Posts: 99
Joined: 2010-11-23 13:43

Re: No Internet on new install

Postby kedaha » 2011-05-21 13:05

triplemaya wrote:Hi. I don't know if this makes any sense, but after experimenting it seems as if setting
Code: Select all
[main]
plugins=ifupdown,keyfile

[ifupdown]
managed=true


to

Code: Select all
[main]
plugins=ifupdown,keyfile

[ifupdown]
managed=false


This configuration means the device isn't managed by Network manager. What kind of computer is it? If it's a desktop computer and you only connect using a wired Ethernet connection this is fine. If it is a laptop and you also wish to configure WIFI for use with network Manager for mobile use, then you might wish to configure it as described in Wired_Networks_are_Unmanaged for both wired and wireless use. You don't actually need Network Manager at all if you always use the same connection, either wired or wireless. The network gets configured during installation and that's that.
triplemaya wrote:To answer your question about /etc/apt/sources.list, I went to Debian sources generator and got this

Code: Select all
#############################################################
################### OFFICIAL DEBIAN REPOS ###################
#############################################################

###### Debian Main Repos
deb http://ftp.uk.debian.org/debian/ squeeze main contrib non-free
deb-src http://ftp.uk.debian.org/debian/ squeeze main contrib non-free

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



which seemed to simplify things.

Looks OK to me, except for all the hash signs####!
Desktop, laptop and server: Stable: 3.2.0-4-amd64, 7.6 "wheezy"
Raspberry Pi, Raspbian (LXDE)
User avatar
kedaha
 
Posts: 2225
Joined: 2008-05-24 12:26

Re: No Internet on new install

Postby triplemaya » 2011-05-21 14:57

Hi. Thanks.

the #'s are of course not my idea!

I was wrong about sources.list,whichever way I set the sources.list I get a slew of error messages with aptitude update. So I have left it as false as this is a desktop.

I have tried various different servers, including doing a 'select best server', which used to sporadically fix this problem in ubuntu, but it seems to be more persistent in debian for some reason. Though there seem to be less with the latest server:

Code: Select all
# aptitude update
Hit http://www.mirrorservice.org squeeze Release.gpg
Ign http://www.mirrorservice.org/sites/ftp.debian.org/debian/ squeeze/contrib Translation-en
Ign http://www.mirrorservice.org/sites/ftp.debian.org/debian/ squeeze/contrib Translation-en_GB
Ign http://www.mirrorservice.org/sites/ftp.debian.org/debian/ squeeze/main Translation-en
Hit http://deb.opera.com stable Release.gpg                 
Ign http://deb.opera.com/opera/ stable/non-free Translation-en
Ign http://www.mirrorservice.org/sites/ftp.debian.org/debian/ squeeze/main Translation-en_GB
Ign http://www.mirrorservice.org/sites/ftp.debian.org/debian/ squeeze/non-free Translation-en
Ign http://www.mirrorservice.org/sites/ftp.debian.org/debian/ squeeze/non-free Translation-en_GB
Ign http://www.mirrorservice.org squeeze/updates Release.gpg
Ign http://deb.opera.com/opera/ stable/non-free Translation-en_GB
Hit http://deb.opera.com stable Release                     
Ign http://deb.opera.com stable/non-free i386 Packages       
Hit http://deb.opera.com stable/non-free i386 Packages
Hit http://www.mirrorservice.org squeeze Release
Ign http://www.mirrorservice.org squeeze/updates Release                         
Hit http://www.mirrorservice.org squeeze/main Sources       
Hit http://www.mirrorservice.org squeeze/contrib Sources
Hit http://www.mirrorservice.org squeeze/non-free Sources
Hit http://www.mirrorservice.org squeeze/main i386 Packages
Hit http://www.mirrorservice.org squeeze/contrib i386 Packages
Hit http://www.mirrorservice.org squeeze/non-free i386 Packages
Ign http://www.mirrorservice.org squeeze/updates/main Sources
Ign http://www.mirrorservice.org squeeze/updates/contrib Sources
Ign http://www.mirrorservice.org squeeze/updates/non-free Sources
Err http://www.mirrorservice.org squeeze/updates/main Sources
  404  Not Found [IP: 212.219.56.139 80]
Err http://www.mirrorservice.org squeeze/updates/contrib Sources
  404  Not Found [IP: 212.219.56.139 80]
Err http://www.mirrorservice.org squeeze/updates/non-free Sources
  404  Not Found [IP: 212.219.56.139 80]
Get:1 http://security.debian.org squeeze/updates Release.gpg [836 B]
Ign http://security.debian.org/ squeeze/updates/contrib Translation-en
Ign http://security.debian.org/ squeeze/updates/contrib Translation-en_GB
Ign http://security.debian.org/ squeeze/updates/main Translation-en
Ign http://security.debian.org/ squeeze/updates/main Translation-en_GB
Ign http://security.debian.org/ squeeze/updates/non-free Translation-en
Ign http://security.debian.org/ squeeze/updates/non-free Translation-en_GB
Hit http://security.debian.org squeeze/updates Release
Hit http://security.debian.org squeeze/updates/main i386 Packages
Hit http://security.debian.org squeeze/updates/contrib i386 Packages
Hit http://security.debian.org squeeze/updates/non-free i386 Packages
Fetched 836 B in 2s (328 B/s)



And with update manager I get the same kind of array of errors I posted previously.

But I managed to install all of the software I wanted with apt-get.

So everything works, but I am concerned about future updates. Especially as I don't think I ever managed to get the usual blizzard of updates I think of as normal after a fresh install.

When I run the updates manager I get this list of errors

Code: Select all
An internal error has occured and the operation has been aborted.

Error message:
Fetch failed: W:Failed to fetch http://security.debian.org/dists/squeeze/updates/Release.gpg  Could not connect to security.debian.org:80 (32.1.10.120). - connect (110: Connection timed out)
, W:Failed to fetch http://security.debian.org/dists/squeeze/updates/contrib/i18n/Translation-en.bz2  Unable to connect to security.debian.org:http:
, W:Failed to fetch http://security.debian.org/dists/squeeze/updates/contrib/i18n/Translation-en_GB.bz2  Unable to connect to security.debian.org:http:
, W:Failed to fetch http://security.debian.org/dists/squeeze/updates/main/i18n/Translation-en.bz2  Unable to connect to security.debian.org:http:
, W:Failed to fetch http://security.debian.org/dists/squeeze/updates/main/i18n/Translation-en_GB.bz2  Unable to connect to security.debian.org:http:
, W:Failed to fetch http://security.debian.org/dists/squeeze/updates/non-free/i18n/Translation-en.bz2  Unable to connect to security.debian.org:http:
, W:Failed to fetch http://security.debian.org/dists/squeeze/updates/non-free/i18n/Translation-en_GB.bz2  Unable to connect to security.debian.org:http:
, W:Failed to fetch http://www.mirrorservice.org/sites/ftp.debian.org/debian/dists/squeeze/updates/main/source/Sources.gz  404  Not Found
, W:Failed to fetch http://www.mirrorservice.org/sites/ftp.debian.org/debian/dists/squeeze/updates/contrib/source/Sources.gz  404  Not Found
, W:Failed to fetch http://www.mirrorservice.org/sites/ftp.debian.org/debian/dists/squeeze/updates/non-free/source/Sources.gz  404  Not Found
, W:Failed to fetch http://security.debian.org/dists/squeeze/updates/main/binary-i386/Packages.gz  Unable to connect to security.debian.org:http:
, W:Failed to fetch http://security.debian.org/dists/squeeze/updates/contrib/binary-i386/Packages.gz  Unable to connect to security.debian.org:http:
, W:Failed to fetch http://security.debian.org/dists/squeeze/updates/non-free/binary-i386/Packages.gz  Unable to connect to security.debian.org:http:
, E:Some index files failed to download, they have been ignored, or old ones used instead.
triplemaya
 
Posts: 99
Joined: 2010-11-23 13:43

Re: No Internet on new install

Postby kedaha » 2011-05-21 15:25

Try my sources list and later switch to another mirror: no errors on my system.

Code: Select all
deb http://ftp.us.debian.org/debian/ squeeze main contrib non-free
deb-src http://ftp.us.debian.org/debian/ squeeze main
deb http://security.debian.org/ squeeze/updates main
deb-src http://security.debian.org/ squeeze/updates main

# squeeze-updates, previously known as 'volatile'
deb http://ftp.us.debian.org/debian/ squeeze-updates main
deb-src http://ftp.us.debian.org/debian/ squeeze-updates main
Desktop, laptop and server: Stable: 3.2.0-4-amd64, 7.6 "wheezy"
Raspberry Pi, Raspbian (LXDE)
User avatar
kedaha
 
Posts: 2225
Joined: 2008-05-24 12:26

Re: No Internet on new install

Postby triplemaya » 2011-05-21 16:48

Thanks. This seems to do a lot better.

The update manager runs without errors. But at the end it suggests an update to tzdata, and when I ok this I get a popup:

Code: Select all
An error has occured and downloading has been aborted.
Error message:
Failed to fetch http://ftp.us.debian.org/debian/pool/main/t/tzdata/tzdata_2011d-0squeeze1_all.deb 404  Not Found


aptitude update looks pretty much the same I think:

Code: Select all
# aptitude update
Hit http://security.debian.org squeeze/updates Release.gpg
Ign http://security.debian.org/ squeeze/updates/main Translation-en
Ign http://security.debian.org/ squeeze/updates/main Translation-en_GB
Hit http://security.debian.org squeeze/updates Release
Ign http://ftp.us.debian.org squeeze Release.gpg
Ign http://ftp.us.debian.org/debian/ squeeze/contrib Translation-en
Ign http://ftp.us.debian.org/debian/ squeeze/contrib Translation-en_GB
Hit http://deb.opera.com stable Release.gpg                         
Ign http://deb.opera.com/opera/ stable/non-free Translation-en
Ign http://deb.opera.com/opera/ stable/non-free Translation-en_GB
Hit http://security.debian.org squeeze/updates/main Sources
Ign http://ftp.us.debian.org/debian/ squeeze/main Translation-en
Ign http://ftp.us.debian.org/debian/ squeeze/main Translation-en_GB
Ign http://ftp.us.debian.org/debian/ squeeze/non-free Translation-en
Ign http://ftp.us.debian.org/debian/ squeeze/non-free Translation-en_GB
Ign http://ftp.us.debian.org squeeze-updates Release.gpg
Ign http://ftp.us.debian.org/debian/ squeeze-updates/main Translation-en
Ign http://ftp.us.debian.org/debian/ squeeze-updates/main Translation-en_GB
Hit http://security.debian.org squeeze/updates/main i386 Packages   
Hit http://deb.opera.com stable Release                             
Ign http://ftp.us.debian.org squeeze Release   
Ign http://deb.opera.com stable/non-free i386 Packages
Ign http://ftp.us.debian.org squeeze-updates Release
Hit http://deb.opera.com stable/non-free i386 Packages
Ign http://ftp.us.debian.org squeeze/main Sources/DiffIndex
Ign http://ftp.us.debian.org squeeze/main i386 Packages/DiffIndex
Ign http://ftp.us.debian.org squeeze/contrib i386 Packages/DiffIndex
Ign http://ftp.us.debian.org squeeze/non-free i386 Packages/DiffIndex
Ign http://ftp.us.debian.org squeeze-updates/main Sources/DiffIndex
Ign http://ftp.us.debian.org squeeze-updates/main i386 Packages/DiffIndex
Ign http://ftp.us.debian.org squeeze/main Sources
Ign http://ftp.us.debian.org squeeze/main i386 Packages
Ign http://ftp.us.debian.org squeeze/contrib i386 Packages
Ign http://ftp.us.debian.org squeeze/non-free i386 Packages
Ign http://ftp.us.debian.org squeeze-updates/main Sources
Ign http://ftp.us.debian.org squeeze-updates/main i386 Packages
Err http://ftp.us.debian.org squeeze/main Sources
  404  Not Found
Err http://ftp.us.debian.org squeeze/main i386 Packages
  404  Not Found
Err http://ftp.us.debian.org squeeze/contrib i386 Packages
  404  Not Found
Err http://ftp.us.debian.org squeeze/non-free i386 Packages
  404  Not Found
Err http://ftp.us.debian.org squeeze-updates/main Sources
  404  Not Found
Err http://ftp.us.debian.org squeeze-updates/main i386 Packages
  404  Not Found           


But THEN when I reset sources.list to the original I have been using, it connects and downloads loads of stuff, but then fails on the last few?!

Code: Select all
# aptitude update
Hit http://security.debian.org squeeze/updates Release.gpg
Ign http://security.debian.org/ squeeze/updates/contrib Translation-en
Ign http://security.debian.org/ squeeze/updates/contrib Translation-en_GB
Get:1 http://www.mirrorservice.org squeeze Release.gpg [1,671 B]
Ign http://www.mirrorservice.org/sites/ftp.debian.org/debian/ squeeze/contrib Translation-en
Ign http://security.debian.org/ squeeze/updates/main Translation-en 
Ign http://security.debian.org/ squeeze/updates/main Translation-en_GB
Ign http://security.debian.org/ squeeze/updates/non-free Translation-en
Ign http://security.debian.org/ squeeze/updates/non-free Translation-en_GB
Ign http://www.mirrorservice.org/sites/ftp.debian.org/debian/ squeeze/contrib Translation-en_GB
Hit http://security.debian.org squeeze/updates Release
Hit http://deb.opera.com stable Release.gpg   
Ign http://deb.opera.com/opera/ stable/non-free Translation-en
Ign http://deb.opera.com/opera/ stable/non-free Translation-en_GB
Ign http://www.mirrorservice.org/sites/ftp.debian.org/debian/ squeeze/main Translation-en
Ign http://www.mirrorservice.org/sites/ftp.debian.org/debian/ squeeze/main Translation-en_GB
Ign http://www.mirrorservice.org/sites/ftp.debian.org/debian/ squeeze/non-free Translation-en
Ign http://www.mirrorservice.org/sites/ftp.debian.org/debian/ squeeze/non-free Translation-en_GB
Hit http://security.debian.org squeeze/updates/main i386 Packages
Ign http://www.mirrorservice.org squeeze/updates Release.gpg
Hit http://deb.opera.com stable Release       
Get:2 http://security.debian.org squeeze/updates/contrib i386 Packages [681 B]
Get:3 http://security.debian.org squeeze/updates/non-free i386 Packages [14 B]
Get:4 http://www.mirrorservice.org squeeze Release [79.8 kB]       
Ign http://deb.opera.com stable/non-free i386 Packages
Hit http://deb.opera.com stable/non-free i386 Packages
Ign http://www.mirrorservice.org squeeze/updates Release
Get:5 http://www.mirrorservice.org squeeze/main Sources [3,721 kB]
Get:6 http://www.mirrorservice.org squeeze/contrib Sources [33.9 kB]                                                                                                                                                                         
Get:7 http://www.mirrorservice.org squeeze/non-free Sources [61.7 kB]                                                                                                                                                                       
Get:8 http://www.mirrorservice.org squeeze/main i386 Packages [6,568 kB]                                                                                                                                                                     
Get:9 http://www.mirrorservice.org squeeze/contrib i386 Packages [54.1 kB]                                                                                                                                                                   
Get:10 http://www.mirrorservice.org squeeze/non-free i386 Packages [108 kB]                                                                                                                                                                 
Ign http://www.mirrorservice.org squeeze/updates/main Sources                                                                                                                                                                               
Ign http://www.mirrorservice.org squeeze/updates/contrib Sources                                                                                                                                                                             
Ign http://www.mirrorservice.org squeeze/updates/non-free Sources                                                                                                                                                                           
Err http://www.mirrorservice.org squeeze/updates/main Sources                                                                                                                                                                               
  404  Not Found [IP: 212.219.56.131 80]
Err http://www.mirrorservice.org squeeze/updates/contrib Sources                                                                                                                                                                             
  404  Not Found [IP: 212.219.56.131 80]
Err http://www.mirrorservice.org squeeze/updates/non-free Sources                                                                                                                                                                           
  404  Not Found [IP: 212.219.56.131 80]
Fetched 10.6 MB in 53s (198 kB/s)                                                                                                                                                                                                           
                           
Current status: 27542 new [+27002].


And I thought I was confused after watching this week's episode of soap!

and when I go back to the update manager, the tzdata update is all done, nothing showing in the window. and this time a much smaller error message

Code: Select all
Error message:
Fetch failed: W:Failed to fetch http://www.mirrorservice.org/sites/ftp.debian.org/debian/dists/squeeze/updates/main/source/Sources.gz  404  Not Found
, W:Failed to fetch http://www.mirrorservice.org/sites/ftp.debian.org/debian/dists/squeeze/updates/contrib/source/Sources.gz  404  Not Found
, W:Failed to fetch http://www.mirrorservice.org/sites/ftp.debian.org/debian/dists/squeeze/updates/non-free/source/Sources.gz  404  Not Found
, E:Some index files failed to download, they have been ignored, or old ones used instead.


run aptitude update again. no change.

go back to your sources.list. no change.

go back to the original, no change.

Just testing.

run check updates again. Big list of errors once again

Code: Select all
Error message:
Fetch failed: W:Failed to fetch http://security.debian.org/dists/squeeze/updates/Release.gpg  Could not connect to security.debian.org:80 (32.1.8.216). - connect (110: Connection timed out)
, W:Failed to fetch http://security.debian.org/dists/squeeze/updates/contrib/i18n/Translation-en.bz2  Unable to connect to security.debian.org:http:
, W:Failed to fetch http://security.debian.org/dists/squeeze/updates/contrib/i18n/Translation-en_GB.bz2  Unable to connect to security.debian.org:http:
, W:Failed to fetch http://security.debian.org/dists/squeeze/updates/main/i18n/Translation-en.bz2  Unable to connect to security.debian.org:http:
, W:Failed to fetch http://security.debian.org/dists/squeeze/updates/main/i18n/Translation-en_GB.bz2  Unable to connect to security.debian.org:http:
, W:Failed to fetch http://security.debian.org/dists/squeeze/updates/non-free/i18n/Translation-en.bz2  Unable to connect to security.debian.org:http:
, W:Failed to fetch http://security.debian.org/dists/squeeze/updates/non-free/i18n/Translation-en_GB.bz2  Unable to connect to security.debian.org:http:
, W:Failed to fetch http://deb.opera.com/opera/dists/stable/Release.gpg  Could not connect to deb.opera.com:80 (32.1.8.216). - connect (110: Connection timed out)
, W:Failed to fetch http://deb.opera.com/opera/dists/stable/non-free/i18n/Translation-en.bz2  Unable to connect to deb.opera.com:http:
, W:Failed to fetch http://deb.opera.com/opera/dists/stable/non-free/i18n/Translation-en_GB.bz2  Unable to connect to deb.opera.com:http:
, W:Failed to fetch http://www.mirrorservice.org/sites/ftp.debian.org/debian/dists/squeeze/updates/main/source/Sources.gz  404  Not Found
, W:Failed to fetch http://www.mirrorservice.org/sites/ftp.debian.org/debian/dists/squeeze/updates/contrib/source/Sources.gz  404  Not Found
, W:Failed to fetch http://www.mirrorservice.org/sites/ftp.debian.org/debian/dists/squeeze/updates/non-free/source/Sources.gz  404  Not Found
, W:Failed to fetch http://security.debian.org/dists/squeeze/updates/main/binary-i386/Packages.gz  Unable to connect to security.debian.org:http:
, W:Failed to fetch http://security.debian.org/dists/squeeze/updates/contrib/binary-i386/Packages.gz  Unable to connect to security.debian.org:http:
, W:Failed to fetch http://security.debian.org/dists/squeeze/updates/non-free/binary-i386/Packages.gz  Unable to connect to security.debian.org:http:
, W:Failed to fetch http://deb.opera.com/opera/dists/stable/non-free/binary-i386/Packages.gz  Unable to connect to deb.opera.com:http:
, E:Some index files failed to download, they have been ignored, or old ones used instead.


???
triplemaya
 
Posts: 99
Joined: 2010-11-23 13:43

Re: No Internet on new install

Postby triplemaya » 2011-05-21 16:50

And I went back and installed your sources.list, and the update manager gives me the short list of errors, but now tzdata needs updating again.
triplemaya
 
Posts: 99
Joined: 2010-11-23 13:43

Re: No Internet on new install

Postby kedaha » 2011-05-21 17:42

The sources list I posted works here flawlessly. There can occasionally be minor interruptions.

If you wish to install the latest opera via Synaptic, remove the old source and consult this page:
http://deb.opera.com/

triplemaya wrote:I am concerned about future updates. Especially as I don't think I ever managed to get the usual blizzard of updates I think of as normal after a fresh install.

Good metaphor but one can enjoy the sunshine with Debian Stable because their aren't any blizzards but you can install whatever.

If you wish you can also add further contrib and non-free entries to your /etc/apt/sources.list and comment out the deb-src sources with a #:
deb http://ftp.us.debian.org/debian/ squeeze main contrib non-free
# deb-src http://ftp.us.debian.org/debian/ squeeze main
deb http://security.debian.org/ squeeze/updates main contrib non-free
# deb-src http://security.debian.org/ squeeze/updates main

# squeeze-updates, previously known as 'volatile'
deb http://ftp.us.debian.org/debian/ squeeze-updates main contrib non-free
# deb-src http://ftp.us.debian.org/debian/ squeeze-updates main
Desktop, laptop and server: Stable: 3.2.0-4-amd64, 7.6 "wheezy"
Raspberry Pi, Raspbian (LXDE)
User avatar
kedaha
 
Posts: 2225
Joined: 2008-05-24 12:26

Re: No Internet on new install

Postby triplemaya » 2011-05-21 18:36

So I gather everything's fine.

Many thanks for everything. I'll alter the sources as you suggest.

Best wishes for a happy summer.
triplemaya
 
Posts: 99
Joined: 2010-11-23 13:43

Re: No Internet on new install

Postby kedaha » 2011-05-21 18:54

triplemaya wrote:So I gather everything's fine.

Many thanks for everything. I'll alter the sources as you suggest.

Best wishes for a happy summer.

Thanks, likewise.
See also: http://backports.debian.org/Instructions/
Cheers!
Desktop, laptop and server: Stable: 3.2.0-4-amd64, 7.6 "wheezy"
Raspberry Pi, Raspbian (LXDE)
User avatar
kedaha
 
Posts: 2225
Joined: 2008-05-24 12:26

Previous

Return to Installation

Who is online

Users browsing this forum: No registered users and 12 guests

fashionable