Use calibre, and if you don't like the quality of the result, post a Ticket at the
Calibre bug tracker explaining what you think it did poorly, and explain how you think it could have done better. Then there's a chance a calibre dev would improve the next version of the software. That's how Open Source works, as you should know as a Debian user.