Skip to content

uninstall erroring and deleting more than it should #29

Closed

Description

@amoeba

On macOS, dbc v0.0.1-pre3 is erroring unexpectedly when I uninstall a driver and it also looks like it deletes more than it should. This bug may be fixed or at least affected by #5 but I haven't tested yet.

$ ls "/Users/bryce/Library/Application Support/ADBC/Drivers"
ls: /Users/bryce/Library/Application Support/ADBC/Drivers: No such file or directory

~/src/columnar-tech/dbc docs/update-website*
$ dbc install mssql
[✓] searching
[✓] downloading
[✓] installing
[✓] verifying signature

Installed mssql 1.0.0 to /Users/bryce/Library/Application Support/ADBC/Drivers

~/src/columnar-tech/dbc docs/update-website*
$ dbc search
• duckdb - An analytical in-process SQL database management system
• snowflake - An ADBC driver for Snowflake developed under the Apache Software Foundation
• mssql - Columnar ADBC Driver for Microsoft SQL Server [installed: user=>1.0.0]
• mysql - ADBC Driver Foundry Driver for MySQL
• flightsql - An ADBC driver for Apache Arrow Flight SQL developed under the Apache Software Foundation

~/src/columnar-tech/dbc docs/update-website*
$ ls "/Users/bryce/Library/Application Support/ADBC/Drivers"
mssql_macos_arm64_v1.0.0/ mssql.toml

~/src/columnar-tech/dbc docs/update-website*
$ dbc uninstall mssql
Error: failed to uninstall driver: error removing manifest /Users/bryce/Library/Application Support/ADBC/Drivers/mssql.toml: remove /Users/bryce/Library/Application Support/ADBC/Drivers/mssql.toml: no such file or directory

~/src/columnar-tech/dbc docs/update-website*
$ ls "/Users/bryce/Library/Application Support/ADBC/Drivers"
ls: /Users/bryce/Library/Application Support/ADBC/Drivers: No such file or directory

~/src/columnar-tech/dbc docs/update-website*

Activity

  1. added this to the 0.0.1 milestone on Sep 13, 2025
  2. amoeba commented on Sep 17, 2025

    @amoeba
    MemberAuthor

    This was caused by what was going on in #37 and so this no longer happens with the updated mysql package.

    I think we still need to make the uninstall routine more defensive. I'll make a test for this.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions