[Git-dpm-user] import-dsc fails, don't know how to fix.
Paul Elliott
pelliott at blackpatchpanel.com
Tue Feb 21 08:26:41 UTC 2012
On Tuesday, February 21, 2012 01:38:09 AM Paul Elliott wrote:
> I am trying to import an existing package into git-dpm:
> > $ mkdir test
> > $ cd test
> >
> > $ git init
> > Initialized empty Git repository in
> > /home/pelliott/develop/astrology/openastro.org/my12dh-sid-redo/test/.git
> > /
> >
> > $ git-dpm import-dsc --ptc ../openastro.org_1.1.25-1.dsc
> > rmdir: failed to remove `./': Invalid argument
>
> This is the message I get when I try to import my existing package. I don't
> know how to fix it, because I don't know what it means.
>
> This package will dpkg-source -x without problem.
I believe the problem is the tarball does not untar into project-version/files,
instead the files of the tarball untar directly into .
dpkg-source can deal with such tarballs, but the packages for such tarballs
require special effort to setup. See:
http://lists.debian.org/debian-mentors/2011/03/msg00356.html
http://lists.debian.org/debian-mentors/2011/03/msg00365.html
http://lists.debian.org/debian-mentors/2011/03/msg00367.html
I believe that git-dpm import-dsc should be written so it can deal with the
same packages that dpkg-source can deal with.
I can attach the source package to an email message if requested. But most
mailing lists will not accept attachments.
--
Paul Elliott 1(512)837-1096
pelliott at BlackPatchPanel.com PMB 181, 11900 Metric Blvd Suite J
http://www.free.blackpatchpanel.com/pme/ Austin TX 78758-3117
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.alioth.debian.org/pipermail/git-dpm-user/attachments/20120221/ea256806/attachment.pgp>
More information about the Git-dpm-user
mailing list