Today I will tell you how to make a constant download when you start Sidia did not strain you anymore, unless of course it annoys you :)) With the installation of Sidia and the subsequent torment associated with installing and removing programs from it, I was annoyed by the constant update lists of the repositories at startup. I saw the inscription Cache failure and was puzzled by the fact that the sidium simply cannot save the cache normally, that is, overwrite these files, it follows that there is not enough access rights. All the same, I found where it is all stored ...
In total, you just need to set permissions on files that Sidia cannot overwrite. It’s hard to say which ones, so we’ll write to all files. These files are located in the / var / lib / apt / lists folder In WinSCP, this is done like this:
Go to the above folder.
We select files (for example through + - plus and the subsequent pressing of enter, having made sure that the mask is specified as *. *)
Next, call the context menu and click Properties or even easier just after selecting, press F9.
Now we set the rights ... all R and W must be checked or enter 0666 in the text field. Click OK. For experienced: chmod 0666
Another way (if there is terminal access, for example, in the Terminal program or via Putty) :
your root password, if you haven't changed it then this is alpine ')
cd /var/lib/apt/lists<br>su root<br>Password: <br>find -name "*.*" -exec chmod 0666 {} \ ;<br> Summary :
Now, in order to update the repositories, in the Changes section, you need to click the Refresh button. Unfortunately, Sidia overwrites these files with not quite correct rights again, so if you need to update again for some time, go to step 1.
Thank you for your attention. Please do not swear, this is my first post :)) PS This does not mean that you will have to change file permissions every time after updating the repository lists. But only when the need arises. Itself already 5 times manually updated. The flight is normal.