[SOLVED] update caused by only permitting https connections.

This forum is dedicated to basic help and support :

Ask here your questions about basic installation and usage of Mageia. For example you may post here all your questions about getting Mageia isos and installing it, configuring your printer, using your word processor etc.

Try to ask your questions in the right sub-forum with as much details as you can gather. the more precise the question will be, the more likely you are to get a useful answer

[SOLVED] update caused by only permitting https connections.

Postby nwtmg » May 29th, '20, 21:36

Hi

I cannot connect to the mirrorservice to update because for some reason my connections will only connect to https site. These updates are performed using the drake rpm package manager. THis is the mirrorlist. As you see they are all http sites.

Code: Select all
Core Release http://www.mirrorservice.org/sites/mageia.org/pub/mageia/distrib/7/i586/media/core/release
Core Updates http://www.mirrorservice.org/sites/mageia.org/pub/mageia/distrib/7/i586/media/core/updates
Nonfree Release http://www.mirrorservice.org/sites/mageia.org/pub/mageia/distrib/7/i586/media/nonfree/release
Nonfree Updates http://www.mirrorservice.org/sites/mageia.org/pub/mageia/distrib/7/i586/media/nonfree/updates
Tainted Release http://www.mirrorservice.org/sites/mageia.org/pub/mageia/distrib/7/i586/media/tainted/release


The situation also exits with my browsers both Falkon and Firefox.. There is something wrong with my connection setup. I need to have this fixed to update my system.

Thanks
Last edited by nwtmg on Jun 4th, '20, 20:19, edited 1 time in total.
nwtmg
 
Posts: 175
Joined: Jun 2nd, '15, 22:14

Re: update problems caused by only permitting https connecti

Postby doktor5000 » May 30th, '20, 11:18

nwtmg wrote:There is something wrong with my connection setup. I need to have this fixed to update my system.

So now you crossposted the issue with the mirrors here, instead of simply answering the question in your original thread? I've already suggested to try removing all the repos, and adding a new set: viewtopic.php?p=79131#p79131

What about that?
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18052
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: update problems caused by only permitting https connecti

Postby arnesp » May 31st, '20, 17:19

nwtmg wrote:I need to have this fixed to update my system.


For this particular purpose, you should be able to work around the problem by either manually changing http to https (or ftp) in the repositories list, or deleting the current list and add new repositories, choosing ftp://www.mirrorservice.org/.... from the mirror list.

Both methods are possible from Mageia Control Center -> Software Manager -> Configure media sources for install and update


You might also be able to get some indication of where the http requests are blocked by executing the following command as root:

traceroute -p 80 -T www.mirrorservice.org

Edit: corrected traceroute line
arnesp
 
Posts: 60
Joined: Aug 6th, '15, 00:41

Re: update problems caused by only permitting https connecti

Postby nwtmg » Jun 1st, '20, 12:16

First thanks for your response. Tried updating via mcc but get the problem of unable to locate mirrorlist. The mcc accesses a ftp site but I need a sftp site. I need the location of the repolist urls on the system. I can then edit the names.

Output from

Code: Select all
/usr/sbin/traceroute -p 80 -T www.mirrorservice.org


Code: Select all
traceroute to www.mirrorservice.org (212.219.56.184), 30 hops max, 60 byte packets
 1  www.mirrorservice.org (212.219.56.184)  0.097 ms  0.048 ms  0.079 ms


This is all very frustrating. It all worked not too long ago. I update my system periodically and I do not have a problem. Thanks in advance.
nwtmg
 
Posts: 175
Joined: Jun 2nd, '15, 22:14

Re: update problems caused by only permitting https connecti

Postby arnesp » Jun 1st, '20, 15:15

You can edit current media URLs from Mageia Control Center -> Software Manager -> Configure media sources for install and update by highlighting a line and clicking the edit button. Alternatively, you can directly edit /etc/urpmi/urpmi.cfg.

EDIT:
According to the traceroute output, www.mirrorservice.org can be reached from your computer without passing any IP routers. This might indicate the presence of a transparent proxy (locally or at your ISP). Could this maybe be the source of your http connection problems?
arnesp
 
Posts: 60
Joined: Aug 6th, '15, 00:41

Re: update problems caused by only permitting https connecti

Postby nwtmg » Jun 1st, '20, 19:23

Hi,

Thanks for the info. If I use the mcc program when I highlight and edit a small window appears with the variable $MIRRORLIST highlighted.
When I edit the file /etc/urpmi/urpmi.cfg I need to know where the variable $MIRRORLIST is set. Here is an example of an entry in that file.

Code: Select all
Core\ Release  {
  key-ids: 80420f66
  mirrorlist: $MIRRORLIST
  with-dir: media/core/release
}


Regarding the traceroute I think I know what happed now although I do not know how to undo it. My brother gave me his windows 10 laptop and asked me to take a look at his wifi which no longer seems to work. I tried to set up network sharing on my laptop. I thought I might be able to do something with it.
How do I undo the network sharing on my laptop? Thanls in advance.
nwtmg
 
Posts: 175
Joined: Jun 2nd, '15, 22:14

Re: update problems caused by only permitting https connecti

Postby doktor5000 » Jun 1st, '20, 20:27

nwtmg wrote:I need to know where the variable $MIRRORLIST is set.

You can just configure a specific mirror, I already provided a link on how to do that in the previous thread: https://wiki.mageia.org/en/Installing_a ... dia_Mirror

nwtmg wrote:I tried to set up network sharing on my laptop. I thought I might be able to do something with it.

And now we should figure out, what you configured in particular ?

Did you configure that in MCC or manually ? If you did it in MCC, simply remove it again. https://doc.mageia.org/mcc/7/en/content ... tml#drakgw
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18052
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: update problems caused by only permitting https connecti

Postby arnesp » Jun 1st, '20, 21:38

Sorry, I falsely assumed that you had configured www.mirrorservice.org as a specific mirror.

You can do that by replacing $MIRRORLIST for the relevant repositories with the URLs you listed in the first post of the thread, at the same time changing http to https.
arnesp
 
Posts: 60
Joined: Aug 6th, '15, 00:41

Re: update problems caused by only permitting https connecti

Postby nwtmg » Jun 4th, '20, 16:30

Thanks for the reponse.

Followed your suggestions and got the following results

Code: Select all
 urpmq --list-media active --list-url


this returned



Code: Select all
urpmi.update -a


this returned

Code: Select all
...retrieving failed: aria2 failed: exited with 3

...retrieving failed: aria2 failed: exited with 3

...retrieving failed: aria2 failed: exited with 3

...retrieving failed: aria2 failed: exited with 3

...retrieving failed: aria2 failed: exited with 3

...retrieving failed: aria2 failed: exited with 3


A hidden proxy has been mentioned, How do I locate this and remove it. Thanks.
nwtmg
 
Posts: 175
Joined: Jun 2nd, '15, 22:14

Re: update problems caused by only permitting https connecti

Postby arnesp » Jun 4th, '20, 18:59

I checked your URL for the core repository. It has /media/core/release duplicated at the end. I assume the other URLs have a similar mistake.

Regarding the proxy, you need to answer doktor5000 's questions. If you did not install internet sharing using MCC, please provide information about what you did.
arnesp
 
Posts: 60
Joined: Aug 6th, '15, 00:41

Re: update problems caused by only permitting https connecti

Postby nwtmg » Jun 4th, '20, 20:15

OK. The system appends parts to the url. I had to cut it back to the 586 part and bow it seems to work.

Code: Select all
urpmq --list-media active --list-url


this produced

Code: Select all
Core Release https://www.mirrorservice.org/sites/mageia.org/pub/mageia/distrib/7/i586/media/core/release                                                                         
Core Updates https://www.mirrorservice.org/sites/mageia.org/pub/mageia/distrib/7/i586/media/core/updates                                                                         
Nonfree Release https://www.mirrorservice.org/sites/mageia.org/pub/mageia/distrib/7/i586/media/nonfree/release                                                                   
Nonfree Updates https://www.mirrorservice.org/sites/mageia.org/pub/mageia/distrib/7/i586/media/nonfree/updates                                                                   
Tainted Release https://www.mirrorservice.org/sites/mageia.org/pub/mageia/distrib/7/i586/media/tainted/release                                                                   
Tainted Updates https://www.mirrorservice.org/sites/mageia.org/pub/mageia/distrib/7/i586/media/tainted/updates


Code: Select all
 urpmi.update -a

this produced

Code: Select all
medium "Core Release" is up-to-date                                                                                                                                             
medium "Core Updates" is up-to-date                                                                                                                                             
medium "Nonfree Release" is up-to-date                                                                                                                                           
medium "Nonfree Updates" is up-to-date                                                                                                                                           
medium "Tainted Release" is up-to-date                                                                                                                                           
medium "Tainted Updates" is up-to-date


I am going to mark this as solved.
nwtmg
 
Posts: 175
Joined: Jun 2nd, '15, 22:14

Re: update problems caused by only permitting https connecti

Postby nwtmg » Jun 4th, '20, 20:18

doktor5000 wrote:
nwtmg wrote:I need to know where the variable $MIRRORLIST is set.

You can just configure a specific mirror, I already provided a link on how to do that in the previous thread: https://wiki.mageia.org/en/Installing_a ... dia_Mirror

nwtmg wrote:I tried to set up network sharing on my laptop. I thought I might be able to do something with it.

And now we should figure out, what you configured in particular ?

Did you configure that in MCC or manually ? If you did it in MCC, simply remove it again. https://doc.mageia.org/mcc/7/en/content ... tml#drakgw


Checked this and thiere is no sign of a shared internet. I am asked to select an interface and there is no sign of configuring a preexisting one. Also there is only the default profile. I am assumingthis problem has been solved so I will mark it as solved.. THanks.
nwtmg
 
Posts: 175
Joined: Jun 2nd, '15, 22:14


Return to Basic support

Who is online

Users browsing this forum: No registered users and 1 guest

cron