Trial subscription 7.4.1708 ended, update broken

(Indra) #1

After the trial subscription finished, updating from the web admin is broken :

failure: repodata/repomd.xml from sb-base: [Errno 256] No more mirrors to try. [Errno 14] HTTPS Error 403 - Forbidden

The install/update may have failed due to metadata caching issues. Please clean the cache by clicking the button below and retry the install/update operation.

Clicking the “clear yum cache” does not solve the issue
When I try to update from the command line it says :

~]# yum update 
Loaded plugins: changelog, fastestmirror, nethserver_events [Errno 14] HTTPS Error 403 - Forbidden
Trying other mirror.
To address this issue please refer to the below wiki article

If above article doesn't help to resolve this issue please use

 One of the configured repositories failed (Stable mirror: CentOS Base 7),
 and yum doesn't have enough cached data to continue. At this point the only
 safe thing yum can do is fail. There are a few ways to work "fix" this:

     1. Contact the upstream for the repository and get them to fix the problem.

     2. Reconfigure the baseurl/etc. for the repository, to point to a working
        upstream. This is most often useful if you are using a newer                                                                                                                                                   
        distribution release than is supported by the repository (and the                                                                                                                                              
        packages for the previous distribution release still work).                                                                                                                                                    
     3. Run the command with the repository temporarily disabled                                                                                                                                                       
            yum --disablerepo=sb-base ...                                                                                                                                                                              
     4. Disable the repository permanently, so yum won't use it by default. Yum                                                                                                                                        
        will then just ignore the repository until you permanently enable it                                                                                                                                           
        again or use --enablerepo for temporary usage:                                                                                                                                                                 
            yum-config-manager --disable sb-base                                                                                                                                                                       
            subscription-manager repos --disable=sb-base                                                                                                                                                               
     5. Configure the failing repository to be skipped, if it is unavailable.                                                                                                                                          
        Note that yum will try to contact the repo. when it runs most commands,                                                                                                                                        
        so will have to try and fail each time (and thus. yum will be be much                                                                                                                                          
        slower). If it is a very temporary problem though, this is often a nice                                                                                                                                        
            yum-config-manager --save --setopt=sb-base.skip_if_unavailable=true                                                                                                                                        
failure: repodata/repomd.xml from sb-base: [Errno 256] No more mirrors to try.                                                                                                                                 [Errno 14] HTTPS Error 403 - Forbidden    

Is this expected behaviour? How can I make it update again?

(Davide Principi) #2

To remove a #subscription, please read this

For 7.4 the procedure was

(Indra) #3

When I follow the instructions I get :

~]# signal-event software-repos-save
Can't open directory /etc/e-smith/events/software-repos-save

on the last command.

(Davide Principi) #4

Please try the 7.4 procedure

(Giacomo Sanchietti) #5

Instructions for 7.4:

config setprop subscription Secret '' SystemId ''
eorepo base centos-sclo-rh centos-sclo-sclo epel extras nethforge nethserver-base nethserver-updates updates
yum clean all
echo "nethserver-updates" > /etc/nethserver/pkginfo.conf

(Indra) #6

That fixed it indeed, Thank you :smiley:

(Davide Principi) #8

17 posts were split to a new topic: YUM repository configuration issue

(Davide Principi) #9