I am new to linux.And I am trying to install curl to instal ruby version manager. I write this:
sudo apt-get update && apt-get install curl
And get this output:
E: Some index files failed to download. They have been ignored, or old ones used instead.
E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
Then I write this:
sudo rm /var/lib/apt/lists/lock
sudo rm /var/cache/apt/archives/lock
And then I repeat installing curl and get this:
E: Some index files failed to download. They have been ignored, or old ones used instead.
E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
Aucun commentaire:
Enregistrer un commentaire