This is a discussion on checkinstall question within the Slackware Linux Support forums, part of the Unix Operating Systems category; --> I notice that if I use checkinstall under Slackware 10.1 or 10.2, I find the following: Say I'm trying ...
| |||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| I notice that if I use checkinstall under Slackware 10.1 or 10.2, I find the following: Say I'm trying to install jpilot-0.99.8-pre11. Checkinstall asks me to approve Name: jpilot-0.99.8-pre11 Version: pre11 I change that to Name: jpilot Version: 0.99.8-pre11 After that, I can only remove jpilot with removepkg jpilot-0.99.8-pre11 instead of just removepkg jpilot However, when using checkinstall under Debian, following all those steps allows me to remove jpilot without supplying the entire version number. I seem to remember checkinstall working in previous versions under Slackware the way it currently works under Debian. I'm using the version of checkinstall found on official Slackware mirrors. |
| |||
| On Sun, 25 Sep 2005 18:36:29 +0000, Ralph Alvy wrote: > I notice that if I use checkinstall under Slackware 10.1 or 10.2, I find the > following: > > Say I'm trying to install jpilot-0.99.8-pre11. Checkinstall asks me to > approve > > Name: jpilot-0.99.8-pre11 > Version: pre11 > > I change that to > > Name: jpilot > Version: 0.99.8-pre11 > > After that, I can only remove jpilot with > > removepkg jpilot-0.99.8-pre11 > > instead of just > > removepkg jpilot The problem is the dash between "0.99.8" and "pre11". The Slackware packaging tools don't like version numbers with dashes in them. For the package I made for linuxpackages.net I made it jpilot-0.99.8pre11 and everything is hunky-dory. -- Use Linux - The One True Operating System -------------- Jay The Obscure Right Thane Of Pundom Lord Of Stretched Humor In His Idea Of Funny We Fear ^_^; |
| |||
| Jay Scott Raymond wrote: > On Sun, 25 Sep 2005 18:36:29 +0000, Ralph Alvy wrote: > >> I notice that if I use checkinstall under Slackware 10.1 or 10.2, I find >> the following: >> >> Say I'm trying to install jpilot-0.99.8-pre11. Checkinstall asks me to >> approve >> >> Name: jpilot-0.99.8-pre11 >> Version: pre11 >> >> I change that to >> >> Name: jpilot >> Version: 0.99.8-pre11 >> >> After that, I can only remove jpilot with >> >> removepkg jpilot-0.99.8-pre11 >> >> instead of just >> >> removepkg jpilot > > The problem is the dash between "0.99.8" and "pre11". The Slackware > packaging tools don't like version numbers with dashes in them. For the > package I made for linuxpackages.net I made it jpilot-0.99.8pre11 and > everything is hunky-dory. > Aha. I didn't know about the dash problem. And I didn't know you maintain jpilot packages over at LinuxPackages. I might just watch for your packages instead of compiling my own. Thanks. |
| |||
| Ralph Alvy <ralvy@warpmail.net> wrote: > Aha. I didn't know about the dash problem. And I didn't know you maintain > jpilot packages over at LinuxPackages. I might just watch for your packages > instead of compiling my own. Thanks. The Slackware package NAMING scheme is currently: package_name - version - architecture - compilation_number, in which the dashes inBETWEEN those fields are checked from back to front, which means NONE of the last three fields can have dashes in them. For instance the name: jpilot-0.99.8-pre11-i486-1.tgz (I'm assuming the last two parts, you didn't give them!) would make the package NAME "jpilot-0.99.8", the version "pre11", etc. With a _ instead of a - in there (or no separator at all), the version string becomes "0.99.8_pre11" (and the name - of course - jpilot). If there are LESS then three dashes in the whole name, the whole filename becoms the package name (old, pre 8.1, naming convention). That the NAME may contain dashes makes it possible to have packages like kernel-ide and kernel-modules or likewise. -- ************************************************** ****************** ** Eef Hartman, Delft University of Technology, dept. EWI/TW ** ** e-mail: E.J.M.Hartman@math.tudelft.nl, fax: +31-15-278 7295 ** ** snail-mail: P.O. Box 5031, 2600 GA Delft, The Netherlands ** ************************************************** ****************** |
| ||||
| Eef Hartman wrote: > The Slackware package NAMING scheme is currently: > package_name - version - architecture - compilation_number, > in which the dashes inBETWEEN those fields are checked from back to front, > which means NONE of the last three fields can have dashes in them. Very clear. Thanks. |