Dropbox provides an easy way to host a repository with deb Packages.
Create a folder inside your Public-Dropbox-Folder where you put your *.deb Files:
or create that folder somwhere else and put a symlink in your Public folder:
mkdir /home/user/deb-packages cd /home/user/Dropbox/Public ln -s /home/user/deb-packages/ deb-packages
Go into that folder and create a script that, when executed, creates the Packages.gz, containing all the needed informationen about your deb-packages.
put this in it:
#!/bin/bash gzip > Packages.gz
make it executable:
chmod +x import.sh
Copy some *.deb Files into the Folder. Could be your own or some that aren’t available through other repositorys. Then go into the Folder and execute the script we put there:
cd /home/user/deb-packages/ ./import.sh
That should create the so called Packages.gz File, which apt looks for to know which Packages are located at this repository.
Now wait for Dropbox to synchronize the Folder and grab the Public-URL from the Packages.gz. It should look something like this:
Get rid of the end of that link, put some more words to it and you can now use and populate the following line for the sources.list:
deb https://dl.dropbox.com/u/11xxx42/deb-packages ./
That’s it you got your own deb repository running. Always synchronized locally, but available to anyone, anytime, anywhere.