can't update

Post new topic   Reply to topic    DD-WRT Forum Index -> Broadcom SoC based Hardware
Author Message
jag7720
DD-WRT Novice


Joined: 13 Feb 2008
Posts: 14

PostPosted: Thu Feb 14, 2008 17:07    Post subject: can't update Reply with quote
WRT54gl v.1 with sd mod

When I run ipkg update I get the following

Code:

~ # ipkg update
Downloading http://downloads.openwrt.org/whiterussian/packages/Packages ...
ipkg_download: ERROR: Failed to retrieve http://downloads.openwrt.org/whiterussian/packages/Packages, returning
ipkg_update: Error downloading http://downloads.openwrt.org/whiterussian/packages/Packages to //jffs/usr/lib/ipkg/lists/whiterussian
Downloading http://downloads.openwrt.org/whiterussian/packages/non-free/Packages ...
ipkg_download: ERROR: Failed to retrieve http://downloads.openwrt.org/whiterussian/packages/non-free/Packages, returning t
ipkg_update: Error downloading http://downloads.openwrt.org/whiterussian/packages/non-free/Packages to //jffs/usr/lib/ipkg/lists/non-free
Downloading http://downloads.openwrt.org/backports/rc5/Packages ...
ipkg_download: ERROR: Failed to retrieve http://downloads.openwrt.org/backports/rc5/Packages, returning t
ipkg_update: Error downloading http://downloads.openwrt.org/backports/rc5/Packages to //jffs/usr/lib/ipkg/lists/backports


How can I fix this? What am I doing wrong?

Thanks
Sponsor
stephensuley
DD-WRT Guru


Joined: 09 Feb 2008
Posts: 641
Location: Canada

PostPosted: Sun Feb 17, 2008 1:58    Post subject: Reply with quote
I'm getting an error as well..



root@Repeater_B:~# ipkg update
Downloading http://downloads.openwrt.org/whiterussian/packages/Packages ...
Connecting to downloads.openwrt.org (195.56.146.238:80)
ipkg_download: ERROR: Failed to retrieve http://downloads.openwrt.org/whiterussian/packages/Packages, returning
ipkg_update: Error downloading http://downloads.openwrt.org/whiterussian/packages/Packages to /jffs/usr/lib/ipkg/lists/whiterussian
Downloading http://downloads.openwrt.org/whiterussian/packages/non-free/Packages ...
Connecting to downloads.openwrt.org (195.56.146.238:80)
ipkg_download: ERROR: Failed to retrieve http://downloads.openwrt.org/whiterussian/packages/non-free/Packages, returning t
ipkg_update: Error downloading http://downloads.openwrt.org/whiterussian/packages/non-free/Packages to /jffs/usr/lib/ipkg/lists/non-free
Downloading http://downloads.openwrt.org/backports/rc5/Packages ...
Connecting to downloads.openwrt.org (195.56.146.238:80)
ipkg_download: ERROR: Failed to retrieve http://downloads.openwrt.org/backports/rc5/Packages, returning t
ipkg_update: Error downloading http://downloads.openwrt.org/backports/rc5/Packages to /jffs/usr/lib/ipkg/lists/backports
root@Repeater_B:~#

____________________________________

dd-wrt.v24_RC6-8790_nokaid
jag7720
DD-WRT Novice


Joined: 13 Feb 2008
Posts: 14

PostPosted: Wed Feb 20, 2008 23:51    Post subject: Reply with quote
bump


I opened a fresh router and flashed with the voip bin and I am getting the same thing with ipkg update

Anyone know what is going on?

Filesystem Size Used Available Use% Mounted on
/dev/root 2.8M 2.8M 0 100% /
/dev/mtdblock/4 384.0k 324.0k 60.0k 84% /jffs
~ # ipkg update
Downloading http://downloads.openwrt.org/whiterussian/packages/Packages ...
ipkg_download: ERROR: Failed to retrieve http://downloads.openwrt.org/whiterussian/packages/Packages, returning
ipkg_update: Error downloading http://downloads.openwrt.org/whiterussian/packages/Packages to //jffs/usr/lib/ipkg/lists/whiterussian
Downloading http://downloads.openwrt.org/whiterussian/packages/non-free/Packages ...
ipkg_download: ERROR: Failed to retrieve http://downloads.openwrt.org/whiterussian/packages/non-free/Packages, returning t
ipkg_update: Error downloading http://downloads.openwrt.org/whiterussian/packages/non-free/Packages to //jffs/usr/lib/ipkg/lists/non-free
Downloading http://downloads.openwrt.org/backports/rc5/Packages ...
ipkg_download: ERROR: Failed to retrieve http://downloads.openwrt.org/backports/rc5/Packages, returning t
ipkg_update: Error downloading http://downloads.openwrt.org/backports/rc5/Packages to //jffs/usr/lib/ipkg/lists/backports
bodbod
DD-WRT Novice


Joined: 25 Jan 2007
Posts: 17

PostPosted: Sun Feb 24, 2008 15:23    Post subject: Reply with quote
Hi guys,

me too i have this problem but the difference is that when I enter the command, nothing is happening - no error message, nothing

_________________
WRT54GL 1.1 + V24 + SD card 1Go
CraigFoote
DD-WRT Novice


Joined: 18 Mar 2008
Posts: 1

PostPosted: Tue Mar 18, 2008 5:16    Post subject: Any progress? Reply with quote
I'm also getting:

"Downloading http://downloads.openwrt.org/whiterussian/packages/Packages ...
ipkg_download: ERROR: Failed to retrieve http://downloads.openwrt.org/whiterussian/packages/Packages, returning", etc.

Has anyone figured out how to get this work?
jpalo
DD-WRT Novice


Joined: 18 Jul 2006
Posts: 7

PostPosted: Sat Mar 29, 2008 19:22    Post subject: Reply with quote
Same here with v23 SP2 vpn on WRT54GL. I'm using Samba share on NAS for the storage. I'm able to read/write the share just fine.

Quote:
Downloading http://downloads.openwrt.org/whiterussian/packages/Packages ...
ipkg_download: ERROR: Failed to retrieve http://downloads.openwrt.org/whiterussian/packages/Packages, returning


etc...

I can manually download the files to the correct locations, but why doesn't it work automatically?

UPDATE: If I use /opt/bin/ipkg then I can update stuff.
Software_Samurai
DD-WRT Novice


Joined: 02 Apr 2008
Posts: 2

PostPosted: Wed Apr 02, 2008 12:03    Post subject: Solved (for me at least) Reply with quote
I ran into the same problem. Found this post yesterday:

http://www.dd-wrt.com/phpBB2/viewtopic.php?t=17979

After doing "echo 0 >/proc/sys/net/ipv4/tcp_ecn" in an SSH shell, the /bin/ipkg worked fine for me.

Cheers!

p.s. Out of curiosity, can anyone explain to me exactly what the tcp_ecn is, and why it's defaulted on for DD-WRT?
john57
DD-WRT Novice


Joined: 05 Apr 2008
Posts: 1

PostPosted: Sat Apr 05, 2008 5:26    Post subject: can't ipkg update Reply with quote
I tried echo 0 >/proc/sys/net/ipv4/tcp_ecn
and edit ipkg.conf with ip addresses and making a change to ipkg(IPKG_DIR_PREFIX=usr/lib/ipkg to IPKG_DIR_PREFIX=jffs/usr/lib/ipkg and renaming ipkg to ipkg2) and I still can't get it to work on my 350n. wget is dead. Using Brainslayer-RC7-9134-dd-wrt.v24_generic_nokaid with usb.

ipkg_download: ERROR: Failed to retrieve http://195.56.146.238/backports/rc5/Packages, returning t

df -h
Filesystem Size Used Available Use% Mounted on
rootfs 3.0M 3.0M 0 100% /
/dev/root 3.0M 3.0M 0 100% /
/dev/mtdblock/4 3.6M 644.0k 3.0M 17% /jffs


nvram show | grep jffs
jffs_mounted=1
enable_jffs2=1
sys_enable_jffs2=1
clean_jffs2=0
size: 18702 bytes (14066 left)
dhcpd_usejffs=0
marmoset
DD-WRT Novice


Joined: 05 Apr 2008
Posts: 1

PostPosted: Sat Apr 05, 2008 17:49    Post subject: Reply with quote
I just had to make a directory to get it to work. I've got a samba mount on /jffs so the thing I had to do was:

mkdir -p /jffs/tmp/ipkg

and then it all worked.
tekproxy
DD-WRT Novice


Joined: 05 Apr 2008
Posts: 1

PostPosted: Sat Apr 05, 2008 19:09    Post subject: Reply with quote
This was the full error I was getting:
root@Nexus:/tmp/smbshare# ipkg update
Downloading http://downloads.openwrt.org/whiterussian/packages/Packages ...
Connecting to downloads.openwrt.org [195.56.146.238:80]
ipkg_download: ERROR: Failed to retrieve http://downloads.openwrt.org/whiterussian/packages/Packages, returning
ipkg_update: Error downloading http://downloads.openwrt.org/whiterussian/packages/Packages to /jffs/usr/lib/ipkg/lists/whiterussian
Downloading http://downloads.openwrt.org/whiterussian/packages/non-free/Packages ...
Connecting to downloads.openwrt.org [195.56.146.238:80]
ipkg_download: ERROR: Failed to retrieve http://downloads.openwrt.org/whiterussian/packages/non-free/Packages, returning t
ipkg_update: Error downloading http://downloads.openwrt.org/whiterussian/packages/non-free/Packages to /jffs/usr/lib/ipkg/lists/non-free
Downloading http://downloads.openwrt.org/backports/rc5/Packages ...
Connecting to downloads.openwrt.org [195.56.146.238:80]
ipkg_download: ERROR: Failed to retrieve http://downloads.openwrt.org/backports/rc5/Packages, returning t
ipkg_update: Error downloading http://downloads.openwrt.org/backports/rc5/Packages to /jffs/usr/lib/ipkg/lists/backports


/jffs was linked to my samba share/cifs share (which also didn't work and then mysteriously started working once I tried different user names)

The SOLUTION was, as posted above, to create the directory /jffs/tmp/ipkg.

After that everything updated fine.
phil.oertel
DD-WRT Novice


Joined: 08 Dec 2008
Posts: 1

PostPosted: Mon Dec 08, 2008 6:06    Post subject: Reply with quote
Confirmed this fix. Was getting the same error on my Asus wl-520gu with jffs mounted on the unit's internal flash. Created /jffs/tmp/ipkg and ipkg update now runs to completion.
Java-Helpers
DD-WRT Novice


Joined: 22 Feb 2009
Posts: 8
Location: MY

PostPosted: Sun Feb 22, 2009 1:52    Post subject: Make ipkg update to Successful Work! Reply with quote
If Your Router Already Worked On Mod Such A MMC CIFS JFSS But Error Fail!! To make ipkg update.

Try Do this :!

First -> Ping google.com used your ssh ddwrt shell on your router. If Fail!! the gateway of your router is not globaly to Gate On Wan Port.

Now -> cat /etc/resolv.conf .. In my case i would get :-
nameserver 192.168.1.25
nameserver 192.168.1.1 <<-

nameserver 192.168.1.1 is a common gateway to Wan Port.

So..Next Step Do like Below Step:

vi /etc/resolv.conf

write your common gateway ip properly. then press Esc ; then press :q [/code]



ddwrt-wrt54gl-ipkg-update-work.PNG
 Description:
ipkg update Successful Works!!!
 Filesize:  190.31 KB
 Viewed:  38842 Time(s)

ddwrt-wrt54gl-ipkg-update-work.PNG


jerryg99
DD-WRT Novice


Joined: 24 Jul 2009
Posts: 9

PostPosted: Fri Jul 24, 2009 22:03    Post subject: Reply with quote
Had the same ipkg update error. I believe vontage v-portal was the problem.
The original wiring was per vontage install manual; cable modem then vontage v-portal then primary router. Changing configuration to cable modem then primary router then vontage v-portal box allowed ipkg update to work without any other scripts or changes other than wiki instructions.
I believe there is a firewall in vontage box that prevented ipkg update to work.
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Index -> Broadcom SoC based Hardware All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum