Tumbleweed-cli switch

Hi, I recently discovered the magic world of opensuse and tumbleweed, and so far I’m excited. Every day I find a new tool, like opi which is even better than aur.
When I learned about tumbleweed-cli, Ι got excited about that rolling model!
But there is something that still confuses me.
I did a fresh TW install yesterday and quickly installed tumblewee-cli and did a

tumbleweed switch --install 20200314

which was the latest stable.
Today I did a new

tumbleweed switch --install 20200318

My question is, is there any further step should I do?

tumbleweed status

output is

latest: 20200322
target: 20200318
installed: 20200322

Does it means I am on 20200318 or not?

Thanks in advance, so happy being on opensuse’s wagon :smiley:

Welcome!

I guess you want to update your system using “tumbleweed switch”.

The normal method for that is:


sudo zypper ref
sudo zypper verify
sudo zypper dup

Actually, on my exampled, I wanted to downgrade to previous snapshot.
Tho my tumbleweed-cli status was

latest: 20200322
target: 20200318
installed: 20200322

So, running tumbleweed switch --install 20200318 again, giving "You are already on 20200318
But the installed snapshot on the output is 2020322. This is what confuses me.
is it possibly on a fresh install to downgrade to previous snapshot?

Hi
What is the output from;


zypper lr -EU

Ref: Installation and usage · boombatower/tumbleweed-cli Wiki · GitHub

Hi, I I have updated since my original post.

latest   : 20200331target   : 20200331
installed: 20200331
 1 | download.opensuse.org-non-oss        | Main Repository (NON-OSS) (20200331) | Yes     | (r ) Yes  | Yes     |   99     | http://download.opensuse.org/history/20200331/tumbleweed/repo/non-oss/         
 2 | download.opensuse.org-oss            | Main Repository (OSS) (20200331)     | Yes     | (r ) Yes  | Yes     |   99     | http://download.opensuse.org/history/20200331/tumbleweed/repo/oss/            
 5 | http-download.opensuse.org-7be97b83  | hardware:razer                       | Yes     | (r ) Yes  | Yes     |   99     | http://download.opensuse.org/repositories/hardware:/razer/openSUSE_Tumbleweed/
 6 | http-download.opensuse.org-f14793d8  | openSUSE:Factory                     | Yes     | (r ) Yes  | Yes     |   99     | http://download.opensuse.org/repositories/openSUSE:/Factory/snapshot/         
 4 | http-download.opensuse.org-573606f7  | openSUSE:Tumbleweed                  | Yes     | (r ) Yes  | Yes     |   99     | http://download.opensuse.org/repositories/openSUSE:/Tumbleweed/standard/      
 3 | download.opensuse.org-tumbleweed     | Main Update Repository               | Yes     | (r ) Yes  | Yes     |   99     | http://download.opensuse.org/update/tumbleweed/                               
 8 | packman.inode.at-openSUSE_Tumbleweed | Packman Repository                   | Yes     | (r ) Yes  | Yes     |   99     | http://packman.inode.at/suse/openSUSE_Tumbleweed/ 


If I switch to 20200326 with tumbleweed switch --install 20200326, my status is:

latest   : 20200331target   : 20200326
installed: 20200331

and my repos

1 | download.opensuse.org-non-oss | Main Repository (NON-OSS) (20200326) | Yes | (r ) Yes | Yes | 99 | http://download.opensuse.org/history/20200326/tumbleweed/repo/non-oss/ 2 | download.opensuse.org-oss | Main Repository (OSS) (20200326) | Yes | (r ) Yes | Yes | 99 | http://download.opensuse.org/history/20200326/tumbleweed/repo/oss/
5 | http-download.opensuse.org-7be97b83 | hardware:razer | Yes | (r ) Yes | Yes | 99 | http://download.opensuse.org/repositories/hardware:/razer/openSUSE_Tumbleweed/
6 | http-download.opensuse.org-f14793d8 | openSUSE:Factory | Yes | (r ) Yes | Yes | 99 | http://download.opensuse.org/repositories/openSUSE:/Factory/snapshot/
4 | http-download.opensuse.org-573606f7 | openSUSE:Tumbleweed | Yes | (r ) Yes | Yes | 99 | http://download.opensuse.org/repositories/openSUSE:/Tumbleweed/standard/
3 | download.opensuse.org-tumbleweed | Main Update Repository | Yes | (r ) Yes | Yes | 99 | http://download.opensuse.org/update/tumbleweed/
8 | packman.inode.at-openSUSE_Tumbleweed | Packman Repository | Yes | (r ) Yes | Yes | 99 | http://packman.inode.at/suse/openSUSE_Tumbleweed/


So as I understand, this should be fine. Right?

Hi
Not really, you still have Tumbleweed and Factory (Why would you want/need Factory) repositories active???

Not sure why you want to control releases with Tumbleweed, tumbleweed-cli is really just to rollback to a previous snapshot if something you need is broken (or don’t use snapper), then once fixed roll on to the latest release, your version control is hmmm interesting…

Aha, I think I get it now :slight_smile:
So, in order for a proper use with cli, I should disable factory and tumbleweed repos. That’s make sense.
I thought the main usage tumbleweed-cli, was to control your updates in order to always get the latest stable. I will undo tumbleweed init atm and stick with snapper if something is going wrong. And as I understand, I should disable Factory if i don’t want to be cutting edge. Right?

Hi
Yes, no Factory :wink:

No it’s just a way to rollback to a snapshot of choice, especially if having issues… If don’t plan to use (you can invoke on the fly if required), then disable, get rid of that Factory repo and run a zypper dup and should get you to 20200401 and 5.6.0 kernel…