Skip to content

Conversation

@matteodelabre
Copy link
Member

Following #456, a dependency on coreutils-tsort was added to the toltec-bootstrap package. That dependency is only needed during uninstall and is used to sort the packages in reverse dependency order.

The bootstrap script does an initial temporary install of toltec-bootstrap in order to use the toltecctl definitions. It does not expect the package to have dependencies. As a consequence, the script fails to perform installs in its current state.

This fix makes the script ignore dependencies for the temporary install. The dependencies do get installed at the end of the install procedure. I also added a warning above the dependency list in toltec-bootstrap to inform future contributors that those dependencies will not be honored in the initial temporary install of toltec-bootstrap.

Sorry that I missed this when writing #456!

To test: simply use the bootstrap script from this PR to make a new Toltec install.

Following #456, a dependency on coreutils-tsort was added to the toltec-bootstrap package. That dependency is only needed during uninstall and is used to sort the packages in reverse dependency order.

The bootstrap script does an initial temporary install of toltec-bootstrap in order to use the toltecctl definitions. It does not expect the package to have dependencies. As a consequence, the script fails to perform installs in its current state.

This fix makes the script ignore dependencies for the temporary install. The dependencies do get installed at the end of the install procedure. I also added a warning above the dependency list in toltec-bootstrap to inform future contributors that those dependencies will not be honored in the initial temporary install of toltec-bootstrap.

Sorry that I missed this when writing #456!
@matteodelabre matteodelabre added bug Something isn't working install Installation scripts labels Nov 21, 2021
@matteodelabre
Copy link
Member Author

Tested on rM2.

Copy link
Contributor

@raisjn raisjn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

accept to unblock

@matteodelabre matteodelabre merged commit 894eabd into testing Nov 21, 2021
@matteodelabre matteodelabre deleted the fix/bootstrap-dependencies-error branch November 21, 2021 03:28
matteodelabre added a commit that referenced this pull request Nov 21, 2021
This brings the fix from #499 to stable.
matteodelabre added a commit that referenced this pull request Nov 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working install Installation scripts

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants