I’ve been re-searching for this page long enough to make a note this time.
Posts tagged ‘ubuntu’
This is probably something everybody knows, but I’ve been Googling for this answer for over an hour:
- cp $DEBs $BASEDIR/.
- mkdir -p $BASEDIR/dists/$DIST/$COMPONENT/binary-amd64
- cd $BASEDIR
- apt-ftparchive packages . > dists/$DIST/$COMPONENT/binary-amd64/Packages
- echo “deb file:$BASEDIR $DIST $COMPONENT” >> /etc/apt/sources.list
- apt-get update
$BASEDIR is whatever directory you have space in (preferably an empty directory); $DIST and $COMPONENT are “jaunty-backports” and “main” in my setup, but you can vary.
You also might need to add the following line to /etc/apt/apt.conf to get rid of the “untrusted source” warning: