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

Cannot install ccm #86

Closed
mzryz opened this issue May 16, 2024 · 8 comments
Closed

Cannot install ccm #86

mzryz opened this issue May 16, 2024 · 8 comments

Comments

@mzryz
Copy link

mzryz commented May 16, 2024

Hi, I am on Manjaro-unstable and I need ccm to install some packages, but I cannot get ccm to install

Typing in sudo pamac build clean-chroot-mananger gets me:

Error: Failed to prepare transaction:
could not satisfy dependencies:
- unable to satisfy dependency 'devtools>=1:1.0.0-1' required by clean-chroot-manager

I've tried installing devtools-git, devtools, and devtools32-git (all at different times, just to try different versions, through pamac) but each time I get this error trying to install ccm.

If I install devtools-git it says it's installed:

Installing devtools-git (1:1.2.0.r1.gd1790c2-1) 
Transaction successfully finished.

Could anyone point out what I'm doing wrong? I realise I'm installing a newer version. But the dependency is greater or equal to right? Thank you

@graysky2
Copy link
Owner

No idea about Manjaro. Works fine on Arch. Guessing that they are using a different version numbering than Arch is for devtools. Just edit the PKGBUILD and remove the version on the depends of devtools and see if it builds.

@mzryz
Copy link
Author

mzryz commented May 16, 2024

@graysky2 Is there any chance you could be a bit more descriptive for me. Sorry for the trouble! I'm used to building stuff by doing configure / make / install. When downloading the source code for ccm I'm presented with a Makefile. When I type 'make' it tells me 'Setting version' but I don't know what to do. The readme doesn't seem to include any installation instructions.

@graysky2
Copy link
Owner

If you're using Arch or Manjaro (Arch clone) you are doing yourself a huge disservice by compiling without a PKGBUILD for the software you want. See the needed files in the AUR: https://aur.archlinux.org/packages/clean-chroot-manager

You build with makepkg and then install the package you made with pacman just like all the official packages. Makes for a much cleaner and maintainable filesystem.

More to read:
https://wiki.archlinux.org/title/Arch_build_system

@mzryz
Copy link
Author

mzryz commented May 16, 2024

Ok I will close the thread, it's all a bit too daunting for me. Hopefully one day ccm can be in the standard repos, so that simple folk like me can install it easily. Thank you for the guidance.

@mzryz mzryz closed this as completed May 16, 2024
@graysky2
Copy link
Owner

Dude, it's dead simple.

  1. Download the tarball I linked and untar it
  2. cd into the directory you untarred
  3. type makepkg -srci

@mzryz
Copy link
Author

mzryz commented May 16, 2024

@graysky2 - sorry for this, I tried that but I'm told:

~/clean-chroot-manager-2.226 makepkg -srci                      
==> ERROR: PKGBUILD does not exist.

I looked for what this means online, it says I'm missing a package build file. But I don't know how to make that and I can't seem to find out what to do.

@mzryz mzryz reopened this May 16, 2024
@graysky2
Copy link
Owner

https://aur.archlinux.org/packages/clean-chroot-manager <-- click download snapshot

untar that and cd into the dir

@mzryz
Copy link
Author

mzryz commented May 16, 2024

Thank you @graysky2 I now have ccm installed, thanks for your patience.

@mzryz mzryz closed this as completed May 16, 2024
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