[BUG] Current pkgtools installpkg bug
The latest current update of pkgtools introduces a bug in installpkg script:
The installer will "hang" on packages that do not contain slack-desc. This is very unfortunate for people who want to just make a quick self made package and use it. The solution: Lines 388 to about 400 in the script contains: Code:
if [ "$DESCRIPTION" = "" ]; then Code:
# If we still don't have a package description, look inside the package. |
Or you could just touch slack-desc and create a 0 byte file to fulfill the requirement.
|
We've run across this one and a few others internally; new packages will arrive sooner or later. Thanks for testing - this is how we (hopefully) make sure that all these nits are gone before a release.
|
If the package doesn't contain a slack-desc or the slack-desc isn't formatted properly, it's not a valid package. Don't expect installpkg to not glitch up. An improperly formatted slack-desc may cause removepkg to not properly remove the package and leave files who-knows-where.
|
Since when did you need to have a slack-desc to make a package? I understand that its useful if you are distributing to others, but for personal use, pkgtools has always worked regardless of whether a slack-desc is there or not, and there is nothing invalid about it.
|
Quote:
|
Wed Apr 15 22:17:31 CDT 2009
a/pkgtools-12.34567890-noarch-2.tgz: Fixed bugs with package extension stripping and package description handling that could cause error messages or hangs during package installs or upgrades. Thanks to Piter Punk, Alan Hicks, Eric Hameleers, and Robby Workman. Handle "package not found" with upgradepkg gracefully. Thanks to Shark. |
My thanks and congratulations to Pat Volkerding and the Slackware crew!
/me pats self on back once again for choosing a distro where a minor bug reported in a key tool has a patch distributed in 24 hours. |
All times are GMT -5. The time now is 05:02 AM. |