LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-17-2006, 11:09 PM   #1
royeo
Member
 
Registered: Jun 2006
Posts: 150

Rep: Reputation: 15
How do you update SuSE


I must be doing something wrong. I've been reading some of the old posts and it seems that you should be able to use yast to download stuff.

I was using Fedora 5 for a while but now I'm using SuSE 10.1. In FC-5 it was real easy to update using "yum". Is there anything like that for SuSE? I know it has online update but every time I run that it tells me there are no updates. That's crazy. I have kernel 2.6.16... but the most recent version is 2.6.17-1.2174. I have (in SuSE) version 1.5.0.3 of Firefox but the most recent version is 1.5.0.6. I have now version 1.3.8 of amoroK when 1.4 has been out for awhile.

When I used Fedora there were some repositories holding lots of packages that you had access to. Is there anything like that for SuSE?

Thanks,

royeo
 
Old 08-18-2006, 12:00 AM   #2
homey
Senior Member
 
Registered: Oct 2003
Posts: 3,057

Rep: Reputation: 59
You could install the smart package manager.
Here's my notes from http://dev-loki.blogspot.com/

Run the command: rpm -qa | grep rpm-python to see if the package is installed. If it is not installed, as root user, run this command to install the rpm-python package from Factory:
Code:
rpm -ihv ftp://ftp.belnet.be/mirrors/ftp.opensuse.org/opensuse/distribution/SL-10.1/inst-source/suse/i586/rpm-python-*.rpm
Install the smart package manager
Code:
rpm -ihv http://ftp.skynet.be/pub/suser-guru/rpm/packages/System/smart/smart-0.41-25.guru.suse101.i686.rpm
smart update
smart upgrade

You can also install the gui tool
smart install smart-gui


If you also want to enable e.g. the supplementary KDE repository, do this:
smart channel --enable suse-kde

smart update suse-kde

Last edited by homey; 08-18-2006 at 12:02 AM.
 
Old 08-18-2006, 07:58 AM   #3
Spudley
Member
 
Registered: Mar 2003
Location: Berkshire, England.
Distribution: SuSE 10.0
Posts: 299

Rep: Reputation: 32
Suse's "Online Update" program only gives you security patches for the versions of programs you already have installed; it doesn't update you to a new version of Suse or of any specific programs.

If it's telling you there aren't any updates, it means that you've got all the latest security patches for the Suse version you're running.

If you want to update to a newer version of Suse, you need to use the "System Update" option in Yast, but you will need an installation disc for the version you want to install.

However, my own experiences with updating a live OS (whether it's Suse, Windows, or others) has always ended in trouble. Personally, I'd always prefer to start again from scratch with a clean installation of the new version, rather than doing an update; you're much more likely to end up with a working system at the end of it. But try the update first if you like; it might work okay for you, and you can always do a clean install afterward if it doesn't.

But either way, before you start, make sure you have a reliable backup of everything you consider important.
 
Old 08-19-2006, 06:59 AM   #4
dickal
LQ Newbie
 
Registered: Mar 2006
Location: Cambridge UK
Distribution: Suse
Posts: 4

Rep: Reputation: 0
updating suse

I wrote below for the opensuse site, but relevant to this thread.
With suse 10.0 using yast I found updating on line excellent and easy but the new zenupdater idea (ZMD) used in 10.1 appears to have given lots of people problems (browsing the forums etc.)
But I now have:-

SUCCESS WITH UPDATING SUSE 10.1
On 15 AUG 2006 I had successs at long last.

Have been using SUSE 10.0 for a year or more now and found yast good once got used to it (a Linux Newby).
Got another machine a while ago and networked to the 10.0 machine as a test/ play machine, but intended to make this the main machine with a brand new installation of 10.1. This "10.1 machine" is 2.2GHz Celeron 512M and Intel i845 chipset. Broadband connection via netgear router at 2M.
Initially installed 10.1 on 26 May 2006 which went well except got stuck at the update. Looked at numerous places on web for help and could see that there were obviously big problems with ZMD etc. Tried various solutions but got nowhere and after a couple of weeks forgot it as time scarce. Foolishly I had purchased a boxed set direct from Novell as thought the £39 worth it, but fairly poor printed manual and zero response re support, the DVD is good as makes such easy install. I should have kept to Opensuse.

But now I have success and so below may be useful to others. Particularly note para marked $$$ below.
First used rug to shutdown ZMD:-
Using command (from su) <rug shutdown>
Then a few minutes later a dialogue appeared saying "Error" and something like updater not running. Clicked OK and ZMD disappeared from task bar.

Then used YAST to add an installation source:-

Had not succeeded previously with adding any servers/mirrors (including local UK mirrors) as always not accepted although had obtained various URLs from Opensuse and Novell sites etc.

$$$After another refusal to accept the tu-chemnitz site I thought of idea of using a browser to look at the site and then got a different server path which was at long last accepted by Yast.
Full address I put in was

REMOVED URL HERE AS POST NOT ACCEPTED WITH IT, TRYING TO POST NOW BUT WAS GETTING ERROR:- " 1. You cannot post URLs to other sites until you have made at least 3 posts." BUT NOT SURE WHAT THAT MEANS.

This was accepted and resulted in above being listed on screen except that the "/pub/" had been altered to "/%2Fpub/", which had not shown on the browser.
Clicked Finish and sat there 5 minutes before ok.

Next tried yast Online Update and all worked ok, but had to Skip the request for CD1
So Hurray!!! at last.

Also yast seemed pretty intelligent from that point as first only installed the "yast2-security" update patch, then asking for Finish to be clicked
A dialogue appeared "During online update Yast was updated. Finish and restart now" So I clicked OK.

Then started another online update and without the previous long delay a new list of available patches was shown with only the top 4 selected, which I accepted. I notice yast now does a retrieve and an immediate install before moving on to next patch (seems good idea).

Later still I did a third online update which listed an enormous number of patches which downloaded and installed all ok.

NOTE: I sometimes have difficulty stopping ZMD with rug, sometimes sits at cursor for long time. Would be nice to alter config files so stop loading at bootup. Any hints??

Cheers
Dick Allen
 
Old 08-25-2006, 08:04 PM   #5
PB0711
Member
 
Registered: Aug 2004
Location: London, UK
Distribution: Ubuntu 10.10, ubuntu 11.04, suse 9.2, OSX
Posts: 259

Rep: Reputation: 30
ok so I've just tried doing the whole
Code:
rug shutdown
thing, oh and I added
Code:
mirror.kernel.org/opensuse/distributions/SL-10.1/inst-source//
to the installtion sources. Don't ask why Suse added the double // to the end I don't know.
Anyway, so I stop rug, add the source and run update. There are tons of updates to do. I click next, and YaST shuts down? I tried clicking update in the actual package sub list box(where it gives the size and version). When I do that it goes through an update but then the packages remain in the update box next time round. However, I think the packages are getting updated, I think.

Any ideas ?

Still keeping 9.3 on my servers.
 
Old 08-26-2006, 01:54 PM   #6
dickal
LQ Newbie
 
Registered: Mar 2006
Location: Cambridge UK
Distribution: Suse
Posts: 4

Rep: Reputation: 0
updating suse 10.1

So, having posted here previously about my success at updating using Yast, I have since found problems with Yast. But not now 24-08-06 as all seems "perfect" with the update versions below.
-------------------------------------------------------------

It does seem that before doing below on my installation, Yast became very unpredictable and varied in its problems although earlier I had appeared to successfully update many items. A new problem I found ( also as reported by "royeo" above) was if I ticked the selection boxes in right frame, then yast closed down immediately, a catch 22 situation. But the version numbers information given looked useful but a lot of numbers to copy by hand, I was not able to copy and paste these numbers.
-----------------------------------------------------------------------------------------------------------------------------------
Here are the available versions, infact of course smart did not need the version numbers only the names:-
From the libzypp update:-
yast2-online-update available 2.13.43-1.3
yast2-online-update-frontend available 2.13.43-1.3
yast2-qt available 2.13.60-0.4
zen-updater available 7.1.0-51.29
zmd available 7.1.1.0-39.50

from the yast2-online-update available 2.13.42-1.2 although I am confused here as seems could be covered by libzypp.
--------------------------------------------------------------------------------------------
See my use of Smart below and really do seem to be successful with update now. Perhaps Novell brought out some updates before July 06 which were not much better than previous, but now with the versions below, Yast and Zen etc. does seem to work very well. I notice these version were built about 17 July.

Note:-
Having updated Yast successfully (as below) using Smart, the question could be asked, why go back to Yast? Perhaps I will use Smart again, but the new updated Yast works very well and I have now used to it to complete updates on all packages. Yast for example can supply build dates and install dates, but I suppose Smart can do also.
--------------------------------------------------------------------------------------------------------------------------------------------
I had earlier installed smart as per <http://en.opensuse.org/SMART_HowTO>. I found this a very clear well written HowTo although I would have liked more at end on giving examples of using smart to install. Plus I had to install python-elementtree. I have not tried wildcards in the smart install command, but it seemd that I had to install each patch one at a time as below. Smart is very impressive although a bit techy in its reporting (as below) by my standards (improving). I am always impressed by Linux command line use, its greatest strength perhaps.

Using smart 24-08-06 (in su mode).
XXXXXX:/home/dick2 # smart install libzypp
Loading cache...
Updating cache... ############################################################################ [100%]

warning: libzypp-1.2.0-1.27@i586 is already installed
Computing transaction...

XXXXXX:/home/dick2 #
--------------------------------------------
XXXXXX:/home/dick2 # smart install yast2-installation (Do not remember why I used "yast2-installation" as not in above list)
Loading cache...
Updating cache... ############################################################################ [100%]

Computing transaction...

Upgrading packages (2):
yast2-installation-2.13.132.4-0.3@noarch yast2-packager-2.13.139-1.3@i586

585.2kB of package files are needed. 139.9kB will be used.

Confirm changes? (Y/n): Y

Fetching packages...
-> ftp://ftp.suse.com/pub/suse/update/1...0.3.noarch.rpm
-> http://ftp.belnet.be/mirrors/ftp.sus...9-1.3.i586.rpm
yast2-packager-2.13.139-1.3.i586.rpm ############################################################################ [ 50%]
yast2-installation-2.13.132.4-0.3.noarch.rpm ############################################################################ [100%]


Committing transaction...
Preparing... ############################################################################ [ 0%]
1:Installing yast2-installation ############################################################################ [ 25%]
Output from yast2-installation-2.13.132.4-0.3@noarch:
Updating etc/sysconfig/security...
2:Cleaning yast2-installation ############################################################################ [ 50%]
3:Installing yast2-packager ############################################################################ [ 75%]
4:Cleaning yast2-packager ############################################################################ [100%]


XXXXXX:/home/dick2 #
----------------------------------------------------------------------------------

XXXXXX:/home/dick2 # smart install libzypp (so then I tried another attempt at libzypp)
Loading cache...
Updating cache... ############################################################################ [100%]

warning: libzypp-1.2.0-1.27@i586 is already installed
Computing transaction...
--------------------------------------------------------------------------------

XXXXXX:/home/dick2 # smart install yast2-online-update
Loading cache...
Updating cache... ############################################################################ [100%]

Computing transaction...

Upgrading packages (1):
yast2-online-update-2.13.43-1.3@noarch

66.5kB of package files are needed. 1.4kB will be used.

Confirm changes? (Y/n): Y

Fetching packages...
-> http://ftp.gwdg.de/pub/linux/suse/ft...1.3.noarch.rpm
yast2-online-update-2.13.43-1.3.noarch.rpm ############################################################################ [100%]


Committing transaction...
Preparing... ############################################################################ [ 0%]
1:Installing yast2-online-update ############################################################################ [ 50%]
2:Cleaning yast2-online-update ############################################################################ [100%]

Saving cache...
--------------------------------------------------------------------------------------------------------

XXXXXX:/home/dick2 # smart install yast2-online-frontend (an example of how smart will help find correct name, tremendous!)
Loading cache...
Updating cache... ############################################################################ [100%]

error: 'yast2-online-frontend' matches no packages. Suggestions:
error: yast2-online-update-frontend-2.13.43-1.3@noarch
error: yast2-online-update-2.13.43-1.3@noarch
error: yast2-online-update-frontend-2.13.35-4@noarch
error: yast2-online-update-2.13.40-0.2@noarch
error: yast2-online-update-frontend-2.13.40-0.2@noarch
error: yast2-online-update-2.13.42-1.2@noarch
error: yast2-online-update-2.13.35-4@noarch
Saving cache...


XXXXXX:/home/dick2 # smart install yast2-online-update-frontend-2.13.43-1.3@noarch
Loading cache...
Updating cache... ############################################################################ [100%]

Computing transaction...

Upgrading packages (1):
yast2-online-update-frontend-2.13.43-1.3@noarch

24.1kB of package files are needed. 1.5kB will be used.

Confirm changes? (Y/n): Y

Fetching packages...
-> http://ftp.skynet.be/pub/ftp.suse.co...1.3.noarch.rpm
yast2-online-update-frontend-2.13.43-1.3.noarch.rpm ############################################################################ [100%]


Committing transaction...
Preparing... ############################################################################ [ 0%]
1:Installing yast2-online-update-frontend ############################################################################ [ 50%]
2:Cleaning yast2-online-update-frontend ############################################################################ [100%]
------------------------------------------------------------------------------------

XXXXXX:/home/dick2 # smart install yast2-qt
Loading cache...
Updating cache... ############################################################################ [100%]

Computing transaction...

Upgrading packages (1):
yast2-qt-2.13.60-0.4@i586

2.3MB of package files are needed. 32B will be freed.

Confirm changes? (Y/n): Y

Fetching packages...
-> ftp://mirror.switch.ch/mirror/suse/s...0-0.4.i586.rpm
yast2-qt-2.13.60-0.4.i586.rpm ############################################################################ [100%]


Committing transaction...
Preparing... ############################################################################ [ 0%]
1:Installing yast2-qt ############################################################################ [ 50%]
2:Cleaning yast2-qt ############################################################################ [100%]

Saving cache...
------------------------------------------------------------------------------

XXXXXX:/home/dick2 # smart install zen-updater
Loading cache...
Updating cache... ############################################################################ [100%]

Computing transaction...

Upgrading packages (1):
zen-updater-7.1.0-51.29@i586

197.9kB of package files are needed. 245.9kB will be used.

Confirm changes? (Y/n): Y

Fetching packages...
-> ftp://mirror.switch.ch/mirror/suse/s...51.29.i586.rpm
zen-updater-7.1.0-51.29.i586.rpm ############################################################################ [100%]


Committing transaction...
Preparing... ############################################################################ [ 0%]
1:Installing zen-updater ############################################################################ [ 50%]
2:Cleaning zen-updater ############################################################################ [100%]

Saving cache...
--------------------------------------------------------------------------------

XXXXXX:/home/dick2 # smart install zmd
Loading cache...
Updating cache... ############################################################################ [100%]

Computing transaction...

Upgrading packages (1):
zmd-7.1.1.0-39.50@i586

470.4kB of package files are needed. 197.8kB will be used.

Confirm changes? (Y/n): Y

Fetching packages...
-> ftp://mirror.switch.ch/mirror/suse/s...39.50.i586.rpm
zmd-7.1.1.0-39.50.i586.rpm ############################################################################ [100%]


Committing transaction...
Preparing... ############################################################################ [ 0%]
1:Installing zmd ############################################################################ [ 50%]
Output from zmd-7.1.1.0-39.50@i586:
Updating etc/sysconfig/zmd...
2:Cleaning zmd ############################################################################ [100%]

Saving cache...

XXXXXX:/home/dick2 #

Above written in Kate and pasted here.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Latest Suse "YOU" update....Linux Kernel Update Failed Balarabay1 SUSE / openSUSE 10 06-11-2006 09:07 PM
Suse 9.1: suse-build-key (cannot update packages) bodhiopolis Linux - Distributions 1 06-09-2005 03:22 PM
Suse update cd ??? Chequah Linux - Software 4 05-22-2005 02:34 PM
SuSE YOU will not update Jason711 Linux - Newbie 1 03-17-2004 02:16 AM
Update SuSe designator Linux - Distributions 14 06-07-2003 09:42 AM


All times are GMT -5. The time now is 02:10 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration