LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   SUSE / openSUSE (https://www.linuxquestions.org/questions/suse-opensuse-60/)
-   -   Command line way to delete installation sources (https://www.linuxquestions.org/questions/suse-opensuse-60/command-line-way-to-delete-installation-sources-503854/)

coldSteel 11-22-2006 04:35 AM

Command line way to delete installation sources
 
I added some installation sources to yast recently and now it locks up when I try to install packages or change the sources. Is there a way I can remove all the sources via the command line, or a file where the installation sources are held, so that i can delete them?
It was working all fine until I added the sources. Any help would be great

AGazzaz 11-22-2006 11:51 AM

i do not know if this will work or not
but start the konsole
type su
then your ROOT password
type yast
and you will have the same yast you are used to but faster and more stable

i hope this helps

coldSteel 11-23-2006 07:29 AM

It does work, but when I go into installation sources, it still locks up. Are there any other ways to do this task? I would imagine that the sources would be kept in a text file. If anyone knows the location of this file, I could then delete it and start afresh

AGazzaz 11-24-2006 03:44 AM

lots of people did agree that the package manager of suse is buggy in 10.1 so i suggest(like most people) that you use smart

http://tweakhound.com/linux/suse/101/installing_1.htm

you will find a section in this page about installing and configuring smart

i hope that would help

OldAl 11-24-2006 04:01 AM

Quote:

Originally Posted by AGazzaz
lots of people did agree that the package manager of suse is buggy in 10.1 so i suggest(like most people) that you use smart

http://tweakhound.com/linux/suse/101/installing_1.htm

you will find a section in this page about installing and configuring smart

i hope that would help

Right at the start of this list, "redazz" has an excellent article "How to enable full multimedia capabilities on Suse 10.1 using the Xine engine" where he details how to install "SMART" to suse10.1. (The item is "sticky"). The described method works. Even I, an old foggie, installed "smart" simply following the outlined steps in that article.

It's all here, at home, so to speak.

OldAl.

coldSteel 11-24-2006 06:40 AM

Yeah I was going to use Smart, but if i could Id prefer to use yast, even tho it is buggy. Doesnt matter, I just thought there might have been a way. Thanks for your help and suggestions, muchly appreciated

bonito 11-24-2006 11:31 AM

installation_sources
 
i once had a similar Q.
Dont look too hard. there is a way, but its not throught a "text" file. Its some kind of binary file or something.

anyways,
the command for adding & removing repositories is called "installation_sources"

here is example syntax:
installation_sources -e -a ftp://ftp.gwdg.de/pub/linux/suse/ftp....3/yast-source

i forgot what the "e" switch & "a" switch did, but basically this is an example of how i added in the "MISC" repository.
you follow?
Im sure there is a switch to remove the repository, but you'd have to do some googling.

but "installation_sources" is most likely the command you will be using...

i hope this helps. if you do figure it out, let us know.


UPDATE:
duh, figured it out!
just typing "installation_sources" (in the command line) and hitting enter gives you the switches.

installation_sources -s
(this lists your repositories for you)

and the "-d" swicth will disable them. im not going to try on mine because i like my sources = ]

So, coldsteel, try it out and let us know if disabling helps. (there has to be a way to Remove them though)

also, i bet we could add our repositories a LOT easier by somehow doing it this way....


All times are GMT -5. The time now is 12:59 AM.