1

I tried to delete file 'lock' file in directory /var/lib/apt/lists with with sudo and with sudo -s, but system shows message that operation not permitted, also I can't open /var/lib/apt/list/partial, also operation not permitted. What's the reason of this problem?

5
  • 4
    Better question: Why are trying to do that? What problems are you trying to solve ?
    – user931000
    Nov 12, 2018 at 12:03
  • Maybe the files are locked?
    – Babblo
    Nov 12, 2018 at 13:51
  • Does rebooting solve it?
    – Biswapriyo
    Nov 12, 2018 at 16:40
  • rebooting doesn't solve it, files not locked, I can delete a and i atributes from file, also owner of lock file is root. I need to delete this file because I think this file block apt-get update command
    – karpon
    Nov 12, 2018 at 19:05
  • Can you do sudo rm /var/lib/apt/lists/* -vf? And then update? Nov 12, 2018 at 20:28

0

You must log in to answer this question.

Browse other questions tagged .