View Issue Details

IDProjectCategoryView StatusLast Update
0016699CentOS-8dnfpublic2019-11-06 16:32
ReporterNifanin 
PrioritynormalSeverityminorReproducibilityalways
Status newResolutionopen 
Platform4.18.0-80.el8.x86_64OSCentOS Linux release OS Version8.0.1905
Product Version8.0.1905 
Target VersionFixed in Version 
Summary0016699: DNF don't support special symbols in a proxy password (http(s)_proxy)
DescriptionHello!

I have some problem in new version of CentOS 8.
He use the dnf program and this is not support specials symbols in proxy password in http(s)_proxy env. Symbol "!" is sure.

I tried use the "%21" and the "%%21" alternatives, but it not helped.
Steps To ReproduceYou need proxy-server with auth by password and clean install of CentOS 8

# export https_proxy='http://ksni:herb!!@bproxy.s.ru:3131'
# export http_proxy='http://ksni:herb!!@bproxy.s.ru:3131'

# dnf -v install tcpdump
Loaded plugins: builddep, changelog, config-manager, copr, debug, debuginfo-install, download, generate_completion_cache, needs-restarting, playground, repoclosure, repodiff, repograph, repomanage, reposync
DNF version: 4.0.9
cachedir: /var/cache/dnf
repo: downloading from remote: AppStream
error: Status code: 407 for http://mirrorlist.centos.org/?release=8&arch=x86_64&repo=AppStream&infra=stock (http://mirrorlist.centos.org/?release=8&arch=x86_64&repo=AppStream&infra=stock).A
CentOS-8 - AppStream 1.9 kB/s | 1.9 kB 00:01
Cannot download 'http://mirrorlist.centos.org/?release=8&arch=x86_64&repo=AppStream&infra=stock': Cannot prepare internal mirrorlist: Status code: 407 for http://mirrorlist.centos.org/?release=8&arch=x86_64&repo=AppStream&infra=stock.
repo: downloading from remote: BaseOS
error: Status code: 407 for http://mirrorlist.centos.org/?release=8&arch=x86_64&repo=BaseOS&infra=stock (http://mirrorlist.centos.org/?release=8&arch=x86_64&repo=BaseOS&infra=stock).:-- ETA
CentOS-8 - Base 1.9 kB/s | 1.9 kB 00:01
Cannot download 'http://mirrorlist.centos.org/?release=8&arch=x86_64&repo=BaseOS&infra=stock': Cannot prepare internal mirrorlist: Status code: 407 for http://mirrorlist.centos.org/?release=8&arch=x86_64&repo=BaseOS&infra=stock.
repo: downloading from remote: extras
error: Status code: 407 for http://mirrorlist.centos.org/?release=8&arch=x86_64&repo=extras&infra=stock (http://mirrorlist.centos.org/?release=8&arch=x86_64&repo=extras&infra=stock).:-- ETA
CentOS-8 - Extras 1.9 kB/s | 1.9 kB 00:01
Cannot download 'http://mirrorlist.centos.org/?release=8&arch=x86_64&repo=extras&infra=stock': Cannot prepare internal mirrorlist: Status code: 407 for http://mirrorlist.centos.org/?release=8&arch=x86_64&repo=extras&infra=stock.
Failed to synchronize cache for repo 'AppStream', ignoring this repo.
Failed to synchronize cache for repo 'BaseOS', ignoring this repo.
Failed to synchronize cache for repo 'extras', ignoring this repo.
No module defaults found
No match for argument: tcpdump
Error: Unable to find a match

# curl 'http://mirrorlist.centos.org/?release=8&arch=x86_64&repo=BaseOS'
http://dedic.sh/centos/8.0.1905/BaseOS/x86_64/os/
http://mirror.reconn.ru/centos/8.0.1905/BaseOS/x86_64/os/
http://mirrors.datahouse.ru/centos/8.0.1905/BaseOS/x86_64/os/
http://mirrors.powernet.com.ru/centos/8.0.1905/BaseOS/x86_64/os/
http://mirror.logol.ru/centos/8.0.1905/BaseOS/x86_64/os/
http://mirror.yandex.ru/centos/8.0.1905/BaseOS/x86_64/os/
http://mirror.docker.ru/centos/8.0.1905/BaseOS/x86_64/os/
http://mirror.truenetwork.ru/centos/8.0.1905/BaseOS/x86_64/os/
http://ftp.nsc.ru/pub/centos/8.0.1905/BaseOS/x86_64/os/
http://mirror.linux-ia64.org/centos/8.0.1905/BaseOS/x86_64/os/


----

# export http_proxy='http://ksni:herb%21%21@bproxy.s.ru:3131'
# export https_proxy='http://ksni:herb%21%21@bproxy.s.ru:3131'
# dnf -v install tcpdump
Loaded plugins: builddep, changelog, config-manager, copr, debug, debuginfo-install, download, generate_completion_cache, needs-restarting, playground, repoclosure, repodiff, repograph, repomanage, reposync
DNF version: 4.0.9
cachedir: /var/cache/dnf
repo: downloading from remote: AppStream
error: Status code: 407 for http://mirrorlist.centos.org/?release=8&arch=x86_64&repo=AppStream&infra=stock (http://mirrorlist.centos.org/?release=8&arch=x86_64&repo=AppStream&infra=stock).A
CentOS-8 - AppStream 1.7 kB/s | 1.9 kB 00:01
Cannot download 'http://mirrorlist.centos.org/?release=8&arch=x86_64&repo=AppStream&infra=stock': Cannot prepare internal mirrorlist: Status code: 407 for http://mirrorlist.centos.org/?release=8&arch=x86_64&repo=AppStream&infra=stock.
repo: downloading from remote: BaseOS
error: Status code: 407 for http://mirrorlist.centos.org/?release=8&arch=x86_64&repo=BaseOS&infra=stock (http://mirrorlist.centos.org/?release=8&arch=x86_64&repo=BaseOS&infra=stock).:-- ETA
CentOS-8 - Base 1.9 kB/s | 1.9 kB 00:01
Cannot download 'http://mirrorlist.centos.org/?release=8&arch=x86_64&repo=BaseOS&infra=stock': Cannot prepare internal mirrorlist: Status code: 407 for http://mirrorlist.centos.org/?release=8&arch=x86_64&repo=BaseOS&infra=stock.
repo: downloading from remote: extras
error: Status code: 407 for http://mirrorlist.centos.org/?release=8&arch=x86_64&repo=extras&infra=stock (http://mirrorlist.centos.org/?release=8&arch=x86_64&repo=extras&infra=stock).:-- ETA
CentOS-8 - Extras 1.9 kB/s | 1.9 kB 00:01
Cannot download 'http://mirrorlist.centos.org/?release=8&arch=x86_64&repo=extras&infra=stock': Cannot prepare internal mirrorlist: Status code: 407 for http://mirrorlist.centos.org/?release=8&arch=x86_64&repo=extras&infra=stock.
Failed to synchronize cache for repo 'AppStream', ignoring this repo.
Failed to synchronize cache for repo 'BaseOS', ignoring this repo.
Failed to synchronize cache for repo 'extras', ignoring this repo.
No module defaults found
No match for argument: tcpdump
Error: Unable to find a match

# curl 'http://mirrorlist.centos.org/?release=8&arch=x86_64&repo=BaseOS'
http://dedic.sh/centos/8.0.1905/BaseOS/x86_64/os/
http://mirror.reconn.ru/centos/8.0.1905/BaseOS/x86_64/os/
http://mirrors.datahouse.ru/centos/8.0.1905/BaseOS/x86_64/os/
http://mirrors.powernet.com.ru/centos/8.0.1905/BaseOS/x86_64/os/
http://mirror.logol.ru/centos/8.0.1905/BaseOS/x86_64/os/
http://mirror.yandex.ru/centos/8.0.1905/BaseOS/x86_64/os/
http://mirror.docker.ru/centos/8.0.1905/BaseOS/x86_64/os/
http://mirror.truenetwork.ru/centos/8.0.1905/BaseOS/x86_64/os/
http://ftp.nsc.ru/pub/centos/8.0.1905/BaseOS/x86_64/os/
http://mirror.linux-ia64.org/centos/8.0.1905/BaseOS/x86_64/os/

----

# export https_proxy='http://ksni:herb%%21%%21@bproxy.s.ru:3131'
# export http_proxy='http://ksni:herb%%21%%21@bproxy.s.ru:3131'
# dnf -v install tcpdump
Loaded plugins: builddep, changelog, config-manager, copr, debug, debuginfo-install, download, generate_completion_cache, needs-restarting, playground, repoclosure, repodiff, repograph, repomanage, reposync
DNF version: 4.0.9
cachedir: /var/cache/dnf
repo: downloading from remote: AppStream
error: Status code: 407 for http://mirrorlist.centos.org/?release=8&arch=x86_64&repo=AppStream&infra=stock (http://mirrorlist.centos.org/?release=8&arch=x86_64&repo=AppStream&infra=stock).A
CentOS-8 - AppStream 1.9 kB/s | 1.9 kB 00:01
Cannot download 'http://mirrorlist.centos.org/?release=8&arch=x86_64&repo=AppStream&infra=stock': Cannot prepare internal mirrorlist: Status code: 407 for http://mirrorlist.centos.org/?release=8&arch=x86_64&repo=AppStream&infra=stock.
repo: downloading from remote: BaseOS
error: Status code: 407 for http://mirrorlist.centos.org/?release=8&arch=x86_64&repo=BaseOS&infra=stock (http://mirrorlist.centos.org/?release=8&arch=x86_64&repo=BaseOS&infra=stock).:-- ETA
CentOS-8 - Base 1.9 kB/s | 1.9 kB 00:01
Cannot download 'http://mirrorlist.centos.org/?release=8&arch=x86_64&repo=BaseOS&infra=stock': Cannot prepare internal mirrorlist: Status code: 407 for http://mirrorlist.centos.org/?release=8&arch=x86_64&repo=BaseOS&infra=stock.
repo: downloading from remote: extras
error: Status code: 407 for http://mirrorlist.centos.org/?release=8&arch=x86_64&repo=extras&infra=stock (http://mirrorlist.centos.org/?release=8&arch=x86_64&repo=extras&infra=stock).:-- ETA
CentOS-8 - Extras 1.9 kB/s | 1.9 kB 00:01
Cannot download 'http://mirrorlist.centos.org/?release=8&arch=x86_64&repo=extras&infra=stock': Cannot prepare internal mirrorlist: Status code: 407 for http://mirrorlist.centos.org/?release=8&arch=x86_64&repo=extras&infra=stock.
Failed to synchronize cache for repo 'AppStream', ignoring this repo.
Failed to synchronize cache for repo 'BaseOS', ignoring this repo.
Failed to synchronize cache for repo 'extras', ignoring this repo.
No module defaults found
No match for argument: tcpdump
Error: Unable to find a match

# curl 'http://mirrorlist.centos.org/?release=8&arch=x86_64&repo=BaseOS'
Unauth 407


( I can't use the tcpdump for diagnostic rigth now - package can't installing)
Additional Information# cat /etc/centos-release
CentOS Linux release 8.0.1905 (Core)
# uname -a
Linux localhost.localdomain 4.18.0-80.el8.x86_64 #1 SMP Tue Jun 4 09:19:46 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
# rpm -qa | grep -e dnf -e python
python3-configobj-5.0.6-11.el8.noarch
python3-pyudev-0.21.0-7.el8.noarch
dnf-data-4.0.9.2-5.el8.noarch
python3-libxml2-2.9.7-5.el8.x86_64
python3-netifaces-0.10.6-4.el8.x86_64
python3-idna-2.5-5.el8.noarch
python3-cryptography-2.3-2.el8.x86_64
python3-hwdata-2.3.6-3.el8.noarch
python3-hawkey-0.22.5-4.el8.x86_64
python3-rpm-4.14.2-9.el8.x86_64
dnf-plugin-spacewalk-2.8.5-11.module_el8.0.0+180+337688dc.noarch
python3-libs-3.6.8-1.el8.0.1.x86_64
python3-unbound-1.7.3-8.el8.x86_64
python3-dateutil-2.6.1-6.el8.noarch
python3-linux-procfs-0.6-6.el8.noarch
python3-libcomps-0.1.8-13.el8.x86_64
python3-slip-0.6.4-11.el8.noarch
python3-dmidecode-3.12.2-13.el8.x86_64
python3-schedutils-0.6-5.el8.x86_64
python3-newt-0.52.20-9.el8.x86_64
python3-asn1crypto-0.24.0-3.el8.noarch
python3-ply-3.9-7.el8.noarch
python3-cffi-1.11.5-5.el8.x86_64
python3-pyOpenSSL-18.0.0-1.el8.noarch
python3-syspurpose-1.23.8-35.el8.x86_64
python3-slip-dbus-0.6.4-11.el8.noarch
python3-firewall-0.6.3-7.el8.noarch
python3-libdnf-0.22.5-4.el8.x86_64
python3-librepo-1.9.2-1.el8.x86_64
python3-dnf-4.0.9.2-5.el8.noarch
python3-rhn-client-tools-2.8.16-13.module_el8.0.0+180+337688dc.x86_64
python3-dnf-plugins-core-4.0.2.2-3.el8.noarch
python3-dnf-plugin-spacewalk-2.8.5-11.module_el8.0.0+180+337688dc.noarch
platform-python-pip-9.0.3-13.el8.noarch
platform-python-3.6.8-1.el8.0.1.x86_64
python3-six-1.11.0-8.el8.noarch
python3-decorator-4.2.1-2.el8.noarch
python3-iniparse-0.4-31.el8.noarch
python3-libselinux-2.8-6.el8.x86_64
python3-perf-4.18.0-80.el8.x86_64
python3-pycparser-2.14-14.el8.noarch
python3-rhnlib-2.8.6-8.module_el8.0.0+180+337688dc.noarch
python3-dbus-1.2.4-14.el8.x86_64
python3-gobject-base-3.28.3-1.el8.x86_64
libdnf-0.22.5-4.el8.x86_64
python3-gpg-1.10.0-6.el8.0.1.x86_64
dnf-4.0.9.2-5.el8.noarch
dnf-plugins-core-4.0.2.2-3.el8.noarch
platform-python-setuptools-39.2.0-4.el8.noarch

TagsNo tags attached.

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2019-11-06 16:32 Nifanin New Issue