LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 11-19-2012, 11:11 AM   #1
curious95
Member
 
Registered: Oct 2012
Location: /home/v
Distribution: Slackware 14.0
Posts: 83

Rep: Reputation: Disabled
Post Swaret only prints version number


hi, i installed swaret on my slackware machine but every time i launch it all it does is print the version. No matter what commands i use. Uninstalling and reinstalling swaret did not work either. Please help me find the problem. Downloading and installing swaret-tools didn't not fix this either. The command
Code:
swaret --update
...outputs
Code:
swaret 1.6.3-2

Last edited by curious95; 11-19-2012 at 11:24 AM.
 
Old 11-19-2012, 11:38 AM   #2
RobertP
Member
 
Registered: Jan 2004
Location: Manitoba, Canada
Distribution: Debian
Posts: 451

Rep: Reputation: 32
The swaret command needs some parameters to do much else:
SYNOPSIS
swaret --ACTION [KEYWORD] [OPTION]


Type man swaret for details such as,
ACTIONS - OPTIONS
--update
Retrieve the latest List Files

--upgrade
NO_OPTION : Upgrade all installed Packages manually
-a : Upgrade all installed Packages automatically

 
Old 11-19-2012, 11:58 AM   #3
curious95
Member
 
Registered: Oct 2012
Location: /home/v
Distribution: Slackware 14.0
Posts: 83

Original Poster
Rep: Reputation: Disabled
Post

That's just it ALL the commands output the swaret version number even those that do require optional parameters
Code:
swaret --update -a
and
Code:
swaret --update package_name
and
Code:
 swaret --update
still output
Code:
swaret 1.6.3-2

Last edited by curious95; 11-19-2012 at 12:03 PM.
 
Old 11-19-2012, 12:20 PM   #4
RobertP
Member
 
Registered: Jan 2004
Location: Manitoba, Canada
Distribution: Debian
Posts: 451

Rep: Reputation: 32
If swaret is actually doing nothing it must be broken or misconfigured.

Try cat /etc/swaret.conf, swaret --set or swaret --config to see what might need changing.

Looking at swaret.conf, offhand, you could be pointed to a non-existent repository, an unusable NIC or the wrong proxy server, but I would still expect some error-messages to give a clue.
 
Old 11-20-2012, 04:50 AM   #5
curious95
Member
 
Registered: Oct 2012
Location: /home/v
Distribution: Slackware 14.0
Posts: 83

Original Poster
Rep: Reputation: Disabled
Post

Quote:
Originally Posted by RobertP View Post
If swaret is actually doing nothing it must be broken or misconfigured.

Try cat /etc/swaret.conf, swaret --set or swaret --config to see what might need changing.

Looking at swaret.conf, offhand, you could be pointed to a non-existent repository, an unusable NIC or the wrong proxy server, but I would still expect some error-messages to give a clue.
Will do so and report back.
 
Old 11-20-2012, 04:59 AM   #6
curious95
Member
 
Registered: Oct 2012
Location: /home/v
Distribution: Slackware 14.0
Posts: 83

Original Poster
Rep: Reputation: Disabled
yup that's the problem lack of a swaret.conf file. After creating it Now swaret tells me that i lack a package called bc.
Code:
 swaret
outputs
Code:
 swaret 1.6.3-2 
You need 'bc' in order to use swaret!
'bc' can be found in the Slackware Packages Directory: slackware/ap!
 
Old 11-20-2012, 06:41 AM   #7
curious95
Member
 
Registered: Oct 2012
Location: /home/v
Distribution: Slackware 14.0
Posts: 83

Original Poster
Rep: Reputation: Disabled
installed bc and now swaret works
 
  


Reply

Tags
slackware 14, swaret


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] [asm question] How come this prints the version strings the way it does. errigour Programming 5 10-01-2012 01:46 PM
Segmentation Fault when executing Program that prints out a number input didier2309 Programming 1 02-23-2006 04:55 PM
Using Swaret to upgrade automatically, and different version No's vdemuth Slackware 1 10-17-2004 12:27 PM
Swaret doesnt recognize my slack version sigma957 Slackware 8 09-20-2004 08:28 PM
Does Swaret change Slackware version? Xylon Slackware 11 10-06-2003 08:20 PM


All times are GMT -5. The time now is 05:20 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