Slackware This Forum is for the discussion of Slackware Linux.
|
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
03-10-2006, 10:30 PM
|
#1
|
Member
Registered: Mar 2006
Location: Boise, ID
Distribution: SuSE
Posts: 88
Rep:
|
copying and uncompressing SwareT
In my root directory I have a cd directory, which is for my cd-rom drive. I have a cd-rw in the cd drive right now that contains the downloadable SwareT file in *.tgz format. I wish to uncompress it. So I guess I want to copy the file from my cd directory to my /home/ directory so I can uncompress it, I guess, because when I try to uncompress it while it is still on the cd-rw I get an error message. So I am trying to copy it to my home directory, and I still get an error message reading:
bash-2.05b# cp cd/swaret-1.6.3-noarch-2.tgz /home1/
cp: reading 'cd/swaret-1.6.3-noarch-2.tgz': Input/output error
#===========================================End of output
What am I to make of this? What am I doing wrong? What should I do? Thanks.
|
|
|
03-11-2006, 12:23 AM
|
#2
|
Senior Member
Registered: Oct 2005
Location: Lithuania
Distribution: Hybrid
Posts: 2,247
Rep:
|
You need / before cd:
cp /cd/swaret-blabla.tgz /home1/
Directory home1 must be created before.
Are you sure that your cdrom is mounted in cd and not in /mnt/cd?
|
|
|
03-11-2006, 11:34 AM
|
#3
|
Member
Registered: Apr 2004
Location: new york
Distribution: win2k,ubuntu,sw13,arch,centos5.3
Posts: 815
Rep:
|
Don't understand what is being uncompressed. The swaret dl pkg has .tgz.tar at end but developer says to just remove the .tar from end of name and use installpkg to install it from dl directory.1)You should then mkdir /var/swaret. 2)Then cd /etc and mv /swaret.conf.new /swaret.conf and 3)edit that file with VERSION=10.2 or current,DESC=1,DSEARCHM=1,PROGRESS=0,USEPKGDESC=1. Please don't forget the EXCLUDE=alsa and EXCLUDE=_aaa additions to conf file. There should be an EXCLUDE=kernel line already.These additions will make upgrades safer.
4)then su
slocate -u -e /mnt &
swaret --update
swaret --check(checks for latest vesion)
swaret --list -n | less
swaret --install checkinstall(as example from list generated)
man swaret or swaret --help can help you with using swaret to its best. Good luck.
|
|
|
03-11-2006, 05:22 PM
|
#4
|
Member
Registered: Mar 2006
Location: Boise, ID
Distribution: SuSE
Posts: 88
Original Poster
Rep:
|
I think I got past the slocate -u -e /mnt & command, but when I tried the swaret --update command I got an error reading:
-bash: swaret: command not found
[1]+ Done slocate -u -e /mnt
#================================================End of Error
I tried to cd to the root directory and run swaret --update again but I got another error reading:
-bash: swaret: command not found
#================================================End of error
What am I doing wrong?
|
|
|
03-11-2006, 06:51 PM
|
#5
|
Member
Registered: Apr 2004
Location: new york
Distribution: win2k,ubuntu,sw13,arch,centos5.3
Posts: 815
Rep:
|
swaret
Assuming you have swaret installed then after slocate step when database gets updated(this can take a few minutes) then as root from terminal swaret --update should do it's thing. Won't work as user. Recheck etc/swaret.conf to be sure. Good luck.
|
|
|
All times are GMT -5. The time now is 12:45 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
|
|