Author Topic: clean up a bad package install ??  (Read 2192 times)

dansawyer

  • Sr. Member
  • ****
  • Posts: 293
    • View Profile
    • http://
clean up a bad package install ??
« on: June 29, 2004, 02:14:11 am »
Hello,

I tried to install opera and the install failed due to lack of space. The package manager doesn't show the package; however the remnants of the failed install are loaded.

How can I clean this up ??

thanks,
dan

talmage

  • Newbie
  • *
  • Posts: 26
    • View Profile
    • http://talmage.pycs.net/
clean up a bad package install ??
« Reply #1 on: June 29, 2004, 01:34:32 pm »
You can look at the ipk's table of contents and manually rm those files.  ipks are just tar files, so to find the table of contents for (e.g.) foo.ipk, you
Code: [Select]
    tar tvf foo.ipkSome ipks have just three files inside, one of which is the tar file you want.  Suppose it's bar.tar.gz.   Then to see what's inside you can try something like
Code: [Select]
    tar xOf foo.ipk bar.tar.gz | tar tzvf -

kcurrie

  • Newbie
  • *
  • Posts: 14
    • View Profile
clean up a bad package install ??
« Reply #2 on: July 03, 2004, 04:34:31 am »
If you were brave enough, you could even just go ahead and delete all of the files listed in the data.tar.gz file like this:

cd /
tar ztvf data.tar.gz |xargs rm

I'd check the package contents before doing that though :-)

zenyatta

  • Sr. Member
  • ****
  • Posts: 366
    • View Profile
    • http://
clean up a bad package install ??
« Reply #3 on: July 03, 2004, 03:46:29 pm »
Of course, things are a bit different if you install to a CF or SD card - then you have to add a prefix to each file so the automated way probably won't work.

z.
SL-5500, 256MB Kingston CF card, 128MB EDGE SD card, Thomson HED-155 headphones
OpenZaurus 3.5.3 / Opie (kernel 64-0)

Stubear

  • Hero Member
  • *****
  • Posts: 1164
    • View Profile
    • http://
clean up a bad package install ??
« Reply #4 on: July 04, 2004, 09:14:11 am »
Have a look in /home/root/usr/lib/ipkg/info/ it contains files containing a list of everyfile installed by ipkg including the links to /opt/QtPalmtop when you install to SD or CF ( of course it lists the files on SD and CF too)

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