Repository troubles, new install

Folks I had been using Ubuntu and decided to give SUSE a try, once more. I did use SUSE years ago This is currently an experiment on a spare hdd on a Thinkpad T520

I would like to use Mate, ultimately, and am trying to install with XFCE. I do manage to get a working system, online.

1…What version do I want for “long term?” Is LEAP still a bit “rough”. That is, do I want LEAP, or TUMBLEWEED?

(So far I’ve managed to get both up and running and online)

2…The problem I have with BOTH installs is repositories. I am NOT an expert. I ended up here

https://forums.opensuse.org/showthread.php/424611-new-users-opensuse-pre-install-general-please-read

IMPORTANT- New Info here reflects the 12.2 repo info: Note repositories are in essence file servers on the internet containing applications, drivers, codecs, … etc … in this case, for openSUSE. and as a new user, when setting up your repositories by following the guidance in that page, initially set up only 5 repositories (repos). Just 5. No others. None! Those 5 are OSS, Non-OSS, Non-OSS-Update…

and then…

https://en.opensuse.org/SDB:Add_package_repositories#Adding_repositories

Start YaST by clicking on it under Software in your menu or by typing yast in the run command box (press Alt+F2).
Select Software Repositories.

and last…

Click on Add, select *Specify URL

==========================================

Specify WHAT URL? Where do I GET this URL? Or to put this another way, how do I fix this

Depending on what I click, “Update” or whatever I get various error messages concerning repositories, “not specified,” etc.

Is this a SUSE problem, did something go wrong with my install, just what is going on?

Thanks very much.
Del
*

The up to date page : https://en.opensuse.org/Package_repositories

I found most useful the Terminal commands
to view repositories: zypper lr -d
for help: zypper --help
or : **man zypper ****

for 42.1 :

paulparker@linux-7769:~> zypper lr -d
# | Alias                           | Name                             | Enabled | GPG Check | Refresh | Priority | Type   | URI                                                                     | Service
--+---------------------------------+----------------------------------+---------+-----------+---------+----------+--------+-------------------------------------------------------------------------+--------
1 | download.opensuse.org-non-oss_1 | Main Repository (NON-OSS)        | Yes     | (r ) Yes  | Yes     |   99     | yast2  | http://download.opensuse.org/distribution/leap/42.1/repo/non-oss/       |        
2 | download.opensuse.org-oss_1     | Main Repository (OSS)            | Yes     | (r ) Yes  | Yes     |   99     | yast2  | http://download.opensuse.org/distribution/leap/42.1/repo/oss/           |        
3 | openSUSE-42.1-0                 | openSUSE-42.1-0                  | No      | ----      | Yes     |   99     | yast2  | hd:///?device=/dev/disk/by-id/scsi-20001020000060804-part2              |        
4 | packman                         | packman                          | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://ftp.gwdg.de/pub/linux/misc/packman/suse/openSUSE_Leap_42.1/      |        
5 | repo-debug-non-oss              | openSUSE-Leap-42.1-Debug-Non-Oss | No      | ----      | Yes     |   99     | NONE   | http://download.opensuse.org/debug/distribution/leap/42.1/repo/non-oss/ |        
paulparker@linux-7769:~> 


**

Thanks for “that much” but I have NO idea what to do from there. And, why isn’t this set up by default through the installation? I REALLY do not understand

I would really prefer NOT to use command line stuff. After all Yast is supposed to be set up graphically?

Can you copy then post using the # (avove in Reply) your results from zypper lr -d

During install you are asked whether to install the repositories, IF your answer was Yes they are installed, and checked during the install process.

IF during install your answer was NO the repositories need be added later, before you can do updates.

Upgrading only works from one openSUSE version to next version eg 13.2 to Leap 41.2

Upgrades do NOT work IF you jump from 12.1 to 12.3

Believe neither IF existing version was not fully up to date.

Can you display your current repositories like mine, in your Reply

BTW when I first came to linux I had NO idea what was doing, then found doing updates on terminal helped.

It is easy you are making it hard. Go to Yast and set repositories. if you specified not to load them at install. Almost all system settings and software maintenance can be done from a nice GUI called yast.

On the other hand the command line is your friend and zypper is a great install/update program. It is generally easier to give you a command line then to lead you through multiple GUI windows. You just open a console/konsole and and copy the commands given and paste them into the text window.

I need help on doing this very thing. What I read on the websites I’ve found don’t make sense, IE are not detailed enough

THIS HAS NOTHING to do with an attempted upgrade from one version to other, you misunderstood. I first tried LEAP, then decided that TUMBLEWEED must be the stable long term version. SUSE could make this a lot more clear on the website, LOL Both those were “clean” installs.

“I thought” that I had selected to add repositories during the install process. Perhaps something went wrong there, and that is part of the problem.

WHAT I DID. I just now completed yet another experimental installation, and have (sortof) seem to have worked around the problem. I tried an (online) network install and just now got online with it, after bringing up YAST and involking “update” No errors “yet.”

What some of us need here, is an assumption on your part that we are ignorant. Even though I’ve used Mint / Mate and now Ubuntu / Mate for some time, this is a VERY different environment, involving very different commands and procedures.

Thanks for your help, please be patient. I’m going to diddle with this, now for a bit, now that it seems to be working. Again, this is coming to your from a “5 minutes old” LOL net install of Tumbleweed / XFCE

Del

Your Tumbleweed repositories are shown on this page https://en.opensuse.org/Package_repositories

Your Tumbleweed / XFCE installation need their correct repositories so updating functions properly and you receive correct for package updates.

Post your repositories shown in terminal when use command zypper lr -d
so others here can confirm they either OK or that do need changes.

FYI
When using a DVD (normally for offline install or upgrade), if you enable online repos when you first install, you can install MATE immediately and not have to install some other Desktop first.

AFAIK this applies to all current supported OS (currently LEAP, 13.2, 13.1).
You can also choose Enlightment.

TSU

Here you go…Bear in mind that I have now done a net (online) install so this may not truly reflect the original situation…

~> zypper lr -d

| Alias | Name | Enabled | GPG Check | Refresh | Priority | Type | URI | Service

--------------------±---------------------------------±--------------------------±----------------------±---------------------------±--------±---------±-------±---------------------------------------------------------±-------
1 | download.opensuse.org-non-oss | Main Repository (NON-OSS) | Yes | (r ) Yes | Yes | 99 | yast2 | http://download.opensuse.org/tumbleweed/repo/non-oss/ |
2 | download.opensuse.org-oss | Main Repository (Sources) | Yes | (r ) Yes | Yes | 99 | yast2 | http://download.opensuse.org/source/tumbleweed/repo/oss/ |
3 | download.opensuse.org-oss_1 | Main Repository (OSS) | Yes | (r ) Yes | Yes | 99 | yast2 | http://download.opensuse.org/tumbleweed/repo/oss/ |
4 | download.opensuse.org-tumbleweed | Main Update Repository | Yes | (r ) Yes | Yes | 99 | rpm-md | http://download.opensuse.org/update/tumbleweed/ |
5 | openSUSE-20151116-0 | openSUSE-20151116-0 | Yes | (r ) Yes | Yes | 99 | yast2 | http://download.opensuse.org/tumbleweed/repo/oss/ |
6 | repo-debug | openSUSE-Tumbleweed-Debug | No | ---- | Yes | 99 | NONE | http://download.opensuse.org/debug/tumbleweed/repo/oss/ |
delars@linux-di7v:~>

When I did the offline installs I used both a USB stick (thought it might be problem) and then a DVD. I am sure I selected “online repos” a check box? in the install routine? Which is part of why I don’t understand this problem.

I have not even tried to add Mate yet.

To reiterate I most certainly do not consider myself “well versed” in Ubuntu / Mint, even though I’ve used them daily now for years.

====================

Thanks for sticking around for this problem.

NOTE: I just now opened YAST and selected update. It churned for a few seconds, then gave me a blank in the window…no errors, but nothing to announce that the system needed nothing or is up to date. Is this “normal?” I might be able to post a screenshot…

http://i66.tinypic.com/29auxqb.jpg

The worry around not knowing if was doing right or wrong, what was happening, is why on advice I switched to using terminal and zypper commands, find it so much easier to understand what is happening as it unfolds in front of my eyes; Also when the repositories are correct for the version you have installed, or wish to install, then the process (for myself so far) appears to sort most things out itself :slight_smile:

Yes. Tumbleweed is rolling distribution and does not usually have any patches (or “Updates” in traditional sense) available. Instead new package versions appear in normal repository. They can be installed using “zypper update” [1] (instead of “zypper patch”). I can say that when I boot my Timbleweed VM I usually get popup telling me that new updates are available; and it allows me to install them. Here I’m using Xfce, I assume similar functionality is present in other desktop environments.

As I normally do not use YaST for software management (nor do I use GUI on Ubuntu for this purpose - I found it to be incomprehensible :slight_smile: ) I cannot tell how to do it in YaST, at least if you expect click by click guidance.

[1] I expect people jumping on me and telling that I must use “zypper dup”. I have no intention to discuss it yet again.

**arvidjaar ** care to post your terminal update command and correct any my mistakes {:open_mouth:

Editig, I moved your Quote marker then at start used - without the spaces !

Am using the ** C O D E ]** start and ** / C O D E ]** end marker (without spaces) to change appearance of 440roadrunner’s copied terminal code.

#                   | Alias                            | Name                      | Enabled               | GPG Check                  | Refresh | Priority | Type   | URI                                                      | Service
--------------------+----------------------------------+---------------------------+-----------------------+----------------------------+---------+----------+--------+----------------------------------------------------------+--------
1 | download.opensuse.org-non-oss    | Main Repository (NON-OSS) | Yes | (r ) Yes | Yes     |   99     | yast2  | http://download.opensuse.org/tumbleweed/repo/non-oss/    |        
2 | download.opensuse.org-oss        | Main Repository (Sources) | Yes | (r ) Yes | Yes     |   99     | yast2  | http://download.opensuse.org/source/tumbleweed/repo/oss/ |        
3 | download.opensuse.org-oss_1      | Main Repository (OSS)     | Yes | (r ) Yes | Yes     |   99     | yast2  | http://download.opensuse.org/tumbleweed/repo/oss/        |        
4 | download.opensuse.org-tumbleweed | Main Update Repository    | Yes | (r ) Yes | Yes     |   99     | rpm-md | http://download.opensuse.org/update/tumbleweed/          |        
5 | openSUSE-20151116-0              | openSUSE-20151116-0       | Yes | (r ) Yes | Yes     |   99     | yast2  | http://download.opensuse.org/tumbleweed/repo/oss/        |        
6 | repo-debug                       | openSUSE-Tumbleweed-Debug | No  | ----     | Yes     |   99     | NONE   | http://download.opensuse.org/debug/tumbleweed/repo/oss/  |        
delars@linux-di7v:~>

BTW am NOT knowledgeable about Tumbleweed, though believe Tumbleweed repositories act similar to other version repositories.

Someone more familiar may confirm about these repositories,

IF an ordinary user, not a developer, you may only wish to use (1) and (3)

(1) the **Main Repository (NON-OSS) **which holds and updates the Tumbleweed Open Source Software only.
(3) the **M
ain Repository (OSS) **which holds and updates the Tumbleweed Non-free (as in freedom) software, such as Flashplayer, Java, Opera, IPW-firmware, RealPlayer etc.

(4) the Main Update Repository holds official security and bugfix updates for OSS packages, believe can Disable this as these updates also sourced through (1) and/or (3).

To disable on command line (with root password required)
use list details command: **zypper lr -d **
check the number for the repository (is it still 4 ?) as MUST use the correct number
IF still (4) then disable command: **zypper modifyrepo --disable 4 **
or change to correct number :slight_smile:
then again do command: **zypper lr -d **
and reassure yourself you Disabled the right one :slight_smile:
HELP use **zypper --help **
or use zypper -h

So you may wish to disable those which appear to be for Tumbleweed Source Developers (not ordinary users)
(2) Main Repository (Sources)
(6) openSUSE-Tumbleweed-Debug

Perhaps disable this one, BTW I am not sure what it is for:
(5) openSUSE-20151116-0

IF advised some are needed to update special software you installed and use, then you can easily enable it again, with zypper.

you may wish to disable some which appear to be either for developers (not ordinary users) or duplicates

It was used several times to deliver high priority updates. The problem with main repository is, it must pass through automated tests to be published; this introduces delays. So patches were manually published in update repository. There is no point in disabling it.