maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   OS2007 / Maemo 3 / Bora (https://talk.maemo.org/forumdisplay.php?f=23)
-   -   Canola Install Problem - FIX (https://talk.maemo.org/showthread.php?t=8883)

Brenden 2007-08-16 00:16

Canola Install Problem - FIX
 
I have spent almost all day trying to fix this, and I finally have, however there was no help on the net for this issue, until now.

Issue:
you can install Canola beta2 1.0.1 from their 1click install on their site. It will install all the way and then at the end say 'unable to install canola'. Yet you can still run it, it just never finds any media.

Solution:
I finally just went to the root shell(in xterm) and did a manual apt-get and found that avahi-daemon was not installing and screwed up the install for Canola because other components of Canola depended on it. So I google and found a ambiguous reference to the package avahi-daemon and this repository: http://www.oakcourt.dyndns.org/maemo/bora/

Instructions:
1) go to http://www.oakcourt.dyndns.org/maemo/bora/
2) download the .deb files for libcap1 and avahi-daemon
3) install either with `dpkg --install /path/to/DEBFILE.deb or by double clicking on them both, libcap1 first, then avahi-daemon
4) try to install Canola again, it should report no errors
*note: use the real path to the deb files, not the one in step 3, it's for demonstration
purposes only
*note2: i used the root shell/dpkg to install the deb files, i only assume the app
manager will work, too


Aftermath:
Canola now runs fine and i'm getting familiar with it. There are some issues with the app as a whole, but it is kinda neat. Maybe i'll code an open version of it and improve the UI a tad. I'm thinking python is the best choice for the n800


Phrases to help people find this thread:
Code:

Setting up avahi-daemon (0.6.20-2indt1) ...
chage: can't open shadow password fileStopped: `/usr/bin/chage -M 99999 avahi' returned error code 1. Exiting.

Code:

dependency problems - leaving unconfigured
Errors were encountered while processing:
avahi-daemon
libdmapsharing1.0-0
libcanola-plugins-base1.0-plugin-model-shared
libcanola-plugins-base1.0-plugins
libgnomevfs2-dmapsharing1.0-0
canola-app
canola
E: Sub-process /usr/bin/dpkg returned an error code (1)


PS - this is my first post, and probably not my last. My new lil' n800 is pretty sweet :)

jackass124 2007-08-16 03:06

Re: Canola Install Problem - FIX
 
hi Brenden! trying to do what you are suggesting because i had the same darn problems once i thought Canola was properly installed....so, i got the 2 files you recommend and it just says "UNable to install. Incompatible application package"....how should i resolve this???

Thanx!

RioT 2007-08-16 12:51

Re: Canola Install Problem - FIX
 
Hey thanks. I will try this after work later.

Brenden 2007-08-16 17:54

Re: Canola Install Problem - FIX
 
jackass, how did you try to install them? Dpkg or the application manager?

I made a typo on the dpkg line, i will edit the post in a sec.

Are you a consumer,geek, power user, or all of the above? I ask so i know how technical i can be!

jackass124 2007-08-16 20:56

Re: Canola Install Problem - FIX
 
I tried installing them by clicking on the armel (9.0 KB) which then allowed me to open the file with application manager....then asked if i wanted to install, and that's when i got the unable to install message...i'm a consumer who's kind of a pc/mac geek but linux newbie....maybe i need to be in Root/Shell??...seems like App. Manager isn't workin?

Thanx for your patience with the newbies!

fnordianslip 2007-08-16 23:42

Re: Canola Install Problem - FIX
 
Interesting. I've been having the same problem with avahi from the maemo repository and resorted to using an older version from oakcourt repo, as per my mostly ignored thread:

http://www.internettablettalk.com/fo...ighlight=avahi

I'm not using canola at the moment though.

Brenden 2007-08-17 04:32

Re: Canola Install Problem - FIX
 
Jack, ya that's probably the key, I was root in the shell when I ran it, this might be difficult...you need to know where exactly you have saved the DEB files...the internal memory card is /media/mmc1 and external is /media/mmc2

Let me know where it is stored so I can give you the exact command to run. Do you know how to get root? I should make a step by step photo instruction book ;)

