Skip to contentSkip to conversation

OT: how to do upgrades with ipkg?

Buildroot Grant Edwards 2 participants 3 messages Sep 7, 2010

lore
Share & tools
lore
#0 lore raw

First, my apologies. This isn't directly related to buildroot, but I'm hoping somebody might know the answer (there doesn't seem to be an ipkg mailing list).

When using ipkg to manage field-installed pacakges, how do you upgrade a package? For example, let's say I've got foobar version 0.1 installed. Now I have foobar_0.2_arm.ipk at hand on the target. How do I upgrade?

The "ipkg upgrade" command doesn't seem relevent -- it won't accept a path to an .ipk file. There are no "feeds" in my system. All packages are explicitly uploaded to the target and installed.

Do you just do this?

ipkg remove foobar
ipkg install foobar_0.2_arm.ipk

Signature · 3 lines
Grant Edwards               grant.b.edwards        Yow! It's a hole all the
                                  at               way to downtown Burbank!
                              gmail.com            
#1 lore raw

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Quoted 9 lines · Grant Edwards

First, my apologies. This isn't directly related to buildroot, but I'm hoping somebody might know the answer (there doesn't seem to be an ipkg mailing list).

When using ipkg to manage field-installed pacakges, how do you upgrade a package? For example, let's say I've got foobar version 0.1 installed. Now I have foobar_0.2_arm.ipk at hand on the target. How do I upgrade?

Quoted 9 lines

The "ipkg upgrade" command doesn't seem relevent -- it won't accept a path to an .ipk file. There are no "feeds" in my system. All packages are explicitly uploaded to the target and installed.

Do you just do this?

ipkg remove foobar
ipkg install foobar_0.2_arm.ipk

On a related note, wouldn't it make more sense to migrate to opkg at this point? http://en.wikipedia.org/wiki/Opkg

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iQEcBAEBAgAGBQJMhqbNAAoJECSpOhdQESq66rkH/0TclZj56eKEkoZJFA1XSh37 4nTt4yXMZOjDjMwtKYwOee3G04qJnx4dboNEyz4Z1oL6YPEEE+ROIBi5pTzni4oD AA+b+erNmVSnNr1riKoQ7QTaxbbiijaSXPOshvp0FlXJ7HcS92tnahGdYpAuXfza wYWO82ACjlafotWEZ3ZeP2jxIiAIkz5aQ5ESjqlLXQyWCgmt5RxE0O1Wf3ujjPEs KufiQFLf0Tnt311ADLXfaub3ucsdnrRh1g6YRpXELXQpX7raR1gVCy2RMNRJOeFv q+3H88dQ1Bvp+YKtK3CeOiCsUfUh7PA0/rCml1WA772nr/VPQCxbUZ6QcBAq7+U= =45ID
-----END PGP SIGNATURE-----

#2 lore raw
Quoted 11 lines · James J. Dines
Quoted 9 lines · Grant Edwards

First, my apologies. This isn't directly related to buildroot, but I'm hoping somebody might know the answer (there doesn't seem to be an ipkg mailing list).

When using ipkg to manage field-installed pacakges, how do you upgrade a package? For example, let's say I've got foobar version 0.1 installed. Now I have foobar_0.2_arm.ipk at hand on the target. How do I upgrade?

Quoted 8 lines
Quoted 8 lines

The "ipkg upgrade" command doesn't seem relevent -- it won't accept a path to an .ipk file. There are no "feeds" in my system. All packages are explicitly uploaded to the target and installed.

Do you just do this?

ipkg remove foobar
ipkg install foobar_0.2_arm.ipk

Apparently you just "install" the new package. ipkg figures out that an older version is installed and knows it's upgrading.

Quoted 2 lines

On a related note, wouldn't it make more sense to migrate to opkg at this point? http://en.wikipedia.org/wiki/Opkg

Probably.

Development on ipkg seems to have stalled. The newest snapshot available from handhelds.org is from 2006.

The last commit to the opkg SVN reposity was about two weeks ago.

Signature · 3 lines
Grant Edwards               grant.b.edwards        Yow! Uh-oh!!  I'm having
                                  at               TOO MUCH FUN!!
                              gmail.com