[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Partimage in stable (sarge)



Gregor Horvath wrote:
> I did not find a partimage package in the stable release.
> Only partimage-doc and mindi-partimagehack is present.
> 
> installing the testing deb gives dependency errors
> 
> What to do?, compile my own version?

Yes, backporting should be a fairly simple process.  You need to add a deb-src
line for testing or unstable to /etc/apt/sources.list:

deb-src http://mirrors.kernel.org/debian/ testing main
# or
deb-src http://mirrors.kernel.org/debian/ unstable main

Then, as root:

# apt-get update
# apt-get build-dep partimage

As a regular user, resumably in their home directory:

$ mkdir partimage-build
$ cd partimage-build
$ apt-get source partimage

The partimage sources will be downloaded and unpacked into a folder.  cd to
that folder, then:

$ dpkg-buildpackage -uc -us -rfakeroot

And if the build is successful, you will have one or more .debs in
~/partimage-build.  As root, 'dpkg -i' the ones you want.

-- 
Chris Howie
http://www.chrishowie.com

-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GCS/IT d-(--) s:- a--->? C++(+++)$> UL++++ P++++$ L+++>++++ E---
W++ N o++ K? w--$ O M- V- PS--(---) PE++ Y+ PGP++ t+ 5? X-
R(+)>- tv-(--) b- DI+> D++ G>+++ e>++ h(--)>--- !r>+++ y->+++
------END GEEK CODE BLOCK------

Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: