系統管理
1753500 會員
4237 線上
108794 解決方案
發表新文章

APT (Advanced package tool) genbasedir fail

 
watermelonyu
教授

APT (Advanced package tool) genbasedir fail

有誰知道在架設APT server 時,若我的update package 為SRPM時語法該怎麼下,因為我遇到error如下:





# ls

base RPMS.os RPMS.updates SRPMS.os SRPMS.updates

# genbasedir /var/www/html/apt/es3 os updates

Components: os updates

Processing pkglists... osgenpkglist: relocation error: genpkglist: undefined symbol: fdClose

updatesgenpkglist: relocation error: genpkglist: undefined symbol: fdClose



Processing srclists...

Creating component releases...

Updating global release file...

Appending MD5Sum... os updates

All your base are belong to us!!!

#

1則回覆 1
watermelonyu
教授

APT (Advanced package tool) genbasedir fail

what is your apt rpm version ?



There's a wording error in /usr/include/rpm/rpmio.h: fdCLose should be changed to fdClose for apt to compile.



it should be okay, after correct the 'L' words.