Skip to content

[question] Cleaning up leftover folders in conan cache? #19416

@vstumpf-te

Description

@vstumpf-te

What is your question?

I'm starting to migrate to conan 2 and after about 20 attempts at building a conan package, it finally succeeded! However, when I look at my conan cache, I see a bunch of leftover directories:

$ ls /mnt/conan/.conan2/p
b                   break0f2112a0eedf9  break2f939cd915d06  break51319c1ae9dae  break80529935b0392  break946f84f8505ad  breake33bbe6f38faf  breakf4a3f4e3fca72
break00163194b15af  break10feefdcceb9c  break3a3502b012b7c  break55853a6500371  break80a7e35c03c82  break9aa1ba735ce67  breake52cc41e502b4  cache.sqlite3
break0d3fda60fa5e9  break16f371ff9b7ea  break3c070a47fd316  break6f7ab2a114e31  break86eaaa1765abb  breakafc3329cd09f6  breake6e2651eca54d  log4c4ac395bb825fb
break0e01facd0c189  break1d4dde30187e9  break46f6f77efe7f0  break71ddd29493d6f  break9176efc523a96  breakd7b0d3b4277e4  breakeee2f3a26e246  t

If I understand correctly, the b directory contains the built packages.

I ran a conan cache clean but it only removed the t directory (and upon further research, the d and s directories of these leftover directories)

All of the other directories have e and es directories and sometimes an s.dirty file. I assume these are exports and exports_sources directories, based on the contents.

Are these safe to delete? Why didn't the conan cache clean remove these directories for me?

Have you read the CONTRIBUTING guide?

  • I've read the CONTRIBUTING guide

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions