Hi, i have been trying to install the gcc docs using sudo apt install gcc-doc but i cannot find the package in PureOS repos!
Any idea why is it missing ?
This is the /etc/apt/sources.list:
# Main package repository for PureOS
deb https://repo.pureos.net/pureos byzantium main
# Important security updates
deb https://repo.pureos.net/pureos byzantium-security main
# Other updates for resolving non-security issues
deb https://repo.pureos.net/pureos byzantium-updates main
Description: documentation for the GNU compilers (gcc, gobjc, g++)
This is the dependency package that should install manual pages
and documentation for Debian default version of GNU compilers.
.
This documentation is available from non-free part of Debian archive.
As you see related information above it is part of contrib repo (not under PureOS by itself).
gcc docs are released under the GFDL license - and some people (including the Debian project) consider GFDL a non-free license. See https://en.wikipedia.org/wiki/GNU_Free_Documentation_License#Criticism for some details. This is the reason Debian packages gcc-doc in non-free, and pureos only includes the free part of Debian (the main section, and not the non-free section).
and depends on gcc-11-doc, which is located in non-free. (free packages that have dependences on non-free cannot still be located in main, but they are located in contrib).
A metapackage can be considered a package with only dependencies, but no programs or data of it’s own.
Perhaps adding contrib your sources.list helps, if you decide to go with by yourself adjusted version of (remove or block this line afterwards):
It is very late for me but now try only:
@Usr1, please do not execute or even think to execute sudo apt upgrade, not at all and add ## in front of deb https://ftp.debian.org/debian/ ... line or just delete it, after above successful (hopefully)!
Yea i know this can be done that way, i have added the debian repos before and i messed everything up, i had to reinstall PureOS. So i think i am gonna stick with just PureOS repos. gcc-doc is not that important, i can view the docs online afterall.