How to update deb-app in non-deb way without ruining deb database.

Asked by Steve Sargent on 2010-09-09

I have calibre installed on my system, from the package manager, but the features I need are in a newer version that does not have a deb file yet. The installer routine uses a python setup.py routine. I want to be able to use the latest version, but don't want to screw up any dependency issues or database issues. How do I install the newer non-deb version and manually update the apt database to reflect current changes. I've installed other software in the past that had a older version on the system and it caused problems when the update manager ran. I'd like to avoid that nightmare this time.

-----
Steve

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu calibre Edit question
Assignee:
No assignee Edit question
Solved by:
Rohit R
Solved:
Last query:
Last reply:
Revision history for this message
Rohit R (rr0hit) said :
#1

I think "checkinstall" package can help if you are compiling from a source tar ball. After " ./configure " and make run " sudo checkinstall " instead of " make install "

Revision history for this message
Steve Sargent (gs-sarge) said :
#2

I'm not using make. Calibre uses python with a 'setup.py install' script. Since the setup script is written by hand (I'm assuming this), this suggestion doesn't solve the problem in this case.

Revision history for this message
Best Rohit R (rr0hit) said :
#3

I found a .deb file for calibre 0.7.18 which is the latest version in maverick repository. You may manually download it from following link :

http://archive.ubuntu.com/ubuntu/pool/universe/c/calibre/calibre_0.7.18+dfsg-1_all.deb

or you may add the maverick repository to your sources list. This should work fine. Or just wait till you upgrade to maverick. Hope this helps.

Revision history for this message
Rohit R (rr0hit) said :
#4

I found a .deb file for calibre 0.7.18 which is the latest version in maverick repository. You may manually download it from following link :

http://archive.ubuntu.com/ubuntu/pool/universe/c/calibre/calibre_0.7.18+dfsg-1_all.deb

or you may add the maverick repository to your sources list. This should work fine. Or just wait till you upgrade to maverick. Hope this helps.

Revision history for this message
Steve Sargent (gs-sarge) said :
#5

this would help. thank you for the advice. At the moment, I uninstalled calibre and compiled it by hand successfully. It would be nice to do it the Ubuntu way, though. Thanks.. now I can.