[CMake] Creating package
Kornel Benko
kornel at lyx.org
Sat May 26 11:44:48 EDT 2012
Am Samstag, 26. Mai 2012 um 17:31:18, schrieb Kornel Benko <kornel at lyx.org>
> Am Samstag, 26. Mai 2012 um 16:41:45, schrieb Eric Noulard <eric.noulard at gmail.com>
> > 2012/5/26 Kornel Benko <kornel at lyx.org>:
> > > Resending this, after being subscribed ...
> > > ................
> > > Hi list,
> > > this is my first mail to this list, so it may be the wrong list to report errors.
> >
> > This is the good one.
> > When we are all sure that the bug is a real bug
> > you may file a bug report in the tracker as well:
> > http://public.kitware.com/Bug
> >
> > >
> > > Recently I updated to ubuntu 12.04. Debian packages created with cmake (through "make package")
> > > are now not handled gratuitously by dpkg. (The installation stops after extracting data from *.deb)
> > > ---------------------------------------------
> > > # sudo dpkg -i xyzzy.deb
> > > (Reading database ... 517983 files and directories currently installed.)
> > > Preparing to replace **** **** (using .../****.deb) ...
> > > Unpacking replacement **** ...
> > > dpkg: error processing xyzzy.deb (--install):
> > > corrupted filesystem tarfile - corrupted package archive
> > > dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
> > > Errors were encountered while processing:
> > > xyzzy.deb
> > >
Anyway, this looks as like data.tar.gz were not ok. The package will be corrected, if I do following:
mkdir tmp
cp xyzzy.deb tmp
cd tmp
ar xv xyzzy.deb data.tar.gz
tar xzvf data.tar.gz
tar zcvf data.tgz ./usr
mv data.tgz data.tar.gz
ar rv xyzzy.deb data.tar.gz
Now "dpkg -i xyzzy.deb" is working.
Kornel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://www.cmake.org/pipermail/cmake/attachments/20120526/5969ac02/attachment.pgp>
More information about the CMake
mailing list