Skip to content

Reindex checks install for non-external packages#4027

Merged
tgamblin merged 1 commit intospack:developfrom
scheibelp:bugfix/reindex-check-installed
Apr 27, 2017
Merged

Reindex checks install for non-external packages#4027
tgamblin merged 1 commit intospack:developfrom
scheibelp:bugfix/reindex-check-installed

Conversation

@scheibelp
Copy link
Copy Markdown
Member

@scheibelp scheibelp commented Apr 27, 2017

Fixes #4026.

#1167 updated Database.reindex to keep old installation records to
support external packages. However, when a user manually removes a
prefix and reindexes this kept the records so the packages were
still installed according to "spack find" etc. This adds a check
for non-external packages to ensure they are properly installed
according to the directory layout.

Fixes spack#4026

spack#1167 updated Database.reindex to keep old installation records to
support external packages. However, when a user manually removes a
prefix and reindexes this kept the records so the packages were
still installed according to "spack find" etc. This adds a check
for non-external packages to ensure they are properly installed
according to the directory layout.
Copy link
Copy Markdown
Member

@adamjstewart adamjstewart left a comment

Choose a reason for hiding this comment

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

Just checked this out and ran spack reindex and it seems to have fixed everything. Thanks!

@tgamblin tgamblin merged commit 9a67e95 into spack:develop Apr 27, 2017
@tgamblin
Copy link
Copy Markdown
Member

Thanks @scheibelp!

diaena pushed a commit to diaena/spack that referenced this pull request May 26, 2017
Fixes spack#4026

spack#1167 updated Database.reindex to keep old installation records to
support external packages. However, when a user manually removes a
prefix and reindexes this kept the records so the packages were
still installed according to "spack find" etc. This adds a check
for non-external packages to ensure they are properly installed
according to the directory layout.
xavierandrade pushed a commit to xavierandrade/spack that referenced this pull request Jun 16, 2017
Fixes spack#4026

spack#1167 updated Database.reindex to keep old installation records to
support external packages. However, when a user manually removes a
prefix and reindexes this kept the records so the packages were
still installed according to "spack find" etc. This adds a check
for non-external packages to ensure they are properly installed
according to the directory layout.
EmreAtes pushed a commit to EmreAtes/spack that referenced this pull request Jul 10, 2017
Fixes spack#4026

spack#1167 updated Database.reindex to keep old installation records to
support external packages. However, when a user manually removes a
prefix and reindexes this kept the records so the packages were
still installed according to "spack find" etc. This adds a check
for non-external packages to ensure they are properly installed
according to the directory layout.
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.

Uninstalled packages in the database

4 participants