openSUSE Forums > Archives > SF Archives > ARCHIVES - Tips, Tricks & Tweaks » Howto: Install And Use Smart On Opensuse 10.3 (guru Version)

Go Back   openSUSE Forums > Archives > SF Archives > ARCHIVES - Tips, Tricks & Tweaks
Forums FAQ Members List Search Today's Posts Mark Forums Read


ARCHIVES - Tips, Tricks & Tweaks Tips and Solutions for SUSE Linux
(Please do not post questions here)

 
Page 1 of 3 1 23
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 07-Oct-2007, 22:43
famewolf
Guest
 
Posts: n/a
Default

Taken from: http://dev-loki.blogspot.com/2007/10/smart...ensuse-103.html


Smart on openSUSE 10.3:

Code:
zypper sa -r http://download.opensuse.org/reposit...0.3/smart.repo
zypper ref smart
zypper install smart
smart channel --add http://linux01.gwdg.de/~pbleser/file...nsuse-10.3.txt
smart mirror --add http://linux01.gwdg.de/~pbleser/file...mirrors-eu.txt
smart update
  #2 (permalink)  
Old 08-Oct-2007, 00:43
Dean
Guest
 
Posts: n/a
Default

Good work. Thanks for the tip.
  #3 (permalink)  
Old 08-Oct-2007, 01:24
famewolf
Guest
 
Posts: n/a
Default

Quote:
Good work. Thanks for the tip.
[/b]

Glad you found the post of use however Pascal (guru) deserves all the credit for this and for all the other hard work he puts into building rpm's for opensuse.

Here's another tip..if you are upgrading multiple pc's you can disable the auto delete of packages (packages are normally downloaded to /var/lib/smart/packages and then deleted after install) and save all the rpm's then burn them to cd or copy them to the other pc's in the same dir..then when you do a smart upgrade on the additional pc's it will used the cached version already downloaded....

The command to disable the auto delete is "smart config --set remove-packages=false" without the quotes. When you want to delete all the stored packages just type "smart clean" and it will wipe the dir.
  #4 (permalink)  
Old 09-Oct-2007, 05:36
flebber
Guest
 
Posts: n/a
Default

I like the how-to, the only thing I notice is this doesn't install the nvidia repo. Haven't really used smart before is this easy to do for 10.3 ?
  #5 (permalink)  
Old 10-Oct-2007, 07:42
flebber
Guest
 
Posts: n/a
Default


Sorry additional to the Nvidia question, what is upgrade in smart exactly upgrading to or from, I notice the upgrade has over 500Mb of downloads and a new kernel and a host of new Yast2 updates.

Is Smart upgrade a safe practice or a dangerous one ?
  #6 (permalink)  
Old 10-Oct-2007, 08:47
sefk
Guest
 
Posts: n/a
Default

Quote:
Sorry additional to the Nvidia question, what is upgrade in smart exactly upgrading to or from, I notice the upgrade has over 500Mb of downloads and a new kernel and a host of new Yast2 updates.

Is Smart upgrade a safe practice or a dangerous one ?
[/b]
99% of time a smart update is safe if you use stable repos.

First of all, can you tell me about channels that you have enabled?

Opensuse default update from the update repo work by patch, however smart(and other repo's update) works as a normal update would do: get the new version of the file, delete the old version and install new version.
  #7 (permalink)  
Old 10-Oct-2007, 20:08
flebber
Guest
 
Posts: n/a
Default

Code:
focus:/home/flebber # smart channel --show
[rpm-sys]
type = rpm-sys
name = RPM System

[GNOME:Community]
type = rpm-md
name = Latest GNOME packages contributed by the Community (GNOME:Community)
baseurl = http://download.opensuse.org/reposit...openSUSE_10.3/

[OpenOffice.org]
type = rpm-md
name = Latest stable OpenOffice.org packages (OpenOffice.org:STABLE)
baseurl = http://download.opensuse.org/reposit...openSUSE_10.3/

[opensuse-nonoss]
type = yast2
name = openSUSE-10.3-FTP-NonOSS
disabled = yes
baseurl = http://download.opensuse.org/distrib.../repo/non-oss/

[X11:XGL]
type = rpm-md
name = Repository for Xgl and related packages that give your Desktop some bling (X11:XGL)
baseurl = http://download.opensuse.org/reposit...openSUSE_10.3/

[mozilla]
type = rpm-md
name = Latest packages for Mozilla projects
baseurl = http://download.opensuse.org/reposit...openSUSE_10.3/

[openSUSE:Tools]
type = rpm-md
name = openSUSE Tools Repository
baseurl = http://download.opensuse.org/reposit...openSUSE_10.3/

[KDE:Backports]
type = rpm-md
name = Backports of KDE packages from Factory (KDE:Backports)
baseurl = http://download.opensuse.org/reposit...openSUSE_10.3/

[GNOME:STABLE]
type = rpm-md
name = Latest stable GNOME packages (GNOME:STABLE)
baseurl = http://download.opensuse.org/reposit...openSUSE_10.3/

[opensuse]
type = yast2
name = openSUSE-10.3-FTP
baseurl = http://download.opensuse.org/distrib...10.3/repo/oss/

[KDE:Community]
type = rpm-md
name = Latest KDE packages contributed by the Community (KDE:Community)
baseurl = http://download.opensuse.org/reposit...openSUSE_10.3/

[packman]
type = rpm-md
name = Packman repository
baseurl = http://packman.mirrors.skynet.be/pub/packman/suse/10.3/

[KDE:KDE3]
type = rpm-md
name = Latest KDE3 packages (KDE:KDE3)
baseurl = http://download.opensuse.org/reposit...openSUSE_10.3/

[OpenOffice.org:extras]
type = rpm-md
name = Latest stable add-ons for OpenOffice.org (OpenOffice.org:EXTRAS)
baseurl = http://download.opensuse.org/reposit...openSUSE_10.3/

[Emulators:Wine]
type = rpm-md
name = Latest wine packages
disabled = yes
baseurl = http://download.opensuse.org/reposit...openSUSE_10.3/

[ruby]
type = rpm-md
name = Latest Ruby and Ruby on Rails packages
disabled = yes
baseurl = http://download.opensuse.org/reposit...openSUSE_10.3/

[opensuse-updates]
type = rpm-md
name = openSUSE-10.3 Updates
baseurl = http://download.opensuse.org/update/10.3/

[smart]
type = rpm-md
name = Latest smart packages for openSUSE
priority = 10
baseurl = http://download.opensuse.org/reposit...openSUSE_10.3/


focus:/home/flebber #************************
I am worried also that without Nvidia in smart the new kernel may not have an Nvidia update for it as well. The update function from smart seems similar to the updates from yast or zypper, its whats in the smart upgrade that I am really interested in.
  #8 (permalink)  
Old 11-Oct-2007, 19:00
flebber
Guest
 
Posts: n/a
Default

Oh well, I will stick with Yast and zypper so I know where the updates are coming from and I have support for Nvidia drivers.

  #9 (permalink)  
Old 11-Oct-2007, 20:57
sefk
Guest
 
Posts: n/a
Default

Quote:
I am worried also that without Nvidia in smart the new kernel may not have an Nvidia update for it as well. The update function from smart seems similar to the updates from yast or zypper, its whats in the smart upgrade that I am really interested in.
[/b]
If you want nvidia, just add it.(find the nvidia repo on suse's wiki, then smart add channel, rpm-meta-data...

For smart update:
well I don't really understand what you want to know, but normally, on update smart and zypper detects the same packages(but smart seems to manage 3rd party apps better).

The difference between smart and yast is the dependency resolution. Theorically, smart has better dependency resolution and can lock a specific version of the file. But yast seems to update files safer.

In opensuse 10.2, yast's update is too slow to be an alternative, but in 10.3 yast is now a good tool. So I tends to do all my update with yast. And I do minor tweak with smart.
  #10 (permalink)  
Old 11-Oct-2007, 21:08
famewolf
Guest
 
Posts: n/a
Default

Quote:
If you want nvidia, just add it.(find the nvidia repo on suse's wiki, then smart add channel, rpm-meta-data...

For smart update:
well I don't really understand what you want to know, but normally, on update smart and zypper detects the same packages(but smart seems to manage 3rd party apps better).

The difference between smart and yast is the dependency resolution. Theorically, smart has better dependency resolution and can lock a specific version of the file. But yast seems to update files safer.

In opensuse 10.2, yast's update is too slow to be an alternative, but in 10.3 yast is now a good tool. So I tends to do all my update with yast. And I do minor tweak with smart.
[/b]

While yast is certainly improved in suse 10.3 the fact it makes me wait while it checks all the "cache's" before I can install the 1 package I'm trying to install annoys me..so I still use smart most of the time since I can schedule it to "update" at night and not when I'm trying to install something.
 
Page 1 of 3 1 23

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




 

Search Engine Friendly URLs by vBSEO 3.3.0 RC2