Can't install rmagick gem on Ubuntu 13.04

前端 未结 6 752
無奈伤痛
無奈伤痛 2021-02-06 07:33

When I try to install rmagic with:

gem install rmagic

it gives error:

Building native extensions.  This could take a while...
E         


        
6条回答
  •  一个人的身影
    2021-02-06 08:04

    Try clearing your apt repository and removing any broken packages first:

    sudo apt-get update
    sudo apt-get autoclean
    sudo apt-get clean
    sudo apt-get autoremove
    

    If the system identifies any broken packages, forcefully remove them (replace package_name with your own):

    sudo dpkg --remove -force --force-remove-reinstreq package_name
    

    Then reinstall any missing packages again.

提交回复
热议问题