Локальный репозиторий на DVD

mrjingles
как на ftp://mirror.yandex.ru/archlinux/core/os/i686 лежало, так и скачал. как-то иначе нужно?
Что-то на фтп кривизна какая-то. Качайте с http.
wget-1.12-5-i686.pkg.tar.xz/wget-1.12-5-i686.pkg.tar.xz
из-за этого и проблемы.

P.S. глянул - на ftp://mirrors.kernel.org/archlinux/ примерно тоже самое.
Массовый глюк или так и задумано?
ясно.
тогда следующий вопрос. уже все скачано, как можно скопировать все файлы из папок в корень?
другими словами:

предполагаю, что должно быть нечто следующего содержания:

преобразовав следующую команду:

mv /mnt/usb/core/os/i686/wget-1.12-5-i686.pkg.tar.xz/wget-1.12-5-i686.pkg.tar.xz /core/os/i686/

получаем примерно следующее:

mv /mnt/usb/core/os/i686/*.pkg.tar.*/*.pkg.tar.* /core/os/i686/

но при попытке выполнить получаем:

mv: cannot overwrite directory `/mnt/usb/core/os/i686/wget-1.12-5-i686.pkg.tar.xz' with non-directory

и т.д. как можно это хитро провернуть?
сам разобрался)
скрипт нарисовал:

#!/bin/bash
REPO=/mnt/usb/core/os/i686
mkdir $REPO/rootdir
mv $REPO/*.pkg.tar.*/*.pkg.tar.* $REPO/rootdir/
rmdir $REPO/*.pkg.tar.*
mv $REPO/rootdir/* $REPO/
rmdir $REPO/rootdir
да. после перемещения в корень i686 все отработало. pacman обновился, pacman-db-upgrade выполнил, но почему-то при попытке выполнить полный апгрейд тут же выскочило следующее (см.внизу):


[root@tlsrv i686]# pacman -Syy
:: Synchronizing package databases...
 core                      36.3K   94.7K/s 00:00:00 [#####################] 100%
 extra                    462.9K  634.3K/s 00:00:01 [#####################] 100%
 community                429.3K   54.6M/s 00:00:00 [#####################] 100%
[root@tlsrv i686]# pacman -Syu
:: Synchronizing package databases...
 core is up to date
 extra is up to date
 community is up to date
:: The following packages should be upgraded first :
    pacman
:: Do you want to cancel the current operation
:: and upgrade these packages now? [Y/n] Y
resolving dependencies...
looking for inter-conflicts...
:: xz conflicts with xz-utils. Remove xz-utils? [Y/n] Y
Remove (1): xz-utils-4.999.9beta-2
Total Removed Size:   0.79 MB
Targets (3): xz-5.0.1-1  libarchive-2.8.4-2  pacman-3.5.1-1
Total Download Size:    1.64 MB
Total Installed Size:   4.77 MB
Proceed with installation? [Y/n] Y
:: Retrieving packages from core...
 xz-5.0.1-1-i686          295.1K  685.0K/s 00:00:00 [#####################] 100%
 libarchive-2.8.4-2-i686  583.2K  845.5K/s 00:00:01 [#####################] 100%
 pacman-3.5.1-1-i686      797.0K  977.0K/s 00:00:01 [#####################] 100%
checking package integrity...
(3/3) checking for file conflicts                   [#####################] 100%
(1/1) removing xz-utils                             [#####################] 100%
(1/3) installing xz                                 [#####################] 100%
(2/3) upgrading libarchive                          [#####################] 100%
(3/3) upgrading pacman                              [#####################] 100%
warning: /etc/pacman.conf installed as /etc/pacman.conf.pacnew
>>> The pacman database format has changed as of pacman 3.5.0.
>>> You will need to run `pacman-db-upgrade` as root.
>>>
New optional dependencies for pacman
    curl: for rankmirrors usage
[root@tlsrv i686]# pacman-db-upgrade
==> Pre-3.5 database format detected - upgrading...
==> Done.
[root@tlsrv i686]# pacman -Syu
:: Synchronizing package databases...
error: failed retrieving file 'core.db' from disk : No such file or directory
error: failed to update core (No such file or directory)
error: failed retrieving file 'extra.db' from disk : No such file or directory
error: failed to update extra (No such file or directory)
error: failed retrieving file 'community.db' from disk : No such file or directory
error: failed to update community (No such file or directory)
error: failed to synchronize any databases
Читайте же вывод команд
warning: /etc/pacman.conf installed as /etc/pacman.conf.pacnew
Проверьте содержимое /etc/pacman.conf.

И еще, при использовании локального репозитория, если не ошибаюсь, должна быть расскоментирована строка
XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u

П.С. сразу забыл указать :(, из-за этой строчки пакман и не читал данные с локальных реп.
$ sudo pacman -Syuv --debug
vadik
Читайте же вывод команд
Да я читаю, читаю :)
Но ведь это сообщение подразумевает, что новый пакман скопировал свой pacman.conf как pacman.conf.pacnew, тем самым оставив в системе оригинальный pacman.conf.
Когда я выполняю эту же операцию в online, то данных ошибок нет, и pacman.conf я не трогаю.
sirocco
$ sudo pacman -Syuv –debug

[burn@tlsrv ~]$ sudo pacman -Syuv --debug
debug: config: attempting to read file /etc/pacman.conf
debug: config: new section 'options'
debug: config: HoldPkg: pacman
debug: config: HoldPkg: glibc
debug: config: SyncFirst: pacman
debug: config: xfercommand: /usr/bin/wget --passive-ftp -c -O %o %u
debug: config: new section 'core'
debug: registering sync database 'core'
debug: adding new server URL to database 'core': file:///mnt/usb/core/os/i686
debug: config: new section 'extra'
debug: registering sync database 'extra'
debug: adding new server URL to database 'extra': file:///mnt/usb/extra/os/i686
debug: config: new section 'community'
debug: registering sync database 'community'
debug: adding new server URL to database 'community': file:///mnt/usb/community/os/i686
debug: setlibpaths() called
debug: option 'cachedir' = /var/cache/pacman/pkg/
debug: config: finished parsing /etc/pacman.conf
Root      : /
Conf File : /etc/pacman.conf
DB Path   : /var/lib/pacman/
Cache Dirs: /var/cache/pacman/pkg/
Lock File : /var/lib/pacman/db.lck
Log File  : /var/log/pacman.log
Targets   : None
:: Synchronizing package databases...
debug: database path for tree local set to /var/lib/pacman/local/
debug: local database version 2
debug: running command: /usr/bin/wget --passive-ftp -c -O /var/lib/pacman/sync/core.db.part file:///mnt/usb/core/os/i686/core.db
file:///mnt/usb/burnyshev/REPO/core/os/i686/core.db: Unsupported scheme “file”.
debug: running command: /usr/bin/wget --passive-ftp -c -O /var/lib/pacman/sync/extra.db.part file:///mnt/usb/extra/os/i686/extra.db
file:///mnt/usb/burnyshev/REPO/extra/os/i686/extra.db: Unsupported scheme “file”.
debug: running command: /usr/bin/wget --passive-ftp -c -O /var/lib/pacman/sync/community.db.part file:///mnt/usb/community/os/i686/community.db
file:///mnt/usb/community/os/i686/community.db: Unsupported scheme “file”.
debug: loading package cache for repository 'local'
debug: adding 'glibc' to package cache for db 'local'
debug: adding 'dcron' to package cache for db 'local'
debug: adding 'libedit' to package cache for db 'local'
debug: adding 'libpcap' to package cache for db 'local'
debug: adding 'xplc' to package cache for db 'local'
debug: adding 'phpmyadmin' to package cache for db 'local'
debug: adding 'mysql' to package cache for db 'local'
debug: adding 'wget' to package cache for db 'local'
debug: adding 'groff' to package cache for db 'local'
debug: adding 'tcp_wrappers' to package cache for db 'local'
debug: adding 'binutils' to package cache for db 'local'
debug: adding 'eventlog' to package cache for db 'local'
debug: adding 'expat' to package cache for db 'local'
debug: adding 'less' to package cache for db 'local'
debug: adding 'cracklib' to package cache for db 'local'
debug: adding 'kernel26' to package cache for db 'local'
debug: adding 'dbus-core' to package cache for db 'local'
debug: adding 'grub' to package cache for db 'local'
debug: adding 'tar' to package cache for db 'local'
debug: adding 'json-glib' to package cache for db 'local'
debug: adding 'file' to package cache for db 'local'
debug: adding 'tzdata' to package cache for db 'local'
debug: adding 'licenses' to package cache for db 'local'
debug: adding 'sed' to package cache for db 'local'
debug: adding 'pcmciautils' to package cache for db 'local'
debug: adding 'man-pages' to package cache for db 'local'
debug: adding 'dhclient' to package cache for db 'local'
debug: adding 'device-mapper' to package cache for db 'local'
debug: adding 'ntfs-3g' to package cache for db 'local'
debug: adding 'syslog-ng' to package cache for db 'local'
debug: adding 'mkinitcpio' to package cache for db 'local'
debug: adding 'iptables' to package cache for db 'local'
debug: adding 'gettext' to package cache for db 'local'
debug: adding 'ncurses' to package cache for db 'local'
debug: adding 'popt' to package cache for db 'local'
debug: adding 'jfsutils' to package cache for db 'local'
debug: adding 'gcc-libs' to package cache for db 'local'
debug: adding 'libgcrypt' to package cache for db 'local'
debug: adding 'psmisc' to package cache for db 'local'
debug: adding 'mdadm' to package cache for db 'local'
debug: adding 'shadow' to package cache for db 'local'
debug: adding 'libgpg-error' to package cache for db 'local'
debug: adding 'initscripts' to package cache for db 'local'
debug: adding 'freetype2' to package cache for db 'local'
debug: adding 'libldap' to package cache for db 'local'
debug: adding 'gpm' to package cache for db 'local'
debug: adding 'sysfsutils' to package cache for db 'local'
debug: adding 'sysvinit' to package cache for db 'local'
debug: adding 'bzip2' to package cache for db 'local'
debug: adding 'kbd' to package cache for db 'local'
debug: adding 'libnl' to package cache for db 'local'
debug: adding 'libfetch' to package cache for db 'local'
debug: adding 'procps' to package cache for db 'local'
debug: adding 'php-mcrypt' to package cache for db 'local'
debug: adding 'texinfo' to package cache for db 'local'
debug: adding 'gzip' to package cache for db 'local'
debug: adding 'sudo' to package cache for db 'local'
debug: adding 'db' to package cache for db 'local'
debug: adding 'nano' to package cache for db 'local'
debug: adding 'ppp' to package cache for db 'local'
debug: adding 'wpa_supplicant' to package cache for db 'local'
debug: adding 'e2fsprogs' to package cache for db 'local'
debug: adding 'iputils' to package cache for db 'local'
debug: adding 'xfsprogs' to package cache for db 'local'
debug: adding 'grep' to package cache for db 'local'
debug: adding 'libmysqlclient' to package cache for db 'local'
debug: adding 'gen-init-cpio' to package cache for db 'local'
debug: adding 'pcre' to package cache for db 'local'
debug: adding 'mlocate' to package cache for db 'local'
debug: adding 'linux-api-headers' to package cache for db 'local'
debug: adding 'libusb' to package cache for db 'local'
debug: adding 'php-apache' to package cache for db 'local'
debug: adding 'apr' to package cache for db 'local'
debug: adding 'vim' to package cache for db 'local'
debug: adding 'lvm2' to package cache for db 'local'
debug: adding 'gmp' to package cache for db 'local'
debug: adding 'glib2' to package cache for db 'local'
debug: adding 'dash' to package cache for db 'local'
debug: adding 'pacman' to package cache for db 'local'
debug: adding 'slang' to package cache for db 'local'
debug: adding 'libjpeg-turbo' to package cache for db 'local'
debug: adding 'pacman-mirrorlist' to package cache for db 'local'
debug: adding 'zlib' to package cache for db 'local'
debug: adding 'filesystem' to package cache for db 'local'
debug: adding 'gdbm' to package cache for db 'local'
debug: adding 'p7zip' to package cache for db 'local'
debug: adding 'acl' to package cache for db 'local'
debug: adding 'sqlite3' to package cache for db 'local'
debug: adding 'cryptsetup' to package cache for db 'local'
debug: adding 'reiserfsprogs' to package cache for db 'local'
debug: adding 'libxml2' to package cache for db 'local'
debug: adding 'vim-runtime' to package cache for db 'local'
debug: adding 'libsasl' to package cache for db 'local'
debug: adding 'pam' to package cache for db 'local'
debug: adding 'libtool' to package cache for db 'local'
debug: adding 'php-gd' to package cache for db 'local'
debug: adding 'mysql-clients' to package cache for db 'local'
debug: adding 'kernel26-firmware' to package cache for db 'local'
debug: adding 'libarchive' to package cache for db 'local'
debug: adding 'libpng' to package cache for db 'local'
debug: adding 'attr' to package cache for db 'local'
debug: adding 'diffutils' to package cache for db 'local'
debug: adding 'bftpd' to package cache for db 'local'
debug: adding 'util-linux-ng' to package cache for db 'local'
debug: adding 'bash' to package cache for db 'local'
debug: adding 'dhcpcd' to package cache for db 'local'
debug: adding 'unixodbc' to package cache for db 'local'
debug: adding 'fuse' to package cache for db 'local'
debug: adding 'coreutils' to package cache for db 'local'
debug: adding 'php' to package cache for db 'local'
debug: adding 'openssh' to package cache for db 'local'
debug: adding 'net-tools' to package cache for db 'local'
debug: adding 'heimdal' to package cache for db 'local'
debug: adding 'apr-util' to package cache for db 'local'
debug: adding 'mc' to package cache for db 'local'
debug: adding 'usbutils' to package cache for db 'local'
debug: adding 'gawk' to package cache for db 'local'
debug: adding 'vi' to package cache for db 'local'
debug: adding 'lzo2' to package cache for db 'local'
debug: adding 'udev' to package cache for db 'local'
debug: adding 'mkinitcpio-busybox' to package cache for db 'local'
debug: adding 'findutils' to package cache for db 'local'
debug: adding 'perl' to package cache for db 'local'
debug: adding 'xz' to package cache for db 'local'
debug: adding 'libmcrypt' to package cache for db 'local'
debug: adding 'man-db' to package cache for db 'local'
debug: adding 'rp-pppoe' to package cache for db 'local'
debug: adding 'logrotate' to package cache for db 'local'
debug: adding 'which' to package cache for db 'local'
debug: adding 'mailx' to package cache for db 'local'
debug: adding 'wvstreams' to package cache for db 'local'
debug: adding 'module-init-tools' to package cache for db 'local'
debug: adding 'apache' to package cache for db 'local'
debug: adding 'lynx' to package cache for db 'local'
debug: adding 'libcap' to package cache for db 'local'
debug: adding 'readline' to package cache for db 'local'
debug: adding 'wvdial' to package cache for db 'local'
debug: adding 'pciutils' to package cache for db 'local'
debug: adding 'openssl' to package cache for db 'local'
debug: loading package cache for repository 'core'
debug: database path for tree core set to /var/lib/pacman/sync/core.db
debug: loading package cache for repository 'extra'
debug: database path for tree extra set to /var/lib/pacman/sync/extra.db
debug: loading package cache for repository 'community'
debug: database path for tree community set to /var/lib/pacman/sync/community.db
debug: 'pacman' not found in sync db => no upgrade
debug: local database version 2
:: Starting full system upgrade...
debug: checking for package upgrades
 there is nothing to do
debug: unregistering database 'local'
debug: freeing package cache for repository 'local'
debug: unregistering database 'core'
debug: freeing package cache for repository 'core'
debug: unregistering database 'extra'
debug: freeing package cache for repository 'extra'
debug: unregistering database 'community'
debug: freeing package cache for repository 'community'
[burn@tlsrv ~]$

vadik
И еще, при использовании локального репозитория, если не ошибаюсь, должна быть расскоментирована строка

Код: XferCommand = /usr/bin/wget –passive-ftp -c -O %o %u

раскомментировал. ситуация не изменилась.

[burn@tlsrv ~]$ sudo pacman -Syu
:: Synchronizing package databases...
file:///mnt/usb/core/os/i686/core.db: Unsupported scheme “file”.
file:///mnt/usb/extra/os/i686/extra.db: Unsupported scheme “file”.
file:///mnt/usb/community/os/i686/community.db: Unsupported scheme “file”.
:: Starting full system upgrade...
 there is nothing to do
[burn@tlsrv ~]$

ломаю голову…
mrjingles
vadik
И еще, при использовании локального репозитория, если не ошибаюсь, должна быть расскоментирована строка

Код: XferCommand = /usr/bin/wget –passive-ftp -c -O %o %u

раскомментировал. ситуация не изменилась.

С точностью до наоборот - wget должен быть закомментирован.
Unsupported scheme “file” - это сообщение wget-a


Покажите полностью текущий /etc/pacman.conf
Непонятно, откуда возникает
file:///mnt/usb/extra/os/i686/extra.db
file:///mnt/usb/burnyshev/REPO/extra/os/i686/extra.db

Подозреваю, что в pacman.conf строчки дублируются
sirocco
Покажите полностью текущий /etc/pacman.conf
Непонятно, откуда возникает
КОД: ВЫДЕЛИТЬ ВСЁ
file:///mnt/usb/extra/os/i686/extra.db
file:///mnt/usb/burnyshev/REPO/extra/os/i686/extra.db

это мой реальный путь хранения репозиториев. я просто его сократил до /mnt/usb, чтобы проще было читать тут. а в приведенном логе - поправить забыл)
 
Зарегистрироваться или войдите чтобы оставить сообщение.