Merge lp:~donadigo/appcenter/fix-app-installation into lp:~elementary-apps/appcenter/appcenter
Status: | Merged | ||||
---|---|---|---|---|---|
Merged at revision: | 248 | ||||
Proposed branch: | lp:~donadigo/appcenter/fix-app-installation | ||||
Merge into: | lp:~elementary-apps/appcenter/appcenter | ||||
Diff against target: |
55 lines (+6/-7) 2 files modified
src/Core/Client.vala (+6/-3) src/Core/Task.vala (+0/-4) |
||||
To merge this branch: | bzr merge lp:~donadigo/appcenter/fix-app-installation | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
elementary Apps team | Pending | ||
Review via email: mp+300370@code.launchpad.net |
Commit message
- Fix bug #1594070: "Cannot install Gimp using AppCenter".
- Fix installed apps would take up much more space than manually installed.
Description of the change
Fixes bug #1594070: "Cannot install Gimp using AppCenter".
This branch fixes two major issues in how AppCenter will install the packages:
1. Apps like gimp would not install due to calling search_names method which returns *all* packages that match "gimp" not the one that we are looking for.
2. Because of that also, when you would install some app in the AppCenter it would take up ridiculous sizes of disk space because of installing all packages (including docs, dev libraries, help packages).
We now call reslove_async which returns only package names that are needed in order to install specific app.