OESF Portables Forum

Everything Else => General Support and Discussion => Zaurus General Forums => Archived Forums => Software => Topic started by: jason123 on June 17, 2004, 04:56:07 am

Title: ipkg woes
Post by: jason123 on June 17, 2004, 04:56:07 am
HELP!

I\'m trying to install a newer version of Qtopia-Cardmon onto my Sharp ROM and it tells me i need to uninstall the old one.  so i try to do that from the konsole and it says \"Qt/Embedded data directory is not owned by user 0.\"  I can\'t install the new one \'til i get rid of that, any ideas?
Title: ipkg woes
Post by: Stubear on June 17, 2004, 05:29:35 am
Looks like the pre-removal or post-removal scripts are trying to run some qtopia app - probably qcop to reset the taskbar or applets or even the Z.

To get around this try using the GUI app to remove the package - if that don\'t work then you could have a look at the scripts (in /home/root/usr/lib/ipkg/info/ folder on the C760) to see what is being run when the package is being removed - should be named <package>.prerm or <package>.postrm

You could try editing the scripts to get rid of the qtopia app that is being run.

THe other option is to remove all the files in info related to the package, and remove the package entry in /home/root/usr/lib/ipkg/status - then the ipkg prog will think the app is uninstalled.

Stu
Title: ipkg woes
Post by: jason123 on June 17, 2004, 09:58:13 pm
hmm  Ok thank you well I got both of those things done -- I removed all of the files pertaining to it in the /usr/qtpalmtop/plugins/applets dir and removed its entry in the ipkg status file (thanks for showing me that one btw!)  However it tells me the same thing as before \'not owned by user 0\' when i try from the command line.  Maybe a bad ipk?  I\'ll redownload it later and hope thats what it is.  It doesn\'t work from the gui either
Title: ipkg woes
Post by: cmisip on June 17, 2004, 10:37:19 pm
are you uninstalling as root?  If so, do a \"export LOGNAME=root\"

See if that works.
Title: ipkg woes
Post by: jason123 on June 18, 2004, 12:36:02 am
ha, too late to uninstall I already did, manually   Grrrr and the ipk file I\'m using is just fine.  The interesting thing about all of this is that I deleted as root all of the files in /usr/QtPalmtop/plugins/applets after shutting down the applet -- and it magically reappears upon startup.  I\'ve done everything as root, I just don\'t understand ... all I can think of is maybe it would work if I mounted the rom dir as rw but I don\'t know how to unmount it first so..............

cmisip,  I tried that -- it tells me socket not open repeatedly and then tells me to add -qws to the command line which was odd as I was just doing it from a terminal inside qtopia !