path: root/src/upgrade.c
Commit message (Collapse)AuthorAgeFilesLines
* upgrade: warn (do not fail) on missing top-level package namesTimo Teräs2010-06-151-3/+23
| | | | We we can upgrade rest of system just fine then.
* First steps for libapkNatanael Copa2010-06-111-0/+1
* state: improve error messages from dependency failuresTimo Teräs2010-06-011-7/+5
| | | | | Print more information why installation changeset calculation failed. Fixes #187.
* upgrade: reset versioned deps in world when doing upgrade -aNatanael Copa2010-05-121-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
* all: implement database open optionsTimo Teras2009-08-061-14/+10
| | | | so user can override trusted keys directory and repositories file.
* state: fix world dependencies to be honored alwaysTimo Teras2009-08-041-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.
* help: auto construct helpTimo Teras2009-06-251-3/+6
| | | | And add some more verbosity to the help message.
* upgrade: add --available optionTimo Teras2009-06-251-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.
* upgrade: new appletTimo Teras2009-06-251-0/+55
Currently just goes through all world dependencies and updates them where possible (ref #51).