vnc-biz / zcs-zmpkg

Package management core for the Zimbra Collaboration Suite
6 stars 3 forks source link

Errors were encountered while processing (INSTALLATION) #9

Closed thePr0fessor closed 11 years ago

thePr0fessor commented 11 years ago

Hello,

I've just set things back up (was using CentOS before) on a Debian system, and was trying to add the zmpackage manager so I can get the OpenERP Archiver working.

However, when I clone from git I get an error (I'll paste it all so you can call me out on my (likely) stupid mistake.

Thanks!

git clone git://github.com/vnc-biz/zcs-zmpkg.git Cloning into 'zcs-zmpkg'... remote: Counting objects: 499, done. remote: Compressing objects: 100% (183/183), done. remote: Total 499 (delta 270), reused 499 (delta 270) Receiving objects: 100% (499/499), 70.97 KiB, done. Resolving deltas: 100% (270/270), done. ===========This is me being retarded, but I figured I'd include it as well =============== bstrickland@zimbra:~/zcs-zmpkg$ sudo ./scripts/install.sh [sudo] password for bstrickland:

./scripts/install.sh

bstrickland@zimbra:~/zcs-zmpkg$ sudo ./scripts/install.sh /opt/zimbra dpkg: error processing zcs-zmpkg.deb (--install): cannot access archive: No such file or directory Errors were encountered while processing: zcs-zmpkg.deb

Any help would be great! I don't see that .deb being created and I'm not sure whats wrong - I have fakeroot, dpkg (obviously - I'm on Deb) and most other dev packages like Make etc , that I'd think I'd need.

Thanks!

thePr0fessor commented 11 years ago

A bit of poking and I seem to have found that I needed to build the deb with make. Then ./install worked fine.

I either completely missed that or the README's are lacking cohesive direction. Nevertheless this can be marked as solved! (I'll look to see if I can do it again)

flavioelawi commented 11 years ago

i simply get

package architecture (All) does not match system (amd64)

and yes, a little bit more comprehensive README would be useful.

Edit: now i am trying with the tarball in http://packages.vnc.biz/zmpkg/bootstrap/ironmaiden/

and i get

user@zcs01:~/zcs-zmpkg-1.3.0.3-ironmaiden-0$ sudo ./install.sh /opt/zimbra/ Fakeroot ok: fakeroot version 1.18.2 (Reading database ... 0 files and directories currently installed.) Unpacking zcs-zmpkg (from zcs-zmpkg_1.3.0.3-ironmaiden-0_all.deb) ... dpkg: error processing zcs-zmpkg_1.3.0.3-ironmaiden-0_all.deb (--install): unable to make backup link of ./bin/zm-apt-key' before installing new version: Operation not permitted Errors were encountered while processing: zcs-zmpkg_1.3.0.3-ironmaiden-0_all.deb (Reading database ... 0 files and directories currently installed.) Unpacking zcs-zmpkg (from zcs-zmpkg_1.3.0.3-ironmaiden-0_all.deb) ... dpkg: error processing zcs-zmpkg_1.3.0.3-ironmaiden-0_all.deb (--install): unable to make backup link of./bin/zm-apt-key' before installing new version: Operation not permitted Errors were encountered while processing: zcs-zmpkg_1.3.0.3-ironmaiden-0_all.deb (Reading database ... 0 files and directories currently installed.) Unpacking zcs-zmpkg (from zcs-zmpkg_1.3.0.3-ironmaiden-0_all.deb) ... dpkg: error processing zcs-zmpkg_1.3.0.3-ironmaiden-0_all.deb (--install): unable to make backup link of `./bin/zm-apt-key' before installing new version: Operation not permitted Errors were encountered while processing: zcs-zmpkg_1.3.0.3-ironmaiden-0_all.deb

flavioelawi commented 11 years ago

i had to remove some old /opt/zimbra/bin/zm-zmpkg* and other binaries and the folder in extensions-extra that were residual from previous installations went wrong, now it seems that zmpkg is installed.

metux commented 11 years ago

Okay. Thanks for the feedback.