Sorry this isn't super easy. If Canola would host the DEB files needed or maemo would fix their DEB files for avahi it'd be fine :/

--
fnordianslip, if it helps, your thread helped me out a lot when I found it it was not installing right. Without your thread I wouldn't have found the oakcourt repo :) Major props to you bud ;)

jackass124 2007-08-17 07:04

Re: Canola Install Problem - FIX
 
Brenden, I figured out how to gain root access (ran a become root .deb and then did sudo gainroot)---hehehe not like i have a clue what i'm doin!...i have the files in my Kingston memory card (internal slot)...so i assume it's the /media/mmc1 directory.....i just need to know the exact syntax i should use
....i experimented with:
dpkg --install /media/mmc1/libcap1_1.10-15maemo0_armel.deb

....got an error message about bad filename or directory and something like can't access database cause in use--no idea on that one!

Brenden 2007-08-17 12:25

Re: Canola Install Problem - FIX
 
I'm lazy(and I do linux server administration, too lol) when it comes to commands and weird file names. I like to use wildcards...so what you got is the right syntax, but you may be missing a character, try this:

sudo dpkg --install /media/mmc1/libcap*.deb
sudo dpkg --install /media/mmc1/avahi*.deb

'sudo' is to make sure it's being done as root. That package you have to gain root might not kep it in the xterminal. FYI, to become root in xterm, I use 'sudo gainroot'. The default root password is 'rootme'.

Hope this gets it installed for you!

jackass124 2007-08-17 21:38

Re: Canola Install Problem - FIX
 
hmm...tried that and when i use 'sudo' out front, and press enter, there's no response message in the xterminal...i know i have root access...so, i'm wondering what the problem is...should i place the libcap and avahi in a different directory and try that??...

Brenden 2007-08-18 19:58

Re: Canola Install Problem - FIX
 
find out exactly where the files are stored and let me know. It shouldn't be this difficult :/

You could setup VNC server on your n800(http://www.rwhitby.net/blog/n800/usi...okia-n800.html) and I can watch you as you do it if you would like help.

jackass124 2007-08-18 22:58

Re: Canola Install Problem - FIX
 
ok...I am SUPER close now...i feel it!...i got the libcap1 installed...however, when i go to install the avahi-daemon, it seems to be dependent on other ones which are not installed:libavahi-core4 , libavahi-common3, libdaemon0
what's the deal now??? geez...(frustration mounts)....do these need to be installed too???
Heeeeelp!

jackass124 2007-08-18 23:26

Re: Canola Install Problem - FIX
 
here's the exact error message:
/home/user # dpkg --install /media/mmc1/avahi-daemo n*.deb
(Reading database ... 17280 files and directories c urrently installed.)
Preparing to replace avahi-daemon 0.6.16-3maemo0 (u sing .../avahi-daemon_0.6.16-3maemo0_armel.deb) ...
Unpacking replacement avahi-daemon ...
dpkg: dependency problems prevent configuration of avahi-daemon:
avahi-daemon depends on libavahi-common3 (>= 0.6.1 0); however:
Package libavahi-common3 is not configured yet.
avahi-daemon depends on libavahi-core4 (>= 0.6.8); however:
Package libavahi-core4 is not configured yet.
dpkg: error processing avahi-daemon (--install):
dependency problems - leaving unconfigured
Errors were encountered while processing:
avahi-daemon
avahi-daemon
avahi-daemon

omegaone37 2007-08-18 23:33

Re: Canola Install Problem - FIX
 
Way too much trouble to install programs. Whoever put Canola together should be ashamed of themselves!

...my two cents.

Omega

jackass124 2007-08-18 23:36

Re: Canola Install Problem - FIX
 
No Kidding!....has anyone else gotten the "NO ITEMS FOUND" after installing their Canola??...or is it limited to a few people?

Brenden 2007-08-19 20:47

Re: Canola Install Problem - FIX
 
I don't think it's the canola peoples fault, just a bad DEB file on the maemo server...

jack, looks like you already have avahi installed? Try installing canola again(after removing it completely) and see if it works. If not, try --replace instead of --install for avahi and then after it is removed do --install again

If that doesn't work, google for the DEB files to the dependencies it mentions. You can look on the oakcourt repo(sitory) too, it's probably there if avahi needs it,

HeebieJeebie 2007-08-20 16:38

Re: Canola Install Problem - FIX
 
Quote:

Originally Posted by jackass124 (Post 69549)
No Kidding!....has anyone else gotten the "NO ITEMS FOUND" after installing their Canola??...or is it limited to a few people?

Trust me, it's not just you. I have had missing dependency issues getting it installed as well. I can get it to install to a point, but then it never works correctly afterwards. Think I'm gonna stick with UKMP and SyncTunes for now until this thing with the repos gets sorted out.

TTgowings 2007-08-22 13:18

Re: Canola Install Problem - FIX
 
Quote:

Originally Posted by jackass124 (Post 69549)
No Kidding!....has anyone else gotten the "NO ITEMS FOUND" after installing their Canola??...or is it limited to a few people?

And here all along for like the last week I thought it was just me, when it wasn't finding ANY of my media.. :confused:

Nilles 2007-08-23 07:27

Re: Canola Install Problem - FIX
 
Im getting the "unable to install canola" message to.

Nilles 2007-08-24 08:37

Re: Canola Install Problem - FIX
 
Got it working! I installed all the other libfiles that are needed. (in red pill mode)

timothyd4y 2007-08-24 15:17

Re: Canola Install Problem - FIX
 
I found that disabling a lot of the repositories in the application manager helped the install. The directions on the canola site should probably be at the top of the page, and the 1 click install at the bottom.
The issue i'm dealing with now is setting up the media library. The red arrows in the admin page are not working. I can add folders with the green arrows every way to sunday, but there's no love from the red. Anyone else?

HeebieJeebie 2007-08-24 15:53

Re: Canola Install Problem - FIX
 
Quote:

Originally Posted by Nilles (Post 70813)
Got it working! I installed all the other libfiles that are needed. (in red pill mode)

Are you referring to the libcap1 and avahi-daemon libs? Think I already tried installing those under red pill (can't remember I've done it so many times now) and it still didn't work. Will have to invoke red pill and disable all my extra repos and give it a shot again before I resign myself to jumping into the command line.

HeebieJeebie 2007-08-24 16:17

Re: Canola Install Problem - FIX
 
OK, finally got Canola to successfully install (thank goodness!). But when I run Canola config it pops up a dialog asking for a username and pass and I've never set one. When I just click "OK" on the dialog without changing anything I get "Invalid username or password" message. If I try to input something and click "OK", I get the same thing. Any ideas?

timothyd4y 2007-08-24 19:11

Re: Canola Install Problem - FIX
 
Enabling these 3 Catalogs allowed me to install Canola:

Nokia Catalogue
Nokia Catalogue (3rd party software)

Canola
which is address : http://openbossa.indt.org.br/canola/...ory-beta2/bora
Distribution : bora
Components : user

I've read on the maemo garage BB for Canola that other users have lost the use of the red arrows in the web based configuration page. Anyone have an easy work around?

HeebieJeebie 2007-08-26 02:50

Re: Canola Install Problem - FIX
 
Quote:

Originally Posted by timothyd4y (Post 70911)
Enabling these 3 Catalogs allowed me to install Canola:

Nokia Catalogue
Nokia Catalogue (3rd party software)

Canola
which is address : http://openbossa.indt.org.br/canola/...ory-beta2/bora
Distribution : bora
Components : user

That's how I finally ended up getting it installed, was disabling every repo except the two default Nokia repos and Canola. Still had to install libcap1 by hand and install the rest in Red Pill mode. Hopefully this process gets less painful with the next version. I still can't get to the configuration page, though. It'd be nice because I really wanted this thing for podcasts, but no config = no podcasts.

markku 2007-08-26 09:01

Re: Canola Install Problem - FIX
 
What has happened with Canola install? Before it was easy to install and it worked but now it won't work and it is that avahi-thing that's broken. I just can't install it properly and I've given up. I'm suprised that there is no instructions how to solve this situation.

Brenden 2007-08-26 21:14

Re: Canola Install Problem - FIX
 
The avahi 'thing' is already solved at the first post of this thread.

It's a maemo repository error not Canola app error, however i'm ashamed that the canola team hasn't posted something about this issue. Wouldn't hapen like that if this was open source I bet :P

the username/password popup can probably be set in a config file in the /home/user/canola directory, however you need to know where that is and I have yet to care to look.

HeebieJeebie 2007-08-26 22:01

Re: Canola Install Problem - FIX
 
I've poked around a little bit looking for a config file for user/pass but haven't uncovered it yet. If and when I do I'll certainly report back.

timothyd4y 2007-08-27 17:04

Re: Canola Install Problem - FIX
 
OK. Here goes. After much tinkering around (which is, after all, a reason we get these devices) I think I've figured out a few tricks to getting Canola to rock and roll and in the process learn a bunch of Linux tricks. This is all covered in other places, but maybe posting a synopsis here will help some folks out.

1. Install XTerm. Yes we all need it.

2. Go here : http://mfresh-n800.blogspot.com/2007...rove-your.html
and set up some aliases. My fav is setting up 'ls' to do 'ls -al' to show hidden files when listing the contents of a directory.

3. Take a deep breath. Install GConf-Editor : let's you tweak the Canola config without using the web interface.

4. Uninstall Canola using the Application Manager. Log in with Xterm and find the .canola folder. This holds the canola.db file which holds the admin username and password. Use rm -r to delete this .canola folder

So now you've got an internet tablet with no canola, but XTerm and GConf are installed.

5. Go to Applications Manager and enable these 3 repositories:

a. Nokia Catalogue
b. Nokia Catalogue (3rd party software)
c. Canola
which is address : http://openbossa.indt.org.br/canola/...ory-beta2/bora
Distribution : bora
Components : user

6. Refresh the applications list and install Canola.

7. Unplug your Nokia and power cycle it.

At this point Canola may work perfectly. It may find your media and playback w/o any hassles. You'll open the Canola Config app and assign a username and passsword, be able to tweak the media library, and all will be right as rain.

However in my case, an n800 fresh out of the box with the latest firmware, OS 2007 and MicroB browser installed, Canola could not find any media, and the red arrows on the Canola config browser window would not let me remove folders, the green arrows worked, but not the reds. I was getting Asahi login, XML errors and the pillars were a shakin'.

If this sounds familiar, read on....

8. Close the browser and canola. Open Configuration Editor (GConf-Editor). Click apps>Canola-conf, check out the collection-folders list there on the right hand side. This is a list of the places Canola is looking for media. Click and hold on collection-folders and select Edit Key from the popup menu. Making any change to the list of folder values re-enables the Browser Config red and green arrows to be able to manage your media library from within the MicroB browser engine. Whew!!
Now you can close out of everything and open Canola Config browser app and tweak your media library.

Now my Canola is working like a champ. I can tweak the media library, it's finding media when I scan for it and I'm feeling good.

Hope the above is useful to those who are experiencing similar problems. I can't fault any developer for these glitches. Like I said above, if I didn't want to fuss with
the device, I would have bought a Video iPod. I consider all this troubleshooting a value add and a geeky pleasure to pursue. Thanks to everyone for their posts and efforts to make this device what it is.

Best,
Tim

HeebieJeebie 2007-08-27 18:00

Re: Canola Install Problem - FIX
 
Wow, pretty thorough! I'm about to jump in and give this a shot, but I have two questions.

1. Was the Canola install done in red pill mode?
2. Did you still have to manually install libcap1 and avahi daemon as in the initial instructions given by Brenden, or did all install swimmingly just using app manager?

Thanks!

EDIT: Scratch everything I just said. I followed your instructions and went in in red pill mode and everything installed without a hitch. You, sir, are my savior. My podcasts and I can't thank you enough! :D

timothyd4y 2007-08-27 20:31

Re: Canola Install Problem - FIX
 
glad it worked for you. i didn't use red pill mode nor did i manually install anything. but it should, and apparently did, work just the same. cheers.

j.bobs 2007-08-28 05:42

Re: Canola Install Problem - FIX
 
great advice. i was having the same problem with canola giving me an error at the end of the installation. i was able to install it correctly by

first uninstalling canola
disabling all catalogs except
-Nokia Catalogue
-Nokia Catalogue (3rd party software)
-Canola
putting n800 into red pill mode
install avahi-daemon first
then install canola

it installed without an error at the end.

hope that helps!

markku 2007-08-28 06:54

Re: Canola Install Problem - FIX
 
Quote:

Originally Posted by j.bobs (Post 71582)
great advice. i was having the same problem with canola giving me an error at the end of the installation. i was able to install it correctly by

first uninstalling canola
disabling all catalogs except
-Nokia Catalogue
-Nokia Catalogue (3rd party software)
-Canola
putting n800 into red pill mode
install avahi-daemon first
then install canola

it installed without an error at the end.

hope that helps!

I tried that and still avahi-daemon is broken and so is Canola also. Maybe I have to wait next release of Canola, hope that it'll be easier to install. I think this procedure is way too complicate for normal consumer who just want application that works. It's strange that earlier installing Canola was quite easy, one-click installation, what happened with that. Still nothing on Canola website about this installation problem...

HeebieJeebie 2007-09-01 22:33

Re: Canola Install Problem - FIX
 
Like timothyd4y mentioned, there's no need to install anything manually. I didn't install avahi-daemon prior to installing Canola. I just disabled all but the above mentioned repositories, enabled red pill mode, hit install and everything installed just fine on it's own.

dgenge 2007-09-06 10:57

Re: Canola Install Problem - FIX
 
Guys,
I am not the most tech guy around but this seems to be the exact problem I have with Canola. Did the one step install and at the end got a message " unable to install canola" with no other indications of what may have gone wrong. Then Canola runs and I screwed around trying to get it to find MP3s on my MCs, it will not find any media files? I have figured out this "Red Pill Mode" What do I need to do to fix this, remember not so tech guy..:-)
Email me direct if you want darrengengelovemyn800@lovemyn800gmail, you know what to do.. Thanks in advance.....

dgenge 2007-09-06 20:22

Re: Canola Install Problem - FIX
 
Brenden, tried this as directed and got "incompatible package" unable to install when I tried to install libcap1.....file being " libcap1_1.10-15maemo0 "
Darren the somewhat nube!

dgenge 2007-09-16 13:59

Re: Canola Install Problem - FIX
 
Thanks for everyones input. Its working fine now..
I disabled the 2 librarys as per install instructions, went into Red Pill mode, did single click install.. came out of Red Pill mode, then reboot.... all went fine..

I love my N800...

ImDisaster 2007-09-19 13:52

Re: Canola Install Problem - FIX
 
I tried to follow the instructions but could never find the Canola folder after uninstalling Canola.

I was able to find the canola-config file and deleted that.

After deleting Canola, I disabled all but the three repositories mentioned.

I then installed avahi-daemon by itself.

Installed Canola.

Rebooted the machine.

Opened Canola configuration in MicroB browser.

When I navigate to mmc1 and mmc2 the "connecting" blue bouncing line appears in MicroB and never goes away.

When I was able to add mmc1 and mmc2 but then got an endless Java script error....had to close MicroB to get out of the loop.

Back in Canola I still get "no media found."

Opened GConf-Editor and deleted the collection-folder links to mmc1 and mmc2.

Reopened Canola config and was able to add back mmc1 and mmc2 but still get the never ending connecting....but no java script errors this time.

Back in Canola no media files found.

I'm not sure what might be wrong but I have this advice for the developers of Canola.

1. Dump the html configuration. It would be much better to set the config in a Canola preferences or setup menu from within Canola.

2. Fix the buggy install process. Many people are having problems with not being able to add media folders and not being able to see the media in the folders.

3. Fix the uninstall so that it removes not only the original install files but the directories and config files it creates during the install.

Seaweed 2007-09-28 15:22

Re: Canola Install Problem - FIX
 
The oakcourt repository appears to be down?

Can someone post the libcap1 and avahi-daemon .deb files so I can hopefully successfully scan for media on my 770

ajh33 2007-10-19 09:44

Re: Canola Install Problem - FIX
 
Just wondering timothyd4y, where did you find this canola.db file?
I cannot find it anywhere. Thanks for your help!


All times are GMT. The time now is 10:24.

vBulletin® Version 3.8.8