HomeBanner

YOU

YaST2 Online Update (YOU)

1. Why does YOU keep pulling the list of updates for 7.2 while I am using 7.3 ? Where does it get this information ?
2. Where does YOU keep the software it downloads ?
3. How can I set another SuSE mirror server to download updates ?
4. How can I configure YOU so it will use a proxy ?
5. When using YOU it fails with the message Cannot check patch [name] because the GPG package is not installed. How can it be fixed ?
6. Is there an alternative for YOU (YaST Online Update) ?
7. How can I have YOU update automatically ?
1.

Why does YOU keep pulling the list of updates for 7.2 while I am using 7.3 ? Where does it get this information ?

Check whats in /var/lib/YaST/update.inf. The complete explanation what to do is in the sdb.

2.

Where does YOU keep the software it downloads ?

You should find them in /var/lib/YaST/patches/i386/update/VERSION

3.

How can I set another SuSE mirror server to download updates ?

You add the name of the server you want to use to the top of the list in /etc/suseservers , this is what YaST2 online update is using.

In order to have the server name in the /etc/suseservers stay the same, edit /etc/sysconfig/onlineupdate and set so it will not.

 YAST2_LOADFTPSERVER="no" 

Note

ftp://ftp.aarnet.edu.au/pub/suse can be used in Australia

4.

How can I configure YOU so it will use a proxy ?

In YaST Control Center go to System->Sysconfig Editor. There are several options under "Config options" , click the + plus sign next to Network , then click on Proxy. Type in your proxy settings. For example: http://proxy.provider.de:3128 , which is yourproxyserver:portnumber. Make sure you run SuSEconfig. You may need to restart KDE so environment variables are taken into account.

5.

When using YOU it fails with the message “Cannot check patch [name] because the GPG package is not installed”. How can it be fixed ?

Take a look in the SuSE support database http://sdb.suse.de/en/sdb/html/swiegra_you-gpg.html for an explanation. To fix it get ftp://ftp.suse.com/suse/i386/update/8.0/yast1/yast2-config-online-update.rpm and install this using rpm -Uhv yast2-config-online-update.rpm , then start doing your other updates with YOU as normal.

6.

Is there an alternative for YOU (YaST Online Update) ?

The Fast OnlineUpdate for SuSE (or Fou4s for short), is a project started by Markus Gaugusch, a frequent contributer to suse-security. Its goal is to provide an alternative to our YaST Online Update (YOU for short) system. Fou4s is both lighter in weight and more powerful than YOU. The homepage is here: http://fou4s.gaugusch.at/

7.

How can I have YOU update automatically ?

Silviu Marin-Caea

This has been there in SuSE since I don't know when. I myself have discovered documentation about it in the locally installed SuSE help (it's the last place I looked :-) ).

  1. First, edit /etc/suseservers and put the preferred (nearest, least hops) mirror first.

  2. Then edit /etc/sysconfig/onlineupdate

    YAST2_LOADFTPSERVER="no"
    	  
  3. Then add a script called autoupdate in /etc/cron.daily (don't forget to chmod u+x /etc/cron.daily/autoupdate).

    The script:

    # in SuSE 8.1, it does not work without this
    export DISPLAY=linux
    
    # download patches
    yast2 online_update .auto.get
    
    # install downloaded patches
    yast2 online_update .auto.install
    	  

    If you preffer, you can download subgroups of packets like this: yast2 online_update .auto.get security

    Other than security, there are: recommended, document, YaST2, optional

    To erase, after installation, the downloaded update packages, I thought of this (anyone, is there a better way?):

    # uncomment the line corresponding to your installed SuSE version:
    
    # SuSE 8.0
    #rm -rf /var/lib/YaST/patches/*
    
    # SuSE 8.1
    #rm -rf /var/lib/YaST2/you/*
    

Updated: Tue, 03 Feb 2004
Valid CSS!Valid HTML 4.01!