{"action":"created","issue":{"url":"https://api.github.com/repos/pimoroni/pimstaller/issues/1","labels_url":"https://api.github.com/repos/pimoroni/pimstaller/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/pimoroni/pimstaller/issues/1/comments","events_url":"https://api.github.com/repos/pimoroni/pimstaller/issues/1/events","html_url":"https://github.com/pimoroni/pimstaller/issues/1","id":115565322,"number":1,"title":"apt-get step fails?","user":{"login":"RogueM","id":11895294,"avatar_url":"https://avatars.githubusercontent.com/u/11895294?v=3","gravatar_id":"","url":"https://api.github.com/users/RogueM","html_url":"https://github.com/RogueM","followers_url":"https://api.github.com/users/RogueM/followers","following_url":"https://api.github.com/users/RogueM/following{/other_user}","gists_url":"https://api.github.com/users/RogueM/gists{/gist_id}","starred_url":"https://api.github.com/users/RogueM/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RogueM/subscriptions","organizations_url":"https://api.github.com/users/RogueM/orgs","repos_url":"https://api.github.com/users/RogueM/repos","events_url":"https://api.github.com/users/RogueM/events{/privacy}","received_events_url":"https://api.github.com/users/RogueM/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-11-06T18:54:25Z","updated_at":"2015-11-14T00:49:27Z","closed_at":"2015-11-06T21:31:58Z","body":"here is what I get on a fully updated Wheezy. Seems the apt-get python3-smbus python-pip fail? I can install them manually but I thought you might want to react first... I'm going to jump on my clean Jessie and see what happens there.\r\n\r\npi@Rpi2 ~/Hub/pimstaller $ pimstaller display-o-tron\r\nWelcome to Pimstaller, a Raspberry Pi add-on installer.\r\nVersion 1.0\r\nCreated by Pimoroni, contribute at http://github.com/pimoroni/pimstaller\r\n\r\nReading https://raw.githubusercontent.com/Gadgetoid/Pinout2/master/src/en-GB/overlay/display-o-tron.md\r\n\r\nFound board Display-o-Tron 3000\r\n    Description: A 3-line character LCD with an RGB backlight and joystick\r\n    Manufacturer: Pimoroni\r\n    Github: https://github.com/pimoroni/dot3k\r\n    Url: https://github.com/pimoroni/dot3k\r\n\r\nInstall data found. Installing...\r\nChecking for apt packages...\r\n    python-smbus: Found!\r\n    python3-smbus: Not found!\r\n    python-dev: Found!\r\n    python3-dev: Found!\r\n    python-pip: Not found!\r\n\r\nInstalling apt packages...\r\n    sudo apt-get --force-yes --yes install python3-smbus python-pip\r\n    Unable to locate: python3-smbus\r\n    Unable to locate: python-pip\r\n\r\nChecking for Python 2 packages...\r\n    dot3k: Found!\r\n\r\nInstalling examples from https://github.com/pimoroni/dot3k\r\n    Find examples in ~/Pimoroni/dot3k\r\n\r\nDone!"},"comment":{"url":"https://api.github.com/repos/pimoroni/pimstaller/issues/comments/156600870","html_url":"https://github.com/pimoroni/pimstaller/issues/1#issuecomment-156600870","issue_url":"https://api.github.com/repos/pimoroni/pimstaller/issues/1","id":156600870,"user":{"login":"lurch","id":476186,"avatar_url":"https://avatars.githubusercontent.com/u/476186?v=3","gravatar_id":"","url":"https://api.github.com/users/lurch","html_url":"https://github.com/lurch","followers_url":"https://api.github.com/users/lurch/followers","following_url":"https://api.github.com/users/lurch/following{/other_user}","gists_url":"https://api.github.com/users/lurch/gists{/gist_id}","starred_url":"https://api.github.com/users/lurch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lurch/subscriptions","organizations_url":"https://api.github.com/users/lurch/orgs","repos_url":"https://api.github.com/users/lurch/repos","events_url":"https://api.github.com/users/lurch/events{/privacy}","received_events_url":"https://api.github.com/users/lurch/received_events","type":"User","site_admin":false},"created_at":"2015-11-14T00:49:27Z","updated_at":"2015-11-14T00:49:27Z","body":"> I've been looking for a way to detect when it was last updated so I can determine if an update is really necessary since it takes a loonnng time.\r\n\r\nLooks like e.g. `wget -q -O /dev/null -S http://archive.raspberrypi.org/debian/dists/jessie/Contents-armhf.gz 2>&1 | grep Last-Modified:` (or swap `jessie` with `wheezy` as necessary) will get you the last time the remote repo was updated (which I guess you'd need to do for all the repos in `/etc/apt/`), and `ls -l /var/cache/apt/pkgcache.bin` (which I've only checked on Ubuntu, not on Raspbian) will give you the last time that `sudo apt-get update` was run :-)"}}