LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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 03-10-2006, 10:30 PM   #1
johnvillegas
Member
 
Registered: Mar 2006
Location: Boise, ID
Distribution: SuSE
Posts: 88

Rep: Reputation: 15
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.
 
Old 03-11-2006, 12:23 AM   #2
Alien_Hominid
Senior Member
 
Registered: Oct 2005
Location: Lithuania
Distribution: Hybrid
Posts: 2,247

Rep: Reputation: 53
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?
 
Old 03-11-2006, 11:34 AM   #3
lestoil
Member
 
Registered: Apr 2004
Location: new york
Distribution: win2k,ubuntu,sw13,arch,centos5.3
Posts: 815

Rep: Reputation: 31
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.
 
Old 03-11-2006, 05:22 PM   #4
johnvillegas
Member
 
Registered: Mar 2006
Location: Boise, ID
Distribution: SuSE
Posts: 88

Original Poster
Rep: Reputation: 15
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?
 
Old 03-11-2006, 06:51 PM   #5
lestoil
Member
 
Registered: Apr 2004
Location: new york
Distribution: win2k,ubuntu,sw13,arch,centos5.3
Posts: 815

Rep: Reputation: 31
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.
 
  


Reply



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
'Uncompressing linux ' message Wolf Larsen Linux - Newbie 2 07-25-2005 02:56 AM
Uncompressing AVIs in linux akudewan Linux - Software 16 01-24-2005 03:53 AM
Deleting Swaret files in /var/swaret?? Garibaldi3489 Slackware 2 12-30-2004 04:10 PM
Uncompressing LeeRobson Linux - Software 3 10-11-2003 07:49 PM
uncompressing document .Z GtkUser Linux - General 12 10-31-2002 12:40 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 09:59 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration