TIP: Click on subject to list as thread! ANSI
echo: unix
to: Angus McLeod
from: Flazmot
date: 2008-01-17 06:09:00
subject: slack ups

Re: slack ups
  By: Angus McLeod to Flazmot on Thu Jan 17 2008 12:19 am

 >   Re: slack ups
 >   By: Flazmot to All on Wed Jan 16 2008 17:01:00
 > 
 >  > installpkg ftw
 > 
 > 	installpkg wtf?
 > 

Slackware's package management is the tightest and lightest going. It handles
.tgz files it unzips to root.

bt ~ # mkdir bin
bt ~ # touch bin/newprog
bt ~ # tar cvzf newprog.tgz ./bin
./bin/
./bin/newprog
bt ~ # installpkg newprog.tgz
Installing package newprog...
PACKAGE DESCRIPTION:

bt ~ # whereis newprog
newprog: /bin/newprog
bt ~ # removepkg newprog

Removing package /var/log/packages/newprog...
Removing files:
  --> Deleting /bin/newprog
bt ~ # whereis newprog
newprog:

Magic?!

However, you must include ./ in front of the directories being archived
(./bin not just bin) or the slackware package manager truncates the first two
bytes of each pathname after installing its contents, preventing automated
removal. This bug exists in Backtrack 2 from Slax from Slackware 11.0 and may
exist elsewhere. I've included this addendum so fellow slackwhores might
benefit from the lesson I learned assembling my example.

Weird! I learned something! :O

---
 þ Synchronet þ The DarkSide BBS *** telnet://darkside.dtdns.net
--- SBBSecho 2.12-Win32
* Origin: Joe's Computer & BBS -= joesbbs.synchro.net =- (1:275/412)
SEEN-BY: 10/1 3 14/250 34/999 90/1 120/228 123/500 140/1 222/2 226/0 236/150
SEEN-BY: 249/303 250/306 261/20 38 100 1404 1406 1418 266/1413 280/1027
SEEN-BY: 320/119 393/68 396/45 633/104 260 267 690/682 734 712/848 800/432
SEEN-BY: 801/161 189 2222/700 2320/100 105 200 2905/0
@PATH: 275/412 400 100 140/1 261/38 633/260 267

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.