summaryrefslogtreecommitdiff
path: root/src/upgrade.c
AgeCommit message (Collapse)AuthorFilesLines
2011-09-09upgrade: fix context allocationTimo Teräs1-0/+1
2011-09-09applets: start using solver codeTimo Teräs1-48/+22
still todo: - 'fix' is missing - 'del -R' does not work - 'upgrade' does not do self-upgrade first ... and a lot of testing.
2011-04-09upgrade: Improve english messages on apk-tools/baselibs upgrade transaction.William Pitcock1-2/+2
2011-03-30state: use db in own struc when committingNatanael Copa1-2/+2
The db parameter to apk_state_commit is not needed so we remove it.
2011-03-19upgrade: reset world dependencies during traversalTimo Teräs1-18/+2
This allows us to get apk-tools dependencies get reset at proper time in world. As a bonus, it reduces code amount.
2011-01-01various: use APK_DEPMASK_REQUIRE where applicableTimo Teräs1-2/+2
.. instead of the longer flag combo.
2011-01-01upgrade: perform upgrade of apk-tools first if availableTimo Teräs1-1/+47
Also re-exec's apk-tools to perform rest of the upgrade using the new apk-tools. This allows handling of new apk-tools features properly. Fixes #140.
2011-01-01various: fix breakage from converting dependency versions to atomsTimo Teräs1-2/+4
The version now needs to be initialized atom always, since it's dereferenced in various places.
2010-06-15upgrade: warn (do not fail) on missing top-level package namesTimo Teräs1-3/+23
We we can upgrade rest of system just fine then.
2010-06-11First steps for libapkNatanael Copa1-0/+1
2010-06-01state: improve error messages from dependency failuresTimo Teräs1-7/+5
Print more information why installation changeset calculation failed. Fixes #187.
2010-05-12upgrade: reset versioned deps in world when doing upgrade -aNatanael Copa1-2/+7
Doing "apk add file.apk" adds a versioned dependency to allow downgrading, and sticky version. Most often this is to install single packages from newer repository. So it would make sense to reset them to non-versioned if doing: apk upgrade -a fixes #346
2009-08-06all: implement database open optionsTimo Teras1-14/+10
so user can override trusted keys directory and repositories file.
2009-08-04state: fix world dependencies to be honored alwaysTimo Teras1-0/+3
previously they might have been skipped on certain situations. this also fixes some other reverse dependency enforcements and implements new "pending" state for locked name.
2009-06-25help: auto construct helpTimo Teras1-3/+6
And add some more verbosity to the help message.
2009-06-25upgrade: add --available optionTimo Teras1-1/+20
That will make the upgrade prefer packages available in repositories. This is good if one want's to downgrade packages by removing an experimental repository. Or to force re-install of locally built vs. repository version when the package version are same, but checksum is different. Fixes #51.
2009-06-25upgrade: new appletTimo Teras1-0/+55
Currently just goes through all world dependencies and updates them where possible (ref #51).