Skip to content

Mac installer (.pkg) cannot be uninstalled with install.sh --uninstall #14679

Description

@amckinlay

I installed the nightly using the .pkg. While attempting to uninstall the nightly, I downloaded the .tar.gz (same nightly) and encountered this error when running install.sh --uninstall:

➜ rust-nightly-x86_64-apple-darwin ./install.sh --uninstall
install: 
install: processing ./install.sh args
install: 
install: CFG_UNINSTALL        := 1 
install: CFG_PREFIX           := /usr/local 
install: CFG_LIBDIR           := /usr/local/lib 
install: CFG_MANDIR           := /usr/local/share/man 
install: 
install: validating ./install.sh args
install: 
install: verifying destination is writable
install: verifying destination is not the same as source
install: error: unable to find installation manifest at /usr/local/lib/rustlib

To overcome this issue I simply installed the nightly using install.sh and ran install.sh --uninstall.

It seems that the .pkg of the nightly does not place a manifest.in file into /usr/local/lib/rustlib.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions