So I tried to install a fan script last night. It’s supposed to be a 1 line of code.

But even though it’s a brand new installation of ubuntu, my system says “No. You need to install curl first”

When I try to do that, my system says “no, you already have a more recent version of curl installed”

I’d love to copy/paste the exact text, so you guys could see what I see, but when I do that, either in comments or in new posts, Lemmy gets confused, and won’t post it.

How do I get you guys a copy/paste of this, so you guys can say “Oh, you have to do this this and this”?


Ok, this is becoming what I remember not liking of not understanding linux.

I was supposed to just type one line of code

… curl https://download.argon40.com/argon1.sh | bash …

And that led to me not having curl installed. After 24 hours of trying to figure this out, I finally figured out I need to type

… sudo snap install curl # version 8.1.2 …

And so then I type

… curl https://download.argon40.com/argon1.sh | bash …

again, and this time I get this.

… % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 19245 100 19245 ************* 0 0 --:–:-- --:–:-- --:–:-- 0 0 0 4848 Argon Setup
0 0 --:–************* :-- --:–:-- --:–:-- 48598 E: Could not get lock /var/lib/dpkg/lock-frontend. It is held by process 6408 (unattended-upgr) N: Be aware that removing the lock file is not a solution and may break your system. E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), is another process using it?


Please also connect device to the internet and restart installation.


bighat@bighat-desktop:~$ …

I have no idea what that lock is, or what to do. I was told “oh, it’ll be easy, you just gotta put in this one line of code”. Going on 4 years trying to get that fan to work…

  • Telorand@reddthat.com
    link
    fedilink
    arrow-up
    1
    ·
    1 day ago

    Could be a text length issue, or maybe there’s some kind of weird character in there…?

    Are you using

    ```
    Some code
    More(code)
    ```
    

    …to denote a code block?

    • Lost_My_Mind@lemmy.worldOP
      link
      fedilink
      arrow-up
      2
      ·
      1 day ago

      I updated my original post. It didn’t make a code block, and it’s different code than I was originally trying to type, but it at least let me type it.

      • Telorand@reddthat.com
        link
        fedilink
        arrow-up
        1
        ·
        1 day ago

        So those little marks are back tics. It’s that mark commonly found at the top left alongside the tilde.

        • Lost_My_Mind@lemmy.worldOP
          link
          fedilink
          arrow-up
          1
          ·
          21 hours ago

          Sorry. My eyesight they looked like periods. I’ll try that again when I get home from work, which won’t be for like 12 hours.