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: 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 Nope. Perhaps '-force-depends' will help: [EMAIL PROTECTED]:~# opkg -force-depends install http://buildhost.openmoko.org/daily-feed/om-gta02/kerne l-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. Crap, that ddn't help either: [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 Why does opkg refuse to install a new package, when 'opkg info ..' shows that no packages with that name are installed? 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 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 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... Downloading http://buildhost.openmoko.org/daily-feed/om-gta02//kernel_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. Configuring kernel update-alternatives: Linking //boot/uImage to uImage-2.6.24 Interesting. A check: [EMAIL PROTECTED]:~# opkg info kernel Package: kernel Version: 2:2.6.24+git33+88bf43840b9df0eb0a077a1394eb564be80a412e-r2 Depends: kernel-2.6.24 Status: install user 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 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. -- Regards, Torfinn Ingolfsen, Norway _______________________________________________ Openmoko community mailing list [email protected] http://lists.openmoko.org/mailman/listinfo/community

