# RHEL8 Yum/Dnf epel http error 400 bad sign on URL "^"

**URL:** <https://community.sonatype.com/t/rhel8-yum-dnf-epel-http-error-400-bad-sign-on-url/7291>\
**Category:** Sonatype Nexus Repository\
**Created:** [September 13, 2021, 5:12pm UTC](https://community.sonatype.com/t/rhel8-yum-dnf-epel-http-error-400-bad-sign-on-url/7291 "2021-09-13T17:12:37Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![syl21](https://avatars.discourse-cdn.com/v4/letter/s/f1d935/32.png) [@syl21](https://community.sonatype.com/u/syl21)\
**Post date:** [September 13, 2021, 5:12pm UTC](https://community.sonatype.com/t/rhel8-yum-dnf-epel-http-error-400-bad-sign-on-url/7291/1 "2021-09-13T17:12:37Z")

</div>

Hi you,

**I try to reposync EPEL from Nexus OSS 3.34.0.1**

I get this output from reposync on rhel8:

`[MIRROR] the_silver_searcher-2.2.0^2020704.5a1c8d8-1.el8.x86_64.rpm: Status code: 400 for my-repo:8081/repository/epel-proxy/8/Everything/x86_64/Packages/t/the_silver_searcher-2.2.0%5e2020704.5a1c8d8-1.el8.x86_64.rpm (IP: x.x.x.x)`

Nexus output is:

```auto
2021-09-13 17:27:12,536+0000 WARN [qtp1170909618-102] *UNKNOWN org.sonatype.nexus.repository.yum.orient.internal.proxy.OrientYumProxyFacetImpl - Unable to resolve url. Reason: Illegal character in path at index 56: 8/Everything/x86_64/Packages/t/the_silver_searcher-2.2.0^2020704.5a1c8d8-1.el8.x86_64.rpm
2021-09-13 17:27:12,537+0000 WARN [qtp1170909618-102] *UNKNOWN org.sonatype.nexus.repository.httpbridge.internal.ViewServlet - Bad request. Reason: Invalid repository path

```

The package really exist: [https://dl.fedoraproject.org/pub/epel/8/Everything/x86\_64/Packages/t/the\_silver\_searcher-2.2.0^2020704.5a1c8d8-1.el8.x86\_64.rpm](https://dl.fedoraproject.org/pub/epel/8/Everything/x86_64/Packages/t/the_silver_searcher-2.2.0%5e2020704.5a1c8d8-1.el8.x86_64.rpm)

I think it’s more an encoding problem with the “^”.

I’ve open a case to EPEL here: [Issue #10297: the\_silver\_searcher-2.2.0^2020704.5a1c8d8-1.el8.x86\_64.rpm: Status code: 400 - releng - Pagure.io](https://pagure.io/releng/issue/10297)

Whitout Nexus, it works:

```auto
[root@8894dce44066 /]# dnf install the_silver_searcher
Updating Subscription Management repositories.
Unable to read consumer identity

This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.

Last metadata expiration check: 0:00:57 ago on Mon Sep 13 17:45:42 2021.
Dependencies resolved.
=======================================================================================================================================================================================================================================================================
 Package Architecture Version Repository Size
=======================================================================================================================================================================================================================================================================
Installing:
 the_silver_searcher x86_64 2.2.0^2020704.5a1c8d8-1.el8 epel 59 k

Transaction Summary
=======================================================================================================================================================================================================================================================================
Install 1 Package

Total download size: 59 k
Installed size: 129 k
Is this ok [y/N]: y
Downloading Packages:
the_silver_searcher-2.2.0^2020704.5a1c8d8-1.el8.x86_64.rpm 445 kB/s | 59 kB 00:00
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total 131 kB/s | 59 kB 00:00
warning: /var/cache/dnf/epel-fafd94c310c51e1e/packages/the_silver_searcher-2.2.0^2020704.5a1c8d8-1.el8.x86_64.rpm: Header V4 RSA/SHA256 Signature, key ID 2f86d6a1: NOKEY
Extra Packages for Enterprise Linux 8 - x86_64 1.6 MB/s | 1.6 kB 00:00
Importing GPG key 0x2F86D6A1:
 Userid : "Fedora EPEL (8) <epel@fedoraproject.org>"
 Fingerprint: 94E2 79EB 8D8F 25B2 1810 ADF1 21EA 45AB 2F86 D6A1
 From : /etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-8
Is this ok [y/N]: y
Key imported successfully
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing : 1/1
  Installing : the_silver_searcher-2.2.0^2020704.5a1c8d8-1.el8.x86_64 1/1
  Running scriptlet: the_silver_searcher-2.2.0^2020704.5a1c8d8-1.el8.x86_64 1/1
  Verifying : the_silver_searcher-2.2.0^2020704.5a1c8d8-1.el8.x86_64 1/1
Installed products updated.

Installed:
  the_silver_searcher-2.2.0^2020704.5a1c8d8-1.el8.x86_64

Complete!

```

If somebody can help me 😃

---

<div class="post-metadata">

**Author:** ![mpiggott](https://avatars.discourse-cdn.com/v4/letter/m/f0a364/32.png) [@mpiggott](https://community.sonatype.com/u/mpiggott)\
**Post date:** [September 13, 2021, 6:13pm UTC](https://community.sonatype.com/t/rhel8-yum-dnf-epel-http-error-400-bad-sign-on-url/7291/2 "2021-09-13T18:13:15Z")

</div>

I believe this is [https://issues.sonatype.org/browse/NEXUS-27899](https://issues.sonatype.org/browse/NEXUS-27899)

---

<div class="post-metadata">

**Author:** ![syl21](https://avatars.discourse-cdn.com/v4/letter/s/f1d935/32.png) [@syl21](https://community.sonatype.com/u/syl21)\
**Post date:** [September 13, 2021, 7:58pm UTC](https://community.sonatype.com/t/rhel8-yum-dnf-epel-http-error-400-bad-sign-on-url/7291/3 "2021-09-13T19:58:32Z")

</div>

Thanks for the link

---

<div class="post-metadata">

**Author:** ![syl21](https://avatars.discourse-cdn.com/v4/letter/s/f1d935/32.png) [@syl21](https://community.sonatype.com/u/syl21)\
**Post date:** [September 14, 2021, 3:59pm UTC](https://community.sonatype.com/t/rhel8-yum-dnf-epel-http-error-400-bad-sign-on-url/7291/4 "2021-09-14T15:59:16Z")

</div>

I use dnf/reposync --exclude="_^_" hope it will be enought to don’t stop my reposync awaiting a fix from nexus team ;-D
