Sublime text 2 не работает package control
When trying to download a new package, ex: Phpcs, I am getting following error:
ignored packages updated to: [Vintage, Phpcs]
found 1 files for base name Default.sublime-theme
theme loaded
reloading Packages/User/Preferences.sublime-settings
found 1 files for base name Default.sublime-theme
theme loaded
Unable to download Phpcs. Please view the console for more details.
ignored packages updated to: [Vintage]
found 1 files for base name Default.sublime-theme
theme loaded
reloading Packages/User/Preferences.sublime-settings
found 1 files for base name Default.sublime-theme
theme loaded
The text was updated successfully, but these errors were encountered:
6 Answers 6
Just open terminal and execute this line:
and try to install the package control again.
When installing subsequent packages, users may have to do the same for /Packages/ as well as /Installed Packages/ , which may be obvious to some but took me 30 minutes of frustration before I finally figured out.
@SoldierCorp as mattsheperd pointed out, some users will need to use "sudo chmod -R 777 "/home/
This is not a great solution. As commented, the chown approach is better, or setting the permissions to 755 instead of 777. Also, apply chown to the sublime-text-2 folder is better since it kills problems related to write access in other folders within it. Basically, @Goddard answer is overall better.
The easiest method is simply to run sublime text with sudo privalges.
I just pop open a terminal with ctrl + alt + t
make sure you are the owner of the directory instead of root with
After that open the sublime text console with ctrl + ` and enter
After the initial install you can run sublime text normally.
Problem with this is that you will need to run sublime with sudo priviledges every time otherwise you wont have it with package control
Nop, this works for me. It needs to run once more with the run priviledges, after that every thing go be all right. ^
As simple as this, sudo subl just runs sublime text as root, and then running the command is in the place of root. Thanks. Then you can chown and all the things, but first, let me install package control!
I don't believe that chmod -R 777 -ing is the best solution to this problem. Granted, it will let you install the package but I don't think that anyone should get into the habit of just opening the permissions floodgates anytime write-access is denied. In this case, it's really not a big deal. I don't think that your sublime-text packages folder is a high priority, but none-the-less getting into the habbit of allowing everyone write access could cause problems later down the line, especially if the end user is a new *nix user and doesn't know why they are changing permissions.
(Just as a note: I'm running sublime-text-3, but that shouldn't matter because this is a permission issue and not an issue with sublime-text itself)
In my case, I had two problems.
Sublime-Text was installed to the correct directory, but was owned by root.
The first and obvious solution was to sudo chown -R username:username /home/username/.config/sublime-text-3 . This returned control of the directory to me.
The permissions on my installation somehow were set to something wonky. (At some point something I must have done set them incorrectly. What that would have been or when slips my mind, but I have been known to do dumb things while sleep deprived during finals week)
To fix this is also simple. chmod -R 755 /home/username/.config/sublime-text-3/ . The allows for you to write to the directory, but not other people who shouldn't already be all ready be allowed to write there. Unless you intentionally want to give everyone write access to a directory the most you should give is 775 which allows other users in the same group to write to that directory.
Like I said before, this isn't necessarily going to be a problem if any user on your system can write to your sublime-text packages folder. I don't see any real issues with it in itself, but getting into the habit of making something fully write-able could result in a mistake that opens your system up to vulnerabilities if you don't know the consequences of your actions.
blueacker commented Sep 30, 2014
@zoechi 's solution works! Thanx!
—
Reply to this email directly or view it on GitHub.
wbond commented Sep 8, 2014
@bsod90 I'll need a debug log from you - all of the debug logs I have seen are from Curl, and by default OS X should not be using curl for downloads.
cschreib commented Aug 11, 2014
Same here. I have tried to remove the PackageControle.ca_bundle and .ca_list files to rebuild them (they were both last modified in april), but that did not change anything.
wbond commented Aug 14, 2014
@cschreib You were running an ancient alpha version of Package Control, which is probably part of the issue.
If anyone else is running into this issue, please see what version of Package Control you are using. It should be 2.0.0 or 2.0.1-beta2 .
If you see 2.0.0-alpha7 you need to delete the Packages/Package Control/ folder on your machine and install Package Control fresh. There was a bug during the alpha that got some users stuck on alpha 7.
bsod90 commented Sep 8, 2014
@wbond Uhh, sorry. I just fixed it by reinstalling package control, so it's not happening anymore.
but I promise, I'll paste the log here if it will happen once again :)
FichteFoll commented Aug 28, 2014
Package Control: List Packages , then filter Package Control.
wang3g commented Nov 5, 2014
I've tried your suggestion, but no luck. Below is my log:
Вроде, все нормально. Но при Install package выводит ошибку:
Скрин:
Такая проблема в Sublime Text 2 и Sublime Text 3
Антивирусников нет
Брандмауэр отключен
Имя пользователя не на кириллице
Package Control устанавливал как и в консоле так и вручную.
Про Google и Яндекс знаю, уже пользовался, но не смог найти ответа((
Спасибо за внимание и помощь!
- Вопрос задан более трёх лет назад
- 24693 просмотра
Никогда не вставляйте картинку с Яндекс.Диска напрямую: ссылка уникальна для вас и другие видят лишь 404
Столкнулся с той же проблемой "There are no packages available for installation". Возможно кому пригодится.
Boshnik Маленькая поправка не "В настройках брандмауэра", а в "свойства браузера", а то мне пришлось поискать :).
Добавляем в настройки плагинов для пользователя (Preferences > Package Settings > Package Control > Settings - User) каналы:
Мою проблему это решило. Видимо channel_v3.json выдаёт сейчас не то, что должен. Решение временное, т.к. скорее всего в ближайшее время починят и в вебархиве данные могут устареть.
UPD. поправил код, у кого не работало - ссылка резалась тестером, сейчас в код обернул, спасибо Максим !
UPD2: ещё раз исправил. Добавил свежую ссылку с вебархива от Максим , а так же скопировал на гист свежие данные от 04.01.2016 вторая ссылка, можно использовать по усмотрению. Не забываем о разделителях типа "запятая" :).
PS: Кстати, ST удобно пользоваться гистом, я там и зарегался вчера только из-за любопытства :).
Там на git'е кто-то жаловался на то, что это старый снеп (за сентябрь) и будут проблемы при обновлении плагинов и т.д. Оригинальная ссылка за сегодняшний вечер менялась уже несколько раз. Я так понимаю он что-то в 3-й версии допиливает прямо-таки на ходу. Сделал новый снеп, когда все более менее устаканилось, просто потому что до этого не умел этого делать. :D
Люди добрые! Помогите начинающему! не могу понять куда писать (и как) эти каналы. Если можно подробней. Уже замучился.
Добавляем в настройки плагинов для пользователя (Preferences > Package Settings > Package Control > Settings - User) каналы
Вот тут по подробней можно?
у меня вот так заработало. тут не одни профи сидят надо конкретней писать))) Все равно спасибо!
Traneboy: Вы устанавливали Package Control ?
Если да, то в меню редактора (которое вверху) нажимаем "Preferences", далее в выпадающем списке "Package Settings" далее в выпадающем списке "Package Settings" и в последнем выпадающем подменю нажимаем "Settings - User"
В результате откроется файл "Package Control.sublime-settings".
С таким содержимым (примерно):
добавляем туда то что указано в решении проблемы, получится вот так:
PS: Код у вас будет отличаться скорее всего, т.к. не установлены те же самые плагины, что у меня, это нормально. И не забывайте, что решение это временное, когда исправят сайт - удалите этот участок кода.
Traneboy: Что бы открыть папку с плагинами нажимаете ""Preferences" затем первую с троку в выпавшем меню с наименованием "Browse Packages", в результате откроется папка в которой находятся плагины.
Traneboy: да, может ещё и перезапускал, не помню.
потом опять ctrl+shift+P, вводим install package и нажимаем интер.
Через браузер json файл открывал, но он не проходил валидацию.
Можно взять оттуда и использовать у себя дополнительным каналом, я сделал это вот так:
Добавлять: Preferences > Package Settings > Package Control > Settings – User
Чувак не пожалел времени зарегаться и сказать тебе спасибо!
Прям мистика тема трех летней давности, мне не чего здесь не помогает и тут ты прямо сейчас постишь решение) Спасибо огромное, помогло!
Спасибо дружище. Сполз вчера с IDEшки на саблайм, а сегодня понадобилось доставить пакетов. 3 часа борьбы с ветряными мельницами, и тут ты, в теме 3х летней давности.
Супер.
Arch Linux / ST3 3083 from AUR repository.
Хз что делать?
Traneboy Убери последнюю запятую после последней квадратной скобки, т.к. у тебя нет данных после неё.
Когда он у тебя последний раз работал?
nick1m: Я сегодня установил впервые sublime text, всё установил нормально до этого момента, когда надо поставить контроль пакетов.
Traneboy ну так бы сразу и сказал, я решил проблему для уже установленного, когда ошибки посыпались при интсталяции пакетов, а вот инсталировать сам паккедж контроль не пробовал
nick1m: Я всё это уже проделал, и как бэ именно на этом моменте у меня появилась трабла с отсутствием пакетов. Вот ща проделал ещё раз, тоже самое.
startup, version: 2221 windows x64 channel: stable
executable: /C/Program Files/Sublime Text 2/sublime_text.exe
working dir: /C/Windows/system32
packages path: /C/Users/Home/AppData/Roaming/Sublime Text 2/Packages
settings path: /C/Users/Home/AppData/Roaming/Sublime Text 2/Settings
source packages: 49 installed packages: 48, running PackageSetup
Py_GetProgramName(): sublime_text.exe
Py_GetExecPrefix(): C:\Program Files\Sublime Text 2
Py_GetProgramFullPath(): C:\Program Files\Sublime Text 2\sublime_text.exe
Py_GetPath(): C:\Program Files\Sublime Text 2\python26.zip;C:\Program Files\Sublime Text 2\DLLs;C:\Program Files\Sublime Text 2\lib;C:\Program Files\Sublime Text 2\lib\plat-win;C:\Program Files\Sublime Text 2\lib\lib-tk;C:\Program Files\Sublime Text 2
Py_GetPythonHome(): C:\Program Files\Sublime Text 2
PackageSetup returned: -1
catalogue loaded
found 4 files for base name Default.sublime-keymap
found 1 files for base name Default.sublime-mousemap
found 2 files for base name Main.sublime-menu
Reloading plugin C:\Users\Home\AppData\Roaming\Sublime Text 2\Packages\0_package_control_loader\00-package_control.py
Reloading plugin C:\Users\Home\AppData\Roaming\Sublime Text 2\Packages\0_package_control_loader\01-ssl-windows.py
Reloading plugin C:\Users\Home\AppData\Roaming\Sublime Text 2\Packages\CSS\css_completions.py
Reloading plugin C:\Users\Home\AppData\Roaming\Sublime Text 2\Packages\Default\comment.py
Reloading plugin C:\Users\Home\AppData\Roaming\Sublime Text 2\Packages\Default\copy_path.py
Reloading plugin C:\Users\Home\AppData\Roaming\Sublime Text 2\Packages\Default\delete_word.py
Reloading plugin C:\Users\Home\AppData\Roaming\Sublime Text 2\Packages\Default\detect_indentation.py
Reloading plugin C:\Users\Home\AppData\Roaming\Sublime Text 2\Packages\Default\duplicate_line.py
Reloading plugin C:\Users\Home\AppData\Roaming\Sublime Text 2\Packages\Default\echo.py
Reloading plugin C:\Users\Home\AppData\Roaming\Sublime Text 2\Packages\Default\exec.py
Reloading plugin C:\Users\Home\AppData\Roaming\Sublime Text 2\Packages\Default\fold.py
Reloading plugin C:\Users\Home\AppData\Roaming\Sublime Text 2\Packages\Default\font.py
Reloading plugin C:\Users\Home\AppData\Roaming\Sublime Text 2\Packages\Default\goto_line.py
Reloading plugin C:\Users\Home\AppData\Roaming\Sublime Text 2\Packages\Default\indentation.py
Reloading plugin C:\Users\Home\AppData\Roaming\Sublime Text 2\Packages\Default\kill_ring.py
Reloading plugin C:\Users\Home\AppData\Roaming\Sublime Text 2\Packages\Default\mark.py
Reloading plugin C:\Users\Home\AppData\Roaming\Sublime Text 2\Packages\Default\new_templates.py
Reloading plugin C:\Users\Home\AppData\Roaming\Sublime Text 2\Packages\Default\open_file_settings.py
Reloading plugin C:\Users\Home\AppData\Roaming\Sublime Text 2\Packages\Default\open_in_browser.py
Reloading plugin C:\Users\Home\AppData\Roaming\Sublime Text 2\Packages\Default\paragraph.py
Reloading plugin C:\Users\Home\AppData\Roaming\Sublime Text 2\Packages\Default\save_on_focus_lost.py
Reloading plugin C:\Users\Home\AppData\Roaming\Sublime Text 2\Packages\Default\scroll.py
Reloading plugin C:\Users\Home\AppData\Roaming\Sublime Text 2\Packages\Default\set_unsaved_view_name.py
Reloading plugin C:\Users\Home\AppData\Roaming\Sublime Text 2\Packages\Default\side_bar.py
Reloading plugin C:\Users\Home\AppData\Roaming\Sublime Text 2\Packages\Default\sort.py
Reloading plugin C:\Users\Home\AppData\Roaming\Sublime Text 2\Packages\Default\swap_line.py
Reloading plugin C:\Users\Home\AppData\Roaming\Sublime Text 2\Packages\Default\switch_file.py
Reloading plugin C:\Users\Home\AppData\Roaming\Sublime Text 2\Packages\Default\transform.py
Reloading plugin C:\Users\Home\AppData\Roaming\Sublime Text 2\Packages\Default\transpose.py
Reloading plugin C:\Users\Home\AppData\Roaming\Sublime Text 2\Packages\Default\trim_trailing_white_space.py
Reloading plugin C:\Users\Home\AppData\Roaming\Sublime Text 2\Packages\Diff\diff.py
Reloading plugin C:\Users\Home\AppData\Roaming\Sublime Text 2\Packages\HTML\encode_html_entities.py
Reloading plugin C:\Users\Home\AppData\Roaming\Sublime Text 2\Packages\HTML\html_completions.py
Reloading plugin C:\Users\Home\AppData\Roaming\Sublime Text 2\Packages\Package Control\1_reloader.py
Reloading plugin C:\Users\Home\AppData\Roaming\Sublime Text 2\Packages\Package Control\2_bootstrap.py
Reloading plugin C:\Users\Home\AppData\Roaming\Sublime Text 2\Packages\Package Control\Package Control.py
plugin init time: 1.71484
loading bindings
loading pointer bindings
found 1 files for base name Default.sublime-theme
theme loaded
app ready
pre session restore time: 3.40079
wrote startup cache, added files: 2 orphaned files: 0 total files: 96 cache hits: 94
startup time: 3.5562 (package setup was run)
loaded 837 snippets
Package Control: Installing 2 missing dependencies
Package Control: The dependency specified, select-windows, is not available
Package Control: The dependency specified, bz2, is not available
Package Control: Skipping automatic upgrade, last run at 2016-01-04 13:12:48, next run at 2016-01-04 14:12:48 or after
даже сам плагин удалить не могу
Простой 2 комментария
startup, version: 3211 linux x64 channel: stable
executable: /snap/sublime-text/85/opt/sublime_text/sublime_text
working dir: /
packages path: /home/fapchat/.config/sublime-text-3/Packages
state path: /home/fapchat/.config/sublime-text-3/Local
zip path: /snap/sublime-text/85/opt/sublime_text/Packages
zip path: /home/fapchat/.config/sublime-text-3/Installed Packages
ignored_packages: ["0_package_control_loader", "Vintage"]
pre session restore time: 6.60415
startup time: 6.99565
first paint time: 7.10984
reloading plugin Default.arithmetic
reloading plugin Default.auto_indent_tag
reloading plugin Default.block
reloading plugin Default.colors
reloading plugin Default.comment
reloading plugin Default.convert_color_scheme
reloading plugin Default.convert_syntax
reloading plugin Default.copy_path
reloading plugin Default.detect_indentation
reloading plugin Default.echo
reloading plugin Default.exec
reloading plugin Default.fold
reloading plugin Default.font
reloading plugin Default.goto_line
reloading plugin Default.history_list
reloading plugin Default.indentation
reloading plugin Default.install_package_control
reloading plugin Default.kill_ring
reloading plugin Default.mark
reloading plugin Default.new_templates
reloading plugin Default.open_context_url
reloading plugin Default.open_in_browser
reloading plugin Default.pane
reloading plugin Default.paragraph
reloading plugin Default.paste_from_history
reloading plugin Default.profile
reloading plugin Default.quick_panel
reloading plugin Default.rename
reloading plugin Default.run_syntax_tests
reloading plugin Default.save_on_focus_lost
reloading plugin Default.scroll
reloading plugin Default.set_unsaved_view_name
reloading plugin Default.settings
reloading plugin Default.show_scope_name
reloading plugin Default.side_bar
reloading plugin Default.sort
reloading plugin Default.switch_file
reloading plugin Default.symbol
reloading plugin Default.transform
reloading plugin Default.transpose
reloading plugin Default.ui
reloading plugin CSS.css_completions
reloading plugin Diff.diff
reloading plugin HTML.encode_html_entities
reloading plugin HTML.html_completions
reloading plugin ShellScript.ShellScript
reloading plugin All Autocomplete.all_views_completions
reloading plugin AutoFileName.autofilename
reloading plugin AutoFileName.getimageinfo
reloading plugin Color Highlight.ColorHighlight
reloading plugin Color Highlight.colorizer
reloading plugin Color Highlight.colors
reloading plugin Color Highlight.settings
reloading plugin Emmet.emmet-plugin
reloading plugin Package Control.1_reloader
reloading plugin Package Control.2_bootstrap
reloading plugin Package Control.Package Control
reloading plugin Xdebug Client.main
reloading plugin Autoprefixer.Autoprefixer
reloading plugin Autoprefixer.node_bridge
reloading plugin ColorPicker.sublimecp
reloading plugin HTML-CSS-JS Prettify.HTMLPrettify
reloading plugin LiveReload.__init__
reloading plugin LiveReload.CoffeescriptPlugin
reloading plugin LiveReload.CommandAPI
reloading plugin LiveReload.CompassPlugin
reloading plugin LiveReload.LESSPlugin
reloading plugin LiveReload.LiveReload
reloading plugin LiveReload.SimpleReloadCallback
reloading plugin LiveReload.SimpleReloadPlugin
reloading plugin LiveReload.SimpleReloadPluginDelay
reloading plugin LiveReload.SimpleWSCallback
reloading plugin phpfmt.phpfmt
plugins loaded
LiveReload: added file /livereload.js with content-type: text/javascript
INFO:WebSocketClient:Starting server
Emmet: No need to update PyV8
reloading settings Packages/User/phpfmt.sublime-settings
Package Control: No updated packages
Traceback (most recent call last):
File "/home/fapchat/.config/sublime-text-3/Installed Packages/Package Control.sublime-package/package_control/commands/remove_package_command.py", line 58, in on_done
File "/home/fapchat/.config/sublime-text-3/Installed Packages/Package Control.sublime-package/package_control/package_disabler.py", line 76, in disable_packages
ImportError: No module named 'package_control'
Traceback (most recent call last):
File "/home/fapchat/.config/sublime-text-3/Installed Packages/Package Control.sublime-package/package_control/commands/enable_package_command.py", line 43, in on_done
File "/home/fapchat/.config/sublime-text-3/Installed Packages/Package Control.sublime-package/package_control/package_disabler.py", line 167, in reenable_package
ImportError: No module named 'package_control'
Traceback (most recent call last):
File "/home/fapchat/.config/sublime-text-3/Installed Packages/Package Control.sublime-package/package_control/commands/remove_package_command.py", line 58, in on_done
File "/home/fapchat/.config/sublime-text-3/Installed Packages/Package Control.sublime-package/package_control/package_disabler.py", line 76, in disable_packages
ImportError: No module named 'package_control'
Открой настройки (Preferences > Settings), затем в настройках пользователя (в правой части) в разделе ignored_packages нужно удалить строку 0_package_control_loader.
To help resolve the issue, follow these steps:
srikanth-dhondi commented Aug 13, 2014
Zoechi's solution worked for me as well. Thanks.
cschreib commented Aug 11, 2014
Same here. I have tried to remove the PackageControle.ca_bundle and .ca_list files to rebuild them (they were both last modified in april), but that did not change anything.
wbond commented Sep 3, 2014
Perhaps check and see if Linux Mint has an updated SSL CA cert package?
jampow commented Sep 3, 2014
I'm having the same problem and I didn't try the @zoechi solution yet, here is my error log like you asked @wbond.
I'm using Linux Mint with curl and I updated yesterday to the build 3065
FichteFoll commented Aug 13, 2014
No, Packages are not removed when removing Package Control and PC also does not lose track of them. They are referenced in User/Package Control.sublime-settings .
michaelbutler commented Sep 2, 2014
I'm running Ubuntu 14.04 LTS, almost fresh install of Sublime Text 3. Even doing workaround by @zoechi did not fix the problem for me.
To solve it, I installed curl with sudo apt-get install curl. Before that, it was using wget which did not work.
With curl it seems to work fine.
masnick commented Aug 28, 2014
@wbond how do you tell what version of Package Control you're running? Thanks for your help! ❤️
tnguyen14 commented Aug 27, 2014
recently ran into this issue through a rather convoluted path. my theme is outdated, and I could not update it no matter what I was trying to do. I removed the theme, and could not re-install it and after looking at the console I saw the same error as @masnick. Following @wbond's instruction helped solve the issue.
Enabling the Debug Log
If purging and reinstalling did not help resolve an issue, the next step is to enable the debug log. The debug log contains extensive information about what Package Control is doing behind the scenes, and can help to diagnose why it isn’t working properly.
- Click the Preferences menu
- Select Package Settings
- Choose Package Control
- Click Settings - User
- Add the setting "debug": true
- Save the settings file
Now when performing actions with Package Control, debug information will be printed to the Sublime Text console. The console can be opened by pressing ctrl+` or using the View > Show Console menu entry.
zoechi commented Aug 12, 2014
I deleted the ~/.config/sublime-text-3/Packages/Package Control folder and the
~/.config/sublime-text-3/Installed Packages/Package Control.sublime-package file and reinstalled the package manager. Now it's working again.
srph commented Sep 1, 2014
It solved my problem, however after an installation of a new package, I had to repeat the @zoechi's workaround
Purging and Reinstalling
Many users run into issues with Package Control because they have an old, broken or pre-release version of Package Control that has become stuck. Since Package Control updates itself, a bug can prevent the automatic upgrade from working, leaving users orphaned on an old version.
The first step in debugging issues with Package Control is to purge any existing copies.
- Select the Preferences > Settings – User menu entry
- Remove "Package Control" from the "ignored_packages" setting, if present
- Select the Preferences > Browse Packages… menu entry
- Delete the folder named Package Control
- Browse up a folder and then into Installed Packages
- Delete Package Control.sublime-package if it exists
- Reinstall Package Control using the installation instructions
wbond commented Sep 2, 2014
bsod90 commented Sep 8, 2014
Just confirming the same issue on Mac OS Mavericks
wbond commented Oct 31, 2014
From what I can tell this issue only affect old, out-dated versions of Package Control. If you have this problem, please update to at least 2.0.0.
srph commented Sep 8, 2014
I seem to experience this problem after installing a package. After around few minutes, I am able to download and install packages again. I might try to upgrade my ST first, then post more information about my OS and ST, and issue when I encounter it once more.
Errno 12029
A number of users have reported success in resolving this issue by resetting the Internet Explorer advanced settings to their default values.
Errno 12057
Some users run into issues trying to check for SSL certificate revocation. This may have to do with a proxy server not properly proxying the requests for the certificate revocation list.
This error indicates something on your machine is blocking the connection to the server. It could be any number of different things.
I'm using ubuntu 12.04. I did what it says on the website but I got this error:
What could I do to install it?
Windows Errors 12029 and 12057
On Windows, Package Control utilizes the WinINet C++ API for web requests. This allows Package Control to rely on your OS for auto-configuration of proxies and secure certificate validation.
Unfortunately there are a couple of common WinINet errors that users run into, including:
Since WinINet is a system API, it is configured through Internet Explorer.
zoechi commented Aug 12, 2014
+1
Any idea, workaround, .
sagar-ranglani commented Sep 30, 2014
@zoechi 's solution works! Thanx! 👍
cschreib commented Aug 13, 2014
Doing so, don't you loose the packages that were installed using Package Control? Or are they still there, but Package Control does not "own" them any more (i.e. no automatic update)?
cschreib commented Aug 13, 2014
I confirm this solution does work.
davidhq commented Oct 14, 2014
cd ~/Library/Application Support/Sublime Text 3/Packages/Package Control
git pull
Читайте также: