Pokazywanie postów oznaczonych etykietą repository. Pokaż wszystkie posty
Pokazywanie postów oznaczonych etykietą repository. Pokaż wszystkie posty

openSUSE 12.2: The zypper dup upgrade.


OpenSUSE 12.3 is just at the door. I have not been around for a while. Just to maintain the versioning I finally post the instruction on upgrating OpenSUSE 12.1 to 12.2.

Also, I did not notice any significant problems with my system, so I did not opst any sollutions. The lack of issues is a rather positive experience. If you encounter any problems and need assistance, just post comments and I'll report back.


The instruction on upgrating from OpenSUSE 12.1 to 12.2 is almost an exact copy of the previous, which is a positive evolution, not needing to learn other ways each time. Takes less time and works fantastic.

The main task is to change each 12.1 to a 12.2 in the links and commands.  Here is the detailed walkthrough, that worked for me without a flaw:


We will use zypper for this. Note, that all the repositories with all your favourite goodies need to be turned off for this procedurde.

It is also worth to do the upgrade process from the first framebuffer (to reach it press Ctrl + Alt + F1, to go back to the X window buffer press Ctrl + Alt + F7).

But before we need to use the fb1 (framebuffer 1), initial settings need to be done from the console in our window system. 

1. Turn off all repos with this command (as root!!):

zypper modifyrepo --all --disable



2.  Add the main repository:

zypper ar --name "openSUSE-12.2 OSS" http://download.opensuse.org/distribution/12.2/repo/oss/ SuSE12.2



3. Add the non OSS repository:



zypper ar --name "openSUSE-12.2 non-OSS" http://download.opensuse.org/distribution/12.2/repo/non-oss/ SuSE12.2non-OSS


4. Add the Update repository:


zypper ar --name "openSUSE-12.2 Update" http://download.opensuse.org/update/12.2/ Update12.2


5. Make the Update repository automaticaly refresh itself:

 zypper mr -r Update12.2

6. Now the next commands I have executed from frame buffer 1 (see instruction at the beginning of the post).



zypper ref -> this will refresh all the stuff from current repositories (only the opensuse 12.1 ones that are active).

zypper dup -d  -> this will download all the new packages. You will be asked about acceptation of licences and stuff like that, answer "yes" if you agree and would like the installation to proceed. For my system it was 1948 packages to be downloaded. Wait patiently.



zypper dup -> this command will actually install all the previously downloaded stuff. Once again there can pop up questions about accepting diverse licenses.

7. Install done? Than it's time to reboot. For me everything worked after the upgrade. Some

8. Now run Repository Management in YaST and try to edit and turn on the additional repositories from the previous version of openSUSE:





9. After editing the additional repos run YaST -> Software Management -> [Menu] Package -> All Packages -> Upgrade, if newer version is available.

10. Add Muzlocker fonts for OpenSUSE 12.2, if you like the smooth LCD screen fonts, use this instruction: Muzlocker Subpixel fonts




and have a lot of fun!



Step 4. Get yer subpixel hinted fonts: openSUSE 11.4, 12.1, 12.2

!! THIS POST  ALSO APPLIES FOR OPENSUSE 12.1 and 12.2 !!

Now to have better looking fonts on LCD/LED screens, just take the following steps:

1. Open "Repositiry Management" in YaST

2. After the repos load, press "Add" FOLLOW THE INSTRUCTION FROM BLOG-POST "STEP 1." - THE FIRST PART OF THE POST EXPLAINS HOW TO ADD A REPO.

3. Add a repo, you can name it "MUZLOCKER subpixels 11.4", "MUZLOCKER subpixels 12.1" or "MUZLOCKER subpixels 12.2" or choose a name of your own preference. The URL is:

http://download.opensuse.org/repositories/home:/muzlocker/openSUSE_11.4/

and for openSUSE 12.1:

http://download.opensuse.org/repositories/home:/muzlocker/openSUSE_12.1/


and for openSUSE 12.2:

http://download.opensuse.org/repositories/home:/muzlocker/openSUSE_12.2/

4. Accept and finish the Repo Management.

5. Go to Software Management in YaST.

6. Now check out this screen shot and go step by step:
How to make a vendor change

1. Click "View", sellect "Repositiries"
2. Click the newly opened "Repositories" tab
3. Sellect "MUZLOCKER 11.4" or "MUZLOCKER 12.1"(or how you called it)
4. Press the "Switch packages to this repo" option...

This should sellect all packages from the list to upgrade to the version from this repository. We call it a vendor change.  

7. Choose to install the package freetype2-feature-subpixel-hinting before you accept and let the package installation begin.

Thank you for the comments. The above package does not exist anymore.

Here's my current list of packages from muzlocker repo:



8. After the packages get installed, open KDE's System Settings and go to "Appearance" -> "Fonts" and click "Configure", like below:
   
 9. In the following window sellect Use subpixel hinting, RGB, Full hinting. If you like Droid fonts (like I do for instance), choose your font type as on the screen above.

10. For experienced users, you might want to make the better fonts-rendering work in Firefox, which is not so obvious: Open your file browser with the following command:

dolphin ~/.mozilla/firefox/


You are now in /home/user/.mozilla/firefox/ folder. There is your profile folder named 1oifb15.default - the letters before .default are random and different... There, inside this folder, create a file user.js , that will contain the following lines:

user_pref("font.FreeType2.enable", "true");
user_pref("font.FreeType2.autohinted", "true");
user_pref("font.FreeType2.printing", "true");
user_pref("font.FreeType2.unhinted", "false"); 


You can use kwrite to create this file. Use it as normal, "non-root" user, do Firefox later has access to the settings, that you created.

11. It's advisable to use Dejavu fonts in Firefox'es page rendering, Serif and Sans, where applicable in Firefox'es Edit -> Preferences -> Content -> "Advanced" button in the font-section. For the monotype font choose Dejavu Sans Mono.

Here is a screenshot showing my exact settings of fonts in Firefox, if you like them, you can use the same, or set your prefered fonts (expert users!) :


The fonts choice in Firefox 4.0



Firefox'es font rendering was bad anyway during the last ~8 months. With the version 4.0 (not beta!), that my system upgraded to today, I can see the exactly perfectly rendered fonts, like in all Qt/KDE apps.

That's it. Now log out and log in. You should be presented with more juicy fonts, than before, if you use a LCD/LED screen.

Have fun!


Here some examples, how it looks with these settings CLICK TO ENLARGE:

Firefox 4.0

Firefox 4.0

smplayer, SSA/ASS subtitles enabled

Firefox 4.0