PDA

View Full Version : GYUM for FC3 is back!


tchung
7th December 2004, 09:25 AM
Hello All,

Finally, GYUM for FC3 is now available for a test drive.
But wait, there is a catch. You need to install a special build of YUM first.
I would appreciated any feedback you might have:

http://fedoranews.org/tchung/gyum/fc3/

UPDATE 2004-12-08 3:10 AM

I'm happy to introduce GYUM 2.0 which no longer requires older version of YUM.

http://fedoranews.org/tchung/gyum/2.0/

UPDATE 2004-12-08 1:37 PM

GYUM Update Alert Notification Tool aka gyum-applet for GYUM is also available in the same page.

http://fedoranews.org/tchung/gyum/2.0/

UPDATE 2004-12-11 7:22 PM

GYUM 2.0-5 now supports fully fuctional "Settings Tab" where a user can add/delete/update yum repsitory server.

http://fedoranews.org/tchung/gyum/2.0/

Enjoy my GYUM! :)

Thomas

baz2
7th December 2004, 02:10 PM
Before I install, what's the "cost" of going to an older version of yum? And what would happen if yum were updated again, and I'm automatically updating? Do I need to do something to prevent the automatic update from updating your yum?

yanik
7th December 2004, 02:46 PM

hummmm, doesn't sound too good at all. yum is a lot better now. Going to an older version? I think not.

tchung
7th December 2004, 04:21 PM
Before I install, what's the "cost" of going to an older version of yum? And what would happen if yum were updated again, and I'm automatically updating? Do I need to do something to prevent the automatic update from updating your yum?

I guess the "cost" will be you won't get new features of stock yum-2.1.11-3 for FC3 but the "benefit" will be FC1 or FC2 like yum behavior which we all get used to already AND fully compatible with GYUM :)

It won't update to newer version of yum. That's why you need to install my special build of yum which prevents updating "yum" package itself.

Thank you for your feedback.

tchung
7th December 2004, 04:26 PM
hummmm, doesn't sound too good at all. yum is a lot better now. Going to an older version? I think not.

It was necessary to install older version of YUM to make it work with GYUM and it seems FC3 is fully compatible with older version of YUM.

If you never tried GYUM before, I would suggest give it a try. You can always remove it if you don't like it. Just make sure to back up your currnet yum.conf and yum.repos.d directory.

Thank you for your feedback.

madrugada
7th December 2004, 05:27 PM
i installed the two packlages......
i had:
root@localhost michele]# rpm -Uhv yum-2.0.7-3.FC3.GYUM.i386.rpm
Preparing... ########################################### [100%]
1:yum warning: /etc/yum.conf created as /etc/yum.conf.rpmnew
########################################### [100%]
in this way gyum didn't work because i had:
michele@localhost ~]$ gyum
Could not setup settings tab. Config.py needs mods.
Insufficient server config - no servers found. Aborting.

to make everythings works i have to rename yum.conf.rpmnew in yum.conf

the message "Could not setup settings tab. Config.py needs mods" still appears....

tchung
7th December 2004, 05:35 PM
i installed the two packlages......
i had:
root@localhost michele]# rpm -Uhv yum-2.0.7-3.FC3.GYUM.i386.rpm
Preparing... ########################################### [100%]
1:yum warning: /etc/yum.conf created as /etc/yum.conf.rpmnew
########################################### [100%]
in this way gyum didn't work because i had:
michele@localhost ~]$ gyum
Could not setup settings tab. Config.py needs mods.
Insufficient server config - no servers found. Aborting.

to make everythings works i have to rename yum.conf.rpmnew in yum.conf

the message "Could not setup settings tab. Config.py needs mods" still appears....

Interesting, I guess I need more tweaking in my spec. :)

Thank you for your feedback.

tchung
7th December 2004, 06:15 PM
i installed the two packlages......
i had:
root@localhost michele]# rpm -Uhv yum-2.0.7-3.FC3.GYUM.i386.rpm
Preparing... ########################################### [100%]
1:yum warning: /etc/yum.conf created as /etc/yum.conf.rpmnew
########################################### [100%]
in this way gyum didn't work because i had:
michele@localhost ~]$ gyum
Could not setup settings tab. Config.py needs mods.
Insufficient server config - no servers found. Aborting.

to make everythings works i have to rename yum.conf.rpmnew in yum.conf

the message "Could not setup settings tab. Config.py needs mods" still appears....

