Add the mirror to your N9
Two options — pick whichever you prefer. Both end with the same
apt-get update step.
Recommended
Install via .deb
One command. The package drops a sources.list file in the right place.
wget https://n9.mpw.sh/n9-mirror-setup.deb
dpkg -i n9-mirror-setup.deb
apt-get update
Direct download →
Manual config
Create /etc/apt/sources.list.d/n9-mirror.list with:
# Flat repositories
deb https://n9.mpw.sh/n9mirror/001 ./
deb https://n9.mpw.sh/n9mirror/apps ./
deb https://n9.mpw.sh/n9mirror/tools ./
# Standard repository (Harmattan SDK)
deb https://n9.mpw.sh/harmattan-dev.nokia.com/ harmattan/sdk free non-free
deb-src https://n9.mpw.sh/harmattan-dev.nokia.com/ harmattan/sdk free
# OpenRepos mirror
deb http://n9.mpw.sh/openrepos ./
# Nokia binaries
deb https://n9.mpw.sh/harmattan-dev.nokia.com/ harmattan/41667a5bd857be02f487c2ce806fbf85 nokia-binaries
Then apt-get update.
After setup
Search packages
apt-cache search <name> Install something
apt-get install <package> Troubleshooting
- apt-get update fails with a GPG error
- The original Nokia signing keys may not be present on a fresh install. The mirror serves the original signed Release files unchanged, so this is a key-trust issue, not a mirror issue. See the developer mode guide for details.
- 404 on Packages.gz
-
Check that your sources.list line matches exactly — the Harmattan SDK
components are
harmattan/sdk free non-free, notharmattan sdk.