Page 2 of 3

Re: Ubuntu ppa repository for testing

Posted: Tue Nov 16, 2010 10:31 am
by srice
Paul,

From 2 hours of html classes to this, you are going great! All the results looks normal there. I don't think it will run any faster, and you are right, I will add Graphical instructions too, to keep people out of the terminal. I'm very comfortable in the terminal. The actual purpose of this is to have Bible Analyzer installed very easily in Ubuntu in a proper way.

As for the output that was in the terminal. Your first error: was some of the repositories didn't update, meaning for some reason it wasn't able to connect to that server. Perhaps it doesn't exist or was down. The second error, was because you have programs installed on your computer that are no longer needed. Not a big deal either. You could remove them. The Graphical way to do this is to open go to: System -> Administration -> Synaptic when it opens on the left hand side you have
All
Installed
Installed (auto removable)
Installed (local or obsolete)
Installed (manual)
Installed (upgradable)
Not Installed
Not Installed (residual config)

You may not have all those options. The ones I highlighted you can probably safely click on those and in the right hand column select what you want to remove. Usually lib type files can be removed as well as the config files. Thanks for testing! Seems like all worked well.

Re: Ubuntu ppa repository for testing

Posted: Fri Nov 26, 2010 9:53 pm
by nymusicman
Thank you so much for this. I've thought BA needed a PPA for a long time, but I don't know how to build or maintain one. (yet :D )

Re: Ubuntu ppa repository for testing

Posted: Sat Nov 27, 2010 5:38 pm
by srice
Yes it was a learning process for me as well, but I agree, it was a necessary step.

Re: Ubuntu ppa repository for testing

Posted: Sun Nov 28, 2010 10:17 am
by M-Paul
shane2peru wrote:Yes it was a learning process for me as well, but I agree, it was a necessary step.
Actually, I had never heard of PPA before. Now I find this article as linked, which indicates PPA is a major security risk. What do you think?

http://jeffhoogland.blogspot.com/2010/1 ... ncern.html

Re: Ubuntu ppa repository for testing

Posted: Sun Nov 28, 2010 12:16 pm
by srice
M-Paul wrote:
shane2peru wrote:Yes it was a learning process for me as well, but I agree, it was a necessary step.
Actually, I had never heard of PPA before. Now I find this article as linked, which indicates PPA is a major security risk. What do you think?

http://jeffhoogland.blogspot.com/2010/1 ... ncern.html
There are inherent risks to adding ppa's. In this case, I'm not a programmer, so your only risk of bad coding is going to come from our Bible Analyzer Developer, and I don't think you have to worry about a Bible Programmer putting purposely bad code together to ruin your computer. So while yes, you do need to be careful about adding PPA's to the system, You shouldn't have to worry here in this case. I would say that more than likely the greater danger of PPA's is that mixing software could cause instability, more than just a vicious coder creating a PPA. None the less you always have to use discretion in installing software and choosing PPA's. That being said, here is the process I use: Our BA Developer writes the software, gives me the source code, I upload that source code to the PPA, and the PPA automatically builds the software from Source. So, pretty straight forward.

Re: Ubuntu ppa repository for testing

Posted: Mon Mar 07, 2011 8:29 pm
by srice
Ok, finally I have got the 4.1 going into the repo. It is not tested very extensively however it seems to be fine. If you would rather wait a little, just don't upgrade your BA. You could even temporarily disable that repo for a bit. It should be fine. 4.1 looks great and has some good improvements that were done! Thanks Bro. Tim for the hard work!

Shane

EDIT:
Ok a little difficulty getting it uploaded into the repo. Give me a day or two. :)

Re: Ubuntu ppa repository for testing

Posted: Tue Mar 08, 2011 9:38 am
by MPaul
It does not work.

I just did an update on 10.04, and I was surprised to see Bible Analyzer included, PPA, Shane2Peru.

I proceeded with the update. Now, BA does not open. From time to time this has happened to me previously, and I have to delete the config.ini file. However, deleting it this time did not work.

Hmm... when 11.04 comes out, I'll probably go with that in May. I usually do a complete install, rather than an upgrade. Maybe, I should use PPA again.... provided 4.1 does come along.

Time does always tell.

Re: Ubuntu ppa repository for testing

Posted: Tue Mar 08, 2011 1:04 pm
by srice
MPaul,

Sorry about the problems. I ran the upgrade without a problem. Give this a try:

Code: Select all

sudo apt-get purge bibleanalyzer  && sudo apt-get install bibleanalyzer
Then run this in the terminal:

Code: Select all

bibleanalyzer
and see if that works. the config.ini shouldn't be a problem here. If that gives you any errors please copy and paste them here. We should be able to get this fixed.

On side note I will be upgrading too the 11.04 as well, I usually keep up with the latest.

Shane

Re: Ubuntu ppa repository for testing

Posted: Tue Mar 08, 2011 2:05 pm
by Tim
One thing to remember, The config file for v4 is "config4.ini." "Conig.ini" is only for v3 series.

Re: Ubuntu ppa repository for testing

Posted: Tue Mar 08, 2011 4:08 pm
by MPaul
Entering commands as directed, here is the response,


JohnDoe@JohnDoe-laptop:~$ sudo apt-get purge bibleanalyzer && sudo apt-get install bibleanalyzer
[sudo] password for JohnDoe:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
python-espeak python-pysqlite2 python-wxversion python-wxgtk2.8
Use 'apt-get autoremove' to remove them.
The following packages will be REMOVED:
bibleanalyzer*
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
After this operation, 28.8MB disk space will be freed.
Do you want to continue [Y/n]?

JohnDoe@JohnDoe-laptop:~$ sudo apt-get purge bibleanalyzer && sudo apt-get install bibleanalyzer
[sudo] password for JohnDoe:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
python-espeak python-pysqlite2 python-wxversion python-wxgtk2.8
Use 'apt-get autoremove' to remove them.
The following packages will be REMOVED:
bibleanalyzer*
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
After this operation, 28.8MB disk space will be freed.
Do you want to continue [Y/n]? y
(Reading database ... 315014 files and directories currently installed.)
Removing bibleanalyzer ...
Purging configuration files for bibleanalyzer ...
dpkg: warning: while removing bibleanalyzer, directory '/etc/xdg/menus/applications-merged' not empty so not removed.
Processing triggers for desktop-file-utils ...
Processing triggers for python-gmenu ...
Rebuilding /usr/share/applications/desktop.en_US.utf8.cache...
Processing triggers for python-support ...
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
python-pysqlite2
Use 'apt-get autoremove' to remove them.
The following NEW packages will be installed:
bibleanalyzer
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B/10.3MB of archives.
After this operation, 28.8MB of additional disk space will be used.
Selecting previously deselected package bibleanalyzer.
(Reading database ... 314759 files and directories currently installed.)
Unpacking bibleanalyzer (from .../bibleanalyzer_4.1-0lucidppa1_all.deb) ...
Processing triggers for desktop-file-utils ...
Processing triggers for python-gmenu ...
Rebuilding /usr/share/applications/desktop.en_US.utf8.cache...
Processing triggers for python-support ...
Setting up bibleanalyzer (4.1-0lucidppa1) ...
JohnDoe@JohnDoe-laptop:~$ ^C
JohnDoe@JohnDoe-laptop:~$

Traceback (most recent call last):
File "/usr/share/bibleanalyzer/analyzer4.py", line 8, in <module>
import utility
File "/usr/share/bibleanalyzer/utility.py", line 2, in <module>
from configobj import ConfigObj
ImportError: No module named configobj

Press Enter to close terminal