Comments (1)
To address the issue where pkgx uninstall
fails due to the pantry not being downloaded, you can precede the uninstall command with pkgx --sync
. This command ensures the pantry is updated and any necessary packages are downloaded, thus avoiding the pantry error. Here's how you can integrate this into your workflow:
- Before attempting to uninstall with
pkgx
, run:pkgx --sync
- Once the pantry is synced, proceed with your uninstall command as initially intended.
This approach leverages pkgx
's functionality to keep the pantry up to date, ensuring smooth package management operations without encountering errors related to missing pantry data.
Details
Sources
- src/modes/uninstall.ts
- docs/pantry.md
- docs/run/anywhere/docker.md
- fixtures/pkgx.yml
- .github/Dockerfile
- src/prefab/failsafe.ts
- src/err-handler.ts
- src/utils/error.ts
About Dosu
This response is meant to be useful and save you time. It is not meant to be a precise solution, but rather a starting point for your own research.
Help me be more useful! Please leave a 👍 if this is helpful and 👎 if it is irrelevant.
To continue the conversation, mention @dosu.
from pkgx.
Related Issues (20)
- Pkgx sometimes "forgets" to provide a dependency? HOT 3
- `pkgx install` does not expand programs templates HOT 1
- pipx error while loading shared libraries: libpython3.11.so.1.0 HOT 6
- Allow custom installation location HOT 1
- [dev] Feature Request: Support `packageManager` in `package.json`
- Command not found behavior, exit faster?
- warn: parse failure: valkey.io HOT 3
- Where is markdown blocks execition engine? HOT 14
- pkgx and systemd unit HOT 8
- Are you sure macOS x86-64 binaries in GitHub releases are x86-64? HOT 5
- `pkgx --sync` on `main` never finishes if the pantry repo was not updated in the last 24 hours HOT 6
- `pkgx --sync` on `main` takes around 1 minute while in `v1.1.6` takes 1 second HOT 1
- Need equivalent of brew search and brew list command
- Error when working offline HOT 6
- x509 certificate trust error in pkgx docker container HOT 4
- unexpected error error sending request...invalid peer certificate: UnknownIssuer HOT 3
- Can't use yarn in context of another command HOT 7
- Can we get more scalable programs on PKGX? HOT 1
- `pkgx install` should overwrite existing versions HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pkgx.