Web Hosting Talk







View Full Version : unpack a pkg file


mannyd
04-16-2001, 12:35 PM
Anyone know how to unpack a .pkg file for cobalt? i got a raq4, tried the mysql install. It messed up, won't let me do it again due to some of the packages being installed, butr not all. Someone mentioned on this board to rpm -e each indiidual package and then redo it.

would this be the proper way?

Gilby
04-16-2001, 10:11 PM
The pkg installs these rpms:

MySQL-3.22.32-1
MySQL-shared-3.22.32-1
perl-Msql-Mysql-modules-1.2214-1
MySQL-client-3.22.32-1
perl-DBI-1.14-1

Though, you should look at log file created during installing pkg files as it will show you what might have gone wrong during the installation. it's located at /var/cobalt/adm.log

mannyd
04-17-2001, 01:25 AM
so all I would need to do is just rpm -e each of those?


like one line

rpm -e MySQL-3.22.32-1

would i have to do this from a certain directoty?

Gilby
04-17-2001, 09:18 AM
Yeah, but it sounds like not all of them are installed, you'll need to do that as root (type su and then it'll prompt you for the password).

WTFHosting
04-18-2001, 11:14 PM
Just rename the file from .pkg to .tar.gz and umcompress it with your decompression program of choice..