maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   Installing libqt and keepasx (https://talk.maemo.org/showthread.php?t=29708)

VulcanRidr 2009-06-20 03:01

Installing libqt and keepasx
 
I need a little help here. I need to install keepasx on my N810. I tried Password Safe, but to be honest, I have been using keepassx on my desktops and laptops for a couple of years and don't want to convert >100 passwords to Password Safe.

So I found a link to keepasx for maemo, downloaded it and tried to install. It couldn't, because my N810 was missing libqt4-core and libqt4-gui.

So I went to qt4.garage.maemo.com, but there was not a link to the repo. After a bit of research, I added repository.maemo.org/extras-devel, but still could not find the QT libraries.

Can someone help me get this going?

Thanks,
--vr

Andre Klapper 2009-06-20 12:38

Re: Installing libqt and keepasx
 
Add the Extras repository because the files are available in http://repository.maemo.org/extras/p...ree/q/qt4-x11/ it seems.

VulcanRidr 2009-06-20 17:29

Re: Installing libqt and keepasx
 
Quote:

Originally Posted by Andre Klapper (Post 298147)
Add the Extras repository because the files are available in http://repository.maemo.org/extras/p...ree/q/qt4-x11/ it seems.

I thought I had done that. I added the following to my catalog in the app manager:

Code:

Catalog name: maemo Extras-devel
Web address:  http://repository.maemo.org/extras-devel
Distribution:    diablo
Components:  free non-free

I also added

Code:

Catalog name: maemo Extras
Web address:  http://repository.maemo.org/extras
Distribution:    diablo
Components:  free non-free

But at no time was I able to find the qt libs.

These *should* also include the directories below it, especially in the pool (e.g. pool/diablo/free/q/qt4-x11/), correct?

--vr

attila77 2009-06-20 18:15

Re: Installing libqt and keepasx
 
Where are you trying to install the libs from ? App manager will not offer you to install the libs as a separate download. For that either use the console 'apt-get install libqt4-gui' or install the qt4 example app from App manager (which will pull in the qt libs as a dependency)

VulcanRidr 2009-06-22 00:00

Re: Installing libqt and keepasx
 
Quote:

Originally Posted by attila77 (Post 298213)
Where are you trying to install the libs from ? App manager will not offer you to install the libs as a separate download. For that either use the console 'apt-get install libqt4-gui' or install the qt4 example app from App manager (which will pull in the qt libs as a dependency)

Okay, I tried to apt-get install it, but ran into a problem. I guess this is a broader question, but since / is perpetually at at least 94% utilization, when I try to install things like the entirety of the qt4 libs, I run out of space on /. How do people generally set up their systems to avoid this? I planned on moving /var/cache/apt into /media/mmc2 and symlinking it back to /var/cache.

What else can I do this with safely?

Thanks,
--vr

attila77 2009-06-22 09:25

Re: Installing libqt and keepasx
 
As a short term solution, you can delete some docs (pdf-s actually) and the bundled videos/images/mp3s in your home. Softlinking system stuff is dangerous as mmc2 is I think FAT by default so you always have the danger of not being able to boot because of some trivial issue.

The Right Way (TM) would be cloning to the internal or SD card. While it sacrifices a little bit of media storage, It gives you application space, speed and a fallback 'safe mode' (the original OS on your SoC flash) if you mess up something. Search for penguinbait's console-tools if you're interested in this.

VulcanRidr 2009-06-22 09:46

Re: Installing libqt and keepasx
 
Quote:

Originally Posted by attila77 (Post 298582)
As a short term solution, you can delete some docs (pdf-s actually) and the bundled videos/images/mp3s in your home. Softlinking system stuff is dangerous as mmc2 is I think FAT by default so you always have the danger of not being able to boot because of some trivial issue.

Actually, I softlinked /home/user/MyDocs into /media/mmc1.

I also had one of the N810s that had the badly behaving internal SD cards, so I had to reformat. When I did (since all of the boxes in my network run Linux anyway), I created it as ext2.

Quote:

The Right Way (TM) would be cloning to the internal or SD card. While it sacrifices a little bit of media storage, It gives you application space, speed and a fallback 'safe mode' (the original OS on your SoC flash) if you mess up something. Search for penguinbait's console-tools if you're interested in this.
I am interested in this, its just finding a chunk of time to do it and figuring out how to get everything restored...The N810 has become, in the words of a buddy of mine, my "brain prosthesis" and I use it constantly, hence the reason for this thread. I needed keepassx instead of the password safe app, since I have a couple of hundred passwords stored in it and its a lot easier to get the app running than to convert.

I have penguinbait's page bookmarked. The last time I read over it, there were a couple of things that weren't clear. I'll read over it again today and give it a try.

--vr

attila77 2009-06-22 10:03

Re: Installing libqt and keepasx
 
Quote:

Originally Posted by VulcanRidr (Post 298587)
I am interested in this, its just finding a chunk of time to do it and figuring out how to get everything restored...

Ah, but if you do it right you will clone your *current* system, with all the settings, apps, etc, etc. There will be nothing to restore, you just continue from your current state, but booting from the SD.

Quote:

The N810 has become, in the words of a buddy of mine, my "brain prosthesis" and I use it constantly,
I know the feeling :D

Quote:

I have penguinbait's page bookmarked. The last time I read over it, there were a couple of things that weren't clear. I'll read over it again today and give it a try.
If in doubt, just go for pb-easy. Also, might sound a bit maternal and ovecautious, but... MAKE A BACKUP before you try anything :)

VulcanRidr 2009-06-22 19:09

Re: Installing libqt and keepasx
 
Quote:

Originally Posted by attila77 (Post 298592)
Ah, but if you do it right you will clone your *current* system, with all the settings, apps, etc, etc. There will be nothing to restore, you just continue from your current state, but booting from the SD.

That was one of the questions I had about doing the flip to the internal drive. It says you need, what, 1.5 GB or something to make this work? Do you move the stuff that is on there somewhere else? Like /media/mmc1? I will try to look at the docs tonight and post my questions to a separate thread...Between my new job and the horrendous commute (2+ hrs each way), I have had to limit my computer time, and my new job, being a gov't contractor, means no wireless...(Wireless?!? I don't even have a _desk_)

Quote:

If in doubt, just go for pb-easy. Also, might sound a bit maternal and ovecautious, but... MAKE A BACKUP before you try anything :)
Is an internal backup sufficient or should I transfer it to my backup server? One of the things I would like to play with is kde4, and flipping the root filesystem was one of the first steps, so I really want to try it...

Another problem/question. After all this I have done, installing qt4 and keepassx as well as moving /var/cache/apt to /media/mmc2 and symlinking it, I notice an added degree of slowness on my tablet. Among other things,
  • The Bluetooth keyboard takes a long time to disconnect, enough so that I hit the button again the first couple of times and ended up reconnecting it
  • The charging is odd. I plugged into an outlet, and while the "Charging" message came up momentarily as usual, the battery icon did not show the charging indication.
  • Books take a really, really long time to come up in FBreader. Instead of taking about 5 seconds, it takes upwards of 15 seconds to load. (estimated)

Is this a result of moving /var/log/apt? Or a result of qt4 being installed? Something else?

Thanks,
--vr

attila77 2009-06-22 22:54

Re: Installing libqt and keepasx
 
Quote:

Originally Posted by VulcanRidr (Post 298715)
That was one of the questions I had about doing the flip to the internal drive. It says you need, what, 1.5 GB or something to make this work? Do you move the stuff that is on there somewhere else? Like /media/mmc1? I will try to look at the docs tonight and post my questions to a separate thread...

I just backed up all the stuff, removed the ext card (just to be sure because of the crazy SD numeration), cloned and then copied stuff back. 1.5GB is about right, depending of how much you want to put aside for the FAT part (or maybe swap).

Quote:

Is an internal backup sufficient or should I transfer it to my backup server?
Always better to have a backup physically outside of the unit. Gremlins never sleep.

Quote:

Another problem/question. After all this I have done, installing qt4 and keepassx as well as moving /var/cache/apt to /media/mmc2 and symlinking it, I notice an added degree of slowness on my tablet. Among other things,
Is this a result of moving /var/log/apt? Or a result of qt4 being installed? Something else?
Don't think so, none of those use the apt dir AFAIK. For me (might be placebo) the cloned system seemed faster. I burned myself with softlinks, so have no speed related experience with them.

VulcanRidr 2009-06-24 11:44

Re: Installing libqt and keepasx
 
Quote:

Originally Posted by VulcanRidr (Post 298715)
  • The Bluetooth keyboard takes a long time to disconnect, enough so that I hit the button again the first couple of times and ended up reconnecting it
  • The charging is odd. I plugged into an outlet, and while the "Charging" message came up momentarily as usual, the battery icon did not show the charging indication.
  • Books take a really, really long time to come up in FBreader. Instead of taking about 5 seconds, it takes upwards of 15 seconds to load. (estimated)

Is this a result of moving /var/log/apt? Or a result of qt4 being installed? Something else?

Thanks,
--vr

I have a few additional items to add, ranging from annoying to critical...
  • In addition to the battery icon not going into motion, the little spinner when loading apps is gone. The little text box is still there, but the spinny icon is gone.
  • This is a show stopper...The map doesn't move when using maemo mapper. The app found the satellites and the little compass rose is spinning, but the map is still where I left it last time I used maemo mapper. It did not update the map to my current location like it always does.

This puts me in an interesting situation. Unless someone has advice on how to get this all working, I am going to uninstall qt and (unfortunately) keepassx.

Thanks,
--vr

attila77 2009-06-24 17:59

Re: Installing libqt and keepasx
 
These problems are almost certainly not caused by Qt (except maybe indirectly like by filling up the disk), I have it installed on several occasions and never encountered such behaviour (it's not even used by default so can't really interfere with applets and hildon until you start a qt app).

VulcanRidr 2009-06-24 20:30

Re: Installing libqt and keepasx
 
Quote:

Originally Posted by attila77 (Post 299396)
These problems are almost certainly not caused by Qt (except maybe indirectly like by filling up the disk), I have it installed on several occasions and never encountered such behaviour (it's not even used by default so can't really interfere with applets and hildon until you start a qt app).

I don't see anything that is full, though some are close:

Code:

/mnt/initfs (/dev/mtdblock4)    65% of 4M
/ (/dev/mtdblock4)    96% of 249.5M
/media/mmc2 (/dev/mmcblk0p1) 10% of 1.9G
/media/mmc1 (/dev/mmcblk1p1)    64% of 14.6G
/debian (/dev/dm-0)    84% of 1.2G
/debian/var/tmp (/dev/mtdblock4)    96% of 249.5M
/debian/home/user (/dev/mtdblock4)    2% of 6M

See anything that seems to be not right?

--vr

VulcanRidr 2009-06-25 14:17

Re: Installing libqt and keepasx
 
Quote:

Originally Posted by VulcanRidr (Post 299440)
I don't see anything that is full, though some are close:

Code:

/mnt/initfs (/dev/mtdblock4)    65% of 4M
/ (/dev/mtdblock4)    96% of 249.5M
/media/mmc2 (/dev/mmcblk0p1) 10% of 1.9G
/media/mmc1 (/dev/mmcblk1p1)    64% of 14.6G
/debian (/dev/dm-0)    84% of 1.2G
/debian/var/tmp (/dev/mtdblock4)    96% of 249.5M
/debian/home/user (/dev/mtdblock4)    2% of 6M

See anything that seems to be not right?

--vr

Well, Atilla77, you were correct. It was not qt4. I uninstalled all of it and keepassx, just to test, and still see the same behavior.

I guess a reflash is in my future, and I may as well start reading up on pbeasy while I'm at it. :)

Got a link to the best practices for deploying it?

--vr

attila77 2009-06-25 14:44

Re: Installing libqt and keepasx
 
http://talk.maemo.org/showthread.php...ghlight=pbeasy

I just followed this and it went quite smoothly...


All times are GMT. The time now is 09:59.

vBulletin® Version 3.8.8