View Full Version : a personal apt-get server?

June 25th, 2006, 08:05 PM
If you want to set up a apt-get server. What do you need to do. Is there any howto for what?

June 25th, 2006, 08:57 PM
Here's a page that shows you how to build a local repo:


June 28th, 2006, 08:42 AM
I get this error after following the guide. That could i be missing?
Misslyckades att hämta 404 Not Found
Misslyckades att hämta 404 Not Found

June 28th, 2006, 09:13 AM
If your trying to create a repo server, then you need to generate a Packages.gz file using the last command listed below. Google Debian Package Building for more info.

#create deb
dpkg-deb --build "directoryyouwanttobuild"

#update Package.gz
sudo dpkg-scanpackages ./ yourdebfile.deb | gzip -9c > Packages.gz

June 28th, 2006, 09:40 AM
sudo sh scan.sh
sudo dpkg-scanpackages ./ lmms_0.1.2-1_i386.deb | gzip -9c > Packages.gz
** Packages in archive but missing from override file: **

Wrote 1 entries to output Packages file.

I can't understand what this means?

June 28th, 2006, 09:48 AM
The result of that should be a Packages.gz file. Upload that file with the lmms deb file to your server. Then sudo apt-get update, sudo apt-get install lmms_0.1.2-1_i386.deb

The package file should contain the index to all of the deb files you have on your repo. So make sure you generate it using all of the debs you plan to upload to one directory. If lmms is the only package, then your ok.