I don't have a solution or a fix. Here are two workarounds
(1) Use errcatch
(%i1) errcatch(linsolve([x=1,x=2],[x]));
Inconsistent equations: (2)
(%o1) []
(%i2) algsys([x=1,x=2],[x]);
(%o2) []
(2) Use algsys instead of linsolve
(%i2) algsys([x=1,x=2],[x]);
(%o2) []
Barton
-----maxima-admin@math.utexas.edu wrote: -----
>To: maxima@math.utexas.edu
>From: Fabrizio Caruso
>
>Sent by: maxima-admin@math.utexas.edu
>Date: 03/14/2005 06:23AM
>Subject: linsolve
>
>Dear Maxima Forum
>
>In my attempt to debug, clean and hopefully
>improve my summation package, I found that
>I am getting a strange error from "linsolve"
>whenever it finds that the system has no solution
>
>it outputs a warning about the inconsistency
>(which is okay)
>followed by the error message
>"
>Inconsistent equations: (2)
> -- an error. Quitting. To debug this try
>DEBUGMODE(TRUE);
>"
>instead of the empty list of solutions as I would
>expect.
> Regards
>
> Fabrizio
>
>
>_______________________________________________
>Maxima mailing list
>Maxima@www.math.utexas.edu
>http://www.math.utexas.edu/mailman/listinfo/maxim
>a
>