Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


[ArchLinux] Repair pacman on OVH SG VPS
New on LowEndTalk? Please Register and read our Community Rules.

All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.

[ArchLinux] Repair pacman on OVH SG VPS

lifehomelifehome Member
edited September 2017 in Tutorials

tl;dr pacman -S ca-certificates-utils --noconfirm

In case anyone out there thinking why HTTPS mirror isn't working for pacman, let me give you this:

This is the log I sent to their support, the system is fresh installed:
https://gist.github.com/lifehome/7b13619cef26de8f4bc6d6f6274c6622

And this is their sense of humor:

So apparently they do not know what pacman does, and it's on our own to fix this. Fortunately pacman is working under HTTP, so to fix this situation:

1) Find and switch to a closest mirror with HTTP, for Singapore you can try mirror.0x.sg
2) Reinstall ca-certificates-utils using command pacman -S ca-certificates-utils
3) (Recommended) Switch back to the HTTPS mirror if needed.

You are also welcome to open a ticket, only if you have quite an amount of time ;)

Comments

  • Are you paying for a managed, or unmanaged service?

    Thanked by 2Aidan WebProject
  • @lifehome said: So apparently they do not know what pacman does, and it's on our own to fix this. Fortunately pacman is working under HTTP, so to fix this situation:

    1) Find and switch to a closest mirror with HTTP, for Singapore you can try mirror.0x.sg

    2) Reinstall ca-certificates-utils using command pacman -S ca-certificates-utils
    3) (Recommended) Switch back to the HTTPS mirror if needed.

    You are also welcome to open a ticket, only if you have quite an amount of time ;)

    What does any of this have to do with OVH? As far as I can tell, you would have had the same result on any server at any provider.

    You first need the certificates installed before you can access https without errors. But isn't this always the case?

  • ChronicChronic Member
    edited September 2017

    It's really not that big of a deal. The packages are PGP signed as far as I'm aware. I haven't specifically checked, but it would probably be the same if you installed Arch on your own system manually.

    Edit: Just realised that what you're probably saying is that pacman comes configured to use a https mirror by default on OVH, but is missing the certificates to actually properly utilise the mirror. In that case, I do agree that OVH should do something about their configuration. The system should at least be useable out of the box without having to change the mirror manually.

  • @Chronic said: Edit: Just realised that what you're probably saying is that pacman comes configured to use a https mirror by default on OVH, but is missing the certificates to actually properly utilise the mirror. In that case, I do agree that OVH should do something about their configuration. The system should at least be useable out of the box without having to change the mirror manually.

    Does OVH provide an image (as opposed to an ISO) for Arch Linux? That would surprise me, but perhaps they do.

  • @angstrom said:
    Does OVH provide an image (as opposed to an ISO) for Arch Linux? That would surprise me, but perhaps they do.

    Yep.

  • rm_rm_ IPv6 Advocate, Veteran

    Chronic said: pacman comes configured to use a https mirror by default on OVH

    Does it, though? Reading the log, I see it's the user who ran a selection process for mirrors, and the first ones listed were just HTTP ones, not HTTPS.

  • @WSS said:

    @angstrom said:
    Does OVH provide an image (as opposed to an ISO) for Arch Linux? That would surprise me, but perhaps they do.

    Yep.

    Just checked: so it's a precreated image/template, not an ISO, right? If so, then I agree with @Chronic that the OP may have a legitimate complaint even if the service is unsupported.

  • @rm_ said:

    Chronic said: pacman comes configured to use a https mirror by default on OVH

    Does it, though? Reading the log, I see it's the user who ran a selection process for mirrors, and the first ones listed were just HTTP ones, not HTTPS.

    Good catch. Then the OP doesn't have a legitimate complaint after all.

  • @angstrom said:

    @WSS said:

    @angstrom said:
    Does OVH provide an image (as opposed to an ISO) for Arch Linux? That would surprise me, but perhaps they do.

    Yep.

    Just checked: so it's a precreated image/template, not an ISO, right? If so, then I agree with @Chronic that the OP may have a legitimate complaint even if the service is unsupported.

    Yes, it's a precreated installed template, but, again, how much support do you expect if you install HyperVM without a license, or ProxMox, and not know how to use it? The fact that the template is out of date isn't really their issue- it's still an UNMANAGED SERVICE.

  • @WSS said:

    @angstrom said:

    @WSS said:

    @angstrom said:
    Does OVH provide an image (as opposed to an ISO) for Arch Linux? That would surprise me, but perhaps they do.

    Yep.

    Just checked: so it's a precreated image/template, not an ISO, right? If so, then I agree with @Chronic that the OP may have a legitimate complaint even if the service is unsupported.

    Yes, it's a precreated installed template, but, again, how much support do you expect if you install HyperVM without a license, or ProxMox, and not know how to use it? The fact that the template is out of date isn't really their issue- it's still an UNMANAGED SERVICE.

    Point taken. (If the https repository were hard-wired into the template, one might argue that this is a very basic issue that the provider should worry about, but I won't try to argue this.)

  • I guess that someone at OVH likes Arch.

  • They've got SmartOS now, too!

  • @WSS said:
    They've got SmartOS now, too!

    Wow.

    Any chance of OpenIndiana as well? ;-)

  • Afraid not. :(

Sign In or Register to comment.