

Nodejs | 4.3.1~dfsg-3 | testing | source, amd64, arm64, armel, armhf, i386, mips, mipsel, powerpc, ppc64el, s390x Nodejs | 0.10.29~dfsg-2 | stable-kfreebsd | source, kfreebsd-amd64, kfreebsd-i386

Nodejs | 0.10.29~dfsg-2 | stable | source, amd64, armel, armhf, i386, mipsel For that package for example you need: nodejs | 0.10.29~dfsg-1~bpo70+1 | wheezy-backports | source, amd64, armel, armhf, i386, kfreebsd-amd64, kfreebsd-i386 For Debian, use madison, other distros have equivalents. Is probable that the package isn't available in the repository sources you have added or in another component. You should also check if apt-cache policy list all the repositories. Your list can be not updated, use apt-get update.# Uncomment line below then 'apt-get update' to enable 'apt-get source' #-#ĭeb jessie/updates main contrib non-freeĭeb jessie-proposed-updates main contrib non-freeĭeb-src jessie/updates main contrib non-freeĭeb-src jessie-proposed-updates main contrib non-free Running $ find /etc/apt/ -path *.list | xargs cat produces: #-# This may mean that the package is missing, has been obsoleted, orĮ: Package 'nodejs' has no installation candidate Package nodejs is not available, but is referred to by another package.
Ubuntu php5 has no installation candidate install#
I have updated, upgraded, rebooted, and repeated after my attempts at fixing sources.list, but nothing has worked.įor example, $ sudo apt-get install nodejs Unlike the other similarly named questions, I am using debian and I have not been able to get any packages to work due to the same error. You may need to restart PHP-FPM or your web server.I am unable to apt-get install any packages because E: Package '' has no installation candidate. You should add "extension=imagick.so" to php.iniĪs suggested by last line, do not forget to add following line in php.ini extension=imagick.so Install ok: channel:///imagick-3.1.0RC2Ĭonfiguration option "php_ini" is not set to php.ini location Installing '/opt/php5/include/php/ext/imagick/php_imagick_defs.h' Installing '/opt/php5/include/php/ext/imagick/php_imagick_shared.h' Installing '/opt/php5/include/php/ext/imagick/php_imagick.h' Installing '/opt/php5/lib/php/extensions/no-debug-non-zts-20100525/imagick.so' This time it should work! You will see output like below: Build process completed successfully Now you can attempt installation again: pecl install imagick

To force, pecl to install RC build, run following command: pear config-set preferred_state beta Installation is just 1-command job (usually) pecl install imagickīut at the time of writing this post, when running above command against php5.4.x, installation will fail with following error: /tmp/pear/temp/imagick/imagick_class.c:9534:2: error: 'struct _php_core_globals' has no member named 'safe_mode'īy default, pecl attempt to install stable build of imagick which as of today is not ready for PHP5.4. Try: apt-get install imagemagick libmagickwand-dev php5-imagick Package ‘libmagick9-dev’ has no installation candidate You need install ImageMagick package first apt-get install imagemagick libmagick9-dev php5-imagick Installing & Enabling ImageMagick using Pecl But for this to work your PHP must have ImageMagick extension enabled. Using ImageMagick WordPress plugin, you can tell WordPress to use ImageMagick rather than PHP’s default GD library. ImageMagick is replacement for php’s default GD library which WordPress uses for creating thumbnails on the fly. After upgrading to PHP 5.4.x, by using source compilation method, I realised our PHP was missing imagemagick extension.
