OpenWrt Forum Archive

Topic: ipkg bug?

The content of this topic has been archived on 22 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

What happens is if I do a "ipkg update" all the lists end up being the same! I enabled verbose as much as possible and it does wget all three files but the first one downloaded is the one that becomes all three! I can of course manually wget the three "Package" files, rename them, and put them where they belong but what's up with "ipkg update"? I really can't see where it is a problem in my setup. My ipkg.conf :

src release http://downloads.openwrt.org/kamikaze/7 … 4/packages
src packages http://downloads.openwrt.org/kamikaze/packages/mipsel
dest root /
dest ram /tmp
src X-Wrt http://downloads.x-wrt.org/xwrt/kamikaz … 4/packages

Run results:

# rm -R usr/lib/ipkg/lists
# ls -l /usr/lib/ipkg/lists
ls: /usr/lib/ipkg/lists: No such file or directory

# ipkg -V 3 -verbose_wget update
Downloading http://downloads.openwrt.org/kamikaze/7 … s/Packages
Connecting to downloads.openwrt.org [195.56.146.238:80]
Packages             100% |*****************************| 74174    --:--:-- ETA
Updated list of available packages in /usr/lib/ipkg/lists/release
Downloading http://downloads.openwrt.org/kamikaze/p … l/Packages
Connecting to downloads.openwrt.org [195.56.146.238:80]
Packages             100% |*****************************|   223 KB 00:00:00 ETA
Updated list of available packages in /usr/lib/ipkg/lists/packages
Downloading http://downloads.x-wrt.org/xwrt/kamikaz … s/Packages
Connecting to downloads.x-wrt.org [88.198.39.176:80]
Packages             100% |*****************************| 51674    --:--:-- ETA
Updated list of available packages in /usr/lib/ipkg/lists/X-Wrt
Done.
hash_table[pkg-hash] n_buckets=0 n_elements=182 max_conflicts=0 n_conflicts=0
hash_table[file-hash] n_buckets=0 n_elements=0 max_conflicts=0 n_conflicts=0
hash_table[obs-file-hash] n_buckets=0 n_elements=0 max_conflicts=0 n_conflicts=0

# ls -l /usr/lib/ipkg/lists
-rw-r--r--    3 root     root        74174 Mar  9 23:35 X-Wrt
-rw-r--r--    3 root     root        74174 Mar  9 23:35 packages
-rw-r--r--    3 root     root        74174 Mar  9 23:35 release

It looks like they are hardlinked for some reason.

What version of Kamikaze is that?  Did you compile it yourself?

I see you're pointing at the 7.09 packages, which is not what you want if you compiled Kamikaze yourself.

"Stock" 7.09 build from the X-Wrt site ...

I have found that ipkg is part of busybox and the version of that included in X-Wrt is different from the one in "plain" Kamakazi so I'll move this conversation over to their website.

Thanks,
RR

(Last edited by roadranger on 11 Mar 2008, 16:17)

The discussion might have continued from here.