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

[ERROR] Failed to locate cgroup mountpoints #316

Open
org0000h opened this issue Sep 30, 2022 · 8 comments
Open

[ERROR] Failed to locate cgroup mountpoints #316

org0000h opened this issue Sep 30, 2022 · 8 comments

Comments

@org0000h
Copy link

$ ctop
[ERROR] Failed to locate cgroup mountpoints.

system info:
Linux version 5.15.0-48-generic (buildd@bos02-arm64-037) (gcc (Ubuntu 11.2.0-19ubuntu1) 11.2.0, GNU ld (GNU Binutils for Ubuntu) 2.38) #54-Ubuntu SMP Fri Aug 26 13:31:33 UTC 2022

@org0000h
Copy link
Author

How to solve this problem ?

@OleksandrKorovii
Copy link

Same problem on Ubuntu 22.04 LTS

@mbirth
Copy link

mbirth commented Nov 16, 2022

The version in Ubuntu is ancient.

Run this:

curl https://azlux.fr/repo.gpg | sudo apt-key add -
sudo apt-add-repository deb http://packages.azlux.fr/debian stable main

Then remove package ctop (Ubuntu version) and install the now available docker-ctop.

@oitconz
Copy link

oitconz commented Jan 21, 2024

@mbirth
Ubuntu 22.04 - Fails after following the above instructions

sudo apt remove ctop
sudo apt install docker-ctop
docker-ctop >> command not found

sudo apt-get install docker-ctop

Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
docker-ctop is already the newest version (0.7.7).
0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.

sudo locate docker-ctop
/```
usr/share/doc/docker-ctop
/usr/share/doc/docker-ctop/changelog.Debian.gz
/var/lib/dpkg/info/docker-ctop.list
/var/lib/dpkg/info/docker-ctop.md5sums



@alexinthis
Copy link

Just type ctop instead of docker-ctop

@sergeykad
Copy link

Installing from the repository does not work anymore due to security issues.
The only way it worked for me was by using these instructions.

E: The repository 'http://packages.azlux.fr/debian jammy Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.

@skull-squadron
Copy link

Forget installing old ctop from system packages, just use pipx: pipx install ctop

@Sun-ZhenXing
Copy link

@skull-squadron
I used pipx to install ctop on my Ubuntu-22.04 and it still doesn't work.

[ERROR] Failed to locate cgroup mountpoints.

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

8 participants