Koozali.org: home of the SME Server

missing or incorrect perl(Compress::Raw::Zlib)

Offline magwm

  • *
  • 159
  • +0/-0
  • SmeLover
    • Gadis Tourist Service Italia SRL
Re: missing or incorrect perl(Compress::Raw::Zlib)
« Reply #15 on: November 25, 2010, 05:53:56 PM »
No Charlie, not really...

Code: [Select]
[root@proxy ~]# rpm -e --nodeps perl-IO-Compress

[root@proxy ~]# yum install perl-IO-Compress
Loading "protect-packages" plugin
Loading "fastestmirror" plugin
Loading "installonlyn" plugin
Loading "smeserver" plugin
Setting up Install Process
Setting up repositories
smeaddons                 100% |=========================| 1.9 kB    00:00
smeextras                 100% |=========================| 1.9 kB    00:00
base                      100% |=========================| 1.1 kB    00:00
updates                   100% |=========================|  951 B    00:00
smeos                     100% |=========================| 1.9 kB    00:00
smeupdates                100% |=========================| 1.9 kB    00:00
Loading mirror speeds from cached hostfile
Reading repository metadata in from local files
Excluding Packages from CentOS - os
Finished
Excluding Packages from CentOS - updates
Finished
Parsing package install arguments
No Match for argument: perl-IO-Compress
Nothing to do
[root@proxy ~]# yum install perl-IO-Compress --enablerepo=*
Loading "protect-packages" plugin
Loading "fastestmirror" plugin
Loading "installonlyn" plugin
Loading "smeserver" plugin
Setting up Install Process
Setting up repositories
smecontribs               100% |=========================| 1.9 kB    00:00
smetest                   100% |=========================| 1.9 kB    00:01
dag                       100% |=========================| 1.1 kB    00:00
smedev                    100% |=========================| 1.9 kB    00:00
contrib                   100% |=========================|  951 B    00:00
smeupdates-testing        100% |=========================| 1.9 kB    00:00
centosplus                100% |=========================|  951 B    00:00
addons                    100% |=========================|  951 B    00:00
extras                    100% |=========================| 1.1 kB    00:00
Loading mirror speeds from cached hostfile
Reading repository metadata in from local files
primary.xml.gz            100% |=========================|  23 kB    00:00
sqlite cache needs updating, reading in metadata
smetest   : ################################################## 31/31
primary.xml.gz            100% |=========================| 6.7 kB    00:00
sqlite cache needs updating, reading in metadata
smeupdates: ################################################## 16/16
primary.xml.gz            100% |=========================| 144 kB    00:00
sqlite cache needs updating, reading in metadata
centosplus: ################################################## 387/387
Excluding Packages from Dag - EL4
Finished
Excluding Packages from CentOS - os
Finished
Excluding Packages from CentOS - updates
Finished
Parsing package install arguments
No Match for argument: perl-IO-Compress
Nothing to do
[root@proxy ~]#

So now I have uninstalled it .. and have no possibility to reinstall.... argh.

but, on the other hand, yum update now gives no errors..  and as it it late, I will risk saying OK. now. it is downloading Horde right now.

still, I saved the package perl-IO-Compress-2.024-1.el4.rf.noarch.rpm in my home, so I can install it if something complains..

let's hope for the best.. ;)

Michel
MagWm

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: missing or incorrect perl(Compress::Raw::Zlib)
« Reply #16 on: November 25, 2010, 06:10:42 PM »
It appears that you still haven't disabled the 'dag' repository in your yum configuration.

Offline magwm

  • *
  • 159
  • +0/-0
  • SmeLover
    • Gadis Tourist Service Italia SRL
Re: missing or incorrect perl(Compress::Raw::Zlib)
« Reply #17 on: November 25, 2010, 06:18:19 PM »
yes it is..

Code: [Select]
[root@proxy ~]# db yum_repositories show
addons=repository
    EnableGroups=no
    GPGCheck=yes
    MirrorList=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=addons
    Name=CentOS - addons
    Visible=no
    status=disabled
base=repository
    EnableGroups=no
    Exclude=kernel,kernel-smp,kernel-xenU,mkinitrd,mdadm,initscripts
    GPGCheck=yes
    MirrorList=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=os
    Name=CentOS - os
    Visible=yes
    status=enabled
centosplus=repository
    EnableGroups=no
    GPGCheck=yes
    MirrorList=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=centosplus
    Name=CentOS - centosplus
    Visible=no
    status=disabled
contrib=repository
    EnableGroups=no
    GPGCheck=yes
    MirrorList=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=contrib
    Name=CentOS - contrib
    Visible=no
    status=disabled
dag=repository
    BaseURL=http://apt.sw.be/redhat/el4/en/$basearch/dag
    EnableGroups=no
    Exclude=freetype,htop,iptraf,rsync,syslinux
    GPGCheck=yes
    GPGKey=http://dag.wieers.com/packages/RPM-GPG-KEY.dag.txt
    Name=Dag - EL4
    Visible=no
    status=disabled
extras=repository
    EnableGroups=no
    GPGCheck=yes
    MirrorList=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=extras
    Name=CentOS - extras
    Visible=no
    status=disabled
smeaddons=repository
    EnableGroups=yes
    GPGCheck=yes
    MirrorList=http://distro.ibiblio.org/pub/linux/distributions/smeserver/mirrorlist/smeaddons-7
    Name=SME Server - addons
    Visible=yes
    status=enabled
smecontribs=repository
    EnableGroups=yes
    GPGCheck=yes
    MirrorList=http://distro.ibiblio.org/pub/linux/distributions/smeserver/mirrorlist/smecontribs-7
    Name=SME Server - contribs
    Visible=no
    status=disabled
smedev=repository
    EnableGroups=yes
    GPGCheck=yes
    MirrorList=http://distro.ibiblio.org/pub/linux/distributions/smeserver/mirrorlist/smedev-7
    Name=SME Server - dev
    Visible=no
    status=disabled
smeextras=repository
    EnableGroups=yes
    GPGCheck=yes
    MirrorList=http://distro.ibiblio.org/pub/linux/distributions/smeserver/mirrorlist/smeextras-7
    Name=SME Server - extras
    Visible=yes
    status=enabled
smeos=repository
    EnableGroups=yes
    GPGCheck=yes
    MirrorList=http://distro.ibiblio.org/pub/linux/distributions/smeserver/mirrorlist/smeos-7
    Name=SME Server - os
    Visible=yes
    status=enabled
smetest=repository
    EnableGroups=yes
    GPGCheck=yes
    MirrorList=http://distro.ibiblio.org/pub/linux/distributions/smeserver/mirrorlist/smetest-7
    Name=SME Server - test
    Visible=no
    status=disabled
smeupdates=repository
    EnableGroups=yes
    GPGCheck=yes
    MirrorList=http://distro.ibiblio.org/pub/linux/distributions/smeserver/mirrorlist/smeupdates-7
    Name=SME Server - updates
    Visible=yes
    status=enabled
smeupdates-testing=repository
    EnableGroups=yes
    GPGCheck=yes
    MirrorList=http://distro.ibiblio.org/pub/linux/distributions/smeserver/mirrorlist/smeupdates-testing-7
    Name=SME Server - updates testing
    Visible=yes
    status=disabled
updates=repository
    EnableGroups=no
    Exclude=kernel,kernel-smp,kernel-xenU,mkinitrd,mdadm,initscripts
    GPGCheck=yes
    MirrorList=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=updates
    Name=CentOS - updates
    Visible=yes
    status=enabled
MagWm

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: missing or incorrect perl(Compress::Raw::Zlib)
« Reply #18 on: November 25, 2010, 06:20:31 PM »
yes it is..

You appear to have not updated the yum configuration after changing the db status. Use server-manager, or signal-event or expand-template.

Offline janet

  • *****
  • 4,812
  • +0/-0
Re: missing or incorrect perl(Compress::Raw::Zlib)
« Reply #19 on: November 25, 2010, 11:56:50 PM »
magwm

See the FAQ (linked at top of forums), specifically this section which is easy to find
http://wiki.contribs.org/SME_Server:Documentation:FAQ#Adding.2C_removing_or_disabling_repositories
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline magwm

  • *
  • 159
  • +0/-0
  • SmeLover
    • Gadis Tourist Service Italia SRL
Re: missing or incorrect perl(Compress::Raw::Zlib)
« Reply #20 on: November 29, 2010, 10:38:14 AM »
Thank you Mary,

I thought that signal-event post-upgrade would also recreate the yum repo files.
however this time I did a signal-event yum-modify

with the perl-IO-Compress package removed, the server updated fine.

now it is a few days later, everything seems, ok, but i'm investigating, before updating my mail server...

thank you all for your time!
Michel
MagWm

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: missing or incorrect perl(Compress::Raw::Zlib)
« Reply #21 on: November 29, 2010, 02:58:24 PM »
I thought that signal-event post-upgrade would also recreate the yum repo files.

signal-event post-upgrade won't. signal-event post-upgrade ; signal-event reboot should. signal-event post-upgrade must *always* be immediately followed by reboot.

Offline magwm

  • *
  • 159
  • +0/-0
  • SmeLover
    • Gadis Tourist Service Italia SRL
Re: missing or incorrect perl(Compress::Raw::Zlib)
« Reply #22 on: November 29, 2010, 05:49:09 PM »
Quote
signal-event post-upgrade won't. signal-event post-upgrade ; signal-event reboot should.

I find that strange.. but I did it right anyway because I gave a signal-event reboot afterwards

Why would a reboot recreate my yum config???  surely there are some really good reasons which me noob need not know..

anyway, nice to know..
MagWm

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: missing or incorrect perl(Compress::Raw::Zlib)
« Reply #23 on: November 29, 2010, 05:52:25 PM »
Why would a reboot recreate my yum config???  surely there are some really good reasons which me noob need not know..
As part of the boot process after a signal-event post-upgrade is re-expanding all configuration files that should be generated after installation/upgrade so when your system is up, it has the actual and up-to-date configuration files available to populate services and applications.
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)