Author Topic: ipkg woes  (Read 2176 times)

jdralphs

  • Full Member
  • ***
  • Posts: 170
    • View Profile
    • http://
ipkg woes
« 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?
SL-5500
Hentges 3.5.4.1
Kingmax 1gb SD
Lexar 1gb CF
Belkin IR Keyboard
Socket 56k Modem CF
Linksys 802.11b CF

Stubear

  • Hero Member
  • *****
  • Posts: 1164
    • View Profile
    • http://
ipkg woes
« Reply #1 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
SL-C1000, Hand converted to English with Japanese Input
Running X apps via X/Qt
iRiver USB host cable; Diatec P-Cord usb power cable (extendable); Acro's Reel Cable USB (A to A, B, Mini-B,  & Mini-B 8pin); GreenHouse 1Gb PicoDrive+; 2x256Mb Hagiwara SD cards; 128Mb Transcend CF card; 512Mb PQI CF card; AmbiCom WL1100C-CF 11B WLAN card

jdralphs

  • Full Member
  • ***
  • Posts: 170
    • View Profile
    • http://
ipkg woes
« Reply #2 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
SL-5500
Hentges 3.5.4.1
Kingmax 1gb SD
Lexar 1gb CF
Belkin IR Keyboard
Socket 56k Modem CF
Linksys 802.11b CF

cmisip

  • Sr. Member
  • ****
  • Posts: 256
    • View Profile
    • http://home.mchsi.com/~cmisip/index.htm
ipkg woes
« Reply #3 on: June 17, 2004, 10:37:19 pm »
are you uninstalling as root?  If so, do a \"export LOGNAME=root\"

See if that works.
Zaurus 5600
Zynergy Rootfs 1.1
Custom zImage

How Do You Do That in Linux

jdralphs

  • Full Member
  • ***
  • Posts: 170
    • View Profile
    • http://
ipkg woes
« Reply #4 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 !
SL-5500
Hentges 3.5.4.1
Kingmax 1gb SD
Lexar 1gb CF
Belkin IR Keyboard
Socket 56k Modem CF
Linksys 802.11b CF