Downloading snapcraft error

Discussion in 'Newbie Questions' started by Adggamma, Aug 6, 2021.

  1. Adggamma

    Adggamma Thread Starter
    Expand Collapse
    New Member

    Joined:
    Aug 6, 2021
    Messages:
    1
    Likes Received:
    1
    I wanted to install spotify and it's not in the application center so I found i can do it via snapcraft and I tried to install it by following this steps ( https://snapcraft.io/docs/installing-snap-on-elementary-os) but then i got this error. And i don't know what to do. I want to have spotify :(
     

    Attached Files:

    Bagus Satriya likes this.
  2. Jayden

    Jayden
    Expand Collapse
    New Member

    Joined:
    Sep 19, 2021
    Messages:
    2
    Likes Received:
    0
    Alright, so your issue is the lock file. I see you were attempting to 'su' to fix the problem but instead you FOR SURE should use 'sudo' instead. Run
    Code (Text):
    sudo apt --fix-broken install
    then enter your password. ALL commands that include installing packages (APT) need to be ran as root. The reason the 'su' command failed is that the root password wasn't set.
    Code (Text):
    sudo passwd root
    .
     
  3. Bagus Satriya

    Bagus Satriya
    Expand Collapse
    Member

    Joined:
    Jul 3, 2022
    Messages:
    5
    Likes Received:
    0
  4. nabhai926

    nabhai926
    Expand Collapse
    New Member

    Joined:
    Dec 26, 2022
    Messages:
    1
    Likes Received:
    0
    I have gotten the very same error for about three months now. Before that everything worked perfectly. Something must have changed in the configuration of the snap store. Very frustrating.
     

Share This Page

Loading...