OpenSuSE

Updates

It would appear that you update OpenSuSE with a SuSE archive. Go figure.

For local installation source, go into Yast2 and disable the DVD or CDROM that you probably used to install. Then add a pair of new sources - HTTP, pointed at http://mirror.cs.uwaterloo.ca/opensuse/distribution/SL-10.1/inst-source/ and the same thing except non-oss-inst-source where it would seem appropriate.

I had to click on Installation Sources (warning very slow!). Then choose an http source,

  • Protocol: http
  • server: mirror.cs.uwaterloo.ca
  • directory on server: /opensuse/distribution/SL-10.1/inst-source
  • Authentication: anonymous.

  • Protocol: http
  • server: mirror.cs.uwaterloo.ca
  • directory on server: /opensuse/distribution/SL-10.1/non-oss-inst-source
  • Authentication: anonymous.

You can start the Installation Source utility directly using: /sbin/yast2 inst_source &

For updates, go into the update program that appears in your menu bar, and right click it, then choose Configure.

Tell it about a ZYPP archive at http://mirror.cs.uwaterloo.ca/suse/update/10.1.

You can also do the first step (installation source) from the update tool.

In any case, the update tool will prompt you for the root password.

This can probably also be done at the command line using the rug tool.

I observed the command lines that flew by while I was configuring the graphical tool. Here's one example:

/usr/lib/zen-updater/service-utility --add --uri=http://mirror.cs.uwaterloo.ca/suse/update/10.1 \
 --type=ZYPP --name=mirror.csupdates

I found http://susediary.blogspot.com/2006/05/update-suse-101-package-management_13.html to be vaguely helpful.

Once catalogues are added, use:

  • rug ca to list them
  • rug sub and rug unsub to subscribe/unsubscribe
  • rug lu to list upgrades
  • rug up to apply updates (rug -N up to do a dry run)

For 10.2, the URIs to use for the software catalogs are: http://mirror.cs.uwaterloo.ca/opensuse/distribution/10.2/repo/oss http://mirror.cs.uwaterloo.ca/opensuse/distribution/10.2/repo/non-oss You can do this: /usr/lib/zen-updater/service-utility --add --uri=http://mirror.cs.uwaterloo.ca/suse/update/10.3 \ --type=ZYPP --name=mirror.csupdates in order to add the new catalogue, then rug sub it, but you may have to use Yast2 in order to have it check for updates properly (but there's likely a rug command to do it as well).

For 10.3, everything's all opensuse. URLs are: http://mirror.cs.uwaterloo.ca/opensuse/distribution/10.3/repo/oss http://mirror.cs.uwaterloo.ca/opensuse/distribution/10.3/repo/non-oss http://mirror.cs.uwaterloo.ca/opensuse/update/10.3 I'm not sure about using the CLI to add them, I just used yast2's GUI.

Software Management

  • Try: /sbin/yast2 sw_single &

-- MikePatterson - 01 Dec 2006

Edit | Attach | Watch | Print version | History: r4 < r3 < r2 < r1 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r4 - 2009-01-28 - LawrenceFolland
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback