LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   SUSE / openSUSE (https://www.linuxquestions.org/questions/suse-opensuse-60/)
-   -   Smart Question (https://www.linuxquestions.org/questions/suse-opensuse-60/smart-question-451867/)

confused_bof 06-05-2006 02:53 PM

Smart Question
 
A long, long time ago, when it used to work, I was able to add locations of catalogues into the YAST "Installation Source"

For example,

http://download.opensuse.org/distrib...ss-inst-source

What is the equivalent function for SMART?


How is it done?http://download.opensuse.org/distrib...ss-inst-source

Thanks

jens 06-05-2006 03:13 PM

smart channel --add URL
smart update

confused_bof 06-05-2006 03:54 PM

Quote:

Originally Posted by jens
smart channel --add URL
smart update

Hi & thanks.

That's what I thought. It goes through the motions when I add a URL and the CLI tells me all is well. But I don't think the 'channel' is added because when I do a 'smart update' only the one channel is reported (packman).

regards

Thanks

confused_bof 06-05-2006 04:13 PM

Quote:

Originally Posted by confused_bof
Hi & thanks.

That's what I thought. It goes through the motions when I add a URL and the CLI tells me all is well. But I don't think the 'channel' is added because when I do a 'smart update' only the one channel is reported (packman).

I realise that I should probably be looking to a SMART forum for this, but I note that there is only ever one entry in

/var/lib/smart/channels

and that is "Packman%http:__packman.unixheads.com_suse_10"

I just don't seem to be able to edit or add new channels.

there are no permission restrictions for su or root on /var/lib/smart/channels/ AFAIK

Thnaks

jens 06-05-2006 04:54 PM

Well, I don't have a SUSE system at home to test it, but last time I used the smart package from "guru" it came with all:
* SUSE security updates
* SUSE normal updates
* SUSE
* Packman
* Guru
...in default.

Smart packages from Guru:
http://linux01.gwdg.de/~pbleser/rpm-...=/System/smart

PS: to look for installed sources:
smart channel --show

PS PS: Don't you have "/etc/smart" ?

homey 06-05-2006 04:57 PM

Maybe something went goofy as I have a bunch of channels without even trying.
I took 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
Get the smart package from one of these sites:
http://linux01.gwdg.de/~pbleser/rpm-...t=System/smart
http://ftp.gwdg.de/pub/linux/misc/su.../System/smart/
http://ftp.skynet.be/pub/suser-guru/.../System/smart/

Pass that to rpm -ivh in a root shell, like this:
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 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

At any rate, it's a heck of lot faster than yast and it doesn't keep up with the crap about packman not having a valid signature or similar like yast does.

crazibri 06-08-2006 12:36 AM

Smart GUI gives you an easy way to add Channels.

Go to Edit menu, click Channels, click the NEW button. :D

confused_bof 06-08-2006 02:41 AM

Quote:

Originally Posted by crazibri
Smart GUI gives you an easy way to add Channels.

Go to Edit menu, click Channels, click the NEW button. :D

Doesn't work for me- see my post above. /var/lib/smart/channels is never updated, whether I use CLI or the GUI.

Thanks

http://www.linuxquestions.org/questi...eply&p=2282481

linux_learner 08-25-2006 06:38 AM

Read the howto here http://wiki.suselinuxsupport.de/wikk...PackageManager

Also http://labix.org/smart/howto

confused_bof 08-27-2006 03:28 PM

Quote:

Originally Posted by linux_learner


No need. I changed to Ubuntu.


regards

linux_learner 08-29-2006 09:46 AM

The howto I posted is not SUSE specific, but also covers Fedorah, Ubuntu, Debian, Mandriva and Slackware.


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