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

Re: Partimage in stable (sarge)



Chris Howie wrote:
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.


Thanks Chris, works as advertised :-)
H




Reply to: