Author Topic: Ipkg Upgrade, No Options  (Read 2623 times)

BeKind

  • Jr. Member
  • **
  • Posts: 68
    • View Profile
    • http://www.seizurerobots.com
Ipkg Upgrade, No Options
« on: August 13, 2006, 07:54:46 am »
OZ 3.5.4 collie

Hi,

In the help document for ipkg, it says that if you run ipkg upgrade it will upgrade your installed packages.  I ran it and it started installing packages that I had removed.

koen

  • Hero Member
  • *****
  • Posts: 1008
    • View Profile
    • http://dominion.thruhere.net/koen/cms/
Ipkg Upgrade, No Options
« Reply #1 on: August 13, 2006, 08:09:39 am »
It does dependency resolving for the packages it upgrades.
Forums are not bugtrackers!!! Smart questions
Ångström release team
iPAQ h2210, iPAQ h5550, iPAQ hx4700, Zaurus SL-C700, Nokia 770, all running some form of GPE
My blog

BeKind

  • Jr. Member
  • **
  • Posts: 68
    • View Profile
    • http://www.seizurerobots.com
Ipkg Upgrade, No Options
« Reply #2 on: August 13, 2006, 08:28:11 am »
That can't be correct, because if you take a fresh installation, it should have all the dependencies it needs.  But then if you run ipkg upgrade after that, then it will start adding new packages which aren't depended on by your existing packages.  I tried running it with the '-force-depends' option and it didnt change anything.

I don't know exactly what ipkg upgrade with no arguments does, but it doesnt just upgrade your installed packages and dependencies.  Also, I ran 'ipkg upgrade' after a fresh install of OZ 3.5.4 on my collie and I ran out of space on my root partition.
« Last Edit: August 13, 2006, 09:07:13 am by BeKind »

Hrw

  • Hero Member
  • *****
  • Posts: 1366
    • View Profile
Ipkg Upgrade, No Options
« Reply #3 on: August 15, 2006, 01:58:51 pm »
show us log instead of just talking
OpenZaurus 3.5.4x Release Manager
OpenEmbedded, Ångström, Poky developer
My website

Misc embedded hardware.

lardman

  • Hero Member
  • *****
  • Posts: 4512
    • View Profile
    • http://people.bath.ac.uk/enpsgp/Zaurus/
Ipkg Upgrade, No Options
« Reply #4 on: August 16, 2006, 08:36:26 am »
If you remove the PIM apps, but leave the *task-pim meta package installed, I'd guess that it will then re-install the PIM apps as these are its deps. Same goes for the other meta packages.

Quote
That can't be correct, because if you take a fresh installation, it should have all the dependencies it needs. But then if you run ipkg upgrade after that, then it will start adding new packages which aren't depended on by your existing packages.

This sounds like a different issue to the first one. This could happen if a package that you have installed has had extra deps added to it in the new version.


Si
C750 OZ3.5.4 (GPE, 2.6.x kernel)
SL5500 OZ3.5.4 (Opie)
Nokia 770
Serial GPS, WCF-12, Socket Ethernet & BT, Ratoc USB
WinXP, Mandriva

BeKind

  • Jr. Member
  • **
  • Posts: 68
    • View Profile
    • http://www.seizurerobots.com
Ipkg Upgrade, No Options
« Reply #5 on: August 21, 2006, 11:20:32 am »
Ok, that makes sense.

I don't have the logs any more, and I don't really want to repeat it.  I think the "task" type of package might be doing this.

Running upgrade on the ROM with a collie is not a good idea because of the limited space.

I'm using altboot with a loop file now and after some tweaking, it is doing better than ipkg-link was.  I think having a minimal installation for collie and then requiring the use of altboot is a good way to go.  I would just make sure they know how to use fsck, because on my SD card, if I don't run that on the sd card AND the loopfile after each crash or reboot the installation quickly gets fubared.