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.
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”?
file:///tmp/moz-screenshot.pngA clean install would be a lot easier. Software.openSUSE.org
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.
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?
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 http://download.opensuse.org/distribution/11.2/repo/oss/ which actually resolves to http://widehat.opensuse.org/factory-snapshot/repo/oss/ 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.
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.
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.