Forums

Resolved
0 votes
Hi,

I'm trying to install Mail Antispam to my ClearOS 7 Community from the marketplace but I get an exception. Here's the detail of the exception:

Exception: [u'ERROR with transaction check vs depsolve:', 'altermime is needed by amavisd-new-2.10.1-4.v7.2.noarch', 'arj is needed by amavisd-new-2.10.1-4.v7.2.noarch', 'cabextract is needed by amavisd-new-2.10.1-4.v7.2.noarch', 'freeze is needed by amavisd-new-2.10.1-4.v7.2.noarch', 'lrzip is needed by amavisd-new-2.10.1-4.v7.2.noarch', 'nomarch is needed by amavisd-new-2.10.1-4.v7.2.noarch', 'p7zip is needed by amavisd-new-2.10.1-4.v7.2.noarch', 'p7zip-plugins is needed by amavisd-new-2.10.1-4.v7.2.noarch', 'perl(BerkeleyDB) is needed by amavisd-new-2.10.1-4.v7.2.noarch', 'perl(Convert::TNEF) is needed by amavisd-new-2.10.1-4.v7.2.noarch', 'perl(Convert::UUlib) is needed by amavisd-new-2.10.1-4.v7.2.noarch', 'perl(MIME::Body) is needed by amavisd-new-2.10.1-4.v7.2.noarch', 'perl(MIME::Decoder::Base64) is needed by amavisd-new-2.10.1-4.v7.2.noarch', 'perl(MIME::Decoder::Binary) is needed by amavisd-new-2.10.1-4.v7.2.noarch', 'perl(MIME::Decoder::Gzip64) is needed by amavisd-new-2.10.1-4.v7.2.noarch', 'perl(MIME::Decoder::NBit) is needed by amavisd-new-2.10.1-4.v7.2.noarch', 'perl(MIME::Decoder::QuotedPrint) is needed by amavisd-new-2.10.1-4.v7.2.noarch', 'perl(MIME::Decoder::UU) is needed by amavisd-new-2.10.1-4.v7.2.noarch', 'perl(MIME::Entity) is needed by amavisd-new-2.10.1-4.v7.2.noarch', 'perl(MIME::Head) is needed by amavisd-new-2.10.1-4.v7.2.noarch', 'perl(MIME::Parser) is needed by amavisd-new-2.10.1-4.v7.2.noarch', 'perl(MIME::Words) is needed by amavisd-new-2.10.1-4.v7.2.noarch', 'perl(Net::Server) >= 0.87 is needed by amavisd-new-2.10.1-4.v7.2.noarch', 'perl(Net::Server) >= 0.91 is needed by amavisd-new-2.10.1-4.v7.2.noarch', 'perl(Net::Server) >= 2.0 is needed by amavisd-new-2.10.1-4.v7.2.noarch', 'perl(Net::Server::Multiplex) is needed by amavisd-new-2.10.1-4.v7.2.noarch', 'perl(Razor2::Client::Version) is needed by amavisd-new-2.10.1-4.v7.2.noarch', 'perl(Unix::Syslog) is needed by amavisd-new-2.10.1-4.v7.2.noarch', 'unzoo is needed by amavisd-new-2.10.1-4.v7.2.noarch']


Seems like there some other app that I can't install like Mail Antivirus.

Any ideas?
Wednesday, May 18 2016, 09:00 PM
Share this post:

Accepted Answer

Thursday, May 19 2016, 01:31 PM - #Permalink
Resolved
1 votes
Sorry...missed that in your previous post.

You're missing the clearos-epel repo.

yum-config-manager --enable clearos-epel


Should solve your issue(s) moving forward.

B.
The reply is currently minimized Show
Responses (10)
  • Accepted Answer

    Thursday, May 19 2016, 10:02 PM - #Permalink
    Resolved
    0 votes
    Hey Nick,

    Understand where you're coming from...I was leaning that way too when I mentioned in a previous post about creating an official bug tracker.

    The thing that's really strange is that the logic to enable/disable those repos (clearos-updates, clearos-epel, clearos-centos) occur in lockstep...Turned off under the right conditions in the Yum Marketplace plugin code (/usr/lib/yum-plugins/clearcenter-marketplace.py) and on in the registration API (/usr/clearos/apps/registration/libraries/Registration.class.php).

    Maybe another set of eyes or too would spot something I don't.

    B.
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, May 19 2016, 06:48 PM - #Permalink
    Resolved
    0 votes
    @Ben,
    Would it be a good idea to put out an update to community versions to enable clearos-epel and to non-community versions to enable clearos-epel-verified? This issue seems to have cropped up a number of times recently.
    Nick
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, May 19 2016, 02:16 PM - #Permalink
    Resolved
    0 votes
    It has something to do with the logic around registering your Community Edition.

    Behind the scenes, we put Community users on the Business/Home repos (prrivate access to the verified repos reserved for paying subscribers) for the first 30 days. This gives them the best experience but moreso, it was done so we could automatically (in first 30 days) and without support intervention, allows users within that trial period to migrate from Community to Home or Business, if they had 2nd thoughts on the edition they choose.

    After 30 days (or if you registered as 'Upgrade/Reinstall' to another Community Edition that was registered a long time ago, three repos should be activated:


    clearos-updates
    clearos-centos
    clearos-epel


    How you got centos and update but not epel is the mystery.

    I think I will file a bug report...even if we can't find a way around whatever is happening, at the very least, it would be nice to do some kind of sanity check and throw an alert up in the Event system that would be persistent until either you were fully on verified repos (subscription to Home or Business) or you had the above three repos enabled if you were on a Community Edition using the testing/verification repos.

    B.
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, May 19 2016, 01:42 PM - #Permalink
    Resolved
    0 votes
    Ok it seems to be working fine now thanks a lot. Although do you have an idea what could have cause this? I always installed my app via the marketplace and didn't change anything manualy. Could it be a bug or a missing repo in the default ClearOS 7 install?
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, May 19 2016, 01:24 PM - #Permalink
    Resolved
    0 votes
    Well I don't thnk it changed since yesterday but here's the output of "yum repolist":

    Loaded plugins: clearcenter-marketplace, fastestmirror
    ClearCenter Marketplace: fetching repositories...
    Loading mirror speeds from cached hostfile
    * clearos: clearos.bhs.mirrors.ovh.net
    * clearos-centos: download4.clearsdn.com
    * clearos-centos-updates: download4.clearsdn.com
    * clearos-contribs: clearos.bhs.mirrors.ovh.net
    * clearos-fast-updates: download4.clearsdn.com
    * clearos-infra: clearos.bhs.mirrors.ovh.net
    * clearos-updates: clearos.bhs.mirrors.ovh.net
    * private-clearcenter-dyndns: download4.clearsdn.com:80
    * private-clearcenter-plex: download2.clearsdn.com:80
    * private-clearcenter-zarafa-community: download2.clearsdn.com:80
    repo id repo name status
    clearos/7 ClearOS 7 - x86_64 - OS 718
    clearos-centos/7/x86_64 CentOS-7 - Base 8,923+84
    clearos-centos-updates/7/x86_64 CentOS-7 - Updates 1,153+140
    clearos-contribs/7 ClearOS 7 - x86_64 - Contribs 72
    clearos-fast-updates/7/x86_64 ClearOS 7 - x86_64 - Fast Updates 43
    clearos-infra/7 ClearOS 7 - x86_64 - Infrastructu 17
    clearos-updates/7 ClearOS 7 - x86_64 - Updates 382
    private-clearcenter-dyndns ClearCenter Dynamic DNS 2
    private-clearcenter-plex ClearCenter Plex Media Server 3
    private-clearcenter-zarafa-community Zarafa Community for ClearOS 76
    repolist: 11,389
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, May 19 2016, 01:18 PM - #Permalink
    Resolved
    0 votes
    Can we also see what repos you have enabled by default?

    yum repolist


    B
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, May 19 2016, 01:13 PM - #Permalink
    Resolved
    0 votes
    Here are the errors I get when I try to install with "yum install app-mail-antispam":
    Error: Package: amavisd-new-2.10.1-4.v7.2.noarch (clearos-updates)
    Requires: altermime
    Error: Package: amavisd-new-2.10.1-4.v7.2.noarch (clearos-updates)
    Requires: perl(MIME::Decoder::Binary)
    Error: Package: amavisd-new-2.10.1-4.v7.2.noarch (clearos-updates)
    Requires: perl(Convert::TNEF)
    Error: Package: amavisd-new-2.10.1-4.v7.2.noarch (clearos-updates)
    Requires: perl(MIME::Head)
    Error: Package: amavisd-new-2.10.1-4.v7.2.noarch (clearos-updates)
    Requires: perl(MIME::Entity)
    Error: Package: amavisd-new-2.10.1-4.v7.2.noarch (clearos-updates)
    Requires: perl(Net::Server) >= 0.91
    Error: Package: amavisd-new-2.10.1-4.v7.2.noarch (clearos-updates)
    Requires: unzoo
    Error: Package: amavisd-new-2.10.1-4.v7.2.noarch (clearos-updates)
    Requires: perl(BerkeleyDB)
    Error: Package: amavisd-new-2.10.1-4.v7.2.noarch (clearos-updates)
    Requires: p7zip-plugins
    Error: Package: amavisd-new-2.10.1-4.v7.2.noarch (clearos-updates)
    Requires: cabextract
    Error: Package: amavisd-new-2.10.1-4.v7.2.noarch (clearos-updates)
    Requires: perl(MIME::Decoder::NBit)
    Error: Package: amavisd-new-2.10.1-4.v7.2.noarch (clearos-updates)
    Requires: perl(Unix::Syslog)
    Error: Package: amavisd-new-2.10.1-4.v7.2.noarch (clearos-updates)
    Requires: perl(Convert::UUlib)
    Error: Package: amavisd-new-2.10.1-4.v7.2.noarch (clearos-updates)
    Requires: p7zip
    Error: Package: amavisd-new-2.10.1-4.v7.2.noarch (clearos-updates)
    Requires: freeze
    Error: Package: amavisd-new-2.10.1-4.v7.2.noarch (clearos-updates)
    Requires: perl(Net::Server::Multiplex)
    Error: Package: amavisd-new-2.10.1-4.v7.2.noarch (clearos-updates)
    Requires: perl(Razor2::Client::Version)
    Error: Package: amavisd-new-2.10.1-4.v7.2.noarch (clearos-updates)
    Requires: perl(MIME::Decoder::Base64)
    Error: Package: amavisd-new-2.10.1-4.v7.2.noarch (clearos-updates)
    Requires: nomarch
    Error: Package: amavisd-new-2.10.1-4.v7.2.noarch (clearos-updates)
    Requires: perl(MIME::Decoder::Gzip64)
    Error: Package: amavisd-new-2.10.1-4.v7.2.noarch (clearos-updates)
    Requires: lrzip
    Error: Package: amavisd-new-2.10.1-4.v7.2.noarch (clearos-updates)
    Requires: perl(MIME::Decoder::UU)
    Error: Package: amavisd-new-2.10.1-4.v7.2.noarch (clearos-updates)
    Requires: perl(MIME::Words)
    Error: Package: amavisd-new-2.10.1-4.v7.2.noarch (clearos-updates)
    Requires: perl(MIME::Decoder::QuotedPrint)
    Error: Package: amavisd-new-2.10.1-4.v7.2.noarch (clearos-updates)
    Requires: perl(MIME::Body)
    Error: Package: amavisd-new-2.10.1-4.v7.2.noarch (clearos-updates)
    Requires: perl(Net::Server) >= 0.87
    Error: Package: amavisd-new-2.10.1-4.v7.2.noarch (clearos-updates)
    Requires: arj
    Error: Package: amavisd-new-2.10.1-4.v7.2.noarch (clearos-updates)
    Requires: perl(Net::Server) >= 2.0
    Error: Package: amavisd-new-2.10.1-4.v7.2.noarch (clearos-updates)
    Requires: perl(MIME::Parser)
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, May 19 2016, 06:40 AM - #Permalink
    Resolved
    0 votes
    Etienne Gagnon wrote:
    Thank you for you quick answer

    Then I went to bed.....

    Please try installing from the command line and post back with the errors:
    yum install app-mail-antispam
    The reply is currently minimized Show
  • Accepted Answer

    Wednesday, May 18 2016, 09:12 PM - #Permalink
    Resolved
    0 votes
    Here's the output of "yum repolist":

    Loaded plugins: clearcenter-marketplace, fastestmirror
    ClearCenter Marketplace: fetching repositories...
    Loading mirror speeds from cached hostfile
    * clearos: clearos.bhs.mirrors.ovh.net
    * clearos-centos: download4.clearsdn.com
    * clearos-centos-updates: download4.clearsdn.com
    * clearos-contribs: clearos.bhs.mirrors.ovh.net
    * clearos-fast-updates: download4.clearsdn.com
    * clearos-infra: clearos.bhs.mirrors.ovh.net
    * clearos-updates: clearos.bhs.mirrors.ovh.net
    * private-clearcenter-dyndns: download4.clearsdn.com:80
    * private-clearcenter-plex: download2.clearsdn.com:80
    * private-clearcenter-zarafa-community: download2.clearsdn.com:80
    repo id repo name status
    clearos/7 ClearOS 7 - x86_64 - OS 718
    clearos-centos/7/x86_64 CentOS-7 - Base 8,923+84
    clearos-centos-updates/7/x86_64 CentOS-7 - Updates 1,153+140
    clearos-contribs/7 ClearOS 7 - x86_64 - Contribs 72
    clearos-fast-updates/7/x86_64 ClearOS 7 - x86_64 - Fast Updates 43
    clearos-infra/7 ClearOS 7 - x86_64 - Infrastructu 17
    clearos-updates/7 ClearOS 7 - x86_64 - Updates 382
    private-clearcenter-dyndns ClearCenter Dynamic DNS 2
    private-clearcenter-plex ClearCenter Plex Media Server 3
    private-clearcenter-zarafa-community Zarafa Community for ClearOS 76
    repolist: 11,389


    Thank you for you quick answer
    The reply is currently minimized Show
  • Accepted Answer

    Wednesday, May 18 2016, 09:07 PM - #Permalink
    Resolved
    0 votes
    What is the output to "yum repolist"?
    The reply is currently minimized Show
Your Reply