Koozali.org: home of the SME Server

Legacy Forums => Experienced User Forum => Topic started by: hardijs on March 09, 2004, 09:20:58 AM

Title: yum or not to yum
Post by: hardijs on March 09, 2004, 09:20:58 AM
installed the latest and the greatest from the pagefault.org to discover a new tool has been landed in my (our) lap.

yum.

now any idea as to proceed with the yum offered updates or stay cautious.

got a mail from update manager with quite a few things that look promising.
(namely e-smith ...release and athlon optimised kernel)

Any opinion would be rather wellcomed.

apache                                   i386       1.3.27-4
cvs                                      i386       1.11.1p1-9.7.legacy
e-smith-base                             noarch     4.14.1-16
e-smith-email                            noarch     4.14.0-07
e-smith-formmagick                       noarch     1.2.2-02
e-smith-hosts                            noarch     1.12.0-02
e-smith-ldap                             noarch     4.10.0-03
e-smith-lib                              noarch     1.14.0-10
e-smith-lib-Tai64n                       noarch     1.14.0-08
e-smith-lilo                             noarch     1.12.0-04
e-smith-manager                          noarch     1.10.0-02
e-smith-release                          noarch     6.0.1-01
e-smith-support                          noarch     1.4.4-04
fileutils                                i386       4.1-10.4
glibc                                    i686       2.2.5-44
glibc-common                             i386       2.2.5-44
gnupg                                    i386       1.0.7-13
initscripts                              i386       6.67-1es25
iproute                                  i386       2.4.7-7.73.1
iptables                                 i386       1.2.8-8.72.3
kernel                                   athlon     2.4.20-30.7.legacy
kernel-smp                               athlon     2.4.20-30.7.legacy
libpcap                                  i386       0.6.2-17.7.3.4.legacy
mysql                                    i386       3.23.58-1.73
mysql-devel                              i386       3.23.58-1.73
mysql-server                             i386       3.23.58-1.73
perl                                     i386       5.6.1-36.1.73
perl-CPAN                                i386       1.59_54-36.1.73
perl-DB_File                             i386       1.75-36.1.73
perl-NDBM_File                           i386       1.75-36.1.73
perl-suidperl                            i386       5.6.1-36.1.73
pine                                     i386       4.44-19.73.0
rsync                                    i386       2.5.7-0.7
screen                                   i386       3.9.11-4.legacy
tcpdump                                  i386       3.6.3-17.7.3.4.legacy
ucd-snmp                                 i386       4.2.5-8.73.1
ucd-snmp-utils                           i386       4.2.5-8.73.1
unzip                                    i386       5.50-31


The following rpms are available for installing on your server:

Gathering package information from servers
Getting headers from: charlieBrady_base
Getting headers from: iblio
Getting headers from: pagefault
Finding updated packages
Downloading needed headers
Name                                     Arch       Version
--------------------------------------------------------------------------------
XFree86-libs                             i386       4.2.1-13.73.23
anaconda                                 i386       7.3-7es116
anaconda-runtime                         i386       7.3-7es116
iptables-ipv6                            i386       1.2.8-8.72.3
ucd-snmp-devel                           i386       4.2.5-8.73.1
w3m                                      i386       0.3.1-4.7x.1
Title: yum or not to yum
Post by: Anonymous on March 11, 2004, 04:31:55 PM
If you are experienced enough and if it's no production system: just try.

I would not dare updating more than one thing at a time.  I've experience quite many trouble due to updating (and insufficient skills too); it feels all like windows. Update CLAM AV, break Spamassassin, update mrtg, break sysmon, install securemail, break qmail.
Title: yum or not to yum
Post by: wyron on March 11, 2004, 04:40:49 PM
Yeah, right !
Enjoy the tool, but keep your cool, like our anonymous 'Guest' suggests.
I haven't had the experience of anything breaking down on me yet, but then again - I only update when I have a specific reason to !
So I use it mainly to keep track of development.
Title: yum or not to yum
Post by: mbachmann on March 11, 2004, 04:57:00 PM
The timeout setting is too short. I have no fear suggesting with my name. If nothing's broken for you, wyron from Denmark: congrats.
Title: yum or not to yum
Post by: wyron on March 11, 2004, 05:24:46 PM
You know what, MB - you're absolutely right - the timeout setting is too short.
I was a bit fast off the mark stating that nothing has broken down on me yet - what I meant was that nothing has broken down as a result of utilizing yum . .  . yet !

PS! Enjoyed meeting you in a thread even if I didn't know it was you.
Perhaps with yum you learned the hard way to 'Enjoy the tool, but keep your cool' ?

PPS! I wasn't trying to imply that there was anything wrong with your post, even if it was anonymous. I just referred to it, as it were.
Title: yum or not to yum
Post by: bobk on March 12, 2004, 01:58:35 AM
I setup a test server to see what might break by updating to 6.0.1-01.

Step by step what I have done so far.

01 - clean install of Mitel 6.0 final
02 - update to contribs.org ver 6.0.1-01

RPMs installed for the update.
e-smith-base 4.14.1-16
e-smith-formmagick 1.2.2-02
e-smith-hosts 1.12.0-02
e-smith-ldap 4.10.0-03
e-smith-lib 1.14.0-10
e-smith-lilo 1.12.0-04
e-smith-manager 1.10.0-02
e-smith-release 6.0.1-01
e-smith-support 1.4.4-04

03 - atalk service disabled

04 - Installed the following contribs

Yum (including D May SM Panel ver 1.1.0-03)
ClamAV (with SM Panel pagefault.org)
User Manager Panel (Dungog ver 1.6.0-3)
Secure Mail (pagefault.org)
DHCP lease manager
BannerFilter (ver 1.2.1)
UpDate System (Dungog ver 0.0.1-15)
Backup2WS (D May ver 0.0.1-18)
phpsysinfo (D May ver 2.1.1)
sysmon (4.1.3)
Awstats (2.3.4-0 = awststs ver 5.7)
MX Backup (Schirrm ver 0.0.3-02)

05 - updated the following packages to the versions below using D May's Yum SM Panel.

iproute-2.4.7-1
libpcap-0.6.2-17.7.3.2
perl-NDBM_File-1.75-34.99.6
screen-3.9.11-3
glibc-common-2.2.5-43
perl-suidperl-5.6.1-34.99.6
fileutils-4.1-10.1
mysql-3.23.56-1.73
tcpdump-3.6.3-17.7.3.3
perl-DB_File-1.75-34.99.6
iptables-1.2.5-3
ucd-snmp-4.2.5-7.73.0
cvs-1.11.1p1-7es02
mysql-server-3.23.56-1.73
glibc-2.2.5-43
unzip-5.50-11
rsync-2.5.4-2es1
perl-CPAN-1.59_54-34.99.6
gnupg-1.0.7-7
mysql-devel-3.23.56-1.73
perl-5.6.1-34.99.6
pine-4.44-7.73.0
apache-1.3.27-2

4 days of testing and everything seems to be working fine.

I have been running some heavy use VPN connections into this test network with no problems. Clients used so far are W2Kpro (latest SP) and XPpro.
Title: yum or not to yum
Post by: wyron on March 12, 2004, 08:16:26 AM
Quote from: "bobk"
I have been running some heavy use VPN connections into this test network with no problems. Clients used so far are W2Kpro (latest SP) and XPpro.

Ah - you have tickled my curiousity, since I can't get VPN to function from my W2K-box @ work !
When trying to connect, I get as far as username and password validation, then the error 781 for no valid certificate.
If I try to connect with encryption as an option instead, I get error 789 for problems with L2TP initial negotiation.
How did you get through ?
Title: yum or not to yum
Post by: bobk on March 12, 2004, 09:02:53 PM
Quote from: "wyron"

...
How did you get through ?



I did not do anything special, below is my setup:

Site 1
Internet connection = ADSL with fixed IP (service provider A)
Gateway Server = Mitel SME 5.6 U6
Workstation1 & 2 = W2Kpro ver 5.0.2195 Service Pack 4 build 2195
Workstation3 - 6 = XPpro ver 5.1.2600