Ok. I just updated the special YUM build so now it does:

[tchung@localhost gyum]$ sudo rpm -Uvh yum-2.0.7-3.FC3.GYUM.i386.rpm
Preparing... ########################################### [100%]
1:yum warning: /etc/yum.conf saved as /etc/yum.conf.rpmsave
########################################### [100%]

Thank you for the bug report.

DXT
8th December 2004, 12:28 AM
Is it possible to select (disable or enable) repositores from the gui of GYUM?

imdeemvp
8th December 2004, 12:32 AM
Give a shot tonite.

mbokil
8th December 2004, 12:58 AM
I am confused here about a GUI for yum. How hard is it to open a shell and type 'yum update' or 'yum install new-senseless-gui' ? I can't see how it could be any easier than that. But if there must be a gui so be it.

tchung
8th December 2004, 01:12 AM
Is it possible to select (disable or enable) repositores from the gui of GYUM?

Sorry, that feature is not available in GYUM.

Thomas

tchung
8th December 2004, 01:18 AM
I am confused here about a GUI for yum. How hard is it to open a shell and type 'yum update' or 'yum install new-senseless-gui' ? I can't see how it could be any easier than that. But if there must be a gui so be it.

GYUM gives you a list of packages available to install, remove and updates-released in Graphical User Interface where you can search and select them which is very user-friendly to novice users.

Thomas

Tru
8th December 2004, 01:29 AM
Im sorry tchung but your yum gui doesn't seem as good as mits yum gui which can be found at http://linux.rasmil.dk/mambo/index.php?option=com_content&task=view&id=41&Itemid=41 The reasons are that one why would we want the behaviour of yum that came with fc1 and fc2 they were slow and froze all the time and two with mits yum gui it adds all the repos for you and three you can check and uncheck the repos you want to enable or disable. I have been using his and it works great and since it works off the new yum it is very fast much more than the old yum.

tchung
8th December 2004, 01:46 AM
Im sorry tchung but your yum gui doesn't seem as good as mits yum gui which can be found at http://linux.rasmil.dk/mambo/index.php?option=com_content&task=view&id=41&Itemid=41 The reasons are that one why would we want the behaviour of yum that came with fc1 and fc2 they were slow and froze all the time and two with mits yum gui it adds all the repos for you and three you can check and uncheck the repos you want to enable or disable. I have been using his and it works great and since it works off the new yum it is very fast much more than the old yum.

I won't argue with you which one is better. Each program has its own strength and weakness. Yes, GYUM is not the fastest and it doesn't support custom repo selection but it does what it suppose to do - "allow users to select packages to install, remove and updates from default repositories" - and it does its job pretty well.

Currently, I'm working with Tim Lauridsen who is the author of YUM Extender to write an article about his project on our site - FedoraNEWS.ORG

Yes, it's my ultimate wish to share our knowledge to improve the program and learn from each other to make it better. Remember it's not a race but a collaborative work for Fedora Project. :)

Thomas

Tru
8th December 2004, 02:05 AM
I agree, I wish you guys could combine the strenghts of both like with yours you can select packages and with his you can select repos, runs on the new yum, and installs extra repos for you. Please dont take my comment as knocking your work. What you are doing is more than I can do I just think as of now mits is a better alternative.

tchung
8th December 2004, 02:16 AM
I agree, I wish you guys could combine the strenghts of both like with yours you can select packages and with his you can select repos, runs on the new yum, and installs extra repos for you. Please dont take my comment as knocking your work. What you are doing is more than I can do I just think as of now mits is a better alternative.

Yes, that would be our goal. "Constructive Criticisms" are always welcome :)

Thank you for your feedback.

mit
8th December 2004, 08:32 AM
Hi Thomas.

Keep up the good work.
I understand why people having problems downgrading yum, but i also have studied the sourcecode of yumgui, which GYUM is based on. It is made of a lot code borrowed from Yum 2.0, So it has to be totaly rewritten to work with Yum 2.1, so the make a yum 2.0 release to FC3 was a quick way to get something working.
My Yum extender and GYUM are not competitors, we are both working for the benefit of the Fedora Project.
My prime goal for for yum extender was not to make a synaptic like gui for yum, I was to make it easy to do reposotory swiching in a easy way and to make it easy to use yum for people who are new to Fedora.

tchung
8th December 2004, 11:15 AM
Hi Thomas.

