Unix Technical Forum

checkinstall question

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 ...


Go Back   Unix Technical Forum > Unix Operating Systems > Slackware Linux Support

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-20-2008, 11:04 AM
Ralph Alvy
 
Posts: n/a
Default checkinstall question

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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-20-2008, 11:04 AM
Jay Scott Raymond
 
Posts: n/a
Default Re: checkinstall question

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
^_^;
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 02-20-2008, 11:04 AM
Ralph Alvy
 
Posts: n/a
Default Re: checkinstall question

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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 02-20-2008, 11:05 AM
Eef Hartman
 
Posts: n/a
Default Re: checkinstall question

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 **
************************************************** ******************
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 02-20-2008, 11:05 AM
Ralph Alvy
 
Posts: n/a
Default Re: checkinstall question

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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 06:00 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
www.UnixAdminTalk.com