Koozali.org: home of the SME Server

yum or not to yum

mbachmann

yum or not to yum
« Reply #15 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.

Offline brianr

  • *
  • 989
  • +2/-0
yum or not to yum
« Reply #16 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.
Brian j Read
(retired, for a second time, still got 2 installations though)
The instrument I am playing is my favourite Melodeon.
.........

ChrisG

yum or not to yum
« Reply #17 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

bobk

yum or not to yum
« Reply #18 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. But some are from fedora/legacy.

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

mbachmann

yum or not to yum
« Reply #19 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.

mbachmann

yum or not to yum
« Reply #20 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?

Offline stancol

  • ***
  • 90
  • +0/-0
    • http://www.srcproductions.com
Yum is delicious
« Reply #21 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?
What are the three dots for at the end of my signature file and why can't I get rid of them?These three dots right here >...

Offline Boris

  • *
  • 783
  • +0/-0
yum or not to yum
« Reply #22 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.
...

Offline JensK

  • *
  • 21
  • +0/-0
    • http://www.kjellerup-hansen.dk
Can't delete empty Yum configuration
« Reply #23 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
......

Offline stancol

  • ***
  • 90
  • +0/-0
    • http://www.srcproductions.com
It's something like this....
« Reply #24 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.
What are the three dots for at the end of my signature file and why can't I get rid of them?These three dots right here >...

bobk

Re: Can't delete empty Yum configuration
« Reply #25 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.

Offline JensK

  • *
  • 21
  • +0/-0
    • http://www.kjellerup-hansen.dk
Empty yum configuration
« Reply #26 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
......

Offline Teviot

  • *
  • 610
  • +0/-0
Yum Update Sites - SME 6
« Reply #27 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
Regards
M0GLJ
......................................................
I am new to SAIL SME Server v8b6 and have been using SME for many years.
I have already done some research and only ask questions if I still can't work it out.