Author Topic: Synaptic cannot find any repos - networking ok otherwise  (Read 901 times)

xheralt

  • Guest
Synaptic cannot find any repos - networking ok otherwise
« on: August 04, 2010, 10:39:20 AM »
This started (in the networking subforum) as "root user has no www access, normal user does".

I'm now having this problem on TWO machines, with different hardware.

I'm starting from virgin, default installs of PCLOS2010 LXDE.  KDE3 was the heaviest desktop my aging hardware could handle, but KDE has left users like me in the dust.  That's neither here nor there, however...

The suggestion was that ipv6 was the problem.  I have blacklisted ipv6 in /etc/sysconfig/network, /etc/modprobe.d/blacklist, /etc/sysctl.conf and aliased it off in /etc/modprobe.conf.   I have disabled ipv6 in every way possible short of building a kernel with all ipv6 support removed; I've never built a kernel and don't feel I should have to start now!

These actions restored ordinary web browsing, but Synaptic and GetOpenOffice STILL cannot find or access internet.   THIS IS BECOMING VERY FRUSTRATING!!!   I've used PCLOS since I started using Linux in 2005, but if I can't get software updating to work, this will be a REAL dealbreaker!

What else can I try, what information is needed?

Offline wedgetail

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 2469
  • Any Bugs in site?
Re: Synaptic cannot find any repos - networking ok otherwise
« Reply #1 on: August 04, 2010, 11:09:44 AM »
xheralt
It is better to leave the link than a description of where something is, descriptions are very poor facts, the reader further interpret differently, kaos.  8) .
http://www.pclinuxos.com/forum/index.php/topic,76250.msg629778.html#msg629778

In konsole let us have look at

Code: [Select]
[gert@localhost ~]$ ifconfig -a
Post the result

Have you pinged out your network?  First ping your router then and address further out on the net.  You may have written that in previous topic but it is 3 AM where I live, so I did not study your topic.  :)


32 bit: KDE (older) & various KDE-mini, ASUSTek P5P41D Rev X.0x, BIOS AMI0207 07/21/2009, "Pentium(R) Dual-Core CPU E5300 @ 2.60GHz", nVidia GeForce 9600 GT, 2x1GB Seagate Technology 1000528AS HDD
TV CompuPro VideoMate Vista E700 (not working in Linux), Acer X243HD LCD Screen

Offline OrdiDoc

  • Hero Member
  • *****
  • Posts: 616
Re: Synaptic cannot find any repos - networking ok otherwise
« Reply #2 on: August 04, 2010, 11:10:17 AM »
I'm a newbie at this but did you try to choose another repositories in Synaptic? I wasn't able to get the updates and went to Synaptic>Settings>Repositories and the checkmark was not on heanet so i did put one there, removed the other one that wasn't working and voila, works like a brand new.......anything  ;D

Have fun

Added: While i was typing this you got another answer totally different than mine and it looks a lot better so i'm still a newbie  ;D ;D ;D

Offline Neal ManBear

  • Administrator
  • Super Villain
  • *****
  • Posts: 15829
  • LXDE! Coffee, Bacon and Cheesecake!
Re: Synaptic cannot find any repos - networking ok otherwise
« Reply #3 on: August 04, 2010, 11:19:00 AM »
Just a thought -->
Do you have ip6tables enabled in PCC > System > Manage system services?


Offline anchorschmidt

  • Full Member
  • ***
  • Posts: 81
    • My youtube Channel
Re: Synaptic cannot find any repos - networking ok otherwise
« Reply #4 on: August 07, 2010, 03:58:52 AM »
Try the repository speed test, I think that after the test you can pick some new repositories ordered from fastest to slowest for your connection. I had the same problem, now it's no more :)
youtube.com/anchorschmidt
Latest video: "How to get Dropbox Integration in KDE"
Sept 6 2010

PClinuxos KDE+Lxde

xheralt

  • Guest
Re: Synaptic cannot find any repos - networking ok otherwise
« Reply #5 on: August 11, 2010, 03:58:53 PM »
@Neal - already done, as part of the steps I mentioned before.

@OrdiDoc - I went down the line of the repository list, individually trying the three most reliable. 

@AnchorSchmidt - Speed test is useless, there's NO connection at all to test.

