LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
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 10-09-2012, 05:10 PM   #1
doughyi8u
Member
 
Registered: Apr 2010
Posts: 155

Rep: Reputation: 1
problems w/ slackpkg


I'm assuming slackpkg is used similarly to apt-get. For instance, you type
Code:
slackpkg install pkgname
It's not working for some common packages, however (i.e. hping). In fact, it won't work for ANY packages unless they're already installed and I type
Code:
slackpkg reinstall nmap
This will take me to a window that looks like the pkgtool command w/ the nmap package in a ncurses window.

Any advice?
 
Old 10-09-2012, 05:19 PM   #2
Didier Spaier
Senior Member
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slackware{,64}-{14.1,current} on a Lenovo Thinkpad T61 6457-4XG
Posts: 4,380

Rep: Reputation: 1088Reputation: 1088Reputation: 1088Reputation: 1088Reputation: 1088Reputation: 1088Reputation: 1088Reputation: 1088
slackpkg is intended only for packages included in Slackware. But hping is a third party package, so slackpkg can't install it. If you want to install it do:
Code:
installpkg /path/to/pkgname
 
Old 10-09-2012, 05:24 PM   #3
doughyi8u
Member
 
Registered: Apr 2010
Posts: 155

Original Poster
Rep: Reputation: 1
Why is there a mirrors file? I was beginning to think that's a file similar to sources.list like in Debian.

Last edited by doughyi8u; 10-09-2012 at 05:26 PM.
 
Old 10-09-2012, 05:33 PM   #4
Didier Spaier
Senior Member
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slackware{,64}-{14.1,current} on a Lenovo Thinkpad T61 6457-4XG
Posts: 4,380

Rep: Reputation: 1088Reputation: 1088Reputation: 1088Reputation: 1088Reputation: 1088Reputation: 1088Reputation: 1088Reputation: 1088
Because slackpkg has the capacity of updating from the chosen mirror the list of packages included in Slackware (following the Changelog) so that you can use functions like "slackpkg upgrade packagename" or "slackpkg upgrade-all". Then slackpkg will download the involved package(s) and upgrade it for you.

It can similarly download and install a package you would have not installed or removed with "slackpkg install packagename".

"man slackpkg" will tell you more.

EDIT IIRC slackpkg has abilities similar to apt-get's, but two important ones:
(a) It can only deal with the official Slackware repository or one of its mirrors.
(b) It doesn't deal with dependencies. This is not needed with Slackware as the dependencies are always met, provided you made a full installation.

Last edited by Didier Spaier; 10-10-2012 at 12:37 AM. Reason: EDIT added
 
Old 10-09-2012, 05:56 PM   #5
doughyi8u
Member
 
Registered: Apr 2010
Posts: 155

Original Poster
Rep: Reputation: 1
What exactly is a Changelog?
 
Old 10-09-2012, 06:03 PM   #6
SqdnGuns
Member
 
Registered: Aug 2005
Location: Fountain Valley, CA / Thailand
Distribution: Slackware64 14.0
Posts: 981

Rep: Reputation: 88
Quote:
Originally Posted by doughyi8u View Post
What exactly is a Changelog?
http://slackware.osuosl.org/slackwar.../ChangeLog.txt
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
[SOLVED] typos in latest /etc/slackpkg/mirrors(.new) [slackpkg-2.82.0-noarch-8.tgz] wailingwailer Slackware 4 09-22-2012 04:04 AM
strange problems with slackpkg (64bit 13.37) 0zMe Slackware 17 08-23-2012 08:29 AM
[SOLVED] slackpkg gpg problems Josh000 Slackware 20 03-08-2011 12:23 AM
problems after using slackpkg Twister512 Slackware 15 10-28-2007 10:41 PM
slackpkg problems dive Slackware 3 11-16-2005 04:08 PM


All times are GMT -5. The time now is 08:56 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration