Forums

Resolved
-2 votes
Hi Guys ever since these updates installed below having two errors pop up in yum update.

app-base-2.7.8-1.v7 Updated Oct 02, 09:21:19
app-base-core-2.7.8-1.v7 Updated Oct 02, 09:21:18
app-web-server-2.5.2-1.v7 Installed Oct 02, 08:02:58

The errors found during manual yum update are:
1.) ClearCenter Marketplace: global name 'section_id' is not defined
2.) NameError: global name 'wc_repos' is not defined

I have researched around saw a fix to similar question posted in 2017 not so sure that particular fix still applies?
Your guidance is much appreciated.
Friday, October 11 2019, 08:43 AM
Share this post:
Responses (69)
  • Accepted Answer

    Friday, October 11 2019, 09:53 AM - #Permalink
    Resolved
    0 votes
    As a new user, your first couple of posts get moderated so don't appear immediately. I've deleted your other post.

    Are you on Home, Business or Community? Which fix have you seen as I am not aware of any issues. Are you running updates manually only as app-web-server should have been updated a while ago.

    Please can you do a:
    yum clean all --enablerepo=*
    yum update
    and give the result of the "yum update".
    The reply is currently minimized Show
  • Accepted Answer

    Friday, October 11 2019, 10:54 AM - #Permalink
    Resolved
    0 votes
    A previous fix was posted here (I cannot locate the later fix at the moment) -> https://www.clearos.com/clearfoundation/social/community/marketplace-is-currently-disabled-for

    I am on community edition for the moment. Updates were originally ran through the web gui for them to re appear the next day so did the yum update in console to see what is going on. I am not aware of auto updates or a setting to enable auto updates? I am interested in playing with clear glass but that is to be discussed separately as the registration email are wonky.
    The reply is currently minimized Show
  • Accepted Answer

    Friday, October 11 2019, 11:00 AM - #Permalink
    Resolved
    0 votes
    Yum Update Result:

    Loaded plugins: clearcenter-marketplace, fastestmirror
    ClearCenter Marketplace: fetching repositories...
    ClearCenter Marketplace: global name 'section_id' is not defined
    Determining fastest mirrors
    * clearos: www.mirrorservice.org
    * clearos-centos: download4.clearsdn.com
    * clearos-centos-sclo-rh: download4.clearsdn.com
    * clearos-centos-updates: download4.clearsdn.com
    * clearos-contribs: www.mirrorservice.org
    * clearos-epel: download4.clearsdn.com
    * clearos-fast-updates: download4.clearsdn.com
    * clearos-infra: www.mirrorservice.org
    clearos | 3.7 kB 00:00
    clearos-centos | 3.6 kB 00:00
    clearos-centos-sclo-rh | 3.0 kB 00:00
    clearos-centos-updates | 2.9 kB 00:00
    clearos-contribs | 3.5 kB 00:00
    clearos-epel | 2.9 kB 00:00
    clearos-fast-updates | 3.0 kB 00:00
    clearos-infra | 3.5 kB 00:00
    download.mono-project.com_repo_centos_ | 2.9 kB 00:00
    (1/13): clearos/7/group_gz | 1.6 kB 00:01
    (2/13): clearos-centos/x86_64/group_gz | 166 kB 00:01
    (3/13): clearos-contribs/7/updateinfo | 96 B 00:00
    (4/13): clearos-contribs/7/primary_db | 73 kB 00:01
    (5/13): clearos/7/primary_db | 759 kB 00:04
    (6/13): clearos-fast-updates/x86_64/primary_db | 10 kB 00:00
    (7/13): clearos-infra/7/updateinfo | 96 B 00:00
    (8/13): clearos-infra/7/primary_db | 11 kB 00:00
    (9/13): download.mono-project.com_repo_centos_/primary_db | 1.4 MB 00:06
    (10/13): clearos-centos-sclo-rh/x86_64/primary_db | 3.6 MB 00:17
    (11/13): clearos-centos/x86_64/primary_db | 6.0 MB 00:36
    (12/13): clearos-epel/7/x86_64/primary_db | 8.9 MB 00:43
    (13/13): clearos-centos-updates/x86_64/primary_db | 7.1 MB 00:50
    Resolving Dependencies
    --> Running transaction check
    ---> Package libgdiplus-devel.x86_64 0:6.0.2-0.xamarin.1.epel7 will be updated
    ---> Package libgdiplus-devel.x86_64 0:6.0.4-0.xamarin.1.epel7 will be an update
    ---> Package libgdiplus0.x86_64 0:6.0.2-0.xamarin.1.epel7 will be updated
    ---> Package libgdiplus0.x86_64 0:6.0.4-0.xamarin.1.epel7 will be an update
    --> Finished Dependency Resolution

    Dependencies Resolved

    ================================================================================
    Package
    Arch Version Repository Size
    ================================================================================
    Updating:
    libgdiplus-devel
    x86_64 6.0.4-0.xamarin.1.epel7 download.mono-project.com_repo_centos_ 180 k
    libgdiplus0
    x86_64 6.0.4-0.xamarin.1.epel7 download.mono-project.com_repo_centos_ 527 k

    Transaction Summary
    ================================================================================
    Upgrade 2 Packages

    Total download size: 707 k
    Is this ok [y/d/N]: y
    Downloading packages:
    Delta RPMs disabled because /usr/bin/applydeltarpm not installed.
    (1/2): libgdiplus-devel-6.0.4-0.xamarin.1.epel7.x86_64.rpm | 180 kB 00:04
    (2/2): libgdiplus0-6.0.4-0.xamarin.1.epel7.x86_64.rpm | 527 kB 00:04
    --------------------------------------------------------------------------------
    Total 166 kB/s | 707 kB 00:04
    Traceback (most recent call last):
    File "/usr/bin/yum", line 29, in <module>
    yummain.user_main(sys.argv[1:], exit_code=True)
    File "/usr/share/yum-cli/yummain.py", line 375, in user_main
    errcode = main(args)
    File "/usr/share/yum-cli/yummain.py", line 281, in main
    return_code = base.doTransaction()
    File "/usr/share/yum-cli/cli.py", line 683, in doTransaction
    problems = self.downloadPkgs(downloadpkgs, callback_total=self.download_call back_total_cb)
    File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 2635, in downloa dPkgs
    self.plugins.run('postdownload', pkglist=pkglist, errors=errors)
    File "/usr/lib/python2.7/site-packages/yum/plugins.py", line 188, in run
    func(conduitcls(self, self.base, conf, **kwargs))
    File "/usr/lib/yum-plugins/clearcenter-marketplace.py", line 291, in postdownl oad_hook
    if pkg.repo in wc_repos:
    NameError: global name 'wc_repos' is not defined
    The reply is currently minimized Show
  • Accepted Answer

    Friday, October 11 2019, 11:43 AM - #Permalink
    Resolved
    0 votes
    From that thread, you could try a:
    rm -rf /var/cache/yum
    Which is a more brutal way of clearing the cache.

    Can I also suggest you disable the download.mono-project.com_repo_centos_ repo? Apart from it looking wrong in the first place, it is best not to have third party repos permanently enabled. You can find the repo file in /etc/yum.repos.d and change "enabled" from 1 to 0. Clear the cache afterwards.
    The reply is currently minimized Show
  • Accepted Answer

    Friday, October 11 2019, 12:11 PM - #Permalink
    Resolved
    0 votes
    Disabled mono repo and ran:
    1.) rm -rf /var/cache/yum
    2.) sudo yum clean all && sudo yum clean metadata && sudo yum -y update yum && sudo yum update --skip-broken

    No updated due at the moment as I've installed manually yesterday with rpm up to a point - leaving mono to figure the error.
    I do not know if a yum plugin is relevant with "section_id" where this line occurs -> ClearCenter Marketplace: global name 'section_id' is not defined.

    Also not sure how to install marketplace packages with yum - Perhaps with all the tinkering - install test remove - I may have unintentionally removed/disabled - causing the error. Since reinstalling packages with marketplace returns error global name 'wc_repos' is not defined. It appears the best recourse to install what was removed from newest removed to oldest until the error is gone. Reinstalling sadly is not an option :/

    Unless off course you have better ideas than my grinding it out lol
    The reply is currently minimized Show
  • Accepted Answer

    Friday, October 11 2019, 12:23 PM - #Permalink
    Resolved
    0 votes
    Can I suggest you don't do a "skip-broken" with yum unless you really know what you are doing. It can end in tears.

    If you have been removing packages, almost never do it with yum, or at least, be very careful as it indiscriminately removes dependencies and this can take you system down. Have a look at what it proposes and think carefully before hitting the "y". If you have been using yum, check your yum log for other packages removed at the same time.

    You can see a list of the free marketplace apps with a "yum list app-*". These can all be installed with yum. It is not possible to install paid apps with yum.
    The reply is currently minimized Show
  • Accepted Answer

    Friday, October 11 2019, 01:37 PM - #Permalink
    Resolved
    0 votes
    lol you wont believe it - simple yum upgrade and we're good to go again :/

    overthinking - where all crap usually starts lol

    Thanx for your time and advice always much appreciated
    The reply is currently minimized Show
  • Accepted Answer

    Friday, October 11 2019, 03:08 PM - #Permalink
    Resolved
    0 votes
    I was going to say that in a few days it may all be fixed when 7.7 gets released, but you've pre-empted it.
    The reply is currently minimized Show
  • Accepted Answer

    khvalera
    khvalera
    Offline
    Monday, October 21 2019, 07:15 PM - #Permalink
    Resolved
    0 votes
    I have a similar problem, after installation the system does not update:
    Traceback (most recent call last):
    File "/usr/bin/yum", line 29, in <module>
    yummain.user_main(sys.argv[1:], exit_code=True)
    File "/usr/share/yum-cli/yummain.py", line 370, in user_main
    errcode = main(args)
    File "/usr/share/yum-cli/yummain.py", line 276, in main
    return_code = base.doTransaction()
    File "/usr/share/yum-cli/cli.py", line 671, in doTransaction
    problems = self.downloadPkgs(downloadpkgs, callback_total=self.download_callback_total_cb)
    File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 2634, in downloadPkgs
    self.plugins.run('postdownload', pkglist=pkglist, errors=errors)
    File "/usr/lib/python2.7/site-packages/yum/plugins.py", line 188, in run
    func(conduitcls(self, self.base, conf, **kwargs))
    File "/usr/lib/yum-plugins/clearcenter-marketplace.py", line 291, in postdownload_hook
    if pkg.repo in wc_repos:
    NameError: global name 'wc_repos' is not defined
    The reply is currently minimized Show
  • Accepted Answer

    Monday, October 21 2019, 07:40 PM - #Permalink
    Resolved
    0 votes
    Have you tried the:
    rm -rf /var/cache/yum
    yum update


    What are the last few updates in /var/log/yum.log? Perhaps list a couple of weeks worth.
    The reply is currently minimized Show
  • Accepted Answer

    khvalera
    khvalera
    Offline
    Monday, October 21 2019, 08:00 PM - #Permalink
    Resolved
    0 votes
    Nick Howitt wrote:

    Have you tried the:
    rm -rf /var/cache/yum
    yum update


    What are the last few updates in /var/log/yum.log? Perhaps list a couple of weeks worth.

    Yes I tried it all, it doesn't help! This is the first update to a newly installed system. I downloaded the installation image a long time ago, I'll try to download a fresh one!
    The reply is currently minimized Show
  • Accepted Answer

    Monday, October 21 2019, 08:19 PM - #Permalink
    Resolved
    0 votes
    If you don't mind hanging on a bit as we are mid-upgrade, are you willing for us to troubleshoot? I'll ping Dave to see if he is available.
    The reply is currently minimized Show
  • Accepted Answer

    khvalera
    khvalera
    Offline
    Monday, October 21 2019, 08:28 PM - #Permalink
    Resolved
    0 votes
    I downloaded ClearOS-DVD-x86_64-7.6.0.261741.iso and reinstalled it. The following packages were updated:
    (1/27): app-base-2.8.8-1.v7.noarch.rpm
    (2/27): app-configuration-backup-2.5.4-1.v7.noarch.rpm
    (3/27): app-dhcp-2.5.23-2.v7.noarch.rpm
    (4/27): app-dns-2.7.2-1.v7.noarch.rpm
    (5/27): app-dns-core-2.7.2-1.v7.noarch.rpm
    (6/27): app-certificate-manager-core-2.6.1-1.v7.noarch.rpm
    (7/27): app-edition-2.5.2-1.v7.noarch.rpm
    (8/27): app-firewall-2.7.3-1.v7.noarch.rpm
    (9/27): app-edition-core-2.5.2-1.v7.noarch.rpm
    (10/27): app-base-core-2.8.8-1.v7.noarch.rpm
    (11/27): app-software-updates-2.5.4-1.v7.noarch.rpm
    (12/27): app-dhcp-core-2.5.23-2.v7.noarch.rpm
    (13/27): app-configuration-backup-core-2.5.4-1.v7.noarch.rpm
    (14/27): clearos-release-7-7.1.v7.x86_64.rpm
    (15/27): app-firewall-core-2.7.3-1.v7.noarch.rpm
    (16/27): app-software-updates-core-2.5.4-1.v7.noarch.rpm
    (17/27): app-storage-core-2.6.16-1.v7.noarch.rpm
    (18/27): initscripts-9.49.47-1.v7.x86_64.rpm
    (19/27): iptables-1.4.21-33.v7.x86_64.rpm
    (20/27): openldap-2.4.44-21.1.v7.x86_64.rpm
    (21/27): kernel-tools-3.10.0-957.21.3.v7.x86_64.rpm
    (22/27): kernel-tools-libs-3.10.0-957.21.3.v7.x86_64.rpm
    (23/27): yum-marketplace-plugin-2.3-1.v7.noarch.rpm
    (24/27): python-perf-3.10.0-957.21.3.v7.x86_64.rpm
    (25/27): theme-clearos-admin-7.5.9-1.v7.noarch.rpm
    (26/27): kernel-3.10.0-957.21.3.v7.x86_64.rpm
    (27/27): gconsole-60.3.0-1.v7.2.x86_64.rpm
    After which the above error appears.
    When updating, I noticed a warning: warning: /etc/yum.repos.d/centos-unverified.repo created as /etc/yum.repos.d/centos-unverified.repo.rpmnew
    The reply is currently minimized Show
  • Accepted Answer

    khvalera
    khvalera
    Offline
    Monday, October 21 2019, 09:29 PM - #Permalink
    Resolved
    0 votes
    I tried to install 7.7.1.272661, after installation it does not raise the web interface :(
    The reply is currently minimized Show
  • Accepted Answer

    Monday, October 21 2019, 09:41 PM - #Permalink
    Resolved
    0 votes
    Was that from the 7.7 beta installation or an upgrade from 7.6?
    The reply is currently minimized Show
  • Accepted Answer

    Tuesday, October 22 2019, 12:22 AM - #Permalink
    Resolved
    0 votes
    Thanks for the feedback. I've been able to replicate your bug in test. I'm looking into it now.
    The reply is currently minimized Show
  • Accepted Answer

    khvalera
    khvalera
    Offline
    Tuesday, October 22 2019, 09:42 AM - #Permalink
    Resolved
    0 votes
    Nick Howitt wrote:

    Was that from the 7.7 beta installation or an upgrade from 7.6?

    The error appears during update 7.6. And it is critical, does not allow to update and install packages.
    The reply is currently minimized Show
  • Accepted Answer

    khvalera
    khvalera
    Offline
    Tuesday, October 22 2019, 06:43 PM - #Permalink
    Resolved
    0 votes
    Dave Loper wrote:

    Thanks for the feedback. I've been able to replicate your bug in test. I'm looking into it now.


    ...there is no solution? I can not install the operating system :(
    The reply is currently minimized Show
  • Accepted Answer

    Tuesday, October 22 2019, 10:23 PM - #Permalink
    Resolved
    0 votes
    The ClearOS 7.7.1.272661 ISO is a beta ISO. You should have received this warning when you performed the install. If you are trying to install a non-beta version of ClearOS, please use the 7.6 ISO and then perform the upgrade.

    As for the viability, 'I can not install the operating system', it sounds like the OS installed just fine. In fact, you can always just use the webconfig to manage the install. If you don't know the current IP, you can hit CTRL+ALT+F3 and the log in and see the ip address by running 'ip a'.

    Again, this ISO is a test ISO and there could be other problems. I appreciate the feedback.

    If you need the current production 7.x ISO instead of the testing ISO, you can ALWAYS download it here:

    http://mirror.clearos.com/clearos/7/iso/x86_64/ClearOS-DVD-x86_64.iso
    The reply is currently minimized Show
  • Accepted Answer

    khvalera
    khvalera
    Offline
    Wednesday, October 23 2019, 01:55 PM - #Permalink
    Resolved
    1 votes
    :O I probably speak out not clearly :(
    At the moment, I cannot install the operating system on a new computer.
    I describe the order of my actions:
    1. Downloading http://mirror.clearos.com/clearos/7/iso/x86_64/ClearOS-DVD-x86_64.iso
    2. Install. At the end, an update occurs that breaks everything.
    3. Trying to install any package, I get an error:
    Downloading packages:
    Traceback (most recent call last):
    File "/usr/bin/yum", line 29, in <module>
    yummain.user_main(sys.argv[1:], exit_code=True)
    File "/usr/share/yum-cli/yummain.py", line 375, in user_main
    errcode = main(args)
    File "/usr/share/yum-cli/yummain.py", line 281, in main
    return_code = base.doTransaction()
    File "/usr/share/yum-cli/cli.py", line 683, in doTransaction
    problems = self.downloadPkgs(downloadpkgs, callback_total=self.download_callback_total_cb)
    File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 2635, in downloadPkgs
    self.plugins.run('postdownload', pkglist=pkglist, errors=errors)
    File "/usr/lib/python2.7/site-packages/yum/plugins.py", line 188, in run
    func(conduitcls(self, self.base, conf, **kwargs))
    File "/usr/lib/yum-plugins/clearcenter-marketplace.py", line 291, in postdownload_hook
    if pkg.repo in wc_repos:
    NameError: global name 'wc_repos' is not defined


    How to fix this error?
    Attachments:
    The reply is currently minimized Show
  • Accepted Answer

    Wednesday, October 23 2019, 03:35 PM - #Permalink
    Resolved
    0 votes
    @khvalera, can you try a "yum update" from the command line? Either use the Console and do an alt+f2 to get a command line or use PuTTy.
    The reply is currently minimized Show
  • Accepted Answer

    khvalera
    khvalera
    Offline
    Wednesday, October 23 2019, 04:11 PM - #Permalink
    Resolved
    1 votes
    Nick Howitt wrote:

    @khvalera, can you try a "yum update" from the command line? Either use the Console and do an alt+f2 to get a command line or use PuTTy.

    You don’t hear me, I indicated an error from the command terminal yum update:
    Downloading packages:
    Traceback (most recent call last):
    File "/usr/bin/yum", line 29, in <module>
    yummain.user_main(sys.argv[1:], exit_code=True)
    File "/usr/share/yum-cli/yummain.py", line 375, in user_main
    errcode = main(args)
    File "/usr/share/yum-cli/yummain.py", line 281, in main
    return_code = base.doTransaction()
    File "/usr/share/yum-cli/cli.py", line 683, in doTransaction
    problems = self.downloadPkgs(downloadpkgs, callback_total=self.download_callback_total_cb)
    File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 2635, in downloadPkgs
    self.plugins.run('postdownload', pkglist=pkglist, errors=errors)
    File "/usr/lib/python2.7/site-packages/yum/plugins.py", line 188, in run
    func(conduitcls(self, self.base, conf, **kwargs))
    File "/usr/lib/yum-plugins/clearcenter-marketplace.py", line 291, in postdownload_hook
    if pkg.repo in wc_repos:
    NameError: global name 'wc_repos' is not defined

    There was no problem a month ago, the error appeared in the latest updates.
    The reply is currently minimized Show
  • Accepted Answer

    Wednesday, October 23 2019, 04:32 PM - #Permalink
    Resolved
    0 votes
    Sorry for that. Can you post your yum log (/var/log/yum.log)?
    The reply is currently minimized Show
  • Accepted Answer

    Wednesday, October 23 2019, 04:38 PM - #Permalink
    Resolved
    0 votes
    And another thought. Can you go to /etc/product. If jws_version is 1.4, please try changing it to 1.2 then try the "yum update" again. If it is 1.2, please try changing it to 1.4 then try the "yum update" again.
    The reply is currently minimized Show
  • Accepted Answer

    khvalera
    khvalera
    Offline
    Wednesday, October 23 2019, 05:24 PM - #Permalink
    Resolved
    0 votes
    Nick Howitt wrote:
    Sorry for that. Can you post your yum log (/var/log/yum.log)?

    Oct 22 19:25:58 Updated: clearos-release-7-7.1.v7.x86_64
    Oct 22 19:25:59 Updated: initscripts-9.49.47-1.v7.x86_64
    Oct 22 19:25:59 Updated: theme-clearos-admin-7.5.9-1.v7.noarch
    Oct 22 19:25:59 Updated: iptables-1.4.21-33.v7.x86_64
    Oct 22 19:25:59 Updated: kernel-tools-libs-3.10.0-957.21.3.v7.x86_64
    Oct 22 19:25:59 Updated: kernel-tools-3.10.0-957.21.3.v7.x86_64
    Oct 22 19:25:59 Updated: yum-marketplace-plugin-2.3-1.v7.noarch
    Oct 22 19:26:00 Updated: 1:app-edition-core-2.5.2-1.v7.noarch
    Oct 22 19:26:00 Updated: 1:app-edition-2.5.2-1.v7.noarch
    Oct 22 19:26:02 Updated: 1:app-base-core-2.8.9-1.v7.noarch
    Oct 22 19:26:02 Updated: 1:app-base-2.8.9-1.v7.noarch
    Oct 22 19:26:03 Updated: 1:app-dns-core-2.7.2-1.v7.noarch
    Oct 22 19:26:03 Updated: 1:app-firewall-core-2.7.3-1.v7.noarch
    Oct 22 19:26:03 Updated: 1:app-configuration-backup-core-2.5.4-1.v7.noarch
    Oct 22 19:26:03 Updated: 1:app-certificate-manager-core-2.6.1-1.v7.noarch
    Oct 22 19:26:03 Updated: 1:app-software-updates-core-2.5.4-1.v7.noarch
    Oct 22 19:26:03 Updated: 1:app-dhcp-core-2.5.24-1.v7.noarch
    Oct 22 19:26:03 Updated: 1:app-dhcp-2.5.24-1.v7.noarch
    Oct 22 19:26:03 Updated: 1:app-software-updates-2.5.4-1.v7.noarch
    Oct 22 19:26:04 Updated: 1:app-smtp-core-2.5.5-1.v7.noarch
    Oct 22 19:26:04 Updated: 1:app-configuration-backup-2.5.4-1.v7.noarch
    Oct 22 19:26:04 Updated: 1:app-firewall-2.7.3-1.v7.noarch
    Oct 22 19:26:04 Updated: 1:app-dns-2.7.2-1.v7.noarch
    Oct 22 19:26:05 Updated: 1:app-storage-core-2.6.24-1.v7.noarch
    Oct 22 19:26:08 Installed: kernel-3.10.0-957.21.3.v7.x86_64
    Oct 22 19:26:09 Updated: python-perf-3.10.0-957.21.3.v7.x86_64
    Oct 22 19:26:09 Updated: openldap-2.4.44-21.1.v7.x86_64
    Oct 22 19:26:17 Updated: gconsole-60.3.0-1.v7.2.x86_64
    Nick Howitt wrote:

    And another thought. Can you go to /etc/product. If jws_version is 1.4, please try changing it to 1.2 then try the "yum update" again. If it is 1.2, please try changing it to 1.4 then try the "yum update" again.


    It was jws_version = 1.4 changed to jws_version = 1.2, it did not help
    The reply is currently minimized Show
  • Accepted Answer

    Wednesday, October 23 2019, 06:16 PM - #Permalink
    Resolved
    0 votes
    If I am right, if you are going for a Community install, try doing a:
    rm -rf /var/cache/yum/
    yum update --enablerepo=clearos-updates,clearos-centos,clearos-centos-updates
    If you want Business or Home you may have to wait until 7.7 is released, hopefully next Tuesday.

    If that does not work, what is the output of "yum repolist".
    The reply is currently minimized Show
  • Accepted Answer

    khvalera
    khvalera
    Offline
    Wednesday, October 23 2019, 06:35 PM - #Permalink
    Resolved
    0 votes
    Nick Howitt wrote:

    If I am right, if you are going for a Community install, try doing a:
    rm -rf /var/cache/yum/
    yum update --enablerepo=clearos-updates,clearos-centos,clearos-centos-updates
    If you want Business or Home you may have to wait until 7.7 is released, hopefully next Tuesday.

    If that does not work, what is the output of "yum repolist".


    did not help :(

    # yum repolist
    Loaded plugins: clearcenter-marketplace, fastestmirror
    ClearCenter Marketplace: fetching repositories...
    ClearCenter Marketplace: global name 'section_id' is not defined
    Loading mirror speeds from cached hostfile
    * clearos: mirror1-frankfurt.clearos.com
    * clearos-centos: download3.clearsdn.com
    * clearos-centos-sclo-rh: download3.clearsdn.com
    * clearos-contribs: mirror1-frankfurt.clearos.com
    * clearos-fast-updates: download3.clearsdn.com
    * clearos-infra: mirror1-frankfurt.clearos.com
    * clearos-updates: mirror1-frankfurt.clearos.com
    repo id repo name status
    clearos/7 ClearOS 7 - x86_64 - OS 649
    clearos-centos/x86_64 CentOS-7 - x86_64 - Base 10,042+55
    clearos-centos-sclo-rh/x86_64 CentOS-7 - x86_64 - CentOS Software Collections 8,548
    clearos-contribs/7 ClearOS 7 - x86_64 - Contribs 126
    clearos-fast-updates/x86_64 ClearOS 7 - x86_64 - Fast Updates 3
    clearos-infra/7 ClearOS 7 - x86_64 - Infrastructure 16
    clearos-updates/7 ClearOS 7 - x86_64 - Updates 461
    repolist: 19,845
    The reply is currently minimized Show
  • Accepted Answer

    Wednesday, October 23 2019, 06:48 PM - #Permalink
    Resolved
    0 votes
    Is this a reinstall or a new install? A new install should not have the community repos enabled.
    The reply is currently minimized Show
  • Accepted Answer

    khvalera
    khvalera
    Offline
    Wednesday, October 23 2019, 07:00 PM - #Permalink
    Resolved
    0 votes
    it's a reinstall, but a new computer.
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, October 24 2019, 07:04 AM - #Permalink
    Resolved
    0 votes
    Dave is trying to replicate in his lab.
    The reply is currently minimized Show
  • Accepted Answer

    khvalera
    khvalera
    Offline
    Thursday, October 24 2019, 09:50 AM - #Permalink
    Resolved
    0 votes
    How to identify the problem, I wrote above. I am really looking forward to a decision.
    The reply is currently minimized Show
  • Accepted Answer

    Friday, October 25 2019, 10:51 PM - #Permalink
    Resolved
    0 votes
    I’ve got the same issue trying to install new system, I’ve tried downloading older version iso it it seems even though it says it is the older ones it is not. Is this going to get fixed?
    The reply is currently minimized Show
  • Accepted Answer

    Saturday, October 26 2019, 07:46 AM - #Permalink
    Resolved
    0 votes
    Dave has indicated there my be a workaround but it requires a fresh install. Can you do the install, then before you do the first-run wizard in the browser, drop to the command line (alt+f2 from the console or use PuTTy) then do a "yum update", ignoring the warnings about not being registered. Then you should be able to proceed with the first-run wizard.
    The reply is currently minimized Show
  • Accepted Answer

    Saturday, October 26 2019, 12:58 PM - #Permalink
    Resolved
    1 votes
    Anyone with the upgrade issue, please can you post your /etc/yum.repos.d/clearos-centos.repo file?
    The reply is currently minimized Show
  • Accepted Answer

    Saturday, October 26 2019, 02:05 PM - #Permalink
    Resolved
    0 votes
    The recent update to app-base to fix the upgrade script did not go as planned. As a result, if you see things like "kernel-*" and "samba-*" in /etc/yum.repos.d/centos-unverified.repo or /etc/yum.repos.d/clearos-centos.repo then your upgrade wont work properly. We have just pushed a fix and it is syncing to the mirrors. If you upgrade has failed, please do a:
    yum update app-base --enablerepo-clearos-updates-testing
    yum clean all
    yum update
    You are looking for app-base-2.8.10-1.v7. If you do not get it, try waiting for a bit, do a "yum clean all" then try the update again. Most of the mirrors should be sync'd within a couple of hours.

    The aim is to reduce the "exclude" lines in /etc/yum.repos.d/centos-unverified.repo or /etc/yum.repos.d/clearos-centos.repo to:
    exclude=shim-aa64-* centos-release centos-logos anaconda-* arpwatch cloud-init-* cyrus-imapd-* debugmode grub2-* initscripts iptables-* mokutil-* openldap-* ppp-* rp-pppoe shim-ia32-* shim-x64-*
    The order of the parameters does not matter, just that they and only they exist after upgrading to 7.7.
    The reply is currently minimized Show
  • Accepted Answer

    Saturday, October 26 2019, 02:45 PM - #Permalink
    Resolved
    0 votes
    Nick,

    tried to update my 7.7 VM but it is still failing.

    ================================================================================================================================================================
    Package Arch Version Repository Size
    ================================================================================================================================================================
    Updating:
    app-base noarch 1:2.8.10-1.v7 clearos-updates-testing 31 k
    Updating for dependencies:
    app-base-core noarch 1:2.8.10-1.v7 clearos-updates-testing 455 k

    Transaction Summary
    ================================================================================================================================================================
    Upgrade 1 Package (+1 Dependent package)

    Total size: 487 k
    Is this ok [y/d/N]: y
    Downloading packages:
    Traceback (most recent call last):
    File "/usr/bin/yum", line 29, in <module>
    yummain.user_main(sys.argv[1:], exit_code=True)
    File "/usr/share/yum-cli/yummain.py", line 375, in user_main
    errcode = main(args)
    File "/usr/share/yum-cli/yummain.py", line 281, in main
    return_code = base.doTransaction()
    File "/usr/share/yum-cli/cli.py", line 683, in doTransaction
    problems = self.downloadPkgs(downloadpkgs, callback_total=self.download_callback_total_cb)
    File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 2633, in downloadPkgs
    self.plugins.run('postdownload', pkglist=pkglist, errors=errors)
    File "/usr/lib/python2.7/site-packages/yum/plugins.py", line 188, in run
    func(conduitcls(self, self.base, conf, **kwargs))
    File "/usr/lib/yum-plugins/clearcenter-marketplace.py", line 291, in postdownload_hook
    if pkg.repo in wc_repos:
    NameError: global name 'wc_repos' is not defined



    Version is correct (1:2.8.10-1.v7)
    The reply is currently minimized Show
  • Accepted Answer

    Saturday, October 26 2019, 02:55 PM - #Permalink
    Resolved
    0 votes
    Dave did not think this would fix the python issue. He is expecting that it will go away when the paid versions get updated to 7.7. The fix to app-base just allowed existing systems to upgrade correctly. I do not know what to expect from a fresh new 7.6 install, but I'd expect that to still be broken.
    The reply is currently minimized Show
  • Accepted Answer

    Saturday, October 26 2019, 02:59 PM - #Permalink
    Resolved
    0 votes
    Ah, okay that is related to the Python issue..

    Nick Howitt wrote:

    I do not know what to expect from a fresh new 7.6 install, but I'd expect that to still be broken.


    I can test that ip you have a some time??
    The reply is currently minimized Show
  • Accepted Answer

    Saturday, October 26 2019, 03:02 PM - #Permalink
    Resolved
    0 votes
    Nick Howitt wrote:

    Dave did not think this would fix the python issue. He is expecting that it will go away when the paid versions get updated to 7.7.


    The issue bellow is on a Community 7.7 VM (fresh install) during the meeting.
    The reply is currently minimized Show
  • Accepted Answer

    Saturday, October 26 2019, 03:31 PM - #Permalink
    Resolved
    0 votes
    Install of ClearOS 7.6 upgraded to ClearOS 7.7 (with the new app-base file from "clearos-updates-testing")


    -- Fresh install of ClearOS Community 7.6.

    -- Completed the wizard.

    -- Then after that go to the terminal:

    yum update app-base --enablerepo-clearos-updates-testing


    -- It successfully updated.


    ================================================================================================================================================================
    Package Arch Version Repository Size
    ================================================================================================================================================================
    Updating:
    app-base noarch 1:2.8.10-1.v7 clearos-updates-testing 31 k
    Updating for dependencies:
    app-base-core noarch 1:2.8.10-1.v7 clearos-updates-testing 455 k

    Transaction Summary
    ================================================================================================================================================================
    Upgrade 1 Package (+1 Dependent package)

    Total download size: 487 k
    Is this ok [y/d/N]: y
    Downloading packages:
    Delta RPMs disabled because /usr/bin/applydeltarpm not installed.
    (1/2): app-base-2.8.10-1.v7.noarch.rpm | 31 kB 00:00:00
    (2/2): app-base-core-2.8.10-1.v7.noarch.rpm | 455 kB 00:00:00
    ----------------------------------------------------------------------------------------------------------------------------------------------------------------
    Total 1.4 MB/s | 487 kB 00:00:00
    Running transaction check
    Running transaction test
    Transaction test succeeded
    Running transaction
    Updating : 1:app-base-core-2.8.10-1.v7.noarch 1/4
    Updating : 1:app-base-2.8.10-1.v7.noarch 2/4
    Cleanup : 1:app-base-2.8.9-1.v7.noarch 3/4
    Cleanup : 1:app-base-core-2.8.9-1.v7.noarch 4/4
    Verifying : 1:app-base-2.8.10-1.v7.noarch 1/4
    Verifying : 1:app-base-core-2.8.10-1.v7.noarch 2/4
    Verifying : 1:app-base-2.8.9-1.v7.noarch 3/4
    Verifying : 1:app-base-core-2.8.9-1.v7.noarch 4/4

    Updated:
    app-base.noarch 1:2.8.10-1.v7

    Dependency Updated:
    app-base-core.noarch 1:2.8.10-1.v7

    Complete!



    -- yum clean all

    [root@localhost ~]# yum clean all
    Failed to set locale, defaulting to C
    Loaded plugins: clearcenter-marketplace, fastestmirror
    ClearCenter Marketplace: fetching repositories...
    Cleaning repos: clearos clearos-centos clearos-centos-sclo-rh clearos-centos-updates clearos-centos-verified clearos-contribs clearos-epel-verified
    : clearos-fast-updates clearos-infra clearos-paid clearos-verified private-clearcenter-dyndns private-clearcenter-ids
    : private-clearcenter-kopano-basic private-clearcenter-verified-updates
    Cleaning up list of fastest mirrors
    Other repos take up 120 k of disk space (use --verbose for details)



    -- yum update

    -- cat /etc/clearos-release

    [root@localhost ~]# cat /etc/clearos-release 
    ClearOS release 7.7.1 (Final)


    -- Everything went following this order okay!
    The reply is currently minimized Show
Your Reply