Skip to content

Conversation

@metayan
Copy link
Contributor

@metayan metayan commented Aug 1, 2018

portacle-update was triggering errors like

package-delete:
Package ‘async-20180527.1030’ is used by ‘with-editor’ as dependency, not deleting

causing the update to be interrupted.
Fixed by checking if the package is used elsewhere before trying to delete it.

Fixes the
"package-delete: Package ‘async-20180527.1030’ is used by ‘with-editor’ as dependency, not deleting"
error, which caused the update to not end cleanly.
@Shinmera
Copy link
Member

Shinmera commented Aug 1, 2018

I'm not sure if this is correct. It seems to me that we might not be deleting everything we can if we simply forfeit used packages, as they might be used by a pending deletion. Perhaps packages need to be deleted in dependency order to avoid triggering the error.

@metayan
Copy link
Contributor Author

metayan commented Aug 7, 2018

Alright, getting it to work by ignoring any errors in package-delete
#14

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants