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

apt-get works on solaris




Here's the first part of what I've come up with... mods/comments welcome.
Next is dpkg -- GNU/Solaris here I come :)

Nils.

-------------------------------------------------------------------------
-- HOWTO use apt-get source on non-linux architectures
-- a HOWTO in a few easy steps
-- comments: lohner@debian.org
-------------------------------------------------------------------------

/////////////////////////////////////////////////////////////////////////
### STEP 1: get and compile apt 
/////////////////////////////////////////////////////////////////////////

-- get apt from CVS
cvs -d :pserver:anonymous@localhost:/cvs/deity login
(blank password)
cvs -d :pserver:anonymous@localhost:/cvs/deity co /cvs/deity


-- configure the build tree
make startup


-- build
make


-- if there are any configure or build problems
mail -complete- details to: deity@lists.debian.org


-- Create an apt configuration file
vi ~/.apt.conf
// Content:
// (modify as needed...)
// check doc/examples/configure-index for other settings
acquire::http::proxy "http://wwwproxy.teradyne.com:80/";;
dir
{
   State "/u/lohner/apt/aptdata"
   {
      Status "status";
   }
   Cache "/u/lohner/apt/aptdata";
   Etc "/u/lohner/apt/aptdata";
   Bin
   {
      methods "/u/lohner/misc/debian/apt/build/bin/methods";
   }
}


-- Create a sources.list file
vi ~/apt/aptdata/sources.list
# Content:
# just one of the main mirrors... pick one more local to you.
deb-src http://samosa.debian.org/debian potato main contrib non-free


-- Create the directory hierarchy that you need for APT to work
mkdir ~/apt
mkdir ~/apt/aptdata
mkdir ~/apt/aptdata/lists
mkdir ~/apt/aptdata/lists/partial
mkdir ~/apt/aptdata/archives/partial
mkdir ~/apt/aptdata/archives
mkdir ~/apt/aptdata/archives/partial

-- touch the status file
touch /u/lohner/apt/aptdata/status

-- and get the packages files
apt-get update

-- you're ready to use it
apt-get source dpkg

/////////////////////////////////////////////////////////////////////////
### STEP 2: get and compile dpkg-source
/////////////////////////////////////////////////////////////////////////

-- stay tuned for future episodes




Reply to: