Can imagemagick uninstall itself?

Questions and postings pertaining to the development of ImageMagick, feature enhancements, and ImageMagick internals. ImageMagick source code and algorithms are discussed here. Usage questions which are too arcane for the normal user list should also be posted here.
Post Reply
mattn
Posts: 1
Joined: 2018-10-24T12:43:57-07:00
Authentication code: 1152

Can imagemagick uninstall itself?

Post by mattn » 2018-10-24T12:53:49-07:00

I’m running Ubuntu 16, and I have a Python script that executes a “convert” command via the subprocess routine. It has been working daily until today when suddenly I started seeing “command not found” errors.

Trying to run convert manually from the command line gave a similar error with the apt-get suggestion to install the imagemagick package.

How could I have lost the package between yesterday and today? I’m not running my script with sudo, so I don’t think I could have anything in the script that would inadvertently uninstall any package.

I wondered if imagemagick has some kind of forced upgrade feature whereby it checks for a newer version and then tries to upgrade (first by uninstalling itself) but in this case failed at installing the new version. This seems unlikely, but someone pointed out that a new version was just released, so the timing made me suspicious.

Thanks in advance,
Matt

snibgo
Posts: 12434
Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK

Re: Can imagemagick uninstall itself?

Post by snibgo » 2018-10-24T13:38:07-07:00

mattn wrote:I wondered if imagemagick has some kind of forced upgrade feature ...
No, it doesn't. IM has no "upgrade" code or option.

The Windows version does come with uninstall software, and perhaps other versions do also. But IM "convert" etc won't run the uninstall.

Perhaps IM software hasn't vanished, but your system path has changed.
snibgo's IM pages: im.snibgo.com

Bonzo
Posts: 2971
Joined: 2006-05-20T08:08:19-07:00
Location: Cambridge, England

Re: Can imagemagick uninstall itself?

Post by Bonzo » 2018-10-24T13:44:08-07:00

I do not think Imagemagick uninstalled itself as people come here with versions years old on their computer.

I am not a Linux user so I do not know the exact commands to find a program try: type convert or which convert

If using V7 try replacing convert with magick

User avatar
fmw42
Posts: 25762
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: Can imagemagick uninstall itself?

Post by fmw42 » 2018-10-24T14:27:09-07:00


Post Reply