@Wedgeling - I can pull up the router and modem configuration pages (192.168.*.*), and I can websurf.  I always could websurf as normal user (only root user was blocked), I can now websurf as root (were I fool enough to actually do so...)
Code: [Select]
[root@rubyg#2 ~]# ifconfig -a
eth0      Link encap:Ethernet  HWaddr 00:E0:29:5B:22:0C 
          inet addr:192.168.5.110  Bcast:192.168.5.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:359526 errors:0 dropped:0 overruns:0 frame:0
          TX packets:256009 errors:0 dropped:0 overruns:0 carrier:0
          collisions:160 txqueuelen:1000
          RX bytes:298309012 (284.4 MiB)  TX bytes:41115693 (39.2 MiB)
          Interrupt:10 Base address:0x6c00

lo        Link encap:Local Loopback 
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:494 errors:0 dropped:0 overruns:0 frame:0
          TX packets:494 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:24700 (24.1 KiB)  TX bytes:24700 (24.1 KiB)

[root@rubyg#2 ~]# ping http://8.8.8.8
ping: unknown host http://8.8.8.8
I tried pinging one of Google's OpenDNS servers.

Offline kjpetrie

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 4037
Re: Synaptic cannot find any repos - networking ok otherwise
« Reply #6 on: August 11, 2010, 04:47:47 PM »
The only thing I can suggest now for troubleshooting is open a terminal, su to root and type synaptic. Do you get any error message in the terminal when you click the reload button?
-----------
KJP
-----------------------------------------------------------
PClos64 RC1 on Intel D945GCLF2 motherboard (Atom 330), 2GB DDR2 RAM, Maxtor STM325031, HL-DT-ST DVDRAM GSA-H42N, Amilo LSL 3220T monitor. Also Acer 5810TG (with custom kernel) and Asus eeePC 2G surf

Offline wedgetail

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 2469
  • Any Bugs in site?
Re: Synaptic cannot find any repos - networking ok otherwise
« Reply #7 on: August 11, 2010, 07:29:40 PM »
xheralt

My barrel of ideas looks rather empty but one last one after quickly reading the thread. Have you tried just running the LiveCD, no installation.
32 bit: KDE (older) & various KDE-mini, ASUSTek P5P41D Rev X.0x, BIOS AMI0207 07/21/2009, "Pentium(R) Dual-Core CPU E5300 @ 2.60GHz", nVidia GeForce 9600 GT, 2x1GB Seagate Technology 1000528AS HDD
TV CompuPro VideoMate Vista E700 (not working in Linux), Acer X243HD LCD Screen

Offline MBantz

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 1318
Re: Synaptic cannot find any repos - networking ok otherwise
« Reply #8 on: August 12, 2010, 11:04:53 AM »
try getting the index.html file from one of the repos directly by:

wget http://ftp.heanet.ie/pub/pclinuxos/apt/

and post the results,

cheers,
MBantz

Offline Old-Polack

  • Administrator
  • Super Villain
  • *****
  • Posts: 11688
  • ----IOFLU----
Re: Synaptic cannot find any repos - networking ok otherwise
« Reply #9 on: August 12, 2010, 11:21:35 AM »

Code: [Select]

[root@rubyg#2 ~]# ping http://8.8.8.8
ping: unknown host http://8.8.8.8
I tried pinging one of Google's OpenDNS servers.


It would help if you used a proper command;

try;

[root@littleboy ~]# ping -c3 8.8.8.8
PING 8.8.8.8 (8.8.8.8 ) 56(84) bytes of data.
64 bytes from 8.8.8.8: icmp_seq=1 ttl=52 time=46.7 ms
64 bytes from 8.8.8.8: icmp_seq=2 ttl=52 time=54.8 ms
64 bytes from 8.8.8.8: icmp_seq=3 ttl=52 time=53.4 ms

--- 8.8.8.8 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2056ms
rtt min/avg/max/mdev = 46.787/51.677/54.830/3.510 ms

or

[root@littleboy ~]# ping -c3 google.com
PING google.com (74.125.45.106) 56(84) bytes of data.
64 bytes from yx-in-f106.1e100.net (74.125.45.106): icmp_seq=1 ttl=53 time=225 ms
64 bytes from yx-in-f106.1e100.net (74.125.45.106): icmp_seq=2 ttl=53 time=215 ms
64 bytes from yx-in-f106.1e100.net (74.125.45.106): icmp_seq=3 ttl=53 time=195 ms

--- google.com ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2198ms
rtt min/avg/max/mdev = 195.518/212.035/225.378/12.406 ms

Ping doesn't know http:// from Adam's off ox.
« Last Edit: August 12, 2010, 11:23:17 AM by old-polack »
Old-Polack

Of what use be there for joy, if not for the sharing thereof?



Lest we forget...

Offline wedgetail

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 2469
  • Any Bugs in site?
Re: Synaptic cannot find any repos - networking ok otherwise
« Reply #10 on: August 12, 2010, 06:32:46 PM »
old-polack

Would the near ox be any better?  ;D  (Must be the sunshine outside on this fine winters day, something came over me, could not resist)
32 bit: KDE (older) & various KDE-mini, ASUSTek P5P41D Rev X.0x, BIOS AMI0207 07/21/2009, "Pentium(R) Dual-Core CPU E5300 @ 2.60GHz", nVidia GeForce 9600 GT, 2x1GB Seagate Technology 1000528AS HDD
TV CompuPro VideoMate Vista E700 (not working in Linux), Acer X243HD LCD Screen

Offline djohnston

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 6224
  • I don't do Windows
Re: Synaptic cannot find any repos - networking ok otherwise
« Reply #11 on: August 12, 2010, 08:35:48 PM »
These actions restored ordinary web browsing, but Synaptic and GetOpenOffice STILL cannot find or access internet.

I ran into almost the same situation some months back, before 2010.1 had come out. I never found what caused the issue. I did find a way around it. The method I used was to change the DNS lookup setting from get from DHCP server to static addresses of 208.67.222.222 and 208.67.220.220 (OpenDNS servers). Synaptic started functioning normally. I'm now using 8.8.8.8 and 8.8.4.4 (Google DNS servers). If nothing else works, try that.
Bare metal                           VBox
AMD Athlon 7750 Dual-Core    Single core
4GiB RAM                              1GiB RAM
nVidia GeForce FX 5200          64MB video
LXDE 32bit                            KDE 64bit

Registered Linux User #416378