Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dpkg: warning: unable to delete old directory '/usr/local/bin': Directory not empty #519

Open
Zorono opened this issue Sep 1, 2024 · 3 comments

Comments

@Zorono
Copy link

Zorono commented Sep 1, 2024

why did sampctl pkg try to delete whole directory /usr/local/bin' ?? on Ubuntu 22.04.4 LTS

@ADRFranklin
Copy link
Collaborator

What? Could you give me more information about this? Like what were you trying to do? what commands where used? etc

@Zorono
Copy link
Author

Zorono commented Dec 20, 2024

What? Could you give me more information about this? Like what were you trying to do? what commands where used? etc

what were you trying to do? what commands where used? : trying to upgrade my sampctl (apt-get install sampctl.deb)
I am using Ubuntu 22.04.5 amd64

@ADRFranklin
Copy link
Collaborator

In this case try using dpkg instead. dpkg -i ./sampctl.deb.

I can't say that I have ever used the apt-get install. for a deb file, and while I do know it's possible, I've known it to sometimes break and require you doing apt-get install -f to fix broken dependencies.

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

No branches or pull requests

2 participants