Keep up the good work.
I understand why people having problems downgrading yum, but i also have studied the sourcecode of yumgui, which GYUM is based on. It is made of a lot code borrowed from Yum 2.0, So it has to be totaly rewritten to work with Yum 2.1, so the make a yum 2.0 release to FC3 was a quick way to get something working.
My Yum extender and GYUM are not competitors, we are both working for the benefit of the Fedora Project.
My prime goal for for yum extender was not to make a synaptic like gui for yum, I was to make it easy to do reposotory swiching in a easy way and to make it easy to use yum for people who are new to Fedora.

Hi Tim,

After receiving so many feedbacks regarding the usage of older yum build, I've decided to step back and see if I could rebuild it from the beginning to be compatible with new FC3 yum. Guess what? After 6 hours of hacking, it finally works! You have no idea how glad I am now. :)

http://fedoranews.org/tchung/gyum/2.0/

Thomas

mit
8th December 2004, 01:51 PM
Hi Tim,

After receiving so many feedbacks regarding the usage of older yum build, I've decided to step back and see if I could rebuild it from the beginning to be compatible with new FC3 yum. Guess what? After 6 hours of hacking, it finally works! You have no idea how glad I am now. :)

http://fedoranews.org/tchung/gyum/2.0/

Thomas

Nice work :) :) :) :)

tchung
8th December 2004, 04:33 PM
Last minute change, if you're getting following errors:

Traceback (most recent call last):
File "gyum.py", line 9, in ?
ImportError: No module named clientStuff

I just fixed those issues. Please download gyum-2.0-1.

Thank you for your feedback. :)

tchung
8th December 2004, 11:33 PM
More minor fix for GYUM 2.0!

If you see following startup warning:

Could not setup settings tab. Config.py needs mods.
/usr/lib/python2.3/site-packages/gtk-2.0/gtk/__init__.py:90: GtkDeprecationWarning: gtk.mainiteration is deprecated, use gtk.main_iteration instead
self.warn(message, DeprecationWarning)

gyum-2.0-2.FC3 is available for download:

* Wed Dec 08 2004 Thomas Chung <tchung@fedoranews.org> 2.0-2.FC3
- Fix startup warning
- Add startup message

Thomas

Darkmage
9th December 2004, 01:22 AM
I just installed gyum-2.0-2.FC3.i386.rpm and upon installing it, I get a message saying
/etc/yum.conf has been saved as /etc/yum.conf.save!

When I edited yum.conf, it has the old yum conf way keep repositories instead of using /etc/yum.repo.d/
Anyway of fixing this to only use the repositories in /etc/yum.repo.d

tchung
9th December 2004, 01:36 AM
I just installed gyum-2.0-2.FC3.i386.rpm and upon installing it, I get a message saying
/etc/yum.conf has been saved as /etc/yum.conf.save!

When I edited yum.conf, it has the old yum conf way keep repositories instead of using /etc/yum.repo.d/
Anyway of fixing this to only use the repositories in /etc/yum.repo.d

In order to GYUM to work with YUM, it needs a single yum configuration file /etc/yum.conf.

For last 25 hours, I've updated GYUM so many times to fix issues from non-compatible with stock FC3 yum to startup errors and warnings.

Yes, to be able to choose multiple repositories with GYUM is one of TODO items at this time.

Thomas

