1
剛開始接觸DH-的virtualenv並一直跟隨在https://nylas.com/blog/packaging-deploying-python/DH-的virtualenv生成錯誤 - 文本文件忙
教程我有我想建立一個無業遊民的Debian傑西一個微不足道的2檔測試應用程序虛擬機運行在我的窗口框。當我運行的dpkg-buildpackage -us -uc,我會在年底的錯誤 - 無法重命名文件 - 文本文件是忙:
[email protected]:/vagrant/updatetest3#
[email protected]:/vagrant/updatetest3#
[email protected]:/vagrant/updatetest3# uname -a
Linux jessie 3.16.0-4-amd64 #1 SMP Debian 3.16.39-1+deb8u1 (2017-02-22) x86_64 GNU/Linux
[email protected]:**/vagrant/updatetest3# sudo dpkg-buildpackage -us -uc**
dpkg-buildpackage: source package updatetest3
dpkg-buildpackage: source version 1.3
dpkg-buildpackage: source distribution unstable
dpkg-buildpackage: source changed by bill <[email protected]>
dpkg-buildpackage: host architecture amd64
dpkg-source --before-build updatetest3
debian/rules clean
dh clean --with python-virtualenv
dh_testdir
dh_auto_clean
pyversions: missing X(S)-Python-Version in control file, fall back to debian/pyversions
pyversions: missing debian/pyversions file, fall back to supported versions
running clean
'build/lib.linux-x86_64-2.7' does not exist -- can't clean it
'build/bdist.linux-x86_64' does not exist -- can't clean it
'build/scripts-2.7' does not exist -- can't clean it
dh_clean
dpkg-source -b updatetest3
dpkg-source: warning: no source format specified in debian/source/format, see dpkg-source(1)
dpkg-source: info: using source format `1.0'
dpkg-source: warning: source directory 'updatetest3' is not <sourcepackage>-<upstreamversion> 'updatetest3-1.3'
dpkg-source: info: building updatetest3 in updatetest3_1.3.tar.gz
dpkg-source: **error: unable to rename `/vagrant/updatetest3_1.3.tar.gz.new.WqKLSO' (newly created) to `updatetest3_1.3.tar.gz': Text file busy**
dpkg-buildpackage: error: dpkg-source -b updatetest3 gave error exit status 26
[email protected]:/vagrant/updatetest3#
任何想法?
感謝
比爾