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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
11-19-2012, 11:11 AM
|
#1
|
|
Member
Registered: Oct 2012
Location: /home/v
Distribution: Slackware 14.0
Posts: 80
Rep: 
|
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
...outputs
Last edited by curious95; 11-19-2012 at 11:24 AM.
|
|
|
|
11-19-2012, 11:38 AM
|
#2
|
|
Member
Registered: Jan 2004
Location: Manitoba, Canada
Distribution: Debian
Posts: 451
Rep:
|
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
|
|
|
|
11-19-2012, 11:58 AM
|
#3
|
|
Member
Registered: Oct 2012
Location: /home/v
Distribution: Slackware 14.0
Posts: 80
Original Poster
Rep: 
|
That's just it ALL the commands output the swaret version number even those that do require optional parameters and
Code:
swaret --update package_name
and still output
Last edited by curious95; 11-19-2012 at 12:03 PM.
|
|
|
|
11-19-2012, 12:20 PM
|
#4
|
|
Member
Registered: Jan 2004
Location: Manitoba, Canada
Distribution: Debian
Posts: 451
Rep:
|
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.
|
|
|
|
11-20-2012, 04:50 AM
|
#5
|
|
Member
Registered: Oct 2012
Location: /home/v
Distribution: Slackware 14.0
Posts: 80
Original Poster
Rep: 
|
Quote:
Originally Posted by RobertP
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.
|
|
|
|
11-20-2012, 04:59 AM
|
#6
|
|
Member
Registered: Oct 2012
Location: /home/v
Distribution: Slackware 14.0
Posts: 80
Original Poster
Rep: 
|
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. 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!
|
|
|
|
11-20-2012, 06:41 AM
|
#7
|
|
Member
Registered: Oct 2012
Location: /home/v
Distribution: Slackware 14.0
Posts: 80
Original Poster
Rep: 
|
installed bc and now swaret works 
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 04:50 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|