Announcement

Collapse
No announcement yet.

yum not happy

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • yum not happy

    I tried to do a yum upgrade as part of trying to figure out why development libraries aren't on my machine and i got the following error. I am running CentOS 4 from Steadfast Networks.

    Code:
     
    [root@ds00209 ~]# yum upgrade
    Setting up Upgrade Process
    Setting up repositories
    interworx-cp-rhe4x        100% |=========================|  951 B    00:00
    update                    100% |=========================|  951 B    00:00
    interworx-cp-noarch       100% |=========================|  951 B    00:00
    base                      100% |=========================| 1.1 kB    00:00
    addons                    100% |=========================|  951 B    00:00
    extras                    100% |=========================| 1.1 kB    00:00
    Reading repository metadata in from local files
    Resolving Dependencies
    --> Populating transaction set with selected packages. Please wait.
    ---> Package spamassassin.i386 0:3.0.4-1.el4 set to be updated
    ---> Package clamav.i386 0:0.87.1-100.rhe4x.iworx set to be updated
    --> Running transaction check
    --> Processing Dependency: perl(Time::HiRes) for package: spamassassin
    --> Processing Dependency: perl-Mail-SpamAssassin = 3.0.2-100.rhe4x.iworx for package: SpamAssassin
    --> Processing Conflict: SpamAssassin conflicts spamassassin
    --> Restarting Dependency Resolution with new changes.
    --> Populating transaction set with selected packages. Please wait.
    ---> Package perl-Time-HiRes.i386 0:1.55-3 set to be updated
    --> Running transaction check
    --> Processing Dependency: perl-Mail-SpamAssassin = 3.0.2-100.rhe4x.iworx for package: SpamAssassin
    --> Processing Conflict: SpamAssassin conflicts spamassassin
    --> Finished Dependency Resolution
    Error: Missing Dependency: perl-Mail-SpamAssassin = 3.0.2-100.rhe4x.iworx is needed by package SpamAssassin
    Error: SpamAssassin conflicts with spamassassin

  • #2
    johan_hammy,

    I'd remove the 'addons' and 'extras' repositories from your yum list. These are probably files located in /etc/yum.repos.d/. You can simply delete them and re-run YUM.

    Chris
    Chris Wells
    InterWorx L.L.C. | http://interworx.com
    InterWorx Control Panel

    Comment


    • #3
      If I am already upset that CentOS doesn't have enough packages available, would this be a wise move? I'm used to Gentoo where I can emerge just about anything.

      Comment


      • #4
        Code:
        [root@ds00209 ~]# yum upgrade
        Setting up Upgrade Process
        Setting up repositories
        interworx-cp-rhe4x        100% |=========================|  951 B    00:00
        update                    100% |=========================|  951 B    00:00
        interworx-cp-noarch       100% |=========================|  951 B    00:00
        base                      100% |=========================| 1.1 kB    00:00
        Reading repository metadata in from local files
        Resolving Dependencies
        --> Populating transaction set with selected packages. Please wait.
        ---> Package spamassassin.i386 0:3.0.4-1.el4 set to be updated
        --> Running transaction check
        --> Processing Dependency: perl(Time::HiRes) for package: spamassassin
        --> Processing Dependency: perl-Mail-SpamAssassin = 3.0.2-100.rhe4x.iworx for package: SpamAssassin
        --> Processing Conflict: SpamAssassin conflicts spamassassin
        --> Restarting Dependency Resolution with new changes.
        --> Populating transaction set with selected packages. Please wait.
        ---> Package perl-Time-HiRes.i386 0:1.55-3 set to be updated
        --> Running transaction check
        --> Processing Dependency: perl-Mail-SpamAssassin = 3.0.2-100.rhe4x.iworx for package: SpamAssassin
        --> Processing Conflict: SpamAssassin conflicts spamassassin
        --> Finished Dependency Resolution
        Error: Missing Dependency: perl-Mail-SpamAssassin = 3.0.2-100.rhe4x.iworx is needed by package SpamAssassin
        Error: SpamAssassin conflicts with spamassassin

        Comment


        • #5
          would this be a wise move?
          It would to keep iworx entact and working ok.

          As for the yum upgrade, do a "yum clean all" first and then retry the upgrade.

          Chris
          Chris Wells
          InterWorx L.L.C. | http://interworx.com
          InterWorx Control Panel

          Comment


          • #6
            I tried it a couple times, but this is what I get...

            Note: I also have mentioned this on SteadFast's forum. When it's resolved I'll note it in both places.

            Code:
            [root@ds00209 mhammett]# yum clean all
            Cleaning up Everything
            2 headers removed
            0 packages removed
            8 metadata files removed
            0 cache files removed
            4 cache files removed
            [root@ds00209 mhammett]# yum upgrade
            Setting up Upgrade Process
            Setting up repositories
            interworx-cp-rhe4x        100% |=========================|  951 B    00:00
            update                    100% |=========================|  951 B    00:00
            interworx-cp-noarch       100% |=========================|  951 B    00:00
            base                      100% |=========================| 1.1 kB    00:00
            Reading repository metadata in from local files
            primary.xml.gz            100% |=========================|  28 kB    00:00
            interworx-: ################################################## 78/78
            Added 78 new packages, deleted 0 old in 0.48 seconds
            primary.xml.gz            100% |=========================|  17 kB    00:00
            update    : ################################################## 50/50
            Added 50 new packages, deleted 0 old in 0.41 seconds
            primary.xml.gz            100% |=========================| 5.7 kB    00:00
            interworx-: ################################################## 10/10
            Added 10 new packages, deleted 0 old in 0.09 seconds
            primary.xml.gz            100% |=========================| 502 kB    00:00
            base      : ################################################## 1434/1434
            Added 1434 new packages, deleted 0 old in 10.31 seconds
            Resolving Dependencies
            --> Populating transaction set with selected packages. Please wait.
            ---> Downloading header for spamassassin to pack into transaction set.
            spamassassin-3.0.4-1.el4. 100% |=========================|  31 kB    00:00
            ---> Package spamassassin.i386 0:3.0.4-1.el4 set to be updated
            --> Running transaction check
            --> Processing Dependency: perl(Time::HiRes) for package: spamassassin
            --> Processing Dependency: perl-Mail-SpamAssassin = 3.0.2-100.rhe4x.iworx for package: SpamAssassin
            --> Processing Conflict: SpamAssassin conflicts spamassassin
            --> Restarting Dependency Resolution with new changes.
            --> Populating transaction set with selected packages. Please wait.
            ---> Downloading header for perl-Time-HiRes to pack into transaction set.
            perl-Time-HiRes-1.55-3.i3 100% |=========================| 2.9 kB    00:00
            ---> Package perl-Time-HiRes.i386 0:1.55-3 set to be updated
            --> Running transaction check
            --> Processing Dependency: perl-Mail-SpamAssassin = 3.0.2-100.rhe4x.iworx for package: SpamAssassin
            --> Processing Conflict: SpamAssassin conflicts spamassassin
            --> Finished Dependency Resolution
            Error: Missing Dependency: perl-Mail-SpamAssassin = 3.0.2-100.rhe4x.iworx is needed by package SpamAssassin
            Error: SpamAssassin conflicts with spamassassin

            Comment


            • #7
              Can you do a "yum search spamassassin" and see who (what repository) is injecting the spamassassin RPM in there Johan.

              Chris
              Chris Wells
              InterWorx L.L.C. | http://interworx.com
              InterWorx Control Panel

              Comment


              • #8
                It looks like spamassassin is in base and SpamAssassin is in interworx-cp-rhe4x.

                Code:
                [root@ds00209 mhammett]# yum search spamassassin
                Searching Packages:
                Setting up repositories
                interworx-cp-rhe4x        100% |=========================|  951 B    00:00
                update                    100% |=========================|  951 B    00:00
                interworx-cp-noarch       100% |=========================|  951 B    00:00
                base                      100% |=========================| 1.1 kB    00:00
                Reading repository metadata in from local files
                
                perl-Mail-SpamAssassin.i386              3.0.2-100.rhe4x.iworx  interworx-cp-rhe
                Matched from:
                perl-Mail-SpamAssassin
                Mail::SpamAssassin -- SpamAssassin e-mail filter Perl modules
                Mail::SpamAssassin is a module to identify spam using text analysis and
                several internet-based realtime blacklists. Using its rule base, it uses a
                wide range of heuristic tests on mail headers and body text to identify
                ``spam'', also known as unsolicited commercial email. Once identified, the
                mail can then be optionally tagged as spam for later filtering using the
                user's own mail user-agent application.
                http://spamassassin.apache.org
                
                SpamAssassin.i386                        3.0.2-100.rhe4x.iworx  interworx-cp-rhe
                Matched from:
                SpamAssassin
                SpamAssassin provides you with a way to reduce, if not completely eliminate,
                Unsolicited Bulk Email (or "spam") from your incoming email.  It can be
                invoked by a MDA such as sendmail or postfix, or can be called from a procmail
                script, .forward file, etc.  It uses a genetic-algorithm-evolved scoring system
                to identify messages which look spammy, then adds headers to the message so
                they can be filtered by the user's mail reading software.  This distribution
                includes the spamd/spamc components which considerably speeds processing of
                mail.
                http://spamassassin.apache.org
                
                SpamAssassin-tools.i386                  3.0.2-100.rhe4x.iworx  interworx-cp-rhe
                Matched from:
                SpamAssassin-tools
                Miscellaneous tools and documentation for SpamAssassin
                Miscellaneous tools and documentation from various authors, distributed
                with SpamAssassin.  See /usr/share/doc/SpamAssassin-tools-*/.
                http://spamassassin.apache.org
                
                exim-sa.i386                             4.43-1.RHEL4.5         base
                Matched from:
                Exim SpamAssassin at SMTP time - d/l plugin
                
                spamassassin.i386                        3.0.4-1.el4            base
                Matched from:
                spamassassin
                SpamAssassin provides you with a way to reduce if not completely eliminate
                Unsolicited Commercial Email (SPAM) from your incoming email.  It can
                be invoked by a MDA such as sendmail or postfix, or can be called from
                a procmail script, .forward file, etc.  It uses a genetic-algorithm
                evolved scoring system to identify messages which look spammy, then
                adds headers to the message so they can be filtered by the user's mail
                reading software.  This distribution includes the spamd/spamc components
                which create a server that considerably speeds processing of mail.
                To enable spamassassin, if you are receiving mail locally, simply add
                this line to your ~/.procmailrc:
                INCLUDERC=/etc/mail/spamassassin/spamassassin-default.rc
                To filter spam for all users, add that line to /etc/procmailrc
                (creating if necessary).
                http://spamassassin.apache.org/
                
                SpamAssassin.i386                        3.0.2-100.rhe4x.iworx  installed
                Matched from:
                SpamAssassin
                SpamAssassin provides you with a way to reduce, if not completely eliminate,
                Unsolicited Bulk Email (or "spam") from your incoming email.  It can be
                invoked by a MDA such as sendmail or postfix, or can be called from a procmail
                script, .forward file, etc.  It uses a genetic-algorithm-evolved scoring system
                to identify messages which look spammy, then adds headers to the message so
                they can be filtered by the user's mail reading software.  This distribution
                includes the spamd/spamc components which considerably speeds processing of
                mail.
                http://spamassassin.apache.org
                
                perl-Mail-SpamAssassin.i386              3.0.2-100.rhe4x.iworx  installed
                Matched from:
                perl-Mail-SpamAssassin
                Mail::SpamAssassin -- SpamAssassin e-mail filter Perl modules
                Mail::SpamAssassin is a module to identify spam using text analysis and
                several internet-based realtime blacklists. Using its rule base, it uses a
                wide range of heuristic tests on mail headers and body text to identify
                ``spam'', also known as unsolicited commercial email. Once identified, the
                mail can then be optionally tagged as spam for later filtering using the
                user's own mail user-agent application.
                http://spamassassin.apache.org

                Comment


                • #9
                  grr, it looks like CentOS has decided to add spamassassin to their package list. For now you can edit your yum.conf and add an exclude for "spamassassin" (note all lowercase). Longer term we'll be renaming our SpamAssassin package to use the more "normal" lowercase format.

                  Chris
                  Chris Wells
                  InterWorx L.L.C. | http://interworx.com
                  InterWorx Control Panel

                  Comment

                  Working...
                  X