Site 2
Internet connection = ADSL with fixed IP (service provider B)
Gateway Server = SME 6.0.1-01 setup as in my post above.
Workstation1 = W2Kpro ver 5.0.2195 Service Pack 4 build 2195
Workstation2 = XPpro ver 5.1.2600

Internal IP ranges - Site1 is 10.0.0.xxx. Site2 is 192.168.0.xxx
All workstations have fixed IPs assigned in the Gateway Server Hostnames and addresses SM panel.
Site1 Host IPs have been entered into the Site2 SM Hostnames and addresses panel as Remote Hosts.
Both Gateway Servers setup to allow 5 PPTP Clients.
All workstations have the Remote Access Connection Manager service running.
XPpro workstations have the "winxplogon.reg" applied.
All VPN connections were setup using the Windows Network Connection Wizard default settings.

A stable VPN connection can be established from any of the workstations at either site to the other site. Once the VPN connection is established I can connect to and use any network share.

I hope some of this information will help you.

Bob
Title: yum or not to yum
Post by: wyron on March 13, 2004, 09:18:34 AM
Ok, then it's a nogo for me, since my box @ work is hidden in a MPLS cloud, on a firewalled subnet behind a firewalled subnet behind . . and so on.
Damned !
But thanks for the specification, anyway.
Title: yum or not to yum
Post by: mbachmann on March 17, 2004, 09:34:48 AM
So i am alone in breaking up my server via manual updates panel (not yum), sigh. I assure you that i've experienced quite some trouble with Clam AV, SA securemail, tinydns, CUPS and sysmon on a 6.0 box. But thanks to this forum i get it fixed.

wyron: :-)

bobk, thanks for describing the testing/updating process.
Title: nice, but what repositories do I use ?
Post by: knewbie on March 17, 2004, 05:15:35 PM
I've seen yum in action and used the ibilio and a RedHat repositiory to make an update, and all seems to work...

Can someone point me to the repositories I should be using in order to keep my SME6.01 up-to date and not break it by using the wrong source ???
Title: yum or not to yum
Post by: wyron on March 18, 2004, 09:38:34 AM
I have only four repositories as of yet.
They are . . .
Contribs (of course): http://www.ibiblio.org/pub/Linux/distributions/smeserver/releases/development/RPMS/
Charlie Bradys update: http://www.ibiblio.org/pub/linux/distributions/e-smith/contrib/CharlieBrady/yum-repository/6.0/updates/
CB's base: http://www.ibiblio.org/pub/linux/distributions/e-smith/contrib/CharlieBrady/yum-repository/6.0/base/
Norlugs: http://www.ibiblio.org/pub/mirrors/norlug/redhat-7.3/RPMS/
Although there are a great deal of packages at Norlug, updates and new both, I haven't had the guts to try out any of them.
From the others I've taken what there is except the anaconda-updates.
Found interesting alternatives, anyone ??

PS! Once again, thxs to Darrell for a brilliant contrib (yum-yum) !
Title: one more
Post by: Hardijs_ on March 18, 2004, 11:49:28 AM
pagefault
http://www.pagefault.org/download/e-smith/6.0/updates/i386/
Title: yum or not to yum
Post by: mbachmann on March 19, 2004, 09:34:48 AM
I added the yum from dmay and it appeared in server manager.

Trying to remove an added repository does not work, to check a rep. does not work either.

Calling yum from command prompt:
"Not using ftp, http, or file for servers, Aborting - dmay" - whatever options are being used.

It has worked from the console before i installed Dmays contrib. I think i messed something up with the yum which comes with Clam AV from pagefault.org, but maybe someone has a hint?
Title: yum or not to yum
Post by: wyron on March 19, 2004, 10:12:11 AM
Hi, MB
I had the same problem a couple of weeks ago.
Did you get the latest yum-contrib from Darrell ?
Did you 'signal-event' and restart after rpm -Uvh... ?
As far as I remember that was what did it for me.
The yum-service is working flawlessly for me now (yummie-yummie).
Title: yum or not to yum
Post by: mbachmann on March 25, 2004, 03:41:54 PM
Solution for this seems:

the yum comming from pagefault with e-smith-antivirus-6.0.2-02dc is
yum-1.0.3-6.0.7.x.esmith.noarch.rpm

the yum in Darrel May's repository is
yum-1.0.3-1_73.noarch.rpm

Installing the older one via servermanager update system is rejected because it is an older version, although it seems to be installed.

I think this causes the error.
Title: yum or not to yum
Post by: brianr on March 25, 2004, 04:54:16 PM
I also had this problem, but removing the yum rpm

   rpm -e yum-1.0.3-6.0.7.x.esmith

worked ok, then because python was already installed I had to install Darrell's yum and the smeserver panel rpms individually

works fine now.
Title: yum or not to yum
Post by: ChrisG on April 12, 2004, 08:05:53 PM
I have a question about YUM - I currently have two repositories in my config:
Contribs.Org     http://www.ibiblio.org/pub/Linux/distributions/smeserver/releases/6.0.1/RPMS/  
Pagefault.Org    http://www.pagefault.org/download/e-smith/6.0.1/updates/i386/

The Pagefault repository has a TON more updates than the Contribs.org. Why is that? And is it safe to install all of the updates from Pagefault? Has anyone experieneced any problems using these?

Thanks in advance and thanks to Darryl May and others for a great contrib and great service to the community...

Chris G
Title: yum or not to yum
Post by: bobk on April 13, 2004, 03:28:07 AM
I have been playing with updating packages on my test box. So far I have updated the RPMs listed below without any problems. Many of these are from pagefault.org (http://www.pagefault.org/). But some are from fedora/legacy (http://public.planetmirror.com/pub/fedoralegacy/redhat/7.3/updates/i386/).

I used YUM to update all except initscripts-6.67-1es26 from contribs.org/updates.

I have not tried any from norlug yet.

apache-1.3.27-4
cvs-1.11.1p1-9.7.legacy
dump-0.4b27-3es1
fileutils-4.1-10.4
glibc-2.2.5-44
glibc-common-2.2.5-44
gnupg-1.0.7-13
initscripts-6.67-1es26
iproute-2.4.7-7.73.1
iptables-1.2.8-8.72.3
libpcap-0.6.2-17.7.3.4.legacy
mysql-3.23.58-1.73
mysql-devel-3.23.58-1.73
mysql-server-3.23.58-1.73
newt-0.50.35-1es01
openssl-0.9.7a-20.2
openssl096b-0.9.6b-16
perl-5.6.1-36.1.73
perl-CPAN-1.59_54-36.1.73
perl-DB_File-1.75-36.1.73
perl-NDBM_File-1.75-36.1.73
perl-suidperl-5.6.1-36.1.73
pine-4.44-19.73.0
rsync-2.5.7-0.7
screen-3.9.11-4.legacy
setup-2.5.12-1es01
shadow-utils-20000902-9.7es1
stunnel-3.26-1.7.3es01
tcpdump-3.6.3-17.7.3.4.legacy
ucd-snmp-4.2.5-8.73.1
unzip-5.50-31
Title: yum or not to yum
Post by: mbachmann on April 13, 2004, 04:50:59 PM
I can't get Darrel's yum to work. I made a mistake on entering a yum repository: under name i entered an url, under url a "1" and i was not able to delete that entry. Even uninstalling, deleting all yum configs (except that yum-e-smith-antivirus.conf from pagefault.org), rebooting, reinstalling kept the annoying entry. The yum-1.0.3-6.0.7.x.esmith.noarch.rpm is working. Sigh.
Title: yum or not to yum
Post by: mbachmann on April 15, 2004, 03:42:08 PM
Since i cannot get Darell Mays server-manager yum to work i try with the command line yum.

There is a yum.conf in /etc/. It looks like

[main]
cachedir=/var/cache/yum
debuglevel=2
logfile=/var/log/yum.log
pkgpolicy=newest
exactarch=1
exclude=kernel*

[base]
name=E-smith Linux $releasever base
baseurl=http://www.pagefault.org/download/e-smith/$releasever/os/$basearch
gpgcheck=0

.... [other entries]


I've added:

[development]
name=E-smith Linux $releasever development
baseurl=http://www.ibiblio.org/pub/Linux/distributions/smeserver/releases/$releasever/$basearch
gpgcheck=0

wich results in
Traceback (innermost last):
  File "/usr/bin/yum", line 44, in ?
    yummain.main(sys.argv[1:])
  File "yummain.py", line 144, in main
  File "clientStuff.py", line 688, in get_package_info_from_servers
  File "clientStuff.py", line 128, in HeaderInfoNevralLoad
ValueError: unpack list of wrong size

No matter what path i enter in "baseurl". Commenting out lets it run just fine.  Any clues?
Title: Yum is delicious
Post by: stancol on May 06, 2004, 08:30:34 PM
Installed D Mays yum contrib from his how to. Worked fine for me on a 6.0.1 box. I must say it's very delicious.... :-D
[This is humor for those of you that have been in computer closets to long and don't know what humor is anymore.]

The repositories that I use are:

Pagefault E-Smith 6.0.1 Legacy Utils http://www.pagefault.org/download/e-smith/6.0.1/legacy-utils/i386/

Pagefault E-Smith 6.0.1 OS http://www.pagefault.org/download/e-smith/6.0.1/os/i386/

Pagefault E-Smith 6.0.1 Updates http://www.pagefault.org/download/e-smith/6.0.1/updates/i386/

I've been able to safely update everything except the Kernal packages. I also haven't updated (or should I say installed) Pine. I'm not even really sure why Pine is showing up in my listings.

Ok here is my real reason for this post.

I have a couple of older 5.6 boxes that I don't think I can upgrade do to lack of RAM CPU etc... Actually I probably could upgrade I'm just not sure it's a good idea yet. In anycase could YUM work on 5.6? If so are there any repositories for it?
Title: yum or not to yum
Post by: Boris on May 06, 2004, 09:33:42 PM
Hardware requirements are not that different between 5.6 and 6.x If you have >= 128Mb RAM you may consider the upgrade.
Title: Can't delete empty Yum configuration
Post by: JensK on May 20, 2004, 02:24:25 PM
By mistake I have enteret an empty line in the yum configuration in sm panel. I  am not able to delete this line because there os no "OK" button when I choose to delete it in SM.

I have tried to delete the line in the /etc/yum.conf file but it get written back into yum.conf everytime I try to edit the yum config in SM.

How do I get this empty yum config line deleted?

Thanks JensK
Title: It's something like this....
Post by: stancol on May 20, 2004, 08:36:31 PM
Don't know but maybe I can point you in the right direction.

Yum Configuration is in the db at /home/e-smith/configuration. Your not supposed to edit that file manually.(Not sure why yet but I'm SURE there is a good reason not to edit it manually.) Do a search for how to use  /sbin/e-smith/db  That would be the correct way to edit items in that file.

After you get that part straightened out you'll probably need to do a /sbin/e-smith/expand-template etc/yum.conf to get it back right. You might even accidently wind up deleting all your Repositories in which case you can simply re add them.

Good luck. If you get some thing to work you might want to post it back here. I'm sure others would like to know too.
Title: Re: Can't delete empty Yum configuration
Post by: bobk on May 20, 2004, 11:53:58 PM
Quote from: "JensK"
By mistake I have enteret an empty line in the yum configuration in sm panel. I  am not able to delete this line because there os no "OK" button when I choose to delete it in SM.

I have tried to delete the line in the /etc/yum.conf file but it get written back into yum.conf everytime I try to edit the yum config in SM.

How do I get this empty yum config line deleted?

Thanks JensK


Check out this post http://forums.contribs.org/index.php?topic=22282.msg88432#msg88432 it may help you.
Title: Empty yum configuration
Post by: JensK on May 25, 2004, 10:37:40 PM
I followed the instructions in http://forums.contribs.org/index.php?topic=22282.msg88432#msg88432
and it worked.
Thanks a lot.
JensK
Title: Yum Update Sites - SME 6
Post by: Teviot on December 02, 2004, 04:07:16 AM
Is there one site that contribs.org recommends that has all the update and add-ons in one place

Refer to http://forums.contribs.org/index.php?topic=24329.0

Regards
Adrian