Kashkarov.Alexey |
|
Темы:
1
Сообщения:
4
Участник с: 06 января 2025
|
Доброго времени суток! В линуксе сильно новичок ещё, строго не судите. Появилась острая необходимость установить на Steam Deck pacman и yay, но выяснил что он в системе не работает. Вместо него Flatpak. На youtube есть гайд по его включению: passwd sudo steamos-readonly disable sudo pacman -S archlinux-keyring sudo pacman-key --init sudo pacman-key --populate archlinux sudo pacman -S --needed git base-devel && git clone https://aur.archlinux.org/yay-bin.git && cd yay-bin echo 'Swtich to version 12.3.0 on Feb 19 2024' git checkout cb857e898d7081a60cf8742d26247fd6a3c5443c makepkg -si --noconfirm Проблема в том что после команды: sudo pacman -S archlinux-keyring Появляется ошибка: (1)(deck@RetroGamer ~)$ sudo steamos-readonly disable Warning: The rootfs is already read-write! Nothing is performed. (deck@RetroGamer ~)$ sudo pacman -S archlinux-keyring предупреждение: database file for 'multilib' does not exist (use '-Sy' to download) предупреждение: archlinux-keyring-20241015-1 не устарел -- переустанавливается ошибка: не удалось подготовить транзакцию (не удалось найти базу данных) (1)(deck@RetroGamer ~)$ sudo pacman -Sy archlinux-keyring :: Обновление баз данных пакетов... jupiter-main is up to date holo-main is up to date core-main is up to date extra-main is up to date community-main is up to date multilib-main is up to date multilib.db failed to download ошибка: не удалось получить файл 'multilib.db' из steamdeck-packages.steamos.cloud : The requested URL returned error: 404 ошибка: failed to synchronize all databases (не удалось получить некоторые файлы) Подскажите пожалуйста, кто знает, как решить вопрос? |
chronos |
|
Темы:
5
Сообщения:
656
Участник с: 15 марта 2012
|
Для начала узнать настройки своего /etc/pacman.conf и /etc/pacman.d/mirrorlist |
Kashkarov.Alexey |
|
Темы:
1
Сообщения:
4
Участник с: 06 января 2025
|
# # /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 = /usr/lib/holo/pacmandb/ #CacheDir = /var/cache/pacman/pkg/ #LogFile = /var/log/pacman.log #GPGDir = /etc/pacman.d/gnupg/ #HookDir = /etc/pacman.d/hooks/ HoldPkg = pacman glibc #XferCommand = /usr/bin/curl -L -C - -f -o %o %u #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 Color #TotalDownload # We cannot check disk space from within a chroot environment CheckSpace VerbosePkgLists ParallelDownloads = 10 # By default, pacman accepts packages signed by keys that its local keyring # trusts (see pacman-key and its man page), as well as unsigned packages. SigLevel = Required DatabaseOptional LocalFileSigLevel = Optional #RemoteFileSigLevel = Required # NOTE: You must run `pacman-key --init` before first using pacman; the local # keyring can then be populated with the keys of all official Arch Linux # packagers with `pacman-key --populate archlinux`. # # 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] #Include = /etc/pacman.d/mirrorlist [jupiter-main] Include = /etc/pacman.d/mirrorlist [holo-main] Include = /etc/pacman.d/mirrorlist [core-main] Include = /etc/pacman.d/mirrorlist [extra-main] Include = /etc/pacman.d/mirrorlist #[community-testing] #Include = /etc/pacman.d/mirrorlist [community-main] Include = /etc/pacman.d/mirrorlist [multilib-main] 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 |
Kashkarov.Alexey |
|
Темы:
1
Сообщения:
4
Участник с: 06 января 2025
|
/etc/pacman.d/mirrorlist Server = https://steamdeck-packages.steamos.cloud/archlinux-mirror/$repo/os/$arch Вот скорее всего в чём причина. А какие настройки там должны быть, можете подсказать? |
Kashkarov.Alexey |
|
Темы:
1
Сообщения:
4
Участник с: 06 января 2025
|
Благодарю за ответ. Решил вопрос. |