Closed GoogleCodeExporter closed 9 years ago
I have a further information to this.
If I use in the described case the --force-depends flag, to forth the
installation of the packages, I get a "corrupt" status file. Then I can find
some "not-installed" in the status line, and I get some wrong messages if I do
an "opkg list-upgradable".
Original comment by muuscl...@gmail.com
on 29 Jan 2015 at 11:39
Yes, there are many issues with current decision mechanism. That's why I've
started rewriting it to use libsolv library. I'm going to finish it and prepare
a patch in a week or so.
Original comment by KirG...@gmail.com
on 29 Jan 2015 at 12:26
KirGeNe: That sounds like an excellent idea.
I've avoided using libsolv myself as it looked rather heavyweight. OpenWRT uses
opkg on systems with very limited filesystem and RAM size so we do need to be
careful about size. It looks like OpenWRT are still using r618 though, which
predates the v0.2.0 release so I'm not sure what's going on there.
We're currently finding new bugs or surprises with dependency resolution every
couple of months so if libsolv can give us something more stable and
predictable then I think we're going to have to go for it actually. We don't
have the manpower on this project to keep solving these bugs with the current
dependency resolution code in a reasonable timeframe.
This was the same approach I took in adding a dependency on libarchive: the old
package decompression and extraction code was smaller but completely
unmaintainable. Better to have opkg be larger but rely on well maintained code.
Original comment by paul.betafive
on 30 Jan 2015 at 9:51
Original issue reported on code.google.com by
muuscl...@gmail.com
on 12 Mar 2014 at 10:47