OESF Portables Forum

Everything Else => Zaurus Distro Support and Discussion => Distros, Development, and Model Specific Forums => Archived Forums => Angstrom & OpenZaurus => Topic started by: dansawyer on June 29, 2004, 02:14:11 am

Title: clean up a bad package install ??
Post by: dansawyer 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
Title: clean up a bad package install ??
Post by: talmage 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 -
Title: clean up a bad package install ??
Post by: kcurrie 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 :-)
Title: clean up a bad package install ??
Post by: zenyatta 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.
Title: clean up a bad package install ??
Post by: Stubear 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