He borrado todos los instaladores de programas

Hola, intentando borrar Ubuntu desde Kubuntu como cuenta este enlace (http://miordenadoreslibre.wordpress.com/2008/06/14/ubuntu-kubuntu-y-xubu...), me he quedado sin ningún instalador de programas (adept, apt, synaptic, etc.). Y no tengo ni idea de como volver a instalarlos. Lo he intentado bajandome synaptic en un archivo tar.gz para copilarlo e instalarlo, pero me algo falla:

kalamudia@kalamudia-desktop:~/synaptic-0.53$ ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
/home/kalamudia/synaptic-0.53/missing: Unknown `--run' option
Try `/home/kalamudia/synaptic-0.53/missing --help' for more information
configure: WARNING: `missing' script is too old or missing
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking dependency style of gcc... gcc3
checking for strerror in -lcposix... no
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ANSI C... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking for gcc option to accept ANSI C... none needed
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for g++... no
checking for c++... no
checking for gpp... no
checking for aCC... no
checking for CC... no
checking for cxx... no
checking for cc++... no
checking for cl... no
checking for FCC... no
checking for KCC... no
checking for RCC... no
checking for xlC_r... no
checking for xlC... no
checking whether we are using the GNU C++ compiler... no
checking whether g++ accepts -g... no
checking dependency style of g++... none
checking whether make sets $(MAKE)... (cached) yes
checking for ranlib... ranlib
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking for LC_MESSAGES... yes
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking for dgettext in libc... yes
checking for bind_textdomain_codeset... yes
checking for msgfmt... no
checking for intltool >= 0.23... 0.30 found
checking for perl... /usr/bin/perl
checking for xmlto... no
configure: error: You need xmlto to build the documentation. Apt-get it or download it from http://cyberelk.net/tim/xmlto/

Vale parece que el error esta en que me falta el "xmlto". Me lo bajo e intento copilarlo e instalarlo, pero me da otro error:

kalamudia@kalamudia-desktop:~/xmlto-0.0.21$ ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking whether gcc and cc understand -c and -o together... yes
checking for flex... no
checking for lex... no
checking for mktemp program... mktemp
checking for GNU find program... find
checking for bash... /bin/bash
checking for getopt program... getopt
checking whether getopt handles long options... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating xmlto
config.status: WARNING: xmlto.in seems to ignore the --datarootdir setting
config.status: creating xmlto.spec
config.status: creating config.h
config.status: executing depfiles commands

kalamudia@kalamudia-desktop:~/xmlto-0.0.21$ make
make all-am
make[1]: se ingresa al directorio `/home/kalamudia/xmlto-0.0.21'
depbase=`echo xmlif/xmlif.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -DHAVE_CONFIG_H -I. -g -O2 -MT xmlif/xmlif.o -MD -MP -MF $depbase.Tpo -c -o xmlif/xmlif.o xmlif/xmlif.c &&\
mv -f $depbase.Tpo $depbase.Po
xmlif/xmlif.c: En la función ‘yylex’:
xmlif/xmlif.l:215: aviso: se descarta el valor de devolución de ‘fwrite’, se declaró con el atributo warn_unused_result
gcc -g -O2 -o xmlif/xmlif xmlif/xmlif.o
for xml in xmlif.xml xmlto.xml; do \
FORMAT_DIR=./format \
/bin/bash ./xmlto -o man/man1 man ./doc/$xml ; \
done || ( RC=$?; cat ./FAQ; exit $RC )
I/O error : Attempt to load network entity http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl
warning: failed to load external entity "http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl"
compilation error: file /tmp/xmlto-xsl.WJ8231 line 4 element import
xsl:import : unable to load http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl
I/O error : Attempt to load network entity http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl
warning: failed to load external entity "http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl"
compilation error: file /tmp/xmlto-xsl.cx8268 line 4 element import
xsl:import : unable to load http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl

Q: I'm trying to build xmlto on my Debian box, but it doesn't work.

A: If you get `Attempt to load network entity' errors when building
xmlto, your system does not have the required support for XML
Catalogs
(http://www.oasis-open.org/committees/entity/spec-2001-08-06.html).
In particular, Debian has no support for these. Try the Fedora
Project .
make[1]: *** [man/man1/xmlto.1] Error 1
make[1]: se sale del directorio `/home/kalamudia/xmlto-0.0.21'
make: *** [all] Error 2

kalamudia@kalamudia-desktop:~/xmlto-0.0.21$ sudo make install
[sudo] password for kalamudia:
for xml in xmlif.xml xmlto.xml; do \
FORMAT_DIR=./format \
/bin/bash ./xmlto -o man/man1 man ./doc/$xml ; \
done || ( RC=$?; cat ./FAQ; exit $RC )
I/O error : Attempt to load network entity http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl
warning: failed to load external entity "http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl"
compilation error: file /tmp/xmlto-xsl.fw8309 line 4 element import
xsl:import : unable to load http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl
I/O error : Attempt to load network entity http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl
warning: failed to load external entity "http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl"
compilation error: file /tmp/xmlto-xsl.fB8345 line 4 element import
xsl:import : unable to load http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl

Q: I'm trying to build xmlto on my Debian box, but it doesn't work.

A: If you get `Attempt to load network entity' errors when building
xmlto, your system does not have the required support for XML
Catalogs
(http://www.oasis-open.org/committees/entity/spec-2001-08-06.html).
In particular, Debian has no support for these. Try the Fedora
Project .
make: *** [man/man1/xmlto.1] Error 1

Me podeis echar una mano, gracias.

no es necesario eso que has hecho, si tienes conexion a internet simplemente instala los paquetes que necesitas desde un terminal:

sudo aptitude install adept

si has desinstalado tanto apt como aptitude, tampoco es necesario que compiles, puedes bajarte los paquetes precomiplados que necesites directamente desde los repositorios:

http://ubuntu.univ-nantes.fr/ubuntu/pool

He borrado tato apt como aptitude y lo he intentado bajándome los paquetes precopilados, pero también me dan problemas porque me falta archivos, así que al final reinstalare kubuntu y listo. Gracias