LinuxQuestions.org
Help answer threads with 0 replies.
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 12-22-2013, 09:54 AM   #1
sayhello_to_the_world
Member
 
Registered: May 2013
Posts: 220

Rep: Reputation: Disabled
How can I get a list of all repositories from the command line?


hello dear linux fans

i am running opensuse


how to get a list of all repositories from the command line?


note: i want to update from 12.3 to 13.2 and now i have to see which repos are allready running in the 12.3 system?


question: how to treat them. What to do with them!?
 
Old 12-22-2013, 11:11 AM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 17,937

Rep: Reputation: 3692Reputation: 3692Reputation: 3692Reputation: 3692Reputation: 3692Reputation: 3692Reputation: 3692Reputation: 3692Reputation: 3692Reputation: 3692Reputation: 3692
Quote:
Originally Posted by sayhello_to_the_world View Post
hello dear linux fans

i am running opensuse how to get a list of all repositories from the command line?

note: i want to update from 12.3 to 13.2 and now i have to see which repos are allready running in the 12.3 system?
Did you try putting "how to list repositories in opensuse from the command line" into Google??? Amazingly, the VERY FIRST HIT is from openSUSE's site.
http://en.opensuse.org/SDB:Zypper_us...d_repositories

...or you could try reading the man page on the zypper command, paying particular attention to the "repos" or "lr" flags.
Quote:
question: how to treat them. What to do with them!?
Treat WHAT? What are you asking? Repositories for 12.3 are very obviously FOR 12.3, not 13.x You don't mix and match....not for openSUSE or any version of Linux
 
Old 12-22-2013, 11:39 AM   #3
sayhello_to_the_world
Member
 
Registered: May 2013
Posts: 220

Original Poster
Rep: Reputation: Disabled
hello dear Tbone
Code:
martin@linux-70ce:~>  zypper lr -d
#  | Alias                     | Name                               | Aktiviert | Aktualisieren | Prioritšt | Typ    | URI                                                             | Dienst
---+--------------------------+------------------------------------+-----------+---------------+-----------+--------+-----------------------------------------------------------------+-------
 1 | All_of_Packman            | Packman                            | Ja        | Ja            |   10      | rpm-md | http://packman.inode.at/suse/openSUSE_12.3/                     |       
 2 | M17N                      | M17N                               | Ja        | Ja            |   99      | rpm-md | http://download.opensuse.org/repositories/M17N/openSUSE_12.3/   |       
 3 | openSUSE-12.3-1.7         | openSUSE-12.3-1.7                  | Ja        | Nein          |   99      | yast2  | cd:///?devices=/dev/disk/by-id/ata-TEAC-DV-W28S-R,/dev/sr0      |       
 4 | repo-debug                | openSUSE-12.3-Debug                | Nein      | Ja            |   99      | NONE   | http://download.opensuse.org/debug/distribution/12.3/repo/oss/  |       
 5 | repo-debug-update         | openSUSE-12.3-Update-Debug         | Nein      | Ja            |   99      | NONE   | http://download.opensuse.org/debug/update/12.3/                 |       
 6 | repo-debug-update-non-oss | openSUSE-12.3-Update-Debug-Non-Oss | Nein      | Ja            |   99      | NONE   | http://download.opensuse.org/debug/update/12.3-non-oss/         |       
 7 | repo-non-oss              | openSUSE-12.3-Non-Oss              | Ja        | Ja            |   99      | yast2  | http://download.opensuse.org/distribution/12.3/repo/non-oss/    |       
 8 | repo-oss                  | openSUSE-12.3-Oss                  | Ja        | Ja            |   99      | yast2  | http://download.opensuse.org/distribution/12.3/repo/oss/        |       
 9 | repo-source               | openSUSE-12.3-Source               | Nein      | Ja            |   99      | NONE   | http://download.opensuse.org/source/distribution/12.3/repo/oss/ |       
10 | repo-update               | openSUSE-12.3-Update               | Ja        | Ja            |   99      | rpm-md | http://download.opensuse.org/update/12.3/                       |       
11 | repo-update-non-oss       | openSUSE-12.3-Update-Non-Oss       | Ja        | Ja            |   99      | rpm-md | http://download.opensuse.org/update/12.3-non-oss/               |       
martin@linux-70ce:~>

btw - not too many repos.

how to treat the update.

btw - possible and thinkable - is a new and fresh installation "from scratch"


or a live update via zypper-up

what do you think about these ways?

which one is the most safe one!?`
 
Old 12-22-2013, 12:14 PM   #4
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 17,937

Rep: Reputation: 3692Reputation: 3692Reputation: 3692Reputation: 3692Reputation: 3692Reputation: 3692Reputation: 3692Reputation: 3692Reputation: 3692Reputation: 3692Reputation: 3692
Quote:
Originally Posted by sayhello_to_the_world View Post
hello dear Tbone

btw - not too many repos.
Ok...and?
Quote:
how to treat the update. btw - possible and thinkable - is a new and fresh installation "from scratch" or a live update via zypper-up

what do you think about these ways? which one is the most safe one!?`
Again, repos for 12.x DO NOT WORK WITH 13.x...Fedora 18 repositories won't work correctly with 19....Debian 6 won't work well with Debian 7. This is still no different, as I said in my first reply.

Also, there IS NO openSUSE 13.2...13.1 is the latest, and from what I can see, 13.2 isn't even out in Alpha yet. As far as which method is best, this has been asked and answered on this site many, MANY times over the years. The answer hasn't changed...a fresh install is always the best way to go. No matter WHAT, as long as you back your data up, what does it matter?
 
Old 12-22-2013, 05:44 PM   #5
ondoho
Senior Member
 
Registered: Dec 2013
Posts: 4,176

Rep: Reputation: 837Reputation: 837Reputation: 837Reputation: 837Reputation: 837Reputation: 837Reputation: 837
this forum is just amazing.

sayhellototheworld, package management is the most important thing on a current linux installation and differs from distro to distro.
inform yourself on opensuse's wiki, you could start here.
 
Old 12-27-2013, 05:25 AM   #6
sayhello_to_the_world
Member
 
Registered: May 2013
Posts: 220

Original Poster
Rep: Reputation: Disabled
hello Tbone hello ondoho

many many thanks for your answers and thougths - valid thoughts and good advices

i will take them into account.

greetings
say
 
  


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
List Members of a group command line Nanosuz Linux - Newbie 2 08-23-2012 07:19 PM
[SOLVED] Partial list with ls-l in bash script run in cron but full list run from command line redgshost Linux - General 29 01-16-2011 01:14 PM
Is there a single command to list all hardware installed (command line)? davee Linux - Hardware 6 02-28-2009 08:19 PM
command line printer list paul_mat Linux - Software 1 05-09-2006 04:09 AM
How may I list only the directories in command line? geraldomanaus Linux - Newbie 5 03-20-2003 01:40 PM


All times are GMT -5. The time now is 04:26 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration