2.39.2 Ubuntu install issue

Feedback on Linux installers (RPM and Debian packages)

Moderator: Paulo Moura

Post Reply
rshiplett
Posts: 3
Joined: Tue May 18, 2010 5:18 pm
Contact:

2.39.2 Ubuntu install issue

Post by rshiplett » Tue May 18, 2010 5:25 pm

I have tried the install twice by dbl-click on the DEB under EeeBuntu 3.0
Both times first error reported is for TextMate and the next during install of doc-base - but without a more specific message in the installer's "terminal" details display.

Paulo Moura
Logtalk developer
Posts: 475
Joined: Sat May 05, 2007 8:35 am
Location: Portugal
Contact:

Re: 2.39.2 Ubuntu install issue

Post by Paulo Moura » Tue May 18, 2010 5:31 pm

First time I hear about Eeebuntu 3.0. It seems to be based on Ubuntu 9.04. What happens if you try to install from the command-line by typing:

Code: Select all

sudo dpkg -i logtalk_2.39.2-1_all.deb
Hopefully, this command will result in more informative error messages that help us to diagnose the problem. The .deb tests fine on Ubuntu 9.10. I'm unable to reproduce the problem either by double-clicking the package or by using the command above.
Paulo Moura
Logtalk developer

rshiplett
Posts: 3
Joined: Tue May 18, 2010 5:18 pm
Contact:

Re: 2.39.2 Ubuntu install issue

Post by rshiplett » Tue May 18, 2010 5:58 pm

(Reading database ... 279865 files and directories currently installed.)
Unpacking logtalk (from logtalk_2.39.2-1_all.deb) ...
dpkg: error processing logtalk_2.39.2-1_all.deb (--install):
unable to create `share/lgt2392/wenv/textmate/Logtalk.tmbundle/Snippets/Protected predicate (no arguments).tmSnippet': No such file or directory
Removing menu entries for some of the Logtalk integration scripts...

You have succesfully uninstalled Logtalk!

Processing triggers for doc-base ...
Errors were encountered while processing:
logtalk_2.39.2-1_all.deb
G. Robert Shiplett
LogiqueWerks

Paulo Moura
Logtalk developer
Posts: 475
Joined: Sat May 05, 2007 8:35 am
Location: Portugal
Contact:

Re: 2.39.2 Ubuntu install issue

Post by Paulo Moura » Tue May 18, 2010 6:31 pm

The "/usr" prefix is missing in the error message. It seems as if the dpkg is trying to install in your home directory instead of in a system directory. The file mentioned in the error message is included in the .deb. Can you run the following command and then try to install the .deb again:

Code: Select all

mkdir -p ~/share
If the installation succeeds, then we get confirmation that, for some reason, dpkg is not installing Logtalk in /usr as it should.

Paulo Moura
Logtalk developer
Posts: 475
Joined: Sat May 05, 2007 8:35 am
Location: Portugal
Contact:

Re: 2.39.2 Ubuntu install issue

Post by Paulo Moura » Tue May 18, 2010 7:27 pm

Another option is to run dpkg in debug mode:

Code: Select all

sudo dpkg --debug=3773 -i logtalk_2.39.2-1_all.deb 2> logtalk_install_log
Maybe this can provide some clue. Please send me the "logtalk_install_log" by mail.
Paulo Moura
Logtalk developer

Paulo Moura
Logtalk developer
Posts: 475
Joined: Sat May 05, 2007 8:35 am
Location: Portugal
Contact:

Re: 2.39.2 Ubuntu install issue

Post by Paulo Moura » Wed May 19, 2010 3:00 am

Found the problem (with the help of Peter Robinson, Qu-Prolog developer). You need dpkg 1.15.0 or a later version. Earlier versions are unable to cope with the long filename paths found in the .deb archive. You also need an up-to-date tar version. Thanks for reporting the problem.
Paulo Moura
Logtalk developer

rshiplett
Posts: 3
Joined: Tue May 18, 2010 5:18 pm
Contact:

Re: 2.39.2 Ubuntu install issue

Post by rshiplett » Fri Jul 02, 2010 9:35 pm

Hi .. I had a little effort to get the prereq's to dpkg as that version is not standard on my netbook ( EeeBuntu is now called something else ... ) But. It did do the trick once I got dpkg to install its own newer self.

Thanks for the help, P.M, and thanks to those who helpf P.M. get handle on this ...

Robert :D
G. Robert Shiplett
LogiqueWerks

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest