LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
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-20-2007, 08:04 AM   #1
guruwammabe
LQ Newbie
 
Registered: Mar 2007
Location: Osaka
Distribution: Slackware 11.0, Kubuntu Edgy
Posts: 15

Rep: Reputation: 0
Red face how do I uncomment a mirror in slackpkg?


I realise that this is a rather silly question but I have been unable to find an answer, there was a post back in 2005 but that referred to the kernal. I was wondering, do I use emacs to do this? If someone could just point my in the right direction I would be most appreciative.

Plus, when I was installing slackpkg...tgz, all the information I read about it said do the ./configure make make install, when I tried to use installpkg it worked. Any ideas why?

Thanks in advance for your help with my idiotic question
 
Old 03-20-2007, 08:31 AM   #2
erklaerbaer
Member
 
Registered: Mar 2006
Posts: 381

Rep: Reputation: 30
edit /etc/slackpkg/mirrors
"#" means "this line is a comment"
Quote:
Plus, when I was installing slackpkg...tgz, all the information I read about it said do the ./configure make make install, when I tried to use installpkg it worked. Any ideas why?
i think you are confusing something. slackpkg does not need to be compiled. installpkg slackpkg-...

Last edited by erklaerbaer; 03-20-2007 at 08:34 AM.
 
Old 03-20-2007, 09:20 AM   #3
guruwammabe
LQ Newbie
 
Registered: Mar 2007
Location: Osaka
Distribution: Slackware 11.0, Kubuntu Edgy
Posts: 15

Original Poster
Rep: Reputation: 0
okay I was able to edit the file using vi but for some reason the commands to let me exit and save :x(correct?) don't seem to be working. I feel like a complete noob, which I am, but it doesn't make me feel any better.

Thanks for you quick reply to my question
 
Old 03-20-2007, 09:30 AM   #4
erklaerbaer
Member
 
Registered: Mar 2006
Posts: 381

Rep: Reputation: 30
it's :q to quit and :wq to write and quit. if you are interested in vi and have about 30 minutes you may want to run vimtutor.
 
Old 03-20-2007, 10:58 AM   #5
mattydee
Member
 
Registered: Dec 2006
Location: Vancouver, BC
Distribution: Debian
Posts: 462

Rep: Reputation: 39
Personally, I like mcedit much better... From my newbish perspective: I don't see why I need to jump through hoops and go through 30 mins of tutorial just to edit a text file.
 
Old 03-20-2007, 12:05 PM   #6
pdw_hu
Member
 
Registered: Nov 2005
Location: Budapest, Hungary
Distribution: Slackware, Gentoo
Posts: 346

Rep: Reputation: Disabled
You don't. Vi(m)'s "superiority" is something you can't explain. If you force yourself to learn and use it for a few weeks you will see what the vim ppl are talking about
 
Old 03-21-2007, 04:33 AM   #7
guruwammabe
LQ Newbie
 
Registered: Mar 2007
Location: Osaka
Distribution: Slackware 11.0, Kubuntu Edgy
Posts: 15

Original Poster
Rep: Reputation: 0
Thank you both for your help. I will admit that mcedit was much easier; and I really don't wanna get into a debate about editors...

 
Old 03-21-2007, 06:45 AM   #8
guruwammabe
LQ Newbie
 
Registered: Mar 2007
Location: Osaka
Distribution: Slackware 11.0, Kubuntu Edgy
Posts: 15

Original Poster
Rep: Reputation: 0
I was able to uncomment a mirror and update; all without trashing my installation.
Thank you for your help
 
Old 03-22-2007, 02:55 PM   #9
nutronix
Member
 
Registered: Jan 2003
Location: montreal
Distribution: Slackware and XUbuntu
Posts: 110
Blog Entries: 1

Rep: Reputation: 17
no danger of scrapping your installation ; whenever you are working on a sistem file just save a copy of the file first.

In this instance , as root = cp -v /etc/slackpkg/slackpkg.conf /home/neutron/Desktop

If you screw up editing your file = cp -v /home/neutron/Desktop/slackpkg.conf /etc/slackpkg/slackpkg.conf
......and vi is easy as pie to use....just practice a little bit as user....i do double ZZ to write and quit ;-)

Last edited by nutronix; 03-22-2007 at 02:56 PM.
 
  


Reply


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
Slackpkg: missing something in /usr/libexec/slackpkg/functions.d/dialog-functions.sh michelino Slackware 4 03-20-2007 12:22 PM
LXer: How To Create A Local Debian/Ubuntu Mirror With apt-mirror LXer Syndicated Linux News 0 01-04-2007 05:33 PM
Vi view uncomment lines only dhammika Linux - General 8 10-01-2005 02:05 AM
uncomment salviadud Linux - Newbie 1 02-08-2005 09:04 AM
uncomment? *huh?* teona Linux - Newbie 9 12-25-2003 10:58 PM


All times are GMT -5. The time now is 03:31 AM.

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