Results 1 to 6 of 6

Thread: Why has Ubuntu much fewer packages in Sources.gz and Packages.gz than Debian?

  1. #1
    Join Date
    Jan 2020
    Beans
    12

    Question Why has Ubuntu much fewer packages in Sources.gz and Packages.gz than Debian?

    Hello.

    In Ubuntu repositories, there are files like:
    archive.ubuntu.com/ubuntu/dists/mantic/main/source/Sources.xz
    archive.ubuntu.com/ubuntu/dists/mantic/multiverse/source/Sources.xz
    archive.ubuntu.com/ubuntu/dists/mantic/main/binary-amd64/Packages.xz
    archive.ubuntu.com/ubuntu/dists/mantic/multiverse/binary-amd64/Packages.xz

    In Debian, there are like:
    deb.debian.org/debian/dists/stable/main/source/Sources.xz
    deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

    Number of packages:
    Ubuntu Sources: 2_917
    Ubuntu Packages: 7_125
    Debian Sources: 34_346
    Debian Packages: 63_352

    Comands for counting after downloading:
    Code:
    xzgrep -P "^Package: " Sources* | wc -l
    xzgrep -P "^Package: " Packages* | wc -l
    They are hugge differences in counts. Why? I would expect the numbers to be very similar.
    Last edited by ruwolf; November 4th, 2023 at 07:26 PM. Reason: typo

  2. #2
    Join Date
    Apr 2011
    Location
    Mystletainn Kick!
    Beans
    13,628
    Distro
    Ubuntu

    Re: Why has Ubuntu much fewer packages in Sources.gz and Packages.gz than Debian?

    Main means something different between what Debian means it for and what Ubuntu means it for.

    Debian main are all packages which are fully DFSG compliant within debian.
    Debian main is 100% free software, with no non-free software required to use them.

    Ubuntu's main are simply all open-source packages directly supported by Canonical.


    A better comparison would be between Debian main and Ubuntu universe packages.
    Since the bulk of Debian's main repository is pulled to populate Ubuntu's universe repository.


    A quick break down of Debian's archives and Ubuntu's archives

    Debian:
    Main = Fully compliant to the Debian free software guidelines
    Contrib = Mostly compliant with Debian's DFSG but require sources outside of main.
    Non-free = speaks for itself, as these are not free software.

    Ubuntu:
    Main = free and open source packages supported directly by Canonical
    Universe = Free and open source software supported by the Ubuntu community
    Multiverse = not quite open source software
    Restricted = non-free software


    fwiw:
    Multiverse is probably Ubuntu's more complicated repository as it contains software which may be free software,
    but is usually either
    1) not legal to use everywhere.
    2) might have restricted copyrights

    Quick References:
    https://help.ubuntu.com/community/Repositories/Ubuntu
    https://wiki.debian.org/SourcesList#Component


    Ah, there's probably better ways to explain it.
    Splat Double Splat Triple Splat
    Earn Your Keep
    Don't mind me, I'm only passing through.
    Once in a blue moon, I'm actually helpful
    .

  3. #3
    Join Date
    Jan 2020
    Beans
    12

    Re: Why has Ubuntu much fewer packages in Sources.gz and Packages.gz than Debian?

    Thank you for your explanation, but I still do not understand, because I counted Ubuntu's main and multiverse together.
    Because I think, that libre software is usually protected against transformation to less libre / more proprietary version...

  4. #4
    Join Date
    Aug 2016
    Location
    Wandering
    Beans
    Hidden!
    Distro
    Xubuntu Development Release

    Re: Why has Ubuntu much fewer packages in Sources.gz and Packages.gz than Debian?

    My count is different than yours:
    Code:
    Total number of packages on Ubuntu's main repository = 6127
    Total number of packages on Ubuntu's universe repository = 64026
    Total number of packages on Ubuntu's restricted repository = 784
    Total number of packages on Ubuntu's multivrese repository = 1009
    Percentage of non-free packages on Ubuntu's repositories= 2.55584223055321939100 %
    With realization of one's own potential and self-confidence in one's ability, one can build a better world.
    Dalai Lama>>
    Code Tags | System-info | Forum Guide lines | Arch Linux, Debian Unstable, FreeBSD

  5. #5
    Join Date
    Jan 2020
    Beans
    12

    Re: Why has Ubuntu much fewer packages in Sources.gz and Packages.gz than Debian?

    Oh, thank you very much, I see it now.
    I have not seen universe.
    I am very sorry. It was my double mistake...

  6. #6
    Join Date
    Aug 2016
    Location
    Wandering
    Beans
    Hidden!
    Distro
    Xubuntu Development Release

    Re: Why has Ubuntu much fewer packages in Sources.gz and Packages.gz than Debian?

    No worries, and nothing to be sorry over.
    With realization of one's own potential and self-confidence in one's ability, one can build a better world.
    Dalai Lama>>
    Code Tags | System-info | Forum Guide lines | Arch Linux, Debian Unstable, FreeBSD

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •