LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 02-24-2006, 01:58 PM   #1
shotokan
Member
 
Registered: Mar 2005
Distribution: slackware, LFS
Posts: 204

Rep: Reputation: 30
Symlinks in packages questions


Why do symlinks have to be made by the install script?

Why is it said that "Correct Slackware packages do not have symlinks in the tarball"?
 
Old 02-24-2006, 05:59 PM   #2
ledow
Member
 
Registered: Apr 2005
Location: UK
Distribution: Slackware 13.0
Posts: 241

Rep: Reputation: 34
I reckon that this is so that the package can take account of, for example, the symlink already existing and pointing somewhere else.

If you are someone who upgrades, removes, installs packages regularly you are quite likely to run into problem with symlinks not pointing to the right places unless the packages are correctly built, i.e. with symlink creation within a post-install script.

Just because I revert from kernel-source-2.6.16 to kernel-source-2.6.15 shouldn't mean that my /usr/src/linux symlink breaks and no longer points to ANY valid kernel source directory, for instance. Post-install scripts can take account of this, archives cannot, especially if uninstalling, downgrading or upgrading the package just removes any filename it sees listed in the archive.
 
Old 02-25-2006, 01:18 AM   #3
shotokan
Member
 
Registered: Mar 2005
Distribution: slackware, LFS
Posts: 204

Original Poster
Rep: Reputation: 30
Thanks,
Ironically there supposedly is a problem in tar versions above 1.13 were it overwrites the symlinks when it's supposed to use them. Which is why pkgtools still uses it instead of newer versions (unless you uninstall it).
 
  


Reply



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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
A few newbie questions about general packages trxdraxon Linux - Newbie 2 01-12-2006 10:27 PM
PC BSD Packages and Questions webwolf70 *BSD 5 05-04-2005 06:48 PM
questions about packages salviadud Slackware 5 02-11-2005 01:07 PM
A couple of newbie questions regarding packages sharpie Slackware 7 04-12-2004 06:55 AM
newbie questions on symlinks ergo_sum Linux - Newbie 1 08-03-2003 06:07 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 01:26 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration