letster |
|
Темы:
1
Сообщения:
5
Участник с: 25 февраля 2012
|
Привет, я новичок. Появилась проблема с pacman -ом, не может найти файлы .db на зеркале обновления.[lolik@lolikpc ~]$ sudo pacman -Syu Password: :: Synchronizing package databases... error: failed retrieving file 'core.db' from cake.lib.fit.edu : Connection time-out error: failed retrieving file 'core.db' from mirrors.cat.pdx.edu : Connection time-out error: failed retrieving file 'core.db' from mirror.ece.vt.edu : Connection time-out error: failed retrieving file 'core.db' from http://www.gtlib.gatech.edu : Connection time-out error: failed retrieving file 'core.db' from mirrors1.kernel.org : Connection time-out error: failed retrieving file 'core.db' from mirrors2.kernel.org : Connection time-out error: failed to update core (download library error) error: failed retrieving file 'extra.db' from mirror.isoc.org.il : Connection time-out Зеркала пингуются. Добавление в modprobe.conf options ipv6 disable=1 [lolik@lolikpc modprobe.d]$ which pacman /usr/bin/pacman [lolik@lolikpc modprobe.d]$ pacman -V .--. Pacman v4.0.2 - libalpm v7.0.2 pacman.log [2012-02-19 12:36] Running 'pacman -Syu' [2012-02-19 12:36] synchronizing package lists [2012-02-19 12:36] starting full system upgrade [2012-02-19 13:06] upgraded gsm (1.0.13-6 -> 1.0.13-7) [2012-02-19 13:06] upgraded hawknl (1.68-2 -> 1.68-3) [2012-02-19 13:06] upgraded id3v2 (0.1.12-1 -> 0.1.12-2) [2012-02-19 13:06] upgraded libdiscid (0.2.2-1 -> 0.2.2-2) [2012-02-19 13:06] upgraded libid3tag (0.15.1b-6 -> 0.15.1b-7) [2012-02-19 13:06] upgraded libieee1284 (0.2.11-3 -> 0.2.11-4) [2012-02-19 13:06] upgraded libirman (0.4.5-2 -> 0.4.5-3) [2012-02-19 13:06] upgraded libmodplug (0.8.8.3-1 -> 0.8.8.4-1) [2012-02-19 13:06] upgraded libofa (0.9.3-3 -> 0.9.3-4) [2012-02-19 13:06] upgraded libzip (0.10-1 -> 0.10-2) [2012-02-19 13:06] upgraded naev-data (0.5.0-1 -> 0.5.0-2) [2012-02-19 13:06] upgraded neon (0.29.6-2 -> 0.29.6-3) [2012-02-19 13:06] upgraded openlierox (0.58_rc3-3 -> 0.58_rc3-4) [2012-02-19 13:06] upgraded openttd-opensfx (0.2.3-3 -> 0.2.3-4) [2012-02-19 13:06] upgraded p11-kit (0.9-1 -> 0.11-1) [2012-02-19 13:06] upgraded perl-error (0.17016-2 -> 0.17017-1) [2012-02-19 13:06] upgraded speech-dispatcher (0.7.1-5 -> 0.7.1-6) [2012-02-19 13:06] upgraded sudo (1.8.3.p2-2 -> 1.8.4-1) [2012-02-19 13:07] upgraded vlc (1.1.13-6 -> 2.0.0-1) [2012-02-20 14:18] Running 'pacman -S amule' [2012-02-20 14:19] installed geoip (1.4.8-1) [2012-02-20 14:19] installed crypto++ (5.6.1-3) [2012-02-20 14:19] installed amule (10759-1) pacman.conf # # /etc/pacman.conf # # See the pacman.conf(5) manpage for option and repository directives # # GENERAL OPTIONS # [options] # The following paths are commented out with their default values listed. # If you wish to use different paths, uncomment and update the paths. #RootDir = / #DBPath = /var/lib/pacman/ #CacheDir = /var/cache/pacman/pkg/ #LogFile = /var/log/pacman.log #GPGDir = /etc/pacman.d/gnupg/ HoldPkg = pacman glibc # If upgrades are available for these packages they will be asked for first SyncFirst = pacman #XferCommand = /usr/bin/curl -C - -f %u > %o #XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u #CleanMethod = KeepInstalled Architecture = auto # Pacman won't upgrade packages listed in IgnorePkg and members of IgnoreGroup #IgnorePkg = #IgnoreGroup = #NoUpgrade = #NoExtract = # Misc options #UseSyslog #UseDelta #TotalDownload CheckSpace #VerbosePkgLists # PGP signature checking # NOTE: None of this will work without running `pacman-key --init` first. # The compiled in default is equivalent to the following line. This requires # you to locally sign and trust packager keys using `pacman-key` for them to be # considered valid. #SigLevel = Optional TrustedOnly # If you wish to check signatures but avoid local sign and trust issues, use # the following line. This will treat any key imported into pacman's keyring as # trusted. #SigLevel = Optional TrustAll # For now, off by default unless you read the above. SigLevel = Never # # REPOSITORIES # - can be defined here or included from another file # - pacman will search repositories in the order defined here # - local/custom mirrors can be added here or in separate files # - repositories listed first will take precedence when packages # have identical names, regardless of version number # - URLs will have $repo replaced by the name of the current repo # - URLs will have $arch replaced by the name of the architecture # # Repository entries are of the format: # [repo-name] # Server = ServerName # Include = IncludePath # # The header [repo-name] is crucial - it must be present and # uncommented to enable the repo. # # The testing repositories are disabled by default. To enable, uncomment the # repo name header and Include lines. You can add preferred servers immediately # after the header, and they will be used before the default mirrors. #[testing] #SigLevel = PackageRequired #Include = /etc/pacman.d/mirrorlist [core] #SigLevel = PackageRequired Include = /etc/pacman.d/mirrorlist [extra] #SigLevel = PackageOptional Include = /etc/pacman.d/mirrorlist #[community-testing] #SigLevel = PackageRequired #Include = /etc/pacman.d/mirrorlist [community] #SigLevel = PackageOptional Include = /etc/pacman.d/mirrorlist # If you want to run 32 bit applications on your x86_64 system, # enable the multilib repositories as required here. #[multilib-testing] #SigLevel = PackageRequired #Include = /etc/pacman.d/mirrorlist [multilib] #SigLevel = PackageOptional Include = /etc/pacman.d/mirrorlist # An example of a custom package repository. See the pacman manpage for # tips on creating your own repositories. #[custom] #SigLevel = Optional TrustAll #Server = file:///home/custompkgs mirrorlist ## ## Arch Linux repository mirrorlist ## Generated on 2011-08-16 ## ## Any #Server = ftp://mirrors.kernel.org/archlinux/$repo/os/$arch #Server = http://mirrors.kernel.org/archlinux/$repo/os/$arch ## United States #Server = ftp://archlinux.supsec.org/pub/linux/arch/$repo/os/$arch #Server = http://archlinux.supsec.org/$repo/os/$arch #Server = ftp://cake.lib.fit.edu/archlinux/$repo/os/$arch Server = http://cake.lib.fit.edu/archlinux/$repo/os/$arch Server = http://mirrors.cat.pdx.edu/archlinux/$repo/os/$arch Server = http://mirror.ece.vt.edu/archlinux/$repo/os/$arch #Server = ftp://ftp.archlinux.org/$repo/os/$arch #Server = ftp://ftp.gtlib.gatech.edu/pub/archlinux/$repo/os/$arch Server = http://www.gtlib.gatech.edu/pub/archlinux/$repo/os/$arch #Server = ftp://mirror.ancl.hawaii.edu/linux/archlinux/$repo/os/$arch #Server = http://mirror.ancl.hawaii.edu/linux/archlinux/$repo/os/$arch Server = http://mirrors1.kernel.org/archlinux/$repo/os/$arch Server = http://mirrors2.kernel.org/archlinux/$repo/os/$arch #Server = ftp://locke.suu.edu/linux/dist/archlinux/$repo/os/$arch #Server = ftp://lug.mtu.edu/archlinux/ftpfull/$repo/os/$arch #Server = http://lug.mtu.edu/archlinux/ftpfull/$repo/os/$arch #Server = http://mirror.mocker.org/archlinux/$repo/os/$arch #Server = ftp://ftp.osuosl.org/pub/archlinux/$repo/os/$arch #Server = http://ftp.osuosl.org/pub/archlinux/$repo/os/$arch #Server = ftp://mirror.rit.edu/archlinux/$repo/os/$arch #Server = http://mirror.rit.edu/archlinux/$repo/os/$arch #Server = http://mirrors.rutgers.edu/archlinux/$repo/os/$arch #Server = http://mirrors.lax1.thegcloud.com/arch//$repo/os/$arch #Server = http://mirror.yellowfiber.net/archlinux/$repo/os/$arch ## Uzbekistan #Server = ftp://mirrors.st.uz/archlinux/$repo/os/$arch #Server = http://mirrors.st.uz/archlinux/$repo/os/$arch |
letster |
|
Темы:
1
Сообщения:
5
Участник с: 25 февраля 2012
|
Нашел топик в англоязычном форуме. Добавил сообщение там. Будем посмотреть. |
vadik |
|
Темы:
57
Сообщения:
5488
Участник с: 17 августа 2009
|
letsterСравните с вики. |
voodoochild |
|
Темы:
20
Сообщения:
114
Участник с: 01 октября 2010
|
Доброго времени суток. У меня аналогичная проблема. ipv6 отключен через /etc/sysctl.conf (как указано в вики). |
bobart |
|
Темы:
38
Сообщения:
2537
Участник с: 28 ноября 2009
|
Попробуй в /etc/modprobe.d/modprobe.conf:alias net-pf-10 off |
letster |
|
Темы:
1
Сообщения:
5
Участник с: 25 февраля 2012
|
bobartСпасибо. К сожалению мне не помогло. |
voodoochild |
|
Темы:
20
Сообщения:
114
Участник с: 01 октября 2010
|
Особенность: если сначала пропинговать зеркало, а потом запустить pacman - то все работает. Но не долго - где-то минут так через 10-15 приходится заново пинговать (потребности так часто делать обновление нет, просто из интереса выяснить проблему). voodoo ~ $ ping mirror.yandex.ru PING mirror.yandex.ru (213.180.204.183) 56(84) bytes of data. 64 bytes from mirror.yandex.ru (213.180.204.183): icmp_req=1 ttl=57 time=21.6 ms 64 bytes from mirror.yandex.ru (213.180.204.183): icmp_req=2 ttl=57 time=20.7 ms 64 bytes from mirror.yandex.ru (213.180.204.183): icmp_req=3 ttl=57 time=20.9 ms 64 bytes from mirror.yandex.ru (213.180.204.183): icmp_req=4 ttl=57 time=20.9 ms ^C --- mirror.yandex.ru ping statistics --- 4 packets transmitted, 4 received, 0% packet loss, time 3005ms rtt min/avg/max/mdev = 20.740/21.070/21.670/0.370 ms voodoo ~ $ sudo pacman -Syu Пароль: :: Синхронизируются базы данных пакетов... core не устарел extra 1386,3 KiB 2,18M/s 00:01 [######################################################] 100% community 1526,3 KiB 2,62M/s 00:01 [######################################################] 100% :: Запускается полное обновление системы... разрешение зависимостей... проверка на взаимную несовместимость... Цели (18): libdmx-1.1.1-2 libxcomposite-0.4.3-2 libxdmcp-1.1.0-2 libxext-1.3.0-2 libxfixes-5.0-2 libxft-2.2.0-2 libxinerama-1.1.1-2 libxkbfile-1.0.7-2 libxmu-1.1.0-2 libxpm-3.5.9-2 libxres-1.0.5-2 libxss-1.2.1-2 libxt-1.1.1-2 libxtst-1.2.0-2 libxv-1.0.6-2 libxvmc-1.0.6-2 vlc-2.0.0-8 weechat-0.3.7-1 Будет загружено: 9,31 MiB Будет установлено: 46,56 MiB Изменение размера: 0,77 MiB Приступить к установке? [Y/n] y |
bobart |
|
Темы:
38
Сообщения:
2537
Участник с: 28 ноября 2009
|
letster, начнём сначала? Что показывает lsmod | grep ipv |
voodoochild |
|
Темы:
20
Сообщения:
114
Участник с: 01 октября 2010
|
ах шайтан. Все-таки поборол :) Решение: в /boot/grub/menu.lst нужно добавить ipv6.disable=1 |
letster |
|
Темы:
1
Сообщения:
5
Участник с: 25 февраля 2012
|
voodoochildПф, и правда шайтан! Заработало. Спасибо voodoochild! Спасибо bobart! Спасибо vadik! Кстати в вики действительно об этом было. Просто непонятно, что другой способ ipv6 не отключил на самом деле. Или способ сработал, но это не подходит для pacman -а? Но так быть не может в принципе. Непонятно. |