the fast, reliable localhost tunneling solution


Pagekite Debian packages

By Bjarni Rúnar Einarsson 2021-08-25, 00:19

Pagekite.py 0.4.4 and up are available as .deb packages and automatic updates are provided by our apt repository.

Note: pagekite.py is also available from the Debian project itself (and Ubuntu as well); those packages are built by the distribution maintainers, not by us - so they tend to be slightly older, but probably comply better with the standard Debian policies! We provide our own repository and packages for those who always want the latest, most up-to-date versions of PageKite.

Download:

If you would like to subscribe to our repository:

# Required (at least on Raspbian) to support key-ring import
sudo apt-get update 
sudo apt-get install dirmngr

# Add our repository to /etc/apt/sources.list
echo deb http://pagekite.net/pk/deb/ pagekite main | sudo tee -a /etc/apt/sources.list

# Add the PageKite packaging key to your key-ring
sudo apt-key adv --recv-keys --keyserver pgp.mit.edu AED248B1C7B2CAC3

# Refresh your package sources by issuing
sudo apt-get update

# Install pagekite !
sudo apt-get install pagekite

See the ConfigureYourSystem page for details on how to integrate PageKite with your operating system so it runs in the background and starts automatically when your computer boots.

(Historic information about older efforts has been moved to the OldDebianPackages page.)

Updating your PageKite packaging key

If you have been using our Debian packages for some time and updates have suddenly stopped working or apt-get update displays the message "Signature by key 8779492397B20AA4998C0EA6AED248B1C7B2CAC3 uses weak digest algorithm", you may need to update your local copy of our signing key:

# Update PageKite signing key
sudo apt-key adv --recv-keys --keyserver keys.gnupg.net AED248B1C7B2CAC3

Alternately, you might want to refresh all of your repository keys:

# Update all repository keys
sudo apt-key adv --refresh-keys --keyserver keys.gnupg.net

Either of the above commands should suffice to allow upgrades and installs from the PageKite repository again.

Migrating from pagekite.py

If you have a working configuration when running pagekite.py from the command line, but would like to switch to using the background daemon, you will need to copy your settings from ~/.pagekite.rc (or pagekite.cfg on Windows) into one or more files in /etc/pagekite.d and then restart the service.

For example:

 # Copy bob's pagekite settings and use system-wide
 sudo cp ~bob/.pagekite.rc /etc/pagekite.d/10_account.rc

 # Start the PageKite background service
 sudo systemctl restart pagekite

Replace "bob" in the above example with the username of the user who has until now been running pagekite.py.

[ Back to How-Tos ]

Comments

  1. Bjarki Hilmarsson said on 2012-02-12, 22:58
    Can't install debian package:
    " sudo echo deb http://pagekite.net/pk/deb/ pagekite main | tee -a /etc/apt/sources.list
    tee: /etc/apt/sources.list: Permission denied
    [sudo] password for bjarki:
    deb http://pagekite.net/pk/deb/ pagekite main
    no problem with keyring and update and then:
    sudo apt-get install pagekite
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    E: Unable to locate package pagekite
    Permalink
  2. Bjarni Rúnar Einarsson said on 2012-02-13, 16:14
    That's your problem: tee: /etc/apt/sources.list: Permission denied

    You need to put the sudo on the tee command, so:

    echo deb http://pagekite.net/pk/deb/ pagekite main | sudo tee -a /etc/apt/sources.list
    Permalink
  3. fileavi said on 2012-07-23, 16:51
    thank's for your code..
    :)
    Permalink
  4. Amos said on 2012-08-18, 15:48
    This is great! Any chance of building arm .deb packages for users of Raspberry Pi, the $25 dollar linux computer? (Makes a great host for static content!)
    Permalink
  5. Bjarni Rúnar Einarsson said on 2012-08-21, 13:42
    Amos, that should be no problem - our packages are actually noarchs. I have added the armhf architecture to our repos, please let me know if it works or fails for you!
    Permalink
  6. Nathan Bookham said on 2012-12-19, 11:43
    Any news on the Raspberry Pi - does it work?
    Permalink
  7. Hrafnkell said on 2012-12-29, 13:11
    The .deb packages work fine on the wheezy-raspian distribution for the Rasperry Pi.
    Permalink
  8. Dick Thomas said on 2013-03-05, 13:41
    sudo apt-key adv --recv-keys --keyserver keys.gnupg.net AED248B1C7B2CAC3
    now reports no host found
    Permalink
  9. WagoL said on 2013-03-23, 20:06
    Can't add the keys either.
    Permalink
  10. Jan said on 2013-05-23, 11:26
    I successfully installed Pagekite on my Ubuntu Server but afterwards receive the error "pagekite.py: command not found". The problem still remain after reboot.
    Permalink
  11. Bjarni Rúnar Einarsson said on 2013-07-26, 02:12
    Note that the Debian package installs the pagekite.py command as just "pagekite", without the .py suffix.
    Permalink
  12. Petter Reinholdtsen said on 2013-11-03, 11:22
    How are these deb packages created? There is no source package (aka dsc + tarball), so the build rules for the packages are missing in the repository. We consider using pagekite with the FreedomBox project, and for that we want the package in Debian. See http://bugs.debian.org/610358 for the status of this work.
    Permalink
  13. Ruben de Vries said on 2014-01-06, 09:55
    I'm also no longer able to access the keys.gnupg.net server ... I worked 2 weeks ago ...
    Permalink
  14. Ruben de Vries said on 2014-01-06, 10:01
    ah I figured our my (company)firewall is blocking ports > 1024 and it requires port 11371 to get the key, I ran the following on a remote server which was outside of hte firewall:

    gpg --keyserver keys.gnupg.net --recv-key AED248B1C7B2CAC3
    gpg -a --export AED248B1C7B2CAC3

    then copy pasted the output from the export and did:

    echo "<paste output here>" | sudo apt-key add -
    Permalink
  15. David Schreiner said on 2016-01-14, 11:55
    issue installing on raspberry pi, Debian v 7.8: the very first time i install it seems ok, but if i apt-get autoremove -y pagekite and then reinstall (i am testing a deployment script for use on other machines), the /etc/pagekite.d directory is created but is empty - chmod complains that there are no files there; it seems like the installer hasn't copied them in the second time around. /etc/init.d/pagekite also doesn't exist. any ideas? thanks in advance
    Permalink
  16. Per said on 2017-03-15, 18:38
    On Ubuntu 16.04 installation will fail:
    ```
    The following packages have unmet dependencies:
    pagekite : Depends: python-support (>= 0.90.0) but it is not installable
    Depends: python-socksipychain (>= 2.0.15) but it is not going to be installed
    E: Unable to correct problems, you have held broken packages.
    ```

    To fix this manually install the following package: `wget http://launchpadlibrarian.net/1090526... && sudo dpkg -i python-support_1.0.15_all.deb`

    The Github issue for reference: https://github.com/pagekite/PyPagekit...
    Permalink
  17. Jay said on 2021-10-02, 06:43
    It seems most keyservers available today don't carry this key or are flaky. It would be nice to have the public key posted somewhere officially, but you can put the contents below in a file and use "gpg --import <keyfile>":

    -----BEGIN PGP PUBLIC KEY BLOCK-----

    mQGiBE40ZIMRBACE3Q3+hCqR2qUpfzzc7ScjC4j86C6iAZsADty6/ssh8sv1Orzo
    LJlJWU87hJbjtnr2BPkejfnNtQlSRaXOv504TZOlZi0iF0mDSXaNNZkx5AOEzo+6
    GqSiD2Vilj2x/g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WcdM/z/+zZtlgxWM+OQv
    fz2dUpwAn2xQPxjDPAaUpBai3xTGEnoOunmR
    =yzJ/
    -----END PGP PUBLIC KEY BLOCK-----
    Permalink
  18. tony said on 2021-11-14, 20:03
    It works well on my Ubuntu Desktop 20.04
    Permalink
  19. tony said on 2021-11-14, 21:16
    and Raspberry Pi 3B as well
    Permalink

Leave a comment

( (Please leave these blank: )

We use Gravatar for commenter's photos. Get your own, it's free!