Bug 57362

Summary: Не хватает Requires на некоторые пакеты
Product: Sisyphus Reporter: Сергей Жидких <rx1513>
Component: opamAssignee: Anton Farygin <rider>
Status: CLOSED NOTABUG QA Contact: qa-sisyphus
Severity: normal    
Priority: P5 CC: rider
Version: unstable   
Hardware: x86_64   
OS: Linux   

Description Сергей Жидких 2025-12-25 14:57:20 MSK
[root@c8bd22c58bd3 host]# apt-get install opam
Reading Package Lists... Done
Building Dependency Tree... Done
The following NEW packages will be installed:
  opam
0 upgraded, 1 newly installed, 0 removed and 34 not upgraded.


[root@c8bd22c58bd3 host]# opam init
[WARNING] Running as root is not recommended
No configuration file found, using built-in defaults.
Checking for available remotes: none.
  - you won't be able to use rsync and local repositories unless you install the rsync command on your
    system.
  - you won't be able to use git repositories unless you install the git command on your system.
  - you won't be able to use mercurial repositories unless you install the hg command on your system.
  - you won't be able to use darcs repositories unless you install the darcs command on your system.

[WARNING] Recommended dependencies -- most packages rely on these:
  - make
  - cc
[ERROR] Missing dependencies -- the following commands are required for opam to operate:
  - curl or wget: A download tool is required, check env variables OPAMCURL or OPAMFETCH
  - patch
  - unzip
  - getconf
  - bwrap: Sandboxing tool bwrap was not found. You should install 'bubblewrap'. See
    https://opam.ocaml.org/doc/FAQ.html#Why-does-opam-require-bwrap.
Comment 1 Anton Farygin 2025-12-25 15:00:38 MSK
В чём ошибка то ? доставьте нужные зависимости. Они нужны не во всех сценариях работы opam
И да, под рутом его точно не стоит запускать.
Comment 2 Сергей Жидких 2025-12-25 17:34:12 MSK
(Ответ для Anton Farygin на комментарий #1)
> В чём ошибка то ? доставьте нужные зависимости. Они нужны не во всех
> сценариях работы opam
В том, что зависимости не доустанавливаются автоматически. Написано же, что для инициализации не хватает обязательных зависимостей. Без неё почти никакие команды не работают.

> И да, под рутом его точно не стоит запускать.
В изолированном окружении можно.