[BL] can't installpkg
keesan at sdf.lonestar.org
Mon Jan 2 12:51:12 EST 2006
Installpkg in BL2 is not working on one of two computers, nor is pkg
working. Pkg in BL3 works on this computer.
They don't copy the files in the package but do list the package
in /var/log/packages. I can't understand the script enough to follow
where it might be going wrong. I don't need installpkg but this is a
symptom of having messed up something else.
BL2 installpkg works on my other computer.
I tried the full 'cp' and 'gzip', and the busybox from BL2 instead of BL3
- no help.
I discovered in the process that BL2 (SW71) pkg can be used in many ways,
and we don't even need installpkg (which can replace makepkg by the way).
Note that pkg can install RPM and DEB packages!!!!!
pkg -i package.tgz - install slackware package
pkg -l - list packages in /var/log/packages
pkg -r package_name - remove package (don't need removepkg)
pkg -c package.rpm - Convert rpm, deb or slp package to slack tgz
(don't need cpio, rpmtotargz)
pkg -n package_name - create record of 'make install' package.
Installpkg has options -r and -m for 'recursive from current location' and
'make package' but nothing about rpm.
BL2 pkg is 17K, BL3 pkg is Steven's 819 byte script.
On Sun, 1 Jan 2006, sindi keesan wrote:
> Bison won't install, no error message. /var/log/packages lists the
> introductory paragraph, then FILE LIST:
It appears to install except that there is not the usual list of files
being copied and the script is not run.
> I unpacked the package with tar and copied 'bison' to /usr/bin and
> bison.simple to /usr/share/bison.simple. 'Make depend' now wants flex,
> which won't installpkg either.
Two linuxpackage.net SW81 packages did installpkg here, just before I had
this problem. I don't want to install them on the other computer just in
case they somehow caused the problem since I don't know how to fix it.
> What might I have broken and if I did, why do the non-SW71 packages
> install but the two SW71 package do not?
> I can always uncompress on / and run doinstall.sh, but something needs to
> be fixed here.
> keesan at sdf.lonestar.org
> SDF Public Access UNIX System - http://sdf.lonestar.org
More information about the BasLinux