Re: Todays rant: opkg - not giving me the right choices
On Sunday 17 August 2008, Torfinn Ingolfsen wrote: [...] > Anyway, I'm tired of this game now. Lets try something else: > [EMAIL PROTECTED]:~# mv /var/lib/opkg/daily-neo1973 . > [EMAIL PROTECTED]:~# mv /var/lib/opkg/daily-neo1973-updates . > [EMAIL PROTECTED]:~# opkg info kernel [...] > Now, lets see if opkg can deal with it. > [EMAIL PROTECTED]:~# opkg install kernel > Installing kernel > (2:2.6.24+git33+88bf43840b9df0eb0a077a1394eb564be80a412e-r2) to > root... [...] > At last - the correct package installed. > > Finally, IMHO opkg is broken and should be fixed. Also, opkg > lacks at least one essential feature (the ability to specify what > version of an available package to install) and should be > ehanced. So I hope it is safe to remove the neo1973 specific feed(s) on gta02 (/etc/opkg/neo1973-feed.conf in my case)? Robin ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: Todays rant: opkg - not giving me the right choices
>> opkg --help >> might be interesting to read ... > > I have done that Many times. > Are there anything specific there you are referring to? there should be smth like -force-downgrade. ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: Todays rant: opkg - not giving me the right choices
Hi, On Sun, Aug 17, 2008 at 5:57 PM, arne anka <[EMAIL PROTECTED]> wrote: > opkg --help > might be interesting to read ... I have done that Many times. Are there anything specific there you are referring to? -- Regards, Torfinn Ingolfsen ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: Todays rant: opkg - not giving me the right choices
opkg --help might be interesting to read ... ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: Todays rant: opkg - not giving me the right choices
More info. On Sun, Aug 17, 2008 at 3:55 PM, Michael 'Mickey' Lauer <[EMAIL PROTECTED]> wrote: > Tried giving an absolute path or URI to opkg? Ok, I found the package in question at http://buildhost.openmoko.org/daily-feed/om-gta02/kernel-2.6.24_2.6.24+git33+88bf43840b9df0eb0a077a1394eb564be80a412e-r2_om-gta02.ipk Now, lets see if it helps giving opkg an absolute path: [EMAIL PROTECTED]:~# opkg install http://buildhost.openmoko.org/daily-feed/om-gta02/kernel-2.6.24_2.6.24 +git33+88bf43840b9df0eb0a077a1394eb564be80a412e-r2_om-gta02.ipk Downloading http://buildhost.openmoko.org/daily-feed/om-gta02/kernel-2.6.24_2.6.24+git33+88bf43840b9df0eb0a077a1394eb564be80a412e-r2_om-gta02.ipk Multiple packages (kernel-2.6.24 and kernel-2.6.24) providing same name marked HOLD or PREFER. Using latest. Multiple packages (kernel-2.6.24 and kernel-2.6.24) providing same name marked HOLD or PREFER. Using latest. Multiple packages (kernel-2.6.24 and kernel-2.6.24) providing same name marked HOLD or PREFER. Using latest. Multiple packages (kernel-2.6.24 and kernel-2.6.24) providing same name marked HOLD or PREFER. Using latest. Multiple packages (kernel-2.6.24 and kernel-2.6.24) providing same name marked HOLD or PREFER. Using latest. Multiple packages (kernel-2.6.24 and kernel-2.6.24) providing same name marked HOLD or PREFER. Using latest. Multiple packages (kernel-2.6.24 and kernel-2.6.24) providing same name marked HOLD or PREFER. Using latest. Multiple packages (kernel-2.6.24 and kernel-2.6.24) providing same name marked HOLD or PREFER. Using latest. Multiple packages (kernel-2.6.24 and kernel-2.6.24) providing same name marked HOLD or PREFER. Using latest. Package kernel-2.6.24 (2:2.6.24+git75940+27fc8d82e365c47065f3a9240bfe21e67a50edf2-r1.01) installed in root is up to date. Hmm, that doesn't look promising. Checking: [EMAIL PROTECTED]:~# opkg info kernel Package: kernel Version: 2:2.6.24+git33+88bf43840b9df0eb0a077a1394eb564be80a412e-r2 Depends: kernel-2.6.24 Status: unknown ok not-installed Section: kernel Architecture: om-gta02 maintainer: Angstrom Developers <[EMAIL PROTECTED]> MD5Sum: bf0e22639aa23f82bc8346aae598c824 Size: 936 Filename: kernel_2.6.24+git33+88bf43840b9df0eb0a077a1394eb564be80a412e-r2_om-gta02.ipk Source: git://git.openmoko.org/git/kernel.git;protocol=git;branch=stable file://0001-squashfs-with-lzma.patch;patch=1 file://0002-squashfs-initrd.patch;patch=1 file://0003-squashfs-force-O2.patch;patch=1 file://0004-squashfs-Kconfig.patch;patch=1 file://0005-squashfs-Makefile.patch;patch=1 Description: Linux 2.6.x (development) kernel for FIC SmartPhones shipping w/ Openmoko Package: kernel Version: 2:2.6.24+git75940+27fc8d82e365c47065f3a9240bfe21e67a50edf2-r1.01 Depends: kernel-2.6.24 Status: unknown ok not-installed Section: kernel Architecture: neo1973 maintainer: Angstrom Developers <[EMAIL PROTECTED]> MD5Sum: d14dff18ae1e43a8f8c070282b091fdc Size: 894 Filename: kernel_2.6.24+git75940+27fc8d82e365c47065f3a9240bfe21e67a50edf2-r1.01_neo1973.opk Source: git://git.openmoko.org/git/kernel.git;protocol=git;branch=stable file://turn_off_EVBUG.patch;patch=1 Description: Linux 2.6.x (development) kernel for FIC SmartPhones shipping w/ Openmoko Hmm, it seems like it didn't install any package at all. Let's force it with -force-overwrite: [EMAIL PROTECTED]:~# opkg -force-overwrite install http://buildhost.openmoko.org/daily-feed/om-gta02/ker nel-2.6.24_2.6.24+git33+88bf43840b9df0eb0a077a1394eb564be80a412e-r2_om-gta02.ipk Downloading http://buildhost.openmoko.org/daily-feed/om-gta02/kernel-2.6.24_2.6.24+git33+88bf43840b9df0eb0a077a1394eb564be80a412e-r2_om-gta02.ipk Multiple packages (kernel-2.6.24 and kernel-2.6.24) providing same name marked HOLD or PREFER. Using latest. Multiple packages (kernel-2.6.24 and kernel-2.6.24) providing same name marked HOLD or PREFER. Using latest. Multiple packages (kernel-2.6.24 and kernel-2.6.24) providing same name marked HOLD or PREFER. Using latest. Multiple packages (kernel-2.6.24 and kernel-2.6.24) providing same name marked HOLD or PREFER. Using latest. Multiple packages (kernel-2.6.24 and kernel-2.6.24) providing same name marked HOLD or PREFER. Using latest. Multiple packages (kernel-2.6.24 and kernel-2.6.24) providing same name marked HOLD or PREFER. Using latest. Multiple packages (kernel-2.6.24 and kernel-2.6.24) providing same name marked HOLD or PREFER. Using latest. Multiple packages (kernel-2.6.24 and kernel-2.6.24) providing same name marked HOLD or PREFER. Using latest. Multiple packages (kernel-2.6.24 and kernel-2.6.24) providing same name marked HOLD or PREFER. Using latest. Package kernel-2.6.24 (2:2.6.24+git75940+27fc8d82e365c47065f3a9240bfe21e67a50edf2-r1.01) installed in root is up to date. That didn't help either, or did ti? [EMAIL PROTECTED]:~# opkg info kernel Package: kernel Version: 2:2.6.24+git33+88bf43840b9df0eb0a077a1394eb564be80a412e-r2 Depends: kernel-2.6.24 Status: unknown ok not-installed Section: kernel Architecture: o
Re: Todays rant: opkg - not giving me the right choices
On Sun, Aug 17, 2008 at 5:03 PM, Torfinn Ingolfsen <[EMAIL PROTECTED]> wrote: > Hello again, > > On Sun, Aug 17, 2008 at 4:48 PM, Michael 'Mickey' Lauer > <[EMAIL PROTECTED]> wrote: >> You could inspect /etc/ipkg.conf and browse with a HTTP browser to get >> absolute URIs. > > Are you referring to /etc/opkg.conf? Ther is no /etc/ipkg.conf on my > system, and /etc/opkg.conf contains: > he's referring to the folder /etc/opkg/ in this folder all your *.conf files are stored and you can make new ones ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: Todays rant: opkg - not giving me the right choices
Hello again, On Sun, Aug 17, 2008 at 4:48 PM, Michael 'Mickey' Lauer <[EMAIL PROTECTED]> wrote: > You could inspect /etc/ipkg.conf and browse with a HTTP browser to get > absolute URIs. Are you referring to /etc/opkg.conf? Ther is no /etc/ipkg.conf on my system, and /etc/opkg.conf contains: [EMAIL PROTECTED]:~# more /etc/opkg.conf # Must have one or more source entries of the form: # # src # # and one or more destination entries of the form: # # dest # # where and are identifiers that # should match [a-zA-Z0-9._-]+, should be a # URL that points to a directory containing a Familiar # Packages file, and should be a directory # that exists on the target system. # Proxy Support #option http_proxy http://proxy.tld:3128 #option ftp_proxy http://proxy.tld:3128 #option proxy_username #option proxy_password # Offline mode (for use in constructing flash images offline) #option offline_root target dest root / lists_dir ext /var/lib/opkg which doesn't seem all that useful to me. Are you suggesting that I should manually check all feeds in the files in /etc/opkg ? Well, I would like the tools I use (opkg or others) to help me avoid such manual work as much as possible. Obviously, opkg knows where to download a package from, why can't it tell me the URI? Anyway, I had a look at http://people.openmoko.org/~zecke/om2008.8-testing/ but it seems there are only 1973 kernels there. -- Regards, Torfinn Ingolfsen ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: Todays rant: opkg - not giving me the right choices
You could inspect /etc/ipkg.conf and browse with a HTTP browser to get absolute URIs. -- :M: ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: Todays rant: opkg - not giving me the right choices
Hello, On Sun, Aug 17, 2008 at 3:55 PM, Michael 'Mickey' Lauer <[EMAIL PROTECTED]> wrote: > Tried giving an absolute path or URI to opkg? Well, opkg doesn't tell me what URI the packages are available from, until you try to install them. As you can see above, 'opkg info ' only tells you the source of the package, not where it can be downloaded from. . I had a look at the files in /var/lib/opkg, but they are the same as 'opkg info ..' output, so no help there -- Regards, Torfinn Ingolfsen ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: Todays rant: opkg - not giving me the right choices
Tried giving an absolute path or URI to opkg? -- :M: ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Todays rant: opkg - not giving me the right choices
Hello, Linux and Openmoko is all about choice. This is a good thing. Why isn't there a way to tell opkg that I want a to install a specific version, name or whatever of a package? Instead of the one that opkg thinks is "latest"? If I know that opkg is installing the wrong version of a (available) package, I want to be able to override what opkg thinks. Ye, even if it means that I will shoot my own foot! Example: right now there are two packages named "kernel" available: [EMAIL PROTECTED]:~# opkg info kernel Package: kernel Version: 2:2.6.24+git33+88bf43840b9df0eb0a077a1394eb564be80a412e-r2 Depends: kernel-2.6.24 Status: unknown ok not-installed Section: kernel Architecture: om-gta02 maintainer: Angstrom Developers <[EMAIL PROTECTED]> MD5Sum: bf0e22639aa23f82bc8346aae598c824 Size: 936 Filename: kernel_2.6.24+git33+88bf43840b9df0eb0a077a1394eb564be80a412e-r2_om-gta02.ipk Source: git://git.openmoko.org/git/kernel.git;protocol=git;branch=stable file://0001-squashfs-with-lzma.patch;patch=1 file://0002-squashfs-initrd.patch;patch=1 file://0003-squashfs-force-O2.patch;patch=1 file://0004-squashfs-Kconfig.patch;patch=1 file://0005-squashfs-Makefile.patch;patch=1 Description: Linux 2.6.x (development) kernel for FIC SmartPhones shipping w/ Openmoko Package: kernel Version: 2:2.6.24+git75940+27fc8d82e365c47065f3a9240bfe21e67a50edf2-r1.01 Depends: kernel-2.6.24 Status: unknown ok not-installed Section: kernel Architecture: neo1973 maintainer: Angstrom Developers <[EMAIL PROTECTED]> MD5Sum: d14dff18ae1e43a8f8c070282b091fdc Size: 894 Filename: kernel_2.6.24+git75940+27fc8d82e365c47065f3a9240bfe21e67a50edf2-r1.01_neo1973.opk Source: git://git.openmoko.org/git/kernel.git;protocol=git;branch=stable file://turn_off_EVBUG.patch;patch=1 Description: Linux 2.6.x (development) kernel for FIC SmartPhones shipping w/ Openmoko (This is a FreeRunner, not a 1973). So I let opkg install it: [EMAIL PROTECTED]:~# opkg install kernel Installing kernel (2:2.6.24+git75940+27fc8d82e365c47065f3a9240bfe21e67a50edf2-r1.01) to root... Downloading http://people.openmoko.org/~zecke/om2008.8-testing/neo1973/kernel_2.6.24+git75940+27fc8d82e365c47065f3a9240bfe21e67a50edf2-r1.01_neo1973.opk Multiple packages (kernel-2.6.24 and kernel-2.6.24) providing same name marked HOLD or PREFER. Using latest. Multiple packages (kernel-2.6.24 and kernel-2.6.24) providing same name marked HOLD or PREFER. Using latest. Multiple packages (kernel-2.6.24 and kernel-2.6.24) providing same name marked HOLD or PREFER. Using latest. Configuring kernel update-alternatives: Linking //boot/uImage to uImage-2.6.24 Ok, lets see if opkg did install the correct one: [EMAIL PROTECTED]:~# opkg info kernel Package: kernel Version: 2:2.6.24+git33+88bf43840b9df0eb0a077a1394eb564be80a412e-r2 Depends: kernel-2.6.24 Status: unknown ok not-installed Section: kernel Architecture: om-gta02 maintainer: Angstrom Developers <[EMAIL PROTECTED]> MD5Sum: bf0e22639aa23f82bc8346aae598c824 Size: 936 Filename: kernel_2.6.24+git33+88bf43840b9df0eb0a077a1394eb564be80a412e-r2_om-gta02.ipk Source: git://git.openmoko.org/git/kernel.git;protocol=git;branch=stable file://0001-squashfs-with-lzma.patch;patch=1 file://0002-squashfs-initrd.patch;patch=1 file://0003-squashfs-force-O2.patch;patch=1 file://0004-squashfs-Kconfig.patch;patch=1 file://0005-squashfs-Makefile.patch;patch=1 Description: Linux 2.6.x (development) kernel for FIC SmartPhones shipping w/ Openmoko Package: kernel Version: 2:2.6.24+git75940+27fc8d82e365c47065f3a9240bfe21e67a50edf2-r1.01 Depends: kernel-2.6.24 Status: install user installed Section: kernel Architecture: neo1973 maintainer: Angstrom Developers <[EMAIL PROTECTED]> MD5Sum: d14dff18ae1e43a8f8c070282b091fdc Size: 894 Filename: kernel_2.6.24+git75940+27fc8d82e365c47065f3a9240bfe21e67a50edf2-r1.01_neo1973.opk Source: git://git.openmoko.org/git/kernel.git;protocol=git;branch=stable file://turn_off_EVBUG.patch;patch=1 Description: Linux 2.6.x (development) kernel for FIC SmartPhones shipping w/ Openmoko No, it didn't. Crap! So, how do I fix this? -- Regards, Torfinn Ingolfsen ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community