I am trying to install a python version on linux. But I am getting the following error:
Archives directory /var/cache/apt/archives/partial is missing
I have tried to create the file by :
mkdir -p /var/cache/apt/archives/partial
But i am getting the following:
mkdir: cannot create directory ‘/var/cache/apt’: File exists
Edit:
ls -l /var/cache/apt
lrwxrwxrwx 1 root root 32 Apr 17 20:00 /var/cache/apt -> /media/{dir_of_mounted_disc}/apt
How can I solve this?? Thank you!