LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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 05-19-2005, 11:50 PM   #16
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682

ed is a line editor. You might want to use "vim" instead. It is based on ed but you will be able to see an entire page at a time. Some people prefer "emacs" or other editors, but I don't know what you would have installed. Vim should be installed because, in order to make changes to /etc/sudoers, you need to use "visudo".

Vim is a stateful editor. To get into the edit mode you need to press "i" for insert, "a" for append, or "R" for replace. Pressing "ESC" will return you to the command mode where you can enter ":wq" to save your changes. Remember that you need to su to root before editiing files in /etc.
 
Old 05-20-2005, 12:08 AM   #17
xof7
LQ Newbie
 
Registered: May 2005
Distribution: TSL
Posts: 13

Original Poster
Rep: Reputation: 0
Thnx.
I edited the file like he said before and now i get this huge ass error statement when i try and search for the package

Last edited by xof7; 05-20-2005 at 01:04 AM.
 
Old 05-20-2005, 06:22 AM   #18
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,680

Rep: Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894
I use the vi text editor.

vi /etc/swup/swup.conf

Use the arrow keys to move the cursor down to section on the contrib repository and press the delete key to remove the # character for that section. Do not delete the # in the comment section

To save the file enter the characters:
:wq
 
Old 05-20-2005, 09:55 AM   #19
xof7
LQ Newbie
 
Registered: May 2005
Distribution: TSL
Posts: 13

Original Poster
Rep: Reputation: 0
I've edited the file already, but it gives me an error about a page long. I went in and deleted some of the items right at the begining of the contrib part of the conf file(the code where it changes directories etc)
 
Old 05-20-2005, 03:25 PM   #20
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,680

Rep: Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894
It fails for me also. I've never had the need to try this before.
 
Old 05-23-2005, 05:05 PM   #21
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,680

Rep: Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894
Code:
# Official contrib area.
# If you like to use the contrib packages uncomment the section below.
#
# Remember to import the correct gpg key:
#  $ cd /usr/share/tsl-gpgkeys-horizon/
#  $ swup --import-key trustix-horizon-contrib.pub.gpg
#  $ cd -

 site { # TSL 2.1 contrib
 class = 10
  location = "http://tsldev.trustix.org/horizon/contrib/rdfs/latest.rdf"
  regexp = ".*"
}
It seems that I am a little slow to catch on... This is what the section of the config file should look like. The statements that begin with a $ are there to remind you to import the key.
 
Old 05-23-2005, 05:08 PM   #22
xof7
LQ Newbie
 
Registered: May 2005
Distribution: TSL
Posts: 13

Original Poster
Rep: Reputation: 0
lol... I actually made that same modification, but for some reason it still cant find any of the files and now i get an gpg or pgp error saying that it couldnt match the keys of the rda file and it stops right there.....
 
Old 05-23-2005, 05:46 PM   #23
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,680

Rep: Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894
I'm not sure on what else to suggest except maybe post your problem on the Trustix forum.
 
Old 05-23-2005, 07:10 PM   #24
xof7
LQ Newbie
 
Registered: May 2005
Distribution: TSL
Posts: 13

Original Poster
Rep: Reputation: 0
I might just switch to a different distro and come back to tsl when i have learned more about linux.
 
  


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
Trustix (TSL) crash test danglingpointer Linux - Distributions 2 07-05-2005 09:35 AM
aMsn TSL ArchNGEL Linux - Software 8 06-30-2005 02:48 PM
page won't load (apache2+php on TSL 2.1) restless Linux - Software 1 08-13-2004 09:54 PM
TSL and SSL demmylls Linux - General 4 05-11-2004 09:11 PM
tawie (tsl, or trustix) help w/ftp,http davedoobie Linux - Newbie 1 11-19-2003 02:13 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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