SBnews - SlackBuilder News - news

Last updated:

Grub bug squashed


A bug in the grub installation script for the installer has been hanging around for a few months undetected but has now been squashed. In my attempt to get grub to acknowlegde a usb keyboard I was installing all sorts of modules like usb, keyboard and a bunch of others hoping to get my keyboard working but to no avail. This was causing grub to hang and not load its menu.

It went unnoticed because most of the time I use qemu to boot installations for testing purposes and grub was loading fine in the VM. It only showed up when installing to a real hard drive or usb stick. Anyway its fixed now...not the usb keybord problem...but the menu hang. Appologies for the inconvience.



( End of Article )


Last updated:

Name Change for pkginfo


Due to a package name conflict with pkginfo at slackbuilds.org the name for SlackBuilder's pkginfo package and command have been changed to pkg-tools for the package ( which is more fitting anyway ) and pkg-info for the command.

How to upgrade

The pkg-manager needs to be first. To upgrade just do..

pkginfo -u
getpkg pkginfo

It will install pkg-tools, move /etc/pkginfo/pkginfo.rc to /etc/pkg-tools/RC then remove itself.

The cache location has changed from /var/pkginfo to /var/pkgcache so you need to update again...

pkg-info u

Or alternatively there is now a shorthand command...

pkg-u

All other SlackBuilder packages have been changed that reference pkginfo so they must be upgraded as well. If You want to upgrade everything at once you can run pkg-upgrade and just type y and enter. But if you haven't upgraded in a while and the new kernel shows up you may want to just use pkg-get

If you use pkg-get to grab slkn-usbboot. The rest of its dependencies will follow, then get slackpacks separately

pkg-get slkn-usbboot
pkg-get slackpacks

or the lazy way...

pkg-getd slkn-setup slackpacks

There are six packages in all...

slkn-usbboot
slackerson-profile
slackerson-utils
pkg-tools
slkn-setup
slackpacks

Other changes

There have been several changes along with the name. Take a look in /etc/pkg-tools to see whats new. The most glaring is the name of the .rc and .cfg files. They were pkginfo.rc pkginfo.rc.tpl and pkginfo.cfg. They are now RC RC-tpl and CFG respectively. Also there is an effort to provide shortcuts to many of the pkg-info options...ie:

pkg-info -u -> pkg-u
pkg-info -m -> pkg-m
etc....

Many but not all have been added. Originally the pkg-x commands were intended to be direct access shortcuts to functions in the CFG file. So things like pkg-s called a function named s which is a search function for metadata. But I later made the call switch for pkg-info to -m for metadata and -s for source. But the functions stayed the same. So pkg-s returns metadata and pkg-psrc returns a package's source information. Also pkg-R returns different information than pkg-info -R.

A few of the old shorthands are used through out the SlackBuilder tools. Suffice to say there is some cleaning up to do to make everything conststant. This will be done as time permits

The Docs

The tutorial has been updated to reflect the change.



( End of Article )


Last updated:

Tutorial Updated


The Tutorial has been updated with a section about the package-manager



( End of Article )


2017-05-11 grub_bug_squashed
2017-05-02 pkginfo_to_pkg-tools
2017-03-05 tutorial_updated
2016-11-12 source_changes

Comment in the Forum.