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

E: Unable to determine a suitable system type



I'm trying to bootstrap apt-get on a Solaris box following:

	http://lists.debian.org/deity/1999/deity-199912/msg00081.html

Once I ditch the solaris toolchain and replace /bin/sh by /bin/bash ("test
-e" does not seem to work on solaris!) everything builds fine. Now if I
run apt-get I get:

	E: Unable to determine a suitable system type

I have searched the web and someone[1] meant one has to use:

	apt-get -o apt::system="Debian dpkg interface"

Now that doesn't work either and if I change pkgsystem.cc to do this:

	pkgSystem *pkgSystem::GetSystem(const char *Label)
	{
	   for (unsigned I = 0; I != GlobalListLen; I++) {
	      cerr << "System: " << SysList[I]->Label << "\n";
	   }
	   cerr << "That's all folks\n";

	   for (unsigned I = 0; I != GlobalListLen; I++) {
	      if (strcmp(SysList[I]->Label,Label) == 0)
	     return SysList[I];
	   }
	   return 0;
	}

I get an empty list ("That's all folks").

Erm. I think I'm missing something here. Does anyone have a hint for me?
*t

[1] http://www.mysql.jp/mysql/pro/sundpkg.html

-----------------------------------------------------------------------
     Tomas Pospisek
     sourcepole    -   Linux & Open Source Solutions
     http://sourcepole.com
     Elestastrasse 18,  7310 Bad Ragaz,  Switzerland
     Tel:+41 (81) 330 77 13,  Fax:+41 (81) 330 77 12
------------------------------------------------------------------------



-- 
To UNSUBSCRIBE, email to deity-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: