This is problematic since some package feed creation tools sort the package attributes alphabetically.
could you provide an example of a problematic Packages file? I tested by switching lines in a Packages file and everything worked fine. adelcast@delcastillo2 ~/git/opkg $ cat /tmp/opk/Packages Version: 3.0 Filename: a_3.0_all.opk Architecture: all Package: a MD5Sum: a40a7862dd0829156eabeddcea969cd4 adelcast@delcastillo2 ~/git/opkg $ opkg -o /tmp/opkg update Downloading file:/tmp/opk/Packages. Updated source 'test'. adelcast@delcastillo2 ~/git/opkg $ opkg -o /tmp/opkg install a Installing a (3.0) on root. By looking at pkg_parse.c, ordering is not being restricted.
Created attachment 3174 [details] Packages Attaches is the Packages file that I created with a 3rd party tool and was having problems with.
Fixed on commits: a1cbabe3dbeb731622a157b78fd3e8ca924e74fc bc9b7496822e02fe984ab0e3bf2fca4b150d9fbe