Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Raspbian sources incomplete (and no mirror) #102

Closed
macmpi opened this issue Nov 11, 2016 · 7 comments
Closed

Raspbian sources incomplete (and no mirror) #102

macmpi opened this issue Nov 11, 2016 · 7 comments

Comments

@macmpi
Copy link
Contributor

macmpi commented Nov 11, 2016

Hi,
While I was willing to install python-rpi.gpio (to implement button shutdown), I noted apt-get install would not make it available.
Looking at /etc/apt/sources.list, it seems we'd rather use std definition, as in std Jessie images:

deb http://mirrordirector.raspbian.org/raspbian/ jessie main contrib non-free rpi
deb-src http://archive.raspbian.org/raspbian/ jessie main contrib non-free rpi

Shall we fix it in here?
This would also allow use of proper mirroring according to users' regions.
Thanks.

@macmpi macmpi changed the title Raspian sources incomplete (and no mirror) Raspbian sources incomplete (and no mirror) Nov 11, 2016
@volumio
Copy link
Owner

volumio commented Nov 11, 2016

Yes, we should. Thanks for reporting

@macmpi
Copy link
Contributor Author

macmpi commented Nov 11, 2016

You're welcome.
Unsure the deb-src is really necessary in normal use though, may comment/remove it.

@volumio
Copy link
Owner

volumio commented Nov 11, 2016

It's good to have, if people want to build stuff

@macmpi
Copy link
Contributor Author

macmpi commented Nov 11, 2016

thing is, even with that change (followed by sudo apt-get update), I can not install python-rpi.gpio

volumio@volumio:~$ sudo apt-get install python-rpi.gpio
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package python-rpi.gpio
E: Couldn't find any package by regex 'python-rpi.gpio'

Package is present in http://archive.raspberrypi.org/debian/ jessie/main armhf Packages, and is found on Jessie lite using same /etc/apt/sources.list ...weird.

@macmpi
Copy link
Contributor Author

macmpi commented Nov 12, 2016

Ok, so, in addition to updating /etc/apt/sources.list, one need to add the following /etc/apt/sources.list.d/raspi.list, containing the following:

deb http://archive.raspberrypi.org/debian/ jessie main ui
# Uncomment line below then 'apt-get update' to enable 'apt-get source'
#deb-src http://archive.raspberrypi.org/debian/ jessie main ui

(unsure what the existing empty file /etc/apt/sources.list.d/multistrap-debian.list is meant for)

In addition, key for archive.raspberrypi.org/debian/ jessie should be added to keyring... (unsure this hint may help for that).

With that, additional packages (like python-rpi.gpio) are found and install fine.

@macmpi
Copy link
Contributor Author

macmpi commented Nov 12, 2016

BTW, maybe some other things to look at, apt-get install spitting some warnings (locale settings, and apt-utils):

perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
    LANGUAGE = (unset),
    LC_ALL = (unset),
    LANG = "fr_FR.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
debconf: delaying package configuration, since apt-utils is not installed

EDIT: Maybe the locale thing is fixed with newer build, as per #97 ?

@macmpi
Copy link
Contributor Author

macmpi commented Jan 13, 2017

Fixed as per #116

@macmpi macmpi closed this as completed Jan 13, 2017
ashthespy pushed a commit to ashthespy/Build that referenced this issue Jun 9, 2020
ashthespy pushed a commit to ashthespy/Build that referenced this issue Jun 9, 2020
as per volumio#102

This standard repo has few utilities.
key for archive.raspberrypi.org/debian/ jessie should be added to keyring
ashthespy pushed a commit to ashthespy/Build that referenced this issue Jun 9, 2020
as per volumio#102

This standard repo has few utilities.
Adding relevant key to keyring
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants