GithubHelp home page GithubHelp logo

Comments (19)

thequantumquirk avatar thequantumquirk commented on July 3, 2024 2

There were some left over configs of my previous cursor install (which I downloaded from cursor.sh manually) in ~/.config directory. I removed it now cursor got installed properly.

from am.

ivan-hc avatar ivan-hc commented on July 3, 2024

is AM updated to the last version?

from am.

thequantumquirk avatar thequantumquirk commented on July 3, 2024

is AM updated to the last version?

Yeah (its on v6.6.2-2) I installed it just today

from am.

ivan-hc avatar ivan-hc commented on July 3, 2024

is the app in place?
are all files where they should be?
are you the only user of the system?

from am.

thequantumquirk avatar thequantumquirk commented on July 3, 2024

is the app in place?

App in the sense cursor or AM?

AM is in place but cursor is not

are all files where they should be?

Yeah all files are in place iirc and that's why duf got installed successfully

Here's the tree of /opt/am

/opt/am
├── APP-MANAGER
├── appman
├── libs-list
├── list
├── modules
│   ├── clean.am
│   ├── database.am
│   ├── devtools.am
│   ├── download.am
│   ├── files.am
│   ├── help.am
│   ├── install.am
│   ├── launcher.am
│   ├── no-updates.am
│   ├── nolibfuse.am
│   ├── remove.am
│   ├── rollback.am
│   ├── sandboxes.am
│   ├── sync.am
│   ├── template.am
│   └── update.am
├── options
├── remove
└── x86_64-apps

2 directories, 23 files

are you the only user of the system?

Yeah I'm the only user on the system

from am.

ivan-hc avatar ivan-hc commented on July 3, 2024

try to re-install it directly instead of downloading the scripts, let we see if something changes. On my side it has been installed without problems.

from am.

ivan-hc avatar ivan-hc commented on July 3, 2024

I can't reproduce the issue

Istantanea_2024-04-25_19-55-05 png

from am.

thequantumquirk avatar thequantumquirk commented on July 3, 2024

try to re-install it directly instead of downloading the scripts, let we see if something changes. On my side it has been installed without problems.

I reinstalled AM as well and tried to install cursor directly with am -i cursor

now I get this

/opt/am/modules/install.am: line 31: /opt/am/.cache/install-args: Permission denied
/opt/am/modules/install.am: line 32: /opt/am/.cache/install-args: Permission denied
tail: cannot open '/opt/am/.cache/install-args' for reading: No such file or directory

I also did change the ownership of /opt/am to my user with sudo chown username /opt/am

from am.

ivan-hc avatar ivan-hc commented on July 3, 2024

permissions are related to the file /opt/am/.cache/install-args in the directory /opt/am/.cache, you can't change the permissions also in the other subdirectories like this

from am.

thequantumquirk avatar thequantumquirk commented on July 3, 2024

permissions are related to the file /opt/am/.cache/install-args in the directory /opt/am/.cache, you can't change the permissions also in the other subdirectories like this

I have also did chmod to all the files now I get the same segfault

from am.

ivan-hc avatar ivan-hc commented on July 3, 2024

Be sure that you have not the INSTALL script in your $HOME and then remove/reinstall AM

am -R am
wget https://raw.githubusercontent.com/ivan-hc/AM/main/INSTALL && chmod a+x ./INSTALL && sudo ./INSTALL

it should not act like this

from am.

thequantumquirk avatar thequantumquirk commented on July 3, 2024
 💀 ERROR: you are not the owner of /opt/am, so you cannot use "AM"
--------------------------------------------------------------------------
 The user that have installed "AM" on this system is "root"
 you are only allowed to use the installed apps, not to manage them.

How exactly should I fix this? Isn't sudo chown username /opt/am the right way?

from am.

ivan-hc avatar ivan-hc commented on July 3, 2024

yes, AM have a check like this to find the name of the owner of /opt/am (that is set up at first installation)

ls -ld /opt/am | awk 'NR==1 {print $3}'

if the name is not the yours, you can't use AM.

This is something we are working right now on another branch #489

The best way is to install AM for the first time, but if you can't remove it, run the command

sudo /opt/am/remove

and then reinstall.

from am.

thequantumquirk avatar thequantumquirk commented on July 3, 2024

yes, AM have acheck like this to find the name of the owner of /opt/am (that is set up at first installation)

ls -ld /opt/am | awk 'NR==1 {print $3}'

if the name is not the yours, you can't use AM.

This is something we are working right now on another branch #489

The best way is to install AM for the first time, but if you can't remove it, run the command

sudo /opt/am/remove

and then reinstall.

I'm not sure why but it always gets installed as root as the owner
what can I do?
I manually changed the ownership and I get segfault

from am.

ivan-hc avatar ivan-hc commented on July 3, 2024

This is a check I've implemented in these two days due to another issue #466 , now we are working to get rid of it.

In the meantime I suggest to use AppMan. I'll keep you updated in case I have news.

from am.

thequantumquirk avatar thequantumquirk commented on July 3, 2024

Alright I'm closing the issue then
Thanks for the help

from am.

thequantumquirk avatar thequantumquirk commented on July 3, 2024

Nevermind the actual issue is there was an existing Cursor config when am tries to create a new one, it segfaults

from am.

ivan-hc avatar ivan-hc commented on July 3, 2024

@thequantumquirk I've not understand

from am.

ivan-hc avatar ivan-hc commented on July 3, 2024

Thank you

from am.

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.