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

Закомментировал wget:

[burn@tlsrv ~]$ sudo 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
[burn@tlsrv ~]$

sirocco
Покажите полностью текущий /etc/pacman.conf

  1 #
  2 # /etc/pacman.conf
  3 #
  4 # See the pacman.conf(5) manpage for option and repository directives
  5
  6 #
  7 # GENERAL OPTIONS
  8 #
  9 [options]
 10 # The following paths are commented out with their default values listed.
 11 # If you wish to use different paths, uncomment and update the paths.
 12 #RootDir     = /
 13 #DBPath      = /var/lib/pacman/
 14 #CacheDir    = /var/cache/pacman/pkg/
 15 #LogFile     = /var/log/pacman.log
 16 HoldPkg     = pacman glibc
 17 # If upgrades are available for these packages they will be asked for first
 18 SyncFirst   = pacman
 19 #XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u
 20 #XferCommand = /usr/bin/curl %u > %o
 21 #CleanMethod = KeepInstalled
 22 #
 23 # Pacman won't upgrade packages listed in IgnorePkg and members of IgnoreGro    up
 24 #IgnorePkg   =
 25 #IgnoreGroup =
 26
 27 #NoUpgrade   =
 28 #NoExtract   =
 29
 30 # Misc options (all disabled by default)
 31 #UseSyslog
 32 #ShowSize
 33 #UseDelta
 34 #TotalDownload
 35
 36 #
 37 # REPOSITORIES
 38 #   - can be defined here or included from another file
 39 #   - pacman will search repositories in the order defined here
 40 #   - local/custom mirrors can be added here or in separate files
 41 #   - repositories listed first will take precedence when packages
 42 #     have identical names, regardless of version number
 43 #   - URLs will have $repo replaced by the name of the current repo
 44 #
 45 # Repository entries are of the format:
 46 #       [repo-name]
 47 #       Server = ServerName
 48 #       Include = IncludePath
 49 #
 50 # The header [repo-name] is crucial - it must be present and
 51 # uncommented to enable the repo.
 52 #
 53
 54 # The testing repositories are disabled by default. To enable, uncomment the
 55 # repo name header and Include lines. You can add preferred servers immediat    ely
 56 # after the header, and they will be used before the default mirrors.
 57
 58 #[testing]
 59 ## Add your preferred servers here, they will be used first
 60 #Include = /etc/pacman.d/mirrorlist
 61
 62 [core]
 63 # Add your preferred servers here, they will be used first
 64 #Include = /etc/pacman.d/mirrorlist
 65 Server = file:///mnt/usb/core/os/i686
 66
 67 [extra]
 68 # Add your preferred servers here, they will be used first
 69 #Include = /etc/pacman.d/mirrorlist
 70 Server = file:///mnt/usb/extra/os/i686
 71
 72 #[community-testing]
 73 ## Add your preferred servers here, they will be used first
 74 #Include = /etc/pacman.d/mirrorlist
 75
 76 [community]
 77 # Add your preferred servers here, they will be used first
 78 #Include = /etc/pacman.d/mirrorlist
 79 Server = file:///mnt/usb/community/os/i686
 80
 81 # An example of a custom package repository.  See the pacman manpage for
 82 # tips on creating your own repositories.
 83 #[custom]
 84 #Server = file:///home/custompkgs
думаю, что требуется повторный запуск процедуры repo-add после обновления БД пакмана.
попробую сейчас выполнить.
Сразу прошу прощения за wget - попутал теплое с мягким ))

Теперь к делу. Сейчас все проверил на своем локальном репозитории. Реп расположен на разделе с ntfs.
1. Создал индекс пакетов скриптом repo-add.
2. Вписал нужные репозитории в pacman.conf
3. Получил список пакетов в репозитории pacman -Syy
4. Обновился и установил нужный пакет.

Короче все работает. Вам нужно проверить действительно ли ваши репозитории располагаются по пути /mnt/usb/. Покажите вывод
ls /mnt/usb/
Создаются ли индексы пакетов в локальных репозиториях после команды repo-add. Покажите вывод
ls /mnt/usb/core/os/i686 | grep core.db
ls /mnt/usb/extra/os/i686 | grep extra.db
ls /mnt/usb/core/os/i686 | grep community.db
парадоксально, но повторное создание индексных файлов помогло.
не ясно только почему при обновлении online не возникает подобных конфузов.

тут же получается, что нужно после установки системы выполнить repo-add, потом обновить pacman, обновить его БД, потом опять выполнить repo-add и только после этого удастся обновить систему целиком.
 
Зарегистрироваться или войдите чтобы оставить сообщение.