package_control icon indicating copy to clipboard operation
package_control copied to clipboard

Package Control:There are no packages available for installation (with fix)

Open billsmithem opened this issue 6 years ago • 1 comments

I've seen this reported many times, but never seen the issue I had, so for future reference:

Followed instructions on debugging and traced the issue down to the files in "~/.config/sublime-text-3/Packages/User/Package Control.cache" belonging to root rather than my user. Sublime is set up to share configuration via dropbox, so it's possible I opened Package Control while running Sublime as root and that's how the ownership of the cache files got set that way.

Once found, the solution was to change file ownership.

billsmithem avatar Feb 27 '19 14:02 billsmithem

If you're in a hurry, you can use the following command:

sudo chown "$USER:$USER" "$HOME/.config/sublime-text-3/Packages" -R -v|grep -v retained

This will only show the files that has been changed.

XenHat avatar Jun 07 '19 02:06 XenHat