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.
 |
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. |
|
 |
03-20-2007, 08:04 AM
|
#1
|
|
LQ Newbie
Registered: Mar 2007
Location: Osaka
Distribution: Slackware 11.0, Kubuntu Edgy
Posts: 15
Rep:
|
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
|
|
|
|
03-20-2007, 08:31 AM
|
#2
|
|
Member
Registered: Mar 2006
Posts: 381
Rep:
|
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.
|
|
|
|
03-20-2007, 09:20 AM
|
#3
|
|
LQ Newbie
Registered: Mar 2007
Location: Osaka
Distribution: Slackware 11.0, Kubuntu Edgy
Posts: 15
Original Poster
Rep:
|
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

|
|
|
|
03-20-2007, 09:30 AM
|
#4
|
|
Member
Registered: Mar 2006
Posts: 381
Rep:
|
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.
|
|
|
|
03-20-2007, 10:58 AM
|
#5
|
|
Member
Registered: Dec 2006
Location: Vancouver, BC
Distribution: Slackware sans KDE4 (Gnome Slackbuild)
Posts: 460
Rep:
|
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. 
|
|
|
|
03-20-2007, 12:05 PM
|
#6
|
|
Member
Registered: Nov 2005
Location: Budapest, Hungary
Distribution: Slackware, Gentoo
Posts: 346
Rep: 
|
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 
|
|
|
|
03-21-2007, 04:33 AM
|
#7
|
|
LQ Newbie
Registered: Mar 2007
Location: Osaka
Distribution: Slackware 11.0, Kubuntu Edgy
Posts: 15
Original Poster
Rep:
|
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...

|
|
|
|
03-21-2007, 06:45 AM
|
#8
|
|
LQ Newbie
Registered: Mar 2007
Location: Osaka
Distribution: Slackware 11.0, Kubuntu Edgy
Posts: 15
Original Poster
Rep:
|
I was able to uncomment a mirror and update; all without trashing my installation.
Thank you for your help

|
|
|
|
03-22-2007, 02:55 PM
|
#9
|
|
Member
Registered: Jan 2003
Location: montreal
Distribution: Slackware and XUbuntu
Posts: 104
Rep:
|
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.
|
|
|
|
| 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 08:46 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
|
|