emamarro
Member

Posts: 5
|
 |
« on: December 25, 2007, 11:58:12 pm » |
|
Hi,I have another question.. Gslapt when trying to update archive connects regularry, I see the progress bar working but it shows "download rate 0 b/s" . The result is that I have not any other package to install :-( I tried with different sources but I get the same or worse connection error
Here are sources I'm using: SOURCE=http://vectorlinux.osuosl.org/veclinux-5.9/packages/ SOURCE=http://vectorlinux.osuosl.org/veclinux-5.9/extra/
Thank you Ema
|
|
|
|
|
Logged
|
|
|
|
mithion
Member

Posts: 53
|
 |
« Reply #1 on: January 28, 2008, 01:59:16 pm » |
|
Here's a bump. I have the same problem. No matter what sources I choose, it seems like it take forever to update the package list (10-15 minutes to update 3 sources). And then when its done and I run slapt-get --upgrade, and it can't resolve the host. It is a mystery.
|
|
|
|
|
Logged
|
|
|
|
JohnB316
Administrator
Vectorian
    
Posts: 1346
Registered Linux User #386728
|
 |
« Reply #2 on: January 28, 2008, 08:27:33 pm » |
|
@emamarro and mithion: Open a terminal and enter the following commands: su (type root account password) slapt-get --update Post the output that you get from running slapt-get --update here. Don't worry too much at this point about how long the updates take. Rather, I'm more concerned about whether things are working as they are supposed to work. If slapt-get --update works correctly for you, you'll see output something like this: vl59final:/~ john:$ su Password: You are working as root Frequently used programs: Configuration : vasm Package manager: slapt-get, pkg Network tools : ifconfig, host, ping, nmap, iptables File manager : mc (press F2 for useful menu) Editor : mcedit, nano, vi Multimedia : alsamixer, play vl59final://home/john root:# slapt-get --update Retrieving package data [http://vectorlinux.osuosl.org/veclinux-5.9/packages/]...Cached Retrieving patch list [http://vectorlinux.osuosl.org/veclinux-5.9/packages/]... Done Retrieving checksum list [http://vectorlinux.osuosl.org/veclinux-5.9/packages/]...Cached Retrieving checksum signature [http://vectorlinux.osuosl.org/veclinux-5.9/packages/]...Not Found Retrieving ChangeLog.txt [http://vectorlinux.osuosl.org/veclinux-5.9/packages/]...Cached Reading Package Lists...Done Retrieving package data [http://vectorlinux.osuosl.org/veclinux-5.9/extra/]...Cached Retrieving patch list [http://vectorlinux.osuosl.org/veclinux-5.9/extra/]...Done Retrieving checksum list [http://vectorlinux.osuosl.org/veclinux-5.9/extra/]...Cached Retrieving checksum signature [http://vectorlinux.osuosl.org/veclinux-5.9/extra/]...Not Found Retrieving ChangeLog.txt [http://vectorlinux.osuosl.org/veclinux-5.9/extra/]...Cached Reading Package Lists...Done Retrieving package data [http://vectorlinux.osuosl.org/veclinux-5.9/testing/]...Cached Retrieving patch list [http://vectorlinux.osuosl.org/veclinux-5.9/testing/]... Done Retrieving checksum list [http://vectorlinux.osuosl.org/veclinux-5.9/testing/]...Cached Retrieving checksum signature [http://vectorlinux.osuosl.org/veclinux-5.9/testing/]...Not Found Retrieving ChangeLog.txt [http://vectorlinux.osuosl.org/veclinux-5.9/testing/]...Cached Reading Package Lists...Done Retrieving package data [http://vectorlinux.osuosl.org/veclinux-5.9/patches/]...Cached Retrieving patch list [http://vectorlinux.osuosl.org/veclinux-5.9/patches/]... Done Retrieving checksum list [http://vectorlinux.osuosl.org/veclinux-5.9/patches/]...Cached Retrieving checksum signature [http://vectorlinux.osuosl.org/veclinux-5.9/patches/]...Not Found Retrieving ChangeLog.txt [http://vectorlinux.osuosl.org/veclinux-5.9/patches/]...Cached Reading Package Lists...Done vl59final://home/john root:#
Hope this helps, John
|
|
|
|
|
Logged
|
VL 6.0 SOHO latest alpha on one box, VL 5.9 Lite on the other.
|
|
|
mithion
Member

Posts: 53
|
 |
« Reply #3 on: January 29, 2008, 06:50:26 pm » |
|
here's the output as requested. root:# slapt-get --update Retrieving package data [ftp://distro.ibiblio.org/pub/linux/distributions/vectorlinux/veclinux-5.9/packages/]...Done Retrieving patch list [ftp://distro.ibiblio.org/pub/linux/distributions/vectorlinux/veclinux-5.9/packages/]...Done Retrieving checksum list [ftp://distro.ibiblio.org/pub/linux/distributions/vectorlinux/veclinux-5.9/packages/]...Failed to download: Couldn't resolve host name Retrieving checksum signature [ftp://distro.ibiblio.org/pub/linux/distributions/vectorlinux/veclinux-5.9/packages/]...Not Found Retrieving ChangeLog.txt [ftp://distro.ibiblio.org/pub/linux/distributions/vectorlinux/veclinux-5.9/packages/]...Done Retrieving package data [ftp://distro.ibiblio.org/pub/linux/distributions/vectorlinux/veclinux-5.9/patches/]...Cached Retrieving patch list [ftp://distro.ibiblio.org/pub/linux/distributions/vectorlinux/veclinux-5.9/patches/]...Done Retrieving checksum list [ftp://distro.ibiblio.org/pub/linux/distributions/vectorlinux/veclinux-5.9/patches/]...Failed to download: Couldn't resolve host name Retrieving checksum signature [ftp://distro.ibiblio.org/pub/linux/distributions/vectorlinux/veclinux-5.9/patches/]...Not Found Retrieving package data [ftp://distro.ibiblio.org/pub/linux/distributions/vectorlinux/veclinux-5.9/extra/]...Failed to download: Couldn't resolve host name Retrieving package data [file:///mnt/cdrom/packages/]...Failed to download: Couldn't read a file:// file Sources failed to download, correct sources and rerun --update
|
|
|
|
|
Logged
|
|
|
|
JohnB316
Administrator
Vectorian
    
Posts: 1346
Registered Linux User #386728
|
 |
« Reply #4 on: January 29, 2008, 07:38:45 pm » |
|
The ibiblio.org sites are not the primary mirror for VL. I would suggest using the osuosl.org sites, as they are the main repository.
With that said, if you still want to use the ibiblio sites, try changing the URL in /etc/slapt-get/slapt-getrc as root from distro.ibiblio.org to ftp.ibiblio.org.
Hope this helps. John
|
|
|
|
|
Logged
|
VL 6.0 SOHO latest alpha on one box, VL 5.9 Lite on the other.
|
|
|
mithion
Member

Posts: 53
|
 |
« Reply #5 on: January 30, 2008, 05:55:26 pm » |
|
Ok, I tried with the OSUOSL website and I got similar problems. Here's the new output. root:# slapt-get --update Retrieving package data [file:///mnt/cdrom/packages/]...Failed to download: Couldn't read a file:// file Retrieving package data [ftp://ftp.osuosl.org/pub/vectorlinux/veclinux-5.9/patches/]...Failed to download: Couldn't resolve host name Retrieving package data [ftp://ftp.osuosl.org/pub/vectorlinux/veclinux-5.9/extra/]...Failed to download: Couldn't resolve host name Retrieving package data [ftp://ftp.osuosl.org/pub/vectorlinux/veclinux-5.9/packages/]...Failed to download: Couldn't resolve host name Sources failed to download, correct sources and rerun --update
|
|
|
|
|
Logged
|
|
|
|
|
uelsk8s
|
 |
« Reply #6 on: January 30, 2008, 06:23:06 pm » |
|
mithion, what does your /etc/resolv.conf file contain?
|
|
|
|
|
Logged
|
|
|
|
mithion
Member

Posts: 53
|
 |
« Reply #7 on: January 31, 2008, 12:06:10 am » |
|
ok here's my resolv.conf file. # Generated by dhcpcd for interface eth0 search gateway.2wire.net nameserver 192.168.1.254
|
|
|
|
|
Logged
|
|
|
|
|
uelsk8s
|
 |
« Reply #8 on: January 31, 2008, 06:27:58 am » |
|
try adding an open dns server to it # Generated by dhcpcd for interface eth0 nameserver 208.67.222.222 search gateway.2wire.net nameserver 192.168.1.254
|
|
|
|
|
Logged
|
|
|
|
mithion
Member

Posts: 53
|
 |
« Reply #9 on: January 31, 2008, 07:45:34 am » |
|
Ok, I added an open dns server. It works perfectly now. It connects with all the sources and does so in a blink of an eye compared to the 10-15 minutes it took before. Thank you for the help. My updates are now back up and running. 
|
|
|
|
|
Logged
|
|
|
|
|
caitlyn
|
 |
« Reply #10 on: January 31, 2008, 02:32:04 pm » |
|
One more thing: you should enable the patches repository in addition to packages and extra. Without patches you won't get many upgrades.
|
|
|
|
|
Logged
|
eMachines EL-1300G desktop, 1.6GHz AMD Athlon 2650e CPU, 4GB RAM, nVidia GeForce 6150 SE video VLocity Linux 7.0-rc1
HP Mini 110 netbook, 1.6GHz Intel Atom CPU, 2GB RAM, Intel 950 video VL 7.0 Light
|
|
|
mithion
Member

Posts: 53
|
 |
« Reply #11 on: February 01, 2008, 01:03:32 pm » |
|
I just have one final question on the subject. I just noticed that when I rebooted my computer, the resolv.conf file got overwritten and the open dns server I had added disappeared. How do I set it up so the file is saved as is and not overwritten each time I reboot.
|
|
|
|
|
Logged
|
|
|
|
|
uelsk8s
|
 |
« Reply #12 on: February 01, 2008, 01:55:24 pm » |
|
change line # of /etc/rc.d/functions-network from dhcpcd -t $DELAY -h ${NETNAME} -d $DEVICE to dhcpcd -R -t $DELAY -h ${NETNAME} -d $DEVICE
|
|
|
|
|
Logged
|
|
|
|
mithion
Member

Posts: 53
|
 |
« Reply #13 on: February 01, 2008, 05:12:14 pm » |
|
Awesome, it works beautifully now uelsk8s. And thanks for the advice caitlyn, I have made sure that the patches repository is active. Thanks for all the help  .
|
|
|
|
|
Logged
|
|
|
|
budulay
Packager
Vectorian
   
Posts: 568
NewComer
|
 |
« Reply #14 on: April 09, 2008, 06:14:03 pm » |
|
I had the same problem, and this solution did helped. Thanks a lot:-)
uelsk8s: I am realy interested, what this line did? If it is't hard and you will have some free time, could you explain me, please.
|
|
|
|
« Last Edit: April 09, 2008, 06:15:40 pm by budulay »
|
Logged
|
|
|
|
|