[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

local repositary and apt



Hi All.

есть postfix и courier собраные с некоторыми патчами .
пытаюсь создать локальный репозитарий .

сложил в /home/sasha/rep/binary все необходимые deb файлы
создал Packages.gz -

mail:/home/sasha/rep# dpkg-scanpackages binary /dev/null |gzip -9c >binary/Packages.gz
** Packages in archive but missing from override file: **
courier-authdaemon courier-authmysql courier-authpostgresql courier-
base courier-doc courier-faxmail courier-imap courier-imap-ssl
courier-ldap courier-maildrop courier-mlm courier-mta courier-mta-
ssl courier-pcp courier-pop courier-pop-ssl courier-ssl courier-
webadmin postfix postfix-dev postfix-doc postfix-ldap postfix-mysql
postfix-pcre postfix-pgsql postfix-tls sqwebmail

Wrote 27 entries to output Packages file.

создал Release
mail:/home/sasha/rep/binary# cat Release
Archive: mail
Component: main
Architecture: i386

добавил в /etc/apt/sources.list
deb file:///home/sasha/rep/ binary/



apt-get update прошел без проблем , в /var/lib/apt/lists/ появился _home_sasha_rep_binary_Packages и _home_sasha_rep_binary_Release

cat /etc/apt/preferences

Package: *
Pin: release a=mail,c=main
Priority: 900

Package: *
Pin: release a=stable
Priority: 700

Package: *
Pin: release a=testing
Priority: 650

Package: *
Pin: release a=unstable
Priority: 600

но все равно apt-get upgrade предлагает обновить все установленные пакеты .

что здесь неправильно ? как указать apt-у чтоб он брал нужные пакеты из локального репозитария ?



Reply to: