Results 1 to 4 of 4

Thread: source list error

  1. #1
    Join Date
    2020-Feb
    Posts
    1

    Exclamation source list error

    hey guys! i was trying to install spotify on my linux machine, and one of the websites told me to use this line in the command terminal to install it-


    • sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 0DF731E45CE24F27EEEB1450EFDC8610341D9410echo deb http://repository.spotify.com stable non-free | sudo tee /etc/apt/sources.list.d/spotify.list


    2. sudo apt-get update && sudo apt-get install spotify-client

    the download didnt work but something went wrong with the source listing and now everytime i try to update the terminal using sudo apt update or even install some tool, i get this error:

    E: Type 'Executing:' is not known on line 1 in source list /etc/apt/sources.list.d/spotify.list
    E: The list of sources could not be read.

    its this error every time no different

    please guide me on what to do since i am new to kali linux and i don't know two things about what this error means, i am just a peaceful white hat.

  2. #2
    kali linux is designed for penetration testing and it's not properly adapt to install spotify, but if you want you can use spotify web on firefox

  3. #3
    Join Date
    2020-Apr
    Location
    Germany
    Posts
    4
    Hello,
    I actually had the same problem, my solution was to just delete the new created "spotify.list" with the terminal:

    1. Locate to the directory:
    cd /etc/apt/sources.list.d/
    2. Change the permissions (if needed, but you can do it anyways):
    sudo chmod a+r+w+x spotify.list
    3. Delete it
    sudo rm spotify.list
    4. Check if it worked
    sudo apt-get update
    5. Finished

  4. #4
    Join Date
    2020-Apr
    Posts
    1

    I had same issue in ubuntu, your solution worked for me too. thank you

Similar Threads

  1. source list
    By xXachayanXx in forum TroubleShooting Archive
    Replies: 1
    Last Post: 2020-01-11, 01:27
  2. Source list error
    By Dynw in forum Installing NetHunter
    Replies: 3
    Last Post: 2017-10-18, 18:50

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •