On Thu, Feb 01, 2001 at 03:42:16AM +0300, Dmitry V. Levin wrote: > > > > по встроенному в RPM публичному keyring и локальному keyring пользователя, который > > > > запускает apt-get. Для его правильной работы нужно корректно собирать хэш пакетов > > > > через genbasedir: > > > > > > > > /usr/sbin/genbasedir -s --top=ГДЕ-ЛЕЖИТ Sisyphus/i586/Mandrake sisyphus > > > > > > А что, собственно, "ГДЕ-ЛЕЖИТ"? > > У меня, например, /var/ftp/pub/distributions/7.2, локальный путь. Он, естественно, > > у всех разный, но это не важно -- в hashfile.gpg шифруется только Sisyphus/i586/Mandrake. > > Не работает: > $ /usr/bin/genbasedir -s --top=/ Sisyphus/i586/Mandrake sisyphus > Usage: genbasedir [] [ ... ] > Options: > -s, --sign Generate and sign hashfile > --hashonly Do hashfile stuff only > --listonly Generate pkglists/srclists and quit > --topdir=dir Top directory of repository > --updateinfo=file Update information file > --bloat Do not strip the package file list. Needed for some > distributions that use non-automatically generated file dependencies > > $ rpm -qf /usr/bin/genbasedir > apt-0.3.19cnc32-ipl4mdk Ага, надо было делать так: $ /usr/bin/genbasedir -s --topdir=/ Sisyphus/i586/Mandrake sisyphus Regards, Dmitry +-------------------------------------------------------------------------+ Dmitry V. Levin mailto://ldv@fandra.org Software Engineer PGP pubkey http://www.fandra.org/users/ldv/pgpkeys.html IPLabs Linux Team http://linux.iplabs.ru Fandra Project http://www.fandra.org +-------------------------------------------------------------------------+ UNIX is user friendly. It's just very selective about who its friends are.