tchung
9th December 2004, 02:08 AM
As a work around, you can use YUM Extender (http://linux.rasmil.dk/mambo/index.php?option=com_content&task=view&id=41&Itemid=41) to create most popular extra repos in /etc/yum.repos.d
then copy the contents of your choice of extra repo to /etc/yum.conf to enable it.

For example:
# cd /etc/yum.repos.d/
# cat flash.repo
[flash]
name=macromedia.mplug.org - Flash Plugin
baseurl=http://macromedia.mplug.org/apt/fedora/$releasever
http://sluglug.ucsc.edu/macromedia/apt/fedora/$releasever
http://ruslug.rutgers.edu/macromedia/apt/fedora/$releasever
http://macromedia.rediris.es/apt/fedora/$releasever
enabled=0
gpgcheck=0
# cat flash.repo >> /etc/yum.conf
# vi /etc/yum.conf
...
enabled=1

Then start GYUM again and you will see flash repo in your GYUM main window.

Here is a screenshot of GYUM with flash repo:

http://fedoranews.org/tchung/gyum/2.0/screenshots/gyum-flash-repo.png

Thomas

Darkmage
9th December 2004, 02:19 AM
I think I will wait for you to implement the /etc/yum.repo.d on gyum :D . I have confidence in your skills :D

mrguytx
9th December 2004, 03:54 PM
Absolutely outstanding.

Thanks for the contribution.

G

wapgeek
9th December 2004, 09:33 PM
all i want to say is that gyum is really kool, :D

tchung
12th December 2004, 04:15 AM
Good news everyone! Settings Tab (http://fedoranews.org/tchung/gyum/2.0/screenshots/gyum-settings.png) is now fully functional!
This means you can now add/delete/update yum repository server with gyum 2.0-5.FC3
Happy Holidays eveyone!

http://fedoranews.org/tchung/gyum/2.0/

Thomas

Avix
23rd December 2004, 08:18 PM
Tchung, as someone who has some major memory problems, I have to use gui's for almost everything, Gyum is a gods send, your and Mit's work has been of major help. and since I try and get as many new people into using Linux as possible, it's also helping "the cause" as it were. well done and take a pat on the back out of petty cash!

(but leave a reciept Please Grin))

brmiller
26th December 2004, 01:45 AM
Seriously, has anyone gotten gyum to work with a proxy server? I've read dozens of yum/proxy threads and none of the http_proxy/HTTP_PROXY environment variables seem to make things work. I always get a timeout trying to fetch the headers.info file. What gives? Is there a gyum.conf token for setting a proxy server? If not, you want to add one, tchung? I've been dying to try gyum out, but I can't get past the "updating yum cache" screen.

Brendan

tchung
26th December 2004, 06:10 AM
I haven't confirm this yet so please let me know.

Try adding your http_proxy environment variable in:

/usr/share/gyum/gyum

Then run /usr/share/gyum/gyum direct instead of /usr/bin/gyum

Thomas

big_gie
5th January 2005, 11:00 PM
Last minute change, if you're getting following errors:

Traceback (most recent call last):
File "gyum.py", line 9, in ?
ImportError: No module named clientStuff

I just fixed those issues. Please download gyum-2.0-1.

Thank you for your feedback. :)

Hi tchung, thanks for gyum, its nice!

I just launch it but I get an error:
[root@dddd ~]# gyum
Traceback (most recent call last):
File "gyum.py", line 9, in ?
File "clientStuff.py", line 18, in ?
ImportError: No module named rpm
[root@dddd ~]# rpm -q gyum
gyum-2.0-5.FC3
[root@dddd ~]#

What could it be? Thanks.

tchung
5th January 2005, 11:15 PM
Hi tchung, thanks for gyum, its nice!
I just launch it but I get an error:
What could it be? Thanks.

I would suggest to perform a clean install.

# rpm -e gyum
# rm -rf /usr/share/gyum
# rm -rf /etc/gyum.conf
# rpm -Uvh gym*.rpm

Thomas

big_gie
7th January 2005, 11:52 AM
I would suggest to perform a clean install.
Hi, thanks for the response!

As you suggested, I deleted and reinstalled, but I'm having the same problem... Traceback (most recent call last):
File "gyum.py", line 9, in ?
File "clientStuff.py", line 18, in ?
ImportError: No module named rpm

I've ran "yum info" to see if it could be yum, but it seems to work...

tchung
7th January 2005, 07:16 PM
Did you install the latest binary from following URL?
http://fedoranews.org/tchung/gyum/2.0/fc3/2.0-5/

Or did you build it yourself?
There shouldn't be any *.py but only *.pyc

Would you post output of following commnad?
$ rpm -qlp gyum-2.0-5.FC3.i386.rpm

Thomas

yr2alex
7th January 2005, 08:12 PM
Hello Thomas

First of all GYUM is AWESOME!! Secondly, I use FC2 on one of my boxes and Cobinds YUM Gui but it is ssssssssslllllllllllllllllllllllooooooooooooowwwww wwwwwwwww... My question to you is can I use gyum 2.0-5 on FC2, is it backward compatible? Why you ask, FC2 works I am completely satisfied for now and see no immediate reason to change.

yr2alex

tchung
7th January 2005, 08:17 PM
Hello Thomas

First of all GYUM is AWESOME!! Secondly, I use FC2 on one of my boxes and Cobinds YUM Gui but it is ssssssssslllllllllllllllllllllllooooooooooooowwwww wwwwwwwww... My question to you is can I use gyum 2.0-5 on FC2, is it backward compatible? Why you ask, FC2 works I am completely satisfied for now and see no immediate reason to change.

yr2alex

Here is FC2 build: http://fedoranews.org/tchung/gyum/2.0/fc2/

Please refer to a note in http://fedoranews.org/tchung/gyum/2.0/ regarding startup time.

Thomas

big_gie
8th January 2005, 10:32 AM
Did you install the latest binary from following URL?
http://fedoranews.org/tchung/gyum/2.0/fc3/2.0-5/
Or did you build it yourself?

Yes, that was the source I installed from. I downloaded the binaires. I did not compile it myself.

There shouldn't be any *.py but only *.pyc
Hum... How come it tells me so?

Would you post output of following commnad?
$ rpm -qlp gyum-2.0-5.FC3.i386.rpm
Sure :)
Here it is:

[root@ddd downloads]# rpm -qlp gyum-2.0-5.FC3.i386.rpm
/etc/gyum.conf
/etc/pam.d/gyum
/etc/security/console.apps/gyum
/usr/bin/gyum
/usr/share/applications/gyum.desktop
/usr/share/gyum
/usr/share/gyum/archwork.pyc
/usr/share/gyum/bootloadercfg.pyc
/usr/share/gyum/callback.pyc
/usr/share/gyum/checkbootloader.pyc
/usr/share/gyum/clientStuff.pyc
/usr/share/gyum/comps.pyc
/usr/share/gyum/config.pyc
/usr/share/gyum/failover.pyc
/usr/share/gyum/grubcfg.pyc
/usr/share/gyum/gyum
/usr/share/gyum/gyum.png
/usr/share/gyum/gyum.pyc
/usr/share/gyum/i18n.pyc
/usr/share/gyum/iutil.pyc
/usr/share/gyum/keepalive.pyc
/usr/share/gyum/lilo.pyc
/usr/share/gyum/lilocfg.pyc
/usr/share/gyum/logger.pyc
/usr/share/gyum/nevral.pyc
/usr/share/gyum/pkgaction.pyc
/usr/share/gyum/progress_bar.pyc
/usr/share/gyum/progress_meter.pyc
/usr/share/gyum/pullheaders.pyc
/usr/share/gyum/rpmUtils.pyc
/usr/share/gyum/serverStuff.pyc
/usr/share/gyum/up2datetheft.pyc
/usr/share/gyum/urlgrabber.pyc
/usr/share/gyum/yumcomps.pyc
/usr/share/gyum/yumlock.pyc
/usr/share/gyum/yummain.pyc
/usr/share/pixmaps/gyum-icon.png
[root@ddd downloads]#

tchung
11th January 2005, 06:29 PM
Traceback (most recent call last):
File "gyum.py", line 9, in ?
File "clientStuff.py", line 18, in ?
ImportError: No module named rpm


I really don't have any idea why you are getting this error message since those *.py files don't even exist in my binary RPM package. :confused:

My test system is a fresh install FC3 and I have no problem running it.

Thomas

piedamaro
11th January 2005, 07:21 PM
Is there actually any real reason to use yum over apt or smart? Don't want to discredit the application, I'm just curious why people use it since I can't find any advantage.

tchung
11th January 2005, 07:41 PM
Is there actually any real reason to use yum over apt or smart? Don't want to discredit the application, I'm just curious why people use it since I can't find any advantage.

Well, yum is installed by default as a core package and 'officially' (in loose term) supported by Fedora Project Community and developed by Fedora Core Development Team.

It doesn't mean you can't use other third-party utility such as 'apt' or 'smartpm'.
In fact, I also like 'red-carpet' as much as 'yum' :)

Thomas

piedamaro
11th January 2005, 08:33 PM
Ok, thanks. So it can be considered as the "Fedora package manager".

heymister
18th January 2005, 10:42 AM
>Traceback (most recent call last):
>File "gyum.py", line 9, in ?
>File "clientStuff.py", line 18, in ?
>ImportError: No module named rpm

I had this problem too, yesterday night i updated my FC3 and now gyum works.
I updated about 120 packets so I can't tell which one solve the problem, maybe:
yum-2.1.12-50.rhfc3.at
python24-2.4-2_4.rhfc3.at
python-2.3.4-11
libxml2-python-2.6.16-5_17.rhfc3.at
pythonabi-2.3.4-1.rhfc3.at

hope it helps
regards