Bug 54672 - apt-checkinstall: gpg: не могу создать '/usr/share/apt/tests/example-pubkey.asc': Отказано в доступе
Summary: apt-checkinstall: gpg: не могу создать '/usr/share/apt/tests/example-pubkey.a...
Status: CLOSED FIXED
Alias: None
Product: Sisyphus
Classification: Development
Component: apt (show other bugs)
Version: unstable
Hardware: x86_64 Linux
: P5 normal
Assignee: max.slipenko
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-06-04 17:45 MSK by Evgeny Shesteperov
Modified: 2026-01-15 17:10 MSK (History)
7 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Evgeny Shesteperov 2025-06-04 17:45:34 MSK
Выполнить установку:

# apt-get install -y apt-checkinstall; echo $?

Ожидаемый результат: код выхода 0

Фактический результат: код выхода 100

Вывод:

. . . . . .
/usr/share/apt/tests /tmp/sh.mJ7UEYhv
gpg: Generating a basic GPG key
74F6D101806DE618
gpg: не могу создать '/usr/share/apt/tests/example-pubkey.asc': Отказано в доступе
gpg: сбой при экспорте ключа: Отказано в доступе
ошибка: %prein(apt-checkinstall-0.5.15lorg2-alt96.noarch) scriptlet failed, exit status 2
ошибка: apt-checkinstall-0.5.15lorg2-alt96.noarch: установить failed
E: Произошли ошибки при выполнении транзакции
Comment 1 Котюхов Михаил Андреевич 2026-01-14 15:14:00 MSK
Актуально для apt-checkinstall-0.5.15lorg2-alt98
Comment 2 Repository Robot 2026-01-15 17:10:04 MSK
apt-0.5.15lorg2-alt99 -> sisyphus:

Thu Jan 15 2026 Ivan Zakharyaschev <imz@altlinux> 0.5.15lorg2-alt99
- basic-checkinstall subpkg:
  + Do the testing with an installed GPG key in this subpkg.
  + Fixed permission issues when running it unpriviledged. (ALT#54672)