User avatar
palswim
Posts: 15
Joined: Thu Jan 09, 2014 9:15 pm

Repositories which Pi endorses

Wed Aug 23, 2017 7:02 am

Does this site (raspberrypi.org) have an up-to-date list of "official" (or "approved") repositories which it expects users to use?

It seems like this site expects people to use Raspbian, and Raspbian lists its official repository on its site.

But, I was trying to troubleshoot a Java issue and saw the post on the blog (from 2013), with the instruction about just running the two commands (update && install) to install the package. However, the Raspbian repository for Debian Jessie does not contain that package. Only when I asked about its absence in that repository, did someone mention I should use a different repository, one to which I had never seen a reference on any official channels. I would think that a mention on this site's blog would also mention that a user would need to add a different repository, but I couldn't find a mention of that anywhere. Have I just missed the page that explains all of this?
Last edited by palswim on Wed Aug 23, 2017 5:46 pm, edited 1 time in total.

User avatar
topguy
Posts: 5398
Joined: Tue Oct 09, 2012 11:46 am
Location: Trondheim, Norway

Re: Repositories which Pi endorses

Wed Aug 23, 2017 8:18 am

Different operating systems will have different repositories. The only official operating system is Raspbian, and the only official/endorsed repositories are the one that is default when you install Raspbian. So only apt-sources that end with "raspberrypi.org" are official. ( but because of load balancing you will be redirected to one of many official mirrors when you install packages )

The raspbian.org web site is not ( afaik ) official and most of the information there should be considered outdated.

There are some times when peoples needs can not be fulfilled from the official repository. So blogs and this forum might suggest that you add another apt-source. You do this on your own risk and there is no guarantee that the repository still exists or work with the current version of Raspbian.

gkreidl
Posts: 5892
Joined: Thu Jan 26, 2012 1:07 pm
Location: Germany

Re: Repositories which Pi endorses

Wed Aug 23, 2017 8:28 am

topguy wrote:
Wed Aug 23, 2017 8:18 am
...
The raspbian.org web site is not ( afaik ) official and most of the information there should be considered outdated.
...
This is not true. raspbian.org is the main repository for Raspbian. There's an additional repository "on top" from raspberrypi.org which adds modified and additional packages.
Minimal Kiosk Browser (kweb)
Slim, fast webkit browser with support for audio+video+playlists+youtube+pdf+download
Optional fullscreen kiosk mode and command interface for embedded applications
Includes omxplayerGUI, an X front end for omxplayer

User avatar
topguy
Posts: 5398
Joined: Tue Oct 09, 2012 11:46 am
Location: Trondheim, Norway

Re: Repositories which Pi endorses

Wed Aug 23, 2017 8:57 am

This is not true. raspbian.org is the main repository for Raspbian. There's an additional repository "on top" from raspberrypi.org which adds modified and additional packages.
But can the information on the web page be trusted ? The apt-source example refers to Wheezy, Installation guide dated 2012 etc..

User avatar
DougieLawson
Posts: 35025
Joined: Sun Jun 16, 2013 11:19 pm
Location: Basingstoke, UK
Contact: Website Twitter

Re: Repositories which Pi endorses

Wed Aug 23, 2017 12:01 pm

There's lots of info here: http://raspbian.org/
Note: Having anything remotely humorous in your signature is completely banned on this forum.

Any DMs sent on Twitter will be answered next month.

This is a hippy & doctor free zone.

User avatar
palswim
Posts: 15
Joined: Thu Jan 09, 2014 9:15 pm

Re: Repositories which Pi endorses

Wed Aug 23, 2017 5:57 pm

topguy wrote:
Wed Aug 23, 2017 8:18 am
The only official operating system is Raspbian, and the only official/endorsed repositories are the one that is default when you install Raspbian.
I downloaded the latest image from Raspberry Pi just to see the repositories it used. And indeed, it had:

Code: Select all

# in /etc/apt/sources.list
deb http://mirrordirector.raspbian.org/raspbian/ stretch main contrib non-free rpi
# in /etc/apt/sources.list.d/raspi.list
deb http://archive.raspberrypi.org/debian/ stretch main ui
Still, it would be nice to have a page to reference on rasberrypi.org (or even raspbian.org) to see the official repositories rather than having to download and mount the image.

gkreidl
Posts: 5892
Joined: Thu Jan 26, 2012 1:07 pm
Location: Germany

Re: Repositories which Pi endorses

Wed Aug 23, 2017 6:16 pm

palswim wrote:
Wed Aug 23, 2017 5:57 pm
topguy wrote:
Wed Aug 23, 2017 8:18 am
The only official operating system is Raspbian, and the only official/endorsed repositories are the one that is default when you install Raspbian.
I downloaded the latest image from Raspberry Pi just to see the repositories it used. And indeed, it had:

Code: Select all

# in /etc/apt/sources.list
deb http://mirrordirector.raspbian.org/raspbian/ stretch main contrib non-free rpi
# in /etc/apt/sources.list.d/raspi.list
deb http://archive.raspberrypi.org/debian/ stretch main ui
Still, it would be nice to have a page to reference on rasberrypi.org (or even raspbian.org) to see the official repositories rather than having to download and mount the image.
http://archive.raspbian.net/
http://archive.raspberrypi.org/
Minimal Kiosk Browser (kweb)
Slim, fast webkit browser with support for audio+video+playlists+youtube+pdf+download
Optional fullscreen kiosk mode and command interface for embedded applications
Includes omxplayerGUI, an X front end for omxplayer

User avatar
topguy
Posts: 5398
Joined: Tue Oct 09, 2012 11:46 am
Location: Trondheim, Norway

Re: Repositories which Pi endorses

Wed Aug 23, 2017 6:30 pm

palswim wrote:
Wed Aug 23, 2017 5:57 pm
topguy wrote:
Wed Aug 23, 2017 8:18 am
The only official operating system is Raspbian, and the only official/endorsed repositories are the one that is default when you install Raspbian.
I downloaded the latest image from Raspberry Pi just to see the repositories it used. And indeed, it had:

Code: Select all

# in /etc/apt/sources.list
deb http://mirrordirector.raspbian.org/raspbian/ stretch main contrib non-free rpi
# in /etc/apt/sources.list.d/raspi.list
deb http://archive.raspberrypi.org/debian/ stretch main ui
Still, it would be nice to have a page to reference on rasberrypi.org (or even raspbian.org) to see the official repositories rather than having to download and mount the image.
I did check my own fresh install of Raspbian Stretch (Lite) before I posted:

Code: Select all

[email protected]:/etc/apt/sources.list.d $ cat raspi.list
deb http://archive.raspberrypi.org/debian/ stretch main ui
# Uncomment line below then 'apt-get update' to enable 'apt-get source'
#deb-src http://archive.raspberrypi.org/debian/ stretch main ui
So.. I'm confused...

User avatar
palswim
Posts: 15
Joined: Thu Jan 09, 2014 9:15 pm

Re: Repositories which Pi endorses

Tue Aug 29, 2017 5:55 pm

gkreidl wrote:
Wed Aug 23, 2017 6:16 pm
palswim wrote:
Wed Aug 23, 2017 5:57 pm
Still, it would be nice to have a page to reference on rasberrypi.org (or even raspbian.org) to see the official repositories rather than having to download and mount the image.
http://archive.raspbian.net/
http://archive.raspberrypi.org/
How would I have known about these without asking in this thread? I am saying that no official page lists the correct repositories so that I would know about them. The Raspbian page lists only the raspbian.org source.

User avatar
palswim
Posts: 15
Joined: Thu Jan 09, 2014 9:15 pm

Re: Repositories which Pi endorses

Tue Aug 29, 2017 5:58 pm

topguy wrote:
Wed Aug 23, 2017 6:30 pm
palswim wrote:
Wed Aug 23, 2017 5:57 pm

Code: Select all

# in /etc/apt/sources.list
deb http://mirrordirector.raspbian.org/raspbian/ stretch main contrib non-free rpi
# in /etc/apt/sources.list.d/raspi.list
deb http://archive.raspberrypi.org/debian/ stretch main ui
Still, it would be nice to have a page to reference on rasberrypi.org (or even raspbian.org) to see the official repositories rather than having to download and mount the image.
I did check my own fresh install of Raspbian Stretch (Lite) before I posted:

Code: Select all

[email protected]:/etc/apt/sources.list.d $ cat raspi.list
deb http://archive.raspberrypi.org/debian/ stretch main ui
# Uncomment line below then 'apt-get update' to enable 'apt-get source'
#deb-src http://archive.raspberrypi.org/debian/ stretch main ui
So.. I'm confused...
If you're confused about the mismatch between the contents of your raspi.list file and what I posted, I posted just the uncommented lines from my sources.list and raspi.list files.

User avatar
topguy
Posts: 5398
Joined: Tue Oct 09, 2012 11:46 am
Location: Trondheim, Norway

Re: Repositories which Pi endorses

Tue Aug 29, 2017 9:21 pm

No, I had confused myself with the assumption that if there was stuff in "/etc/apt/sources.list.d" you wouldn't use "/etc/apt/sources.list" but gkreidl is absolutely correct in his statement. The Raspbian you download from here depends on both raspbian.org and raspberrypi.org repositories.

User avatar
r3d4
Posts: 959
Joined: Sat Jul 30, 2011 8:21 am
Location: ./

Re: Repositories which Pi endorses

Tue Aug 29, 2017 10:17 pm

DougieLawson wrote:
Wed Aug 23, 2017 12:01 pm
There's lots of info here: http://raspbian.org/
&& :arrow: https://wiki.debian.org/Derivatives/Census/Raspbian

Return to “Beginners”