Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 548106 - Mirrors down: HTTP 502 http://gentoo.mneisen.org/, DNS lookup failed http://gentoo.inf.elte.hu/, HTTP 404 http://de-mirror.org/distro/gentoo/
Summary: Mirrors down: HTTP 502 http://gentoo.mneisen.org/, DNS lookup failed http://g...
Status: RESOLVED INVALID
Alias: None
Product: Mirrors
Classification: Unclassified
Component: Server Problem (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Mirror Admins
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-04-29 07:23 UTC by Gabor MARTON
Modified: 2015-04-29 12:08 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Gabor MARTON 2015-04-29 07:23:27 UTC
emerge app-misc/ca-certificates is trying to install outdated ca-certificates_20140927.tar.xz, which is not accessible from the mirrors. 

>>> Emerging (3 of 9) app-misc/ca-certificates-20140927.3.17.2::gentoo
 * Fetching files in the background. To view fetch progress, run
 * `tail -f /var/log/emerge-fetch.log` in another terminal.
>>> Downloading 'http://gentoo.mneisen.org/distfiles/ca-certificates_20140927.tar.xz'
--2015-04-29 08:57:48--  http://gentoo.mneisen.org/distfiles/ca-certificates_20140927.tar.xz
Resolving gentoo.mneisen.org... 176.9.40.244
Connecting to gentoo.mneisen.org|176.9.40.244|:80... connected.
HTTP request sent, awaiting response... 502 Bad Gateway
2015-04-29 08:57:48 ERROR 502: Bad Gateway.

>>> Downloading 'http://gentoo.inf.elte.hu/distfiles/ca-certificates_20140927.tar.xz'
--2015-04-29 08:57:48--  http://gentoo.inf.elte.hu/distfiles/ca-certificates_20140927.tar.xz
Resolving gentoo.inf.elte.hu... failed: Name or service not known.
wget: unable to resolve host address 'gentoo.inf.elte.hu'
>>> Downloading 'http://de-mirror.org/distro/gentoo/distfiles/ca-certificates_20140927.tar.xz'
--2015-04-29 08:57:48--  http://de-mirror.org/distro/gentoo/distfiles/ca-certificates_20140927.tar.xz
Resolving de-mirror.org... 2001:8d8:580:400::c314:f25a, 195.20.242.90
Connecting to de-mirror.org|2001:8d8:580:400::c314:f25a|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2015-04-29 08:57:48 ERROR 404: Not Found.

>>> Downloading 'http://ftp.at.debian.org/debian/pool/main/c/ca-certificates/ca-certificates_20140927.tar.xz'
--2015-04-29 08:57:48--  http://ftp.at.debian.org/debian/pool/main/c/ca-certificates/ca-certificates_20140927.tar.xz
Resolving ftp.at.debian.org... 2001:858:2:1::10, 213.129.232.18
Connecting to ftp.at.debian.org|2001:858:2:1::10|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2015-04-29 08:57:48 ERROR 404: Not Found.

>>> Downloading 'http://ftp.hk.debian.org/debian/pool/main/c/ca-certificates/ca-certificates_20140927.tar.xz'
--2015-04-29 08:57:48--  http://ftp.hk.debian.org/debian/pool/main/c/ca-certificates/ca-certificates_20140927.tar.xz
Resolving ftp.hk.debian.org... 2001:df0:2ed:feed::feed, 150.65.7.130
Connecting to ftp.hk.debian.org|2001:df0:2ed:feed::feed|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2015-04-29 08:57:49 ERROR 404: Not Found.

>>> Downloading 'http://ftp.ua.debian.org/debian/pool/main/c/ca-certificates/ca-certificates_20140927.tar.xz'
--2015-04-29 08:57:49--  http://ftp.ua.debian.org/debian/pool/main/c/ca-certificates/ca-certificates_20140927.tar.xz
Resolving ftp.ua.debian.org... 91.200.60.59
Connecting to ftp.ua.debian.org|91.200.60.59|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2015-04-29 08:57:49 ERROR 404: Not Found.

>>> Downloading 'http://ftp.au.debian.org/debian/pool/main/c/ca-certificates/ca-certificates_20140927.tar.xz'
--2015-04-29 08:57:49--  http://ftp.au.debian.org/debian/pool/main/c/ca-certificates/ca-certificates_20140927.tar.xz
Resolving ftp.au.debian.org... 218.100.43.30
Connecting to ftp.au.debian.org|218.100.43.30|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2015-04-29 08:57:50 ERROR 404: Not Found.


Reproducible: Always

Steps to Reproduce:
1. emerge sync && emerge app-misc/ca-certificates
2. wait
3. wait a little more
Actual Results:  
emerge app-misc/ca-certificates won't be updated

Expected Results:  
emerge app-misc/ca-certificates should have installed a new set of certificates

# emerge --info
!!! SYNC setting found in make.conf.
    This setting is Deprecated and no longer used.  Please ensure your 'sync-type' and 'sync-uri' are set correctly in /etc/portage/repos.conf/gentoo.conf
Portage 2.2.18 (python 2.7.9-final-0, hardened/linux/amd64, gcc-4.7.3, glibc-2.20-r2, 3.12.20-gentoo-backup x86_64)
=================================================================
System uname: Linux-3.12.20-gentoo-backup-x86_64-Intel-R-_Xeon-R-_CPU_L5640_@_2.27GHz-with-gentoo-2.2
KiB Mem:     8176676 total,    219040 free
KiB Swap:    4000148 total,   3976976 free
Timestamp of repository gentoo: Wed, 29 Apr 2015 00:15:01 +0000
sh bash 4.2_p53
ld GNU ld (Gentoo 2.24 p1.4) 2.24
app-shells/bash:          4.2_p53::gentoo
dev-lang/perl:            5.20.2::gentoo
dev-lang/python:          2.7.9-r1::gentoo, 3.3.5-r1::gentoo
dev-util/cmake:           2.8.12.2-r1::gentoo
dev-util/pkgconfig:       0.28-r2::gentoo
sys-apps/baselayout:      2.2::gentoo
sys-apps/openrc:          0.13.11::gentoo
sys-apps/sandbox:         2.6-r1::gentoo
sys-devel/autoconf:       2.69::gentoo
sys-devel/automake:       1.11.6::gentoo, 1.12.6::gentoo, 1.13.4::gentoo
sys-devel/binutils:       2.24-r3::gentoo
sys-devel/gcc:            4.6.3::gentoo, 4.7.3-r1::gentoo, 4.8.4::gentoo
sys-devel/gcc-config:     1.7.3::gentoo
sys-devel/libtool:        2.4.6::gentoo
sys-devel/make:           4.1-r1::gentoo
sys-kernel/linux-headers: 3.18::gentoo (virtual/os-headers)
sys-libs/glibc:           2.20-r2::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.mik.uni-pannon.hu/gentoo-portage
    priority: -1000

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=nocona"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.5/ext-active/ /etc/php/cgi-php5.5/ext-active/ /etc/php/cli-php5.5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS=" http://gentoo.mneisen.org/ http://gentoo.inf.elte.hu/ http://de-mirror.org/distro/gentoo/"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j12"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
USE="addns aio amd64 apache2 audit bash-completion bashlogger berkdb bzip2 cli cracklib crypt curl cxx diskio dri ftp fuse gd gdbm hardened hash iconv iproute2 ipv6 jpeg jpeg2k justify logrotate logwatch mmx mmxext modules multilib mysql mysqli nagios-ntp nagios-ping nagios-ssh ncurses nls nptl openmp pam pax_kernel pcre php png python python3 quota readline samba session snmp sockets sse sse2 ssl static-libs suexec svg syslog tcpd truetype unicode urandom vhosts vim-syntax xattr xml xtpax zip zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" APACHE2_MPMS="peruser" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-4 php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" RUBY_TARGETS="ruby19 ruby20" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga nouveau nv r128 radeon savage sis tdfx trident vesa via vmware dummy v4l" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 1 Adam Feldman gentoo-dev 2015-04-29 10:02:59 UTC
Just checked OSU and RIT, both of them show they have the file.   Looks like an issue with the specific mirrors that you have selected.  Can you add "http://mirrors.rit.edu/gentoo/" to your GENTOO_MIRRORS in your make.conf and report back?
Comment 2 Gabor MARTON 2015-04-29 11:32:57 UTC
Thx for the prompt reply! Adding RIT mirror solved my issue.

The rest of my reply is just FYI:
If the gentoo mirrors fail to deliver the mentioned file, then emerge is trying to find it on ftp.*.debian.org mirrors. Those mirrors are hosting a newer version of the archive, thus resulting in 404 error.

(Sorry for the long quote)

>>> Downloading 'http://ftp.no.debian.org/debian/pool/main/c/ca-certificates/ca-certificates_20140927.tar.xz'
--2015-04-29 13:24:44--  http://ftp.no.debian.org/debian/pool/main/c/ca-certificates/ca-certificates_20140927.tar.xz
Resolving ftp.no.debian.org... 2001:700:100:118::47, 129.240.118.47
Connecting to ftp.no.debian.org|2001:700:100:118::47|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2015-04-29 13:24:44 ERROR 404: Not Found.

>>> Downloading 'http://ftp.dk.debian.org/debian/pool/main/c/ca-certificates/ca-certificates_20140927.tar.xz'
--2015-04-29 13:24:44--  http://ftp.dk.debian.org/debian/pool/main/c/ca-certificates/ca-certificates_20140927.tar.xz
Resolving ftp.dk.debian.org... 2001:878:346::116, 130.225.254.116
Connecting to ftp.dk.debian.org|2001:878:346::116|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2015-04-29 13:24:44 ERROR 404: Not Found.

>>> Downloading 'http://ftp.bg.debian.org/debian/pool/main/c/ca-certificates/ca-certificates_20140927.tar.xz'
--2015-04-29 13:24:44--  http://ftp.bg.debian.org/debian/pool/main/c/ca-certificates/ca-certificates_20140927.tar.xz
Resolving ftp.bg.debian.org... 2a01:288:4000:6::2, 212.36.0.70
Connecting to ftp.bg.debian.org|2a01:288:4000:6::2|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2015-04-29 13:24:44 ERROR 404: Not Found.

>>> Downloading 'http://ftp.sk.debian.org/debian/pool/main/c/ca-certificates/ca-certificates_20140927.tar.xz'
--2015-04-29 13:24:44--  http://ftp.sk.debian.org/debian/pool/main/c/ca-certificates/ca-certificates_20140927.tar.xz
Resolving ftp.sk.debian.org... 62.168.95.115
Connecting to ftp.sk.debian.org|62.168.95.115|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2015-04-29 13:24:44 ERROR 404: Not Found.

>>> Downloading 'http://ftp.tr.debian.org/debian/pool/main/c/ca-certificates/ca-certificates_20140927.tar.xz'
--2015-04-29 13:24:44--  http://ftp.tr.debian.org/debian/pool/main/c/ca-certificates/ca-certificates_20140927.tar.xz
Resolving ftp.tr.debian.org... 2001:a98:11::100, 193.140.100.100
Connecting to ftp.tr.debian.org|2001:a98:11::100|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2015-04-29 13:24:44 ERROR 404: Not Found.

>>> Downloading 'http://ftp.hr.debian.org/debian/pool/main/c/ca-certificates/ca-certificates_20140927.tar.xz'
--2015-04-29 13:24:44--  http://ftp.hr.debian.org/debian/pool/main/c/ca-certificates/ca-certificates_20140927.tar.xz
Resolving ftp.hr.debian.org... 2001:b68:ff:1::11, 161.53.160.11
Connecting to ftp.hr.debian.org|2001:b68:ff:1::11|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2015-04-29 13:24:44 ERROR 404: Not Found.
Comment 3 Adam Feldman gentoo-dev 2015-04-29 11:55:02 UTC
(In reply to Gabor MARTON from comment #2)
> If the gentoo mirrors fail to deliver the mentioned file, then emerge is
> trying to find it on ftp.*.debian.org mirrors. Those mirrors are hosting a
> newer version of the archive, thus resulting in 404 error.

This is actually the case with all of the other versions of the pkg other than the newest, as upstream Debian only seems to have 3 pkgs in their repo (and we have ~20 ebuilds.  Regarding the availability and using https://bugs.gentoo.org/show_bug.cgi?id=375133 as a reference, I'd say that the fact that we have it in the mirror system, is sufficient reason to not require a reliance upon upsteam's availability, especially since the ebuild explicitly calls mirror:// instead of calling debian's servers directly.

> Adding RIT mirror solved my issue

Glad to hear it.  I highly recommend using app-portage/mirrorselect and tacking on a few mirrors.  It even has the ability to speed test the mirrors so you can pick functioning ones, and fast ones relative to your location.


Will leave this bug open so infra can tackle the mirror issue
Comment 4 Adam Feldman gentoo-dev 2015-04-29 11:57:59 UTC
Apologies to infra for the prior assignment, reassigned to default for mirror issues
Comment 5 Alex Legler (RETIRED) archtester gentoo-dev Security 2015-04-29 12:08:25 UTC
(In reply to Gabor MARTON from comment #0)
> GENTOO_MIRRORS=" http://gentoo.mneisen.org/ http://gentoo.inf.elte.hu/
> http://de-mirror.org/distro/gentoo/"
>

Your mirrors are outdated. Use mirrorselect and/or https://www.gentoo.org/downloads/mirrors/ for current mirrors.