Closed alexandre-mbm closed 10 years ago
Temporary solution:
mv .git ../git-backup
dpkg-buildpackage -ai386 -uc -us
References:
$ cd ../
$ ls -1
git-backup
mechanize-userscripts.org
post-userscripts-org_5.01-1_all.deb
post-userscripts-org_5.01-1.diff.gz
post-userscripts-org_5.01-1.dsc
post-userscripts-org_5.01-1_i386.changes
post-userscripts-org_5.01.orig.tar.gz
Testing:
$ sudo dpkg -I post-userscripts-org_5.01-1_all.deb
novo pacote debian, versão 2.0.
tamanho 4434 bytes: arquivo de controle= 760 bytes.
459 bytes, 13 linhas control
648 bytes, 8 linhas md5sums
Package: post-userscripts-org
Version: 5.01-1
Architecture: all
Maintainer: Alexandre Magno Brito de Medeiros <alexandre@alexandre-desktop>
Installed-Size: 80
Depends: perl, libpath-class-perl, libwww-mechanize-perl, libyaml-syck-perl
Section: perl
Priority: optional
Homepage: https://metacpan.org/release/post-userscripts-org
Description: unknown
(no description was found)
.
This description was automagically extracted from the module by dh-make-perl.
$ sudo dpkg -c post-userscripts-org_5.01-1_all.deb
drwxr-xr-x root/root 0 2014-05-02 13:09 ./
drwxr-xr-x root/root 0 2014-05-02 13:09 ./usr/
drwxr-xr-x root/root 0 2014-05-02 13:09 ./usr/share/
drwxr-xr-x root/root 0 2014-05-02 13:09 ./usr/share/doc/
drwxr-xr-x root/root 0 2014-05-02 13:09 ./usr/share/doc/post-userscripts-org/
-rw-r--r-- root/root 1440 2014-05-02 12:11 ./usr/share/doc/post-userscripts-org/copyright
-rw-r--r-- root/root 1376 2014-05-02 10:53 ./usr/share/doc/post-userscripts-org/README.en.markdown
-rw-r--r-- root/root 161 2014-05-02 12:11 ./usr/share/doc/post-userscripts-org/changelog.Debian.gz
-rw-r--r-- root/root 1132 2014-05-02 10:53 ./usr/share/doc/post-userscripts-org/README.markdown
drwxr-xr-x root/root 0 2014-05-02 13:09 ./usr/share/perl5/
drwxr-xr-x root/root 0 2014-05-02 13:09 ./usr/share/perl5/post/
drwxr-xr-x root/root 0 2014-05-02 13:09 ./usr/share/perl5/post/userscripts/
-rwxr-xr-x root/root 1581 2014-05-02 10:53 ./usr/share/perl5/post/userscripts/post-userscripts-org.pl
drwxr-xr-x root/root 0 2014-05-02 13:09 ./usr/lib/
drwxr-xr-x root/root 0 2014-05-02 13:09 ./usr/lib/perl/
drwxr-xr-x root/root 0 2014-05-02 13:09 ./usr/lib/perl/5.14/
-rw-r--r-- root/root 261 2014-05-02 13:09 ./usr/lib/perl/5.14/perllocal.pod
drwxr-xr-x root/root 0 2014-05-02 13:09 ./usr/lib/perl5/
drwxr-xr-x root/root 0 2014-05-02 13:09 ./usr/lib/perl5/auto/
drwxr-xr-x root/root 0 2014-05-02 13:09 ./usr/lib/perl5/auto/post/
drwxr-xr-x root/root 0 2014-05-02 13:09 ./usr/lib/perl5/auto/post/userscripts/
drwxr-xr-x root/root 0 2014-05-02 13:09 ./usr/lib/perl5/auto/post/userscripts/org/
-rw-r--r-- root/root 247 2014-05-02 13:09 ./usr/lib/perl5/auto/post/userscripts/org/.packlist
drwxr-xr-x root/root 0 2014-05-02 13:09 ./usr/bin/
-rwxr-xr-x root/root 1665 2014-05-02 13:09 ./usr/bin/post-userscripts-org.pl
Installing:
sudo apt-get install libyaml-syck-perl
sudo dpkg -i post-userscripts-org_5.01-1_all.deb
To uninstalling:
sudo apt-get remove post-userscripts-org
It works!
This is a step after #4 when following "Packaging your Perl script for Debian" for perfom #5.