How to config YaST2 in 11.1 to update to Factory?

I’m using 11.1 for sometime, now I want to upgrade to Factory, so I added the Factory software sources listed here :
Factory Distribution - openSUSE

And then I disabled all the 11.1 sources, however YaST2 now says there’s no update sources and can’t check for software updates, it seems it’s pre-configured to only check software updates in the 11.1’s update repository.

So is there any method to config YaST2 in 11.1 so it can automatically checks updates from the Factory repositories to upgrade the system to Factory? Thanks.

This way you’ll likely run into trouble. Dep. conflicts etc.
First clear this: Yast2 is NOT configured to use only 11.1 repos.

What you can do: download a Factory iso, burn it to disk, backup all necessary ( /etc, mysql databases etc ), perform a clean install.

The thing is, I have installed quite some third party stuffs so I don’t want to do a clean install. Also the wiki article says “You should be able to update to the current Factory distribution from any other openSUSE version”. So how to do it?

I’m not sure what you mean by “Yast2 is NOT configured to use only 11.1 repos”, so is there any way to make it update the system using the Factory repos (which I already added to the software sources), instead of telling me “no active update repository”?

Then don’t upgrade unless you are 100% shure this “stuff” is available for 11.2/Factory.

file:///tmp/moz-screenshot.pngA clean install would be a lot easier.

While a update from 11.1 is possible I don’t think you will save any bandwidth and I hate to think of all the dependancy issues you will run into. You do have a separate home partition?

by third-party stuff I mean non-SUSE stuffs that I installed on my own, that I just compile/install them with install scripts. I’d really hate to do a clean install and then go all over the internet and download/compile/install them again.

Then stay on 11.1, because you will most likely have to recompile a lot of that stuff after the upgrade.

well, I have my whole drive backed up, so I don’t mind if the system breaks after the upgrade, I can just ghost it back under ten minutes. and I have unlimited ADSL plan so I don’t mind the bandwidth.

What I want to know is simply this: after I add all the Factory repos and disable the 11.1 repos, is there some settings or configuration files I can modify so that YaST will upgrade the whole system to Factory while I can just go to sleep, and the next morning if the system breaks, I can just ghost the backup back, and if it works, all the better.

If you have the factory / 11.2 repositories enabled running zypper dup should work in yast update all unconditionally be prepared to spend a little time resolving issues.

Thanks a lot, I did “export ZYPP_ARIA2C=1” and “zypper dup”, and it upgrades to Factory/11.2 with little trouble, I can boot into the system no problem and all applications work nicely so far.

However when I go to YaST and select online update, it still says “No update repository configured yet”, and takes me to the update configuration panel, where it shows nothing about configuring update repository.

So anyway to configure YaST in the now Factory/11.2 system to use the Factory repository as update repository, or do I have to run terminal and manually do “zypper up” every time?

Show us your repo’s, there is no update repo for 11.2 exactly ATM

zypper lr -d

No, I’ve had few problems in past installing rpm’s I self-built on older SuSE versions for updated releases. The reason I used rpm to build, was so I had an easily manageable and installable binary package which would work on clean installs.

What ABI changes have occured between 11.2 and 11.1, which makes you think programs would need recompiling?

How would 3rd party applications like Adobe Flash ever work if recompilation was necessary on a new release?

You could upgrade to 11.2-RC1, which appears to be a very recent snapshot of the Factory stuff. The lightest way to do it, is to burn Netinstall CD, boot it, set the keyboard, and then the HTTP repository to which actually resolves to and a factory snapshot on the development area. It should offer you an update, and import settings from your existing 11.1 install; though unfortunately I chose a clean install option, over-writing my 11.1 test installation through habit (upgrades usually had drawbacks with unused new features eg) not using ext4).

So by doing that, you get the “latest & greatest” and help field test the next release. Factory is AFAIK temporarily more or less frozen, till the OS-11.2 release is out the door.

Perhaps as part of the upgrade you could resize partitions, so you have room to install cleanly a Factory version, which can then get broken; leaving you with an 11.1 or 11.2 release for everyday work.

Before doing any major update, you ought to have a backup of your system, so you can recover your work, WHEN (if??) things go wrong.

Great that the ‘zypper dup’ upgrade method works, that’s one of the ‘new’ features official support for simple commandline upgrade.

11.2-RC1 Online update does work, it just has place holder packages for the Update system. The release is NOT officially supported, it is development, and that is frozen for all but ‘show stopper’ bugs till 11.2 is out the door. Any urgent fixes, will go into RC2 and Gold Master versions of 11.2, they’re unlikely to be released via online update to the testing community.

Have you joined the Factory mail list? The best time to start running Factory will probably be just after 11.2 is released, and updated packages begin coming in for testing, as candidates for the 11.2 system. Once again, plan on a seperate installation, and follow the instructions and caveats for Factory, it is for development & testing, not expected to be a reliable and pleasant system for everyday use.

It’s like this:

1  | Factory_Non-OSS        | Factory Non-OSS        | Yes     | Yes   |    6   | yast2  |              |
2  | Factory_Non-OSS_Source | Factory Non-OSS Source | Yes     | Yes   |    7   | yast2  |       |
3  | Factory_OSS            | Factory OSS            | Yes     | Yes   |    6   | yast2  |                  |
4  | Factory_OSS_Debug      | Factory OSS Debug      | No     | Yes   |    8   | yast2  |            |
5  | Factory_OSS_Source     | Factory OSS Source     | Yes     | Yes   |    7   | yast2  |           |
6  | openSUSE 11.1-0        | openSUSE 11.1-0        | No     | No   |   99   | yast2  | cd:///?devices=/dev/sr0                                         |
7  | repo-debug             | openSUSE-11.1-Debug    | No     | No   |  100   | NONE   |  |
8  | repo-non-oss           | openSUSE-11.1-Non-Oss  | No     | No   |  100   | yast2  |    |
9  | repo-oss               | openSUSE-11.1-Oss      | No     | No   |  100   | yast2  |        |
10 | repo-source            | openSUSE-11.1-Source   | No     | No   |  100   | NONE   | |
11 | repo-update            | openSUSE-11.1-Update   | No     | No   |   20   | rpm-md |                       |

It’s not a pretty sight. I’m just wondering what you think you can achieve by doing this?
Apart, that is, from borking your system.

what do you mean? I just disabled all the 11.1 repositories, and then added the Factory repositories. What’s wrong with that?

So far it is not borking my system at all, as it runs quite nicely with all the third party programs functioning alright too.

Even if it did bork my system, I always have a backup that can restore the system back within ten minutes, so I don’t really care.

Now back to the question : is there any way to make YaST automatically update from the Factory repositories, instead of running “zypper up” manually?

If you configure the Updater applet (something I never use) will that not do it?. It wouldn’t be my inclination to leave repos like that to ‘Auto-Update’ in any case.

And before you ask why: = Because.

But if you are happy to use it this way, that’s fine.:slight_smile:

You’re basically going to a 11.2-RC1 version of OS, which now (for first time) officially supports a “zypper dup” upgrade method. There doesn’t seem to be any tricky changes, which break compatability, so in a way you are ‘lucky’.

The skepticism of the old hands is in general warranted.

The Updater applet, Online Update and Auto Online update are alternative methods, giving more or less user control & convenience.

If you really want to automaticaly update a ‘Factory’ system, and pay no attention to whether the update will break things, then eventually you will have a borked system; but you can do it, via running “zypper up” in a cron job. See crontab(1) as root, to start this process off.

I can’t see the point in running Factory if you aren’t doing it to test things though, and have facilities to report breakage properly and investigate. Better to go with 11.2 series, when it comes out soon.