Help with getting Leap 42.1 Back?

I did an update and ended up with Tumbleweed. I do not know how it got in the repository list. Anyway I deleted the “Factory” repository and got my internet and sound back. But it is still booting as Tumbleweed. Cam anyone give me plain and clear instructions to recover my Leap without using an installation media since I am not sure if I have the installation USB that I used a year or so ago to install it? Is there an easy was to recover my Leap? Thanks in advance for any useful advice.

Actually, I see that there is now a Leap 42.2. It might be just as easy to upgrade to 42.2? What is the easiest way to do that?

Leap 42.2 is only at beta. I assume you do not want to go and test a beta release at the moment you are not even sure whatyou have now.

To check if you have still repos that do not belong to Leap 42.2 we need of course your repos list

zypper lr -d

And it could be that you are running Leap 42.2. You can check that with

cat /etc/os-release

And when you are indeed running Leap 42.2 and not Tumbleweed, it could be that only the text in the Grub menu is wrong. Maybe check in YaST >System > Bootloader what it says.

As always, backup your system first if you value the system, although in your case I’d guess that if your system becomes borked, you would still be able to install a new LEAP from scratch but using the existing /home directory to preserve your personal files (Apps would have to be re-installed).

  1. Verify all your enabled repos are LEAP. You can use the “zypper lr -d” command henk provided to inspect. You may want to also disable all absolutely unnecessary repos to be most safe, and disable any remaining with the following command. Disabling does not remove, only inactivates the repo so you only need to re-enable later.
zypper mr --disable *repo_id_or_number* 
  1. Perform a “distribution upgrade” with the following command
zypper dup
  1. If you disabled any repos in the first step, you can now re-enable and update packages from those with a normal update.
zypper update

As henk described, 42.2 is only in testing mode. Unless you want a system with the breakage normally associated with a developing system, you’ll want to be running 42.1.

Good Luck.
TSU

Thanks for the help linux-p6x0:~ # 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/distribution/leap/42.1/repo/non-oss/ |
2 | download.opensuse.org-non-oss_1 | Update Repository (Non-Oss) | Yes | (r ) Yes | Yes | 99 | rpm-md | http://download.opensuse.
org/update/leap/42.1/non-oss/ |
3 | download.opensuse.org-oss | Main Repository (OSS) | Yes | (r ) Yes | Yes | 99 | yast2 | http://download.opensuse.
org/distribution/leap/42.1/repo/oss/ |
4 | download.opensuse.org-oss_1 | Main Update Repository | Yes | (r ) Yes | Yes | 99 | rpm-md | http://download.opensuse.
org/update/leap/42.1/oss |
5 | download.opensuse.org-oss_2 | Main Repository (Sources) | Yes | (r ) Yes | Yes | 99 | yast2 | http://download.opensuse.
org/source/distribution/leap/42.1/repo/oss/ |
6 | download.opensuse.org-oss_3 | Main Repository (OSS) | Yes | (r ) Yes | Yes | 99 | yast2 | http://download.opensuse.
org/distribution/leap/42.1/repo/oss/ |
7 | google-chrome | google-chrome | Yes | (r ) Yes | Yes | 99 | rpm-md | http://dl.google.com/linu
x/chrome/rpm/stable/x86_64 |
8 | linuxdownload.adobe.com-linux | Adobe Flash Plugin | Yes | ( p) Yes | Yes | 99 | rpm-md | http://linuxdownload.adob
e.com/linux/x86_64/ |
9 | openSUSE-42.1-0 | openSUSE-42.1-0 | No | ---- | Yes | 99 | yast2 | hd:///?device=/dev/disk/b
y-id/scsi-20001020000060804-part2 |
10 | packman.inode.at-suse | Packman Repository | Yes | (r ) Yes | Yes | 99 | rpm-md | http://packman.inode.at/s
use/openSUSE_Leap_42.1/ |
11 | repo-debug | openSUSE-Leap-42.1-Debug | Yes | (r ) Yes | Yes | 99 | yast2 | http://download.opensuse.
org/debug/distribution/leap/42.1/repo/oss/ |
12 | repo-debug-non-oss | openSUSE-Leap-42.1-Debug-Non-Oss | Yes | ( p) Yes | Yes | 99 | NONE | http://download.opensuse.
org/debug/distribution/leap/42.1/repo/non-oss/ |
13 | repo-debug-update | openSUSE-Leap-42.1-Update-Debug | Yes | (r ) Yes | Yes | 99 | rpm-md | http://download.opensuse.
org/debug/update/leap/42.1/oss |
14 | repo-debug-update-non-oss | openSUSE-Leap-42.1-Update-Debug-Non-Oss | No | ---- | No | 99 | rpm-md | http://download.opensuse.
org/debug/update/leap/42.1/non-oss/ |
15 | repo-source | openSUSE-Leap-42.1-Source | Yes | (r ) Yes | Yes | 99 | yast2 | http://download.opensuse.
org/source/distribution/leap/42.1/repo/oss/ |
16 | repo-update | openSUSE-Leap-42.1-Update | Yes | (r ) Yes | Yes | 99 | rpm-md | http://download.opensuse.
org/update/leap/42.1/oss/ |
Not sure what to do next

I began to do a dup but chickened out.


linux-p6x0:~ # cat /etc/os-release
NAME=“openSUSE Tumbleweed”

VERSION=“20160913”

ID=opensuse
ID_LIKE=“suse”
VERSION_ID=“20160913”
PRETTY_NAME=“openSUSE Tumbleweed”
ANSI_COLOR=“0;32”
CPE_NAME=“cpe:/o:opensuse:tumbleweed:20160913”
BUG_REPORT_URL=“https://bugs.opensuse.org
HOME_URL=“https://www.opensuse.org/

You only do such a thing when you are sure your repo list is OK. Are you sure?

You are not that new here, but you seem not to know about the all important CODE tags while posting computer code here.
Please in the future use CODE tags around copied/pasted computer text in a post. It is the # button in the tool bar of the post editor. When applicable copy/paste complete, that is including the prompt, the command, the output and the next prompt.

Notwithstanding the poor layout, I tried to interprete your listing. In general it looks OK to me, but

  • Why are several Debug and Source repos Enabled? Are you debugging the OSS and non-OSS software? Disable them when you are not sure that you need them.
  • You have the OSS repo two times (#3 and #6), delete one of them.

You might want to post your bettered list here for comment before you do the next step.

The next step would be indeed a

zypper dup

to replace all packages you may still have from some conflicting repos you have removed earlier (thus we do not know much about them).
Again, you might want to post here what packages that zypper dup wants to install, so people can check that with you.

Then, to get your multi-media packages again from Packman, a

zypper dup --from 'Packman Repository'

Yes, you succeeded in making a mess of it. But as we do not know exactly what you did as well as with the repos, as well as with that “I did an update”, we hardly can explain exactly what you did wrong.

BTW an expression as “I did an update” is not very informative. It is just an English language expression giving a vague impression of what you thought you did. Real information is exactly what you did: zypper something or YaST > …, or whatever.


**linux-p6x0:~ #** 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/distribution/leap/42.1/repo/non-oss/       |         
 2 | download.opensuse.org-non-oss_1 | Update Repository (Non-Oss)             | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.
org/update/leap/42.1/non-oss/                  |         
 3 | download.opensuse.org-oss       | Main Repository (OSS)                   | No      | ----      | Yes     |   99     | yast2  | http://download.opensuse.
org/distribution/leap/42.1/repo/oss/           |         
 4 | download.opensuse.org-oss_1     | Main Update Repository                  | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.
org/update/leap/42.1/oss                       |         
 5 | download.opensuse.org-oss_2     | Main Repository (Sources)               | No      | ----      | Yes     |   99     | yast2  | http://download.opensuse.
org/source/distribution/leap/42.1/repo/oss/    |         
 6 | download.opensuse.org-oss_3     | Main Repository (OSS)                   | Yes     | (r ) Yes  | Yes     |   99     | yast2  | http://download.opensuse.
org/distribution/leap/42.1/repo/oss/           |         
 7 | google-chrome                   | google-chrome                           | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://dl.google.com/linu
x/chrome/rpm/stable/x86_64                     |         
 8 | linuxdownload.adobe.com-linux   | Adobe Flash Plugin                      | Yes     | ( p) Yes  | Yes     |   99     | rpm-md | http://linuxdownload.adob
e.com/linux/x86_64/                            |         
 9 | openSUSE-42.1-0                 | openSUSE-42.1-0                         | No      | ----      | Yes     |   99     | yast2  | hd:///?device=/dev/disk/b
y-id/scsi-20001020000060804-part2              |         
10 | packman.inode.at-suse           | Packman Repository                      | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://packman.inode.at/s
use/openSUSE_Leap_42.1/                        |         
11 | repo-debug                      | openSUSE-Leap-42.1-Debug                | No      | ----      | Yes     |   99     | yast2  | http://download.opensuse.
org/debug/distribution/leap/42.1/repo/oss/     |         
12 | 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/ |         
13 | repo-debug-update               | openSUSE-Leap-42.1-Update-Debug         | No      | ----      | Yes     |   99     | rpm-md | http://download.opensuse.
org/debug/update/leap/42.1/oss                 |         
14 | repo-debug-update-non-oss       | openSUSE-Leap-42.1-Update-Debug-Non-Oss | No      | ----      | No      |   99     | rpm-md | http://download.opensuse.
org/debug/update/leap/42.1/non-oss/            |         
15 | repo-source                     | openSUSE-Leap-42.1-Source               | No      | ----      | Yes     |   99     | yast2  | http://download.opensuse.
org/source/distribution/leap/42.1/repo/oss/    |         
16 | repo-update                     | openSUSE-Leap-42.1-Update               | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.
org/update/leap/42.1/oss/                      |         
**linux-p6x0:~ #** 


Is it OK to dup now?

Thanks.

Don’t need 8 get flash from packman


The following 31 patterns are going to be downgraded:
  apparmor apparmor_opt base enhanced_base enhanced_base_opt fonts fonts_opt games imaging imaging_opt kde kde_games kde_imaging kde_internet kde_multimedia
  kde_office kde_plasma kde_utilities kde_utilities_opt kde_yast multimedia multimedia_opt non_oss non_oss_opt office office_opt sw_management
  sw_management_kde x11 x11_opt yast2_basis

The following product is going to be downgraded:
  "openSUSE Tumbleweed"

The following 2 packages are going to be reinstalled:
  libtiff5 libtiff5-32bit

The following 3 packages are going to change architecture:
  file-magic      noarch -> x86_64
  sharutils-lang  noarch -> x86_64
  tcsh-lang       noarch -> x86_64


The following 4 packages are going to change vendor:
  libopencv2_4        http://packman.links2linux.de -> openSUSE
  libsoxr0            http://packman.links2linux.de -> openSUSE
  libstreamanalyzer0  http://packman.links2linux.de -> openSUSE
  libxml++-2_6-2      openSUSE -> http://packman.links2linux.de


6 packages to upgrade, 1765 to downgrade, 24 new, 2 to reinstall, 73 to remove, 4  to change vendor, 3 to change arch.
Overall download size: 382.6 MiB. Already cached: 638.1 MiB. After the operation, 23.7 MiB will be freed.
**Continue? [y/n/? shows all options] (y): **


Will this get me there safely? Thank you for your help. Truly appreciated.

It seems that I am there. Thanks to all who responded. If I run into any glitches that I cannot figure out I will be back. LOL (resulting from the dup) I think I may have cleaned some things up doing this. Not sure yet.

… that was the whole idea of running the dup in this situation, so … yes, it should have.:wink:

Congratulations. Nice work while I was sleeping. :wink:

So be very carefull in using zypper dup in the future. In fact, do not use it when updateing your Leap. Use zypper patch (for the standard Update repos) or zypper up for updating from all repos (that includes the zypper patch). Only use zypper dup when you want to repeat the “switch to Packman” and then of course including the --from option.