Coder Social home page Coder Social logo

Comments (6)

Kron4ek avatar Kron4ek commented on May 16, 2024

I managed to reproduce this on Google Colab. The problem here is not the LD_PRELOAD errors, but that pacman can't see its own libraries and files. It seems chroot doesn't work properly on Google Colab for some reason.

Unfortunately i have no idea how to fix this, so i suggest to run the script on something other than Google Colab or download a ready-to-use release from the releases page.

from conty.

thenoobtester avatar thenoobtester commented on May 16, 2024

Thank you for the answer. I tried it on Debian stretch and I ran into other pacman issues:

https://mirrors.fossho.st/garuda/repos/chaotic-aur/x86_64/chaotic-keyring.pkg.tar.zst couldn't be found

and then :

ERROR: You do not have sufficient permissions to read the pacman keyring.
==> Use 'pacman-key --init' to correct the keyring permissions.

The problem I think is that pacman is not installed on Google colab nor on Debian so what I used is this:

sudo wget -O /usr/local/bin/pacapt https://github.com/icy/pacapt/raw/ng/pacapt
sudo chmod 755 /usr/local/bin/pacapt
sudo ln -sv /usr/local/bin/pacapt /usr/local/bin/pacman || true

I will download a release and try it.

from conty.

Kron4ek avatar Kron4ek commented on May 16, 2024

I tried it on Debian stretch and I ran into other pacman issues:

There was an issue with Chaotic-AUR urls, but i have fixed it a couple of hours ago. Redownload the create-arch-bootstrap.sh script.

The problem I think is that pacman is not installed on Google colab nor on Debian so what I used is this:

That's ok that pacman is not installed on the host system. The script chroots into Arch, which has pacman installed.

from conty.

thenoobtester avatar thenoobtester commented on May 16, 2024

Ah Ok, I get it now. Thanks again.

EDIT:it seems like it's working now. it's downloading packages.

from conty.

Kron4ek avatar Kron4ek commented on May 16, 2024

When it's done, use create-conty.sh to create conty.sh.

from conty.

thenoobtester avatar thenoobtester commented on May 16, 2024

Thanks :)

from conty.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.