Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I tried installing samba by writing the command apt-get install samba. I got the following message:

Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  libpanel-applet-4-0 libswscale0 libavutil50 libavahi-compat-libdnssd1
  libx264-106 wine1.3-gecko linux-headers-2.6.38-8 libpostproc51 libavformat52
  libdvbpsi6 libgnustep-base1.20 linux-headers-2.6.38-8-generic libavcodec52
  libobjc2 libmatroska3 gir1.2-panelapplet-4.0
Use 'apt-get autoremove' to remove them.
Suggested packages:
  openbsd-inetd inet-superserver smbldap-tools ldb-tools
The following NEW packages will be installed:
  samba
0 upgraded, 1 newly installed, 0 to remove and 3 not upgraded.
1 not fully installed or removed.
Need to get 7,990 kB of archives.
After this operation, 23.0 MB of additional disk space will be used.
Err http://us.archive.ubuntu.com/ubuntu/ oneiric-updates/main samba i386 2:3.5.11~dfsg-1ubuntu2.3
  Could not connect to 192.168.1.5:3128 (192.168.1.5), connection timed out
0% [Connecting to 192.168.1.5 (192.168.1.5)]

Can anyone help me please?

share|improve this question
    
Do you use a proxy? Have you ever? Does Internet access otherwise work? –  Eliah Kagan Mar 20 '13 at 11:09
1  
You need to fix this: Err http://us.archive.ubuntu.com/ubuntu/ oneiric-updates/main samba i386 2:3.5.11~dfsg-1ubuntu2.3 Could not connect to 192.168.1.5:3128 (192.168.1.5), connection timed out. It works where I am so you probably got a networking issue. –  Rinzwind Mar 20 '13 at 11:26
    
Suggested edit: remove the reference to Samba from your question and tags. This issue is entirely unrelated to Samba. Suggested title: "apt-get install gives time out error". –  zwets Mar 21 '13 at 9:34
    
Welcome to Ask Ubuntu! Please use the contact us link at the bottom of this page to ask for your accounts to be merged. Thanks. –  fossfreedom Mar 21 '13 at 9:37
1  
To me it looks like, the DNS record for us.archive.ubuntu.com is resolved to 192.168.1.5? Are you behind a proxy, or a firewall? Whose IP is 192.168.1.5? –  Frederik Spang Mar 21 '13 at 10:22
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.