Freedom issue: debootstrap recommends non-FSDG compliant distributions

Proyecto:Trisquel
Versión:8.0
Componente:Packages
Categoría:informe de fallo
Prioridad:normal
Asignado:No asignado
Estado:closed
Descripción

Hi

  • trisquel's debootstrap manual shows how to install debian
  • installations scripts for debian are present

Here's the man examples:

EXAMPLES
       To setup a wheezy system:

            debootstrap wheezy ./wheezy-chroot http://ftp.us.debian.org/debian

            debootstrap wheezy ./wheezy-chroot file:///LOCAL_MIRROR/debian

       Full process to create a complete Debian installation of sid (unstable) in a chroot:

            main # debootstrap sid sid-root http://ftp.us.debian.org/debian/
            [ ... watch it download the whole system ]
            main # echo "proc sid-root/proc proc defaults 0 0" >> /etc/fstab
            main # mount proc sid-root/proc -t proc
            main # echo "sysfs sid-root/sys sysfs defaults 0 0" >> /etc/fstab
            main # mount sysfs sid-root/sys -t sysfs
            main # cp /etc/hosts sid-root/etc/hosts
            main # chroot sid-root /bin/bash
We can clearly see some debian and ubuntu install scriptts here:
  1. dpkg -L debootstrap | sed 's#^# #'
    /.
    /usr
    /usr/share
    /usr/share/debootstrap
    /usr/share/debootstrap/scripts
    /usr/share/debootstrap/scripts/woody.buildd
    /usr/share/debootstrap/scripts/gutsy
    /usr/share/debootstrap/scripts/edgy
    /usr/share/debootstrap/scripts/breezy
    /usr/share/debootstrap/scripts/warty
    /usr/share/debootstrap/scripts/dapper
    /usr/share/debootstrap/scripts/hoary.buildd
    /usr/share/debootstrap/scripts/hoary
    /usr/share/debootstrap/scripts/woody
    /usr/share/debootstrap/scripts/potato
    /usr/share/debootstrap/scripts/feisty
    /usr/share/debootstrap/scripts/sarge.fakechroot
    /usr/share/debootstrap/scripts/warty.buildd
    /usr/share/debootstrap/scripts/trisquel
    /usr/share/debootstrap/scripts/sarge.buildd
    /usr/share/debootstrap/scripts/sid
    /usr/share/debootstrap/scripts/sarge
    /usr/share/debootstrap/functions
    /usr/share/debootstrap/devices.tar.gz
    /usr/share/doc
    /usr/share/doc/debootstrap
    /usr/share/doc/debootstrap/copyright
    /usr/share/doc/debootstrap/changelog.gz
    /usr/share/doc/debootstrap/README
    /usr/share/man
    /usr/share/man/man8
    /usr/share/man/man8/debootstrap.8.gz
    /usr/sbin
    /usr/sbin/debootstrap
    /usr/share/debootstrap/scripts/xenial
    /usr/share/debootstrap/scripts/wheezy
    /usr/share/debootstrap/scripts/brigantia
    /usr/share/debootstrap/scripts/squeeze
    /usr/share/debootstrap/scripts/hardy
    /usr/share/debootstrap/scripts/wily
    /usr/share/debootstrap/scripts/natty
    /usr/share/debootstrap/scripts/oldstable
    /usr/share/debootstrap/scripts/robur
    /usr/share/debootstrap/scripts/etch
    /usr/share/debootstrap/scripts/stretch
    /usr/share/debootstrap/scripts/dwyn
    /usr/share/debootstrap/scripts/testing
    /usr/share/debootstrap/scripts/artful
    /usr/share/debootstrap/scripts/jessie
    /usr/share/debootstrap/scripts/flidas
    /usr/share/debootstrap/scripts/vivid
    /usr/share/debootstrap/scripts/lucid
    /usr/share/debootstrap/scripts/awen
    /usr/share/debootstrap/scripts/intrepid
    /usr/share/debootstrap/scripts/raring
    /usr/share/debootstrap/scripts/slaine
    /usr/share/debootstrap/scripts/karmic
    /usr/share/debootstrap/scripts/stable
    /usr/share/debootstrap/scripts/trusty
    /usr/share/debootstrap/scripts/unstable
    /usr/share/debootstrap/scripts/toutatis
    /usr/share/debootstrap/scripts/zesty
    /usr/share/debootstrap/scripts/saucy
    /usr/share/debootstrap/scripts/jaunty
    /usr/share/debootstrap/scripts/taranis
    /usr/share/debootstrap/scripts/yakkety
    /usr/share/debootstrap/scripts/precise
    /usr/share/debootstrap/scripts/utopic
    /usr/share/debootstrap/scripts/quantal
    /usr/share/debootstrap/scripts/dagda
    /usr/share/debootstrap/scripts/oneiric
    /usr/share/debootstrap/scripts/belenos
    /usr/share/debootstrap/scripts/lenny
    /usr/share/debootstrap/scripts/maverick
    /usr/share/debootstrap/scripts/etch-m68k
    /usr/share/debootstrap/scripts/buster
    /usr/share/debootstrap/scripts/bullseye
    
    Some are symlinks:
  2. ls -la /usr/share/debootstrap/scripts | sed 's#^# #'
    total 144
    drwxr-xr-x 2 root root 4096 janv.  5 16:37 .
    drwxr-xr-x 3 root root 4096 janv.  5 16:37 ..
    lrwxrwxrwx 1 root root    5 juil. 20 12:13 artful -> gutsy
    lrwxrwxrwx 1 root root    8 juil. 20 12:13 awen -> trisquel
    lrwxrwxrwx 1 root root    8 juil. 20 12:13 belenos -> trisquel
    -rw-r--r-- 1 root root 5393 juil. 29  2011 breezy
    lrwxrwxrwx 1 root root    8 juil. 20 12:13 brigantia -> trisquel
    lrwxrwxrwx 1 root root    3 juil. 20 12:13 bullseye -> sid
    lrwxrwxrwx 1 root root    3 juil. 20 12:13 buster -> sid
    lrwxrwxrwx 1 root root    8 juil. 20 12:13 dagda -> trisquel
    -rw-r--r-- 1 root root 5429 juil. 29  2011 dapper
    lrwxrwxrwx 1 root root    8 juil. 20 12:13 dwyn -> trisquel
    -rw-r--r-- 1 root root 6003 juil. 29  2011 edgy
    lrwxrwxrwx 1 root root    3 juil. 20 12:13 etch -> sid
    lrwxrwxrwx 1 root root    3 juil. 20 12:13 etch-m68k -> sid
    -rw-r--r-- 1 root root 6123 juil. 29  2011 feisty
    lrwxrwxrwx 1 root root    8 juil. 20 12:13 flidas -> trisquel
    -rw-r--r-- 1 root root 6701 févr. 12  2014 gutsy
    lrwxrwxrwx 1 root root    5 juil. 20 12:13 hardy -> gutsy
    -rw-r--r-- 1 root root 7829 juil. 29  2011 hoary
    -rw-r--r-- 1 root root 5702 juil. 29  2011 hoary.buildd
    lrwxrwxrwx 1 root root    5 juil. 20 12:13 intrepid -> gutsy
    lrwxrwxrwx 1 root root    5 juil. 20 12:13 jaunty -> gutsy
    lrwxrwxrwx 1 root root    3 juil. 20 12:13 jessie -> sid
    lrwxrwxrwx 1 root root    5 juil. 20 12:13 karmic -> gutsy
    lrwxrwxrwx 1 root root    3 juil. 20 12:13 lenny -> sid
    lrwxrwxrwx 1 root root    5 juil. 20 12:13 lucid -> gutsy
    lrwxrwxrwx 1 root root    5 juil. 20 12:13 maverick -> gutsy
    lrwxrwxrwx 1 root root    5 juil. 20 12:13 natty -> gutsy
    lrwxrwxrwx 1 root root    3 juil. 20 12:13 oldstable -> sid
    lrwxrwxrwx 1 root root    5 juil. 20 12:13 oneiric -> gutsy
    -rw-r--r-- 1 root root 3297 juil. 29  2011 potato
    lrwxrwxrwx 1 root root    5 juil. 20 12:13 precise -> gutsy
    lrwxrwxrwx 1 root root    5 juil. 20 12:13 quantal -> gutsy
    lrwxrwxrwx 1 root root    5 juil. 20 12:13 raring -> gutsy
    lrwxrwxrwx 1 root root    8 juil. 20 12:13 robur -> trisquel
    -rw-r--r-- 1 root root 8273 juil. 29  2011 sarge
    -rw-r--r-- 1 root root 5557 juil. 29  2011 sarge.buildd
    -rw-r--r-- 1 root root 5787 juil. 29  2011 sarge.fakechroot
    lrwxrwxrwx 1 root root    5 juil. 20 12:13 saucy -> gutsy
    -rw-r--r-- 1 root root 6077 févr. 12  2014 sid
    lrwxrwxrwx 1 root root    8 juil. 20 12:13 slaine -> trisquel
    lrwxrwxrwx 1 root root    3 juil. 20 12:13 squeeze -> sid
    lrwxrwxrwx 1 root root    3 juil. 20 12:13 stable -> sid
    lrwxrwxrwx 1 root root    3 juil. 20 12:13 stretch -> sid
    lrwxrwxrwx 1 root root    8 juil. 20 12:13 taranis -> trisquel
    lrwxrwxrwx 1 root root    3 juil. 20 12:13 testing -> sid
    lrwxrwxrwx 1 root root    8 juil. 20 12:13 toutatis -> trisquel
    -rw-r--r-- 1 root root 6545 juin   3  2017 trisquel
    lrwxrwxrwx 1 root root    5 juil. 20 12:13 trusty -> gutsy
    lrwxrwxrwx 1 root root    3 juil. 20 12:13 unstable -> sid
    lrwxrwxrwx 1 root root    5 juil. 20 12:13 utopic -> gutsy
    lrwxrwxrwx 1 root root    5 juil. 20 12:13 vivid -> gutsy
    -rw-r--r-- 1 root root 7300 juil. 29  2011 warty
    -rw-r--r-- 1 root root 5584 juil. 29  2011 warty.buildd
    lrwxrwxrwx 1 root root    3 juil. 20 12:13 wheezy -> sid
    lrwxrwxrwx 1 root root    5 juil. 20 12:13 wily -> gutsy
    -rw-r--r-- 1 root root 7608 juil. 29  2011 woody
    -rw-r--r-- 1 root root 5594 juil. 29  2011 woody.buildd
    lrwxrwxrwx 1 root root    5 juil. 20 12:13 xenial -> gutsy
    lrwxrwxrwx 1 root root    5 juil. 20 12:13 yakkety -> gutsy
    lrwxrwxrwx 1 root root    5 juil. 20 12:13 zesty -> gutsy
    

Vie, 01/05/2018 - 16:48

PureOS is affected by the same issue: https://tracker.pureos.net/T288

Parabola has fixes for this issue:
The Parabola GNU/Linux distribution has a version of debootstrap that only works for FSDG distribtion, and their manual has been fixed too.

Here's their manual:

To setup a parkes system:

debootstrap parkes ./parkes-chroot http://archive.gnewsense.org/gnewsense-three/gnewsense

debootstrap parkes ./parkes-chroot file:///LOCAL_MIRROR/gnewsense

To setup a toutatis system:

debootstrap toutatis ./toutatis-chroot http://archive.trisquel.info/trisquel

debootstrap toutatis ./toutatis-chroot file:///LOCAL_MIRROR/trisquel

Full process to create a complete gNewSense installation of parkes in a chroot:

main # debootstrap parkes parkes-root http://archive.gnewsense.org/gnewsense-three/gnewsense
[ ... watch it download the whole system ]
main # echo "proc parkes-root/proc proc defaults 0 0" >> /etc/fstab
main # mount proc parkes-root/proc -t proc
main # echo "sysfs parkes-root/sys sysfs defaults 0 0" >> /etc/fstab
main # mount sysfs parkes-root/sys -t sysfs
main # cp /etc/hosts parkes-root/etc/hosts
main # chroot parkes-root /bin/bash

Full process to create a complete Trisquel installation of toutatis in a chroot:

main # debootstrap toutatis toutatis-root http://archive.trisquel.info/trisquel
[ ... watch it download the whole system ]
main # echo "proc toutatis-root/proc proc defaults 0 0" >> /etc/fstab
main # mount proc toutatis-root/proc -t proc
main # echo "sysfs toutatis-root/sys sysfs defaults 0 0" >> /etc/fstab
main # mount sysfs toutatis-root/sys -t sysfs
main # cp /etc/hosts toutatis-root/etc/hosts
main # chroot toutatis-root /bin/bash
and here are their packages files:
# pacman -Q -l debootstrap
debootstrap /usr/
debootstrap /usr/bin/
debootstrap /usr/bin/debootstrap
debootstrap /usr/share/
debootstrap /usr/share/debootstrap/
debootstrap /usr/share/debootstrap/functions
debootstrap /usr/share/debootstrap/scripts/
debootstrap /usr/share/debootstrap/scripts/awen
debootstrap /usr/share/debootstrap/scripts/belenos
debootstrap /usr/share/debootstrap/scripts/brigantia
debootstrap /usr/share/debootstrap/scripts/dagda
debootstrap /usr/share/debootstrap/scripts/dwyn
debootstrap /usr/share/debootstrap/scripts/gnewsense
debootstrap /usr/share/debootstrap/scripts/parkes
debootstrap /usr/share/debootstrap/scripts/robur
debootstrap /usr/share/debootstrap/scripts/slaine
debootstrap /usr/share/debootstrap/scripts/taranis
debootstrap /usr/share/debootstrap/scripts/toutatis
debootstrap /usr/share/debootstrap/scripts/trisquel
debootstrap /usr/share/debootstrap/scripts/ucclia
debootstrap /usr/share/man/
debootstrap /usr/share/man/man8/
debootstrap /usr/share/man/man8/debootstrap.8.gz

some of which are symlinks:
# ls -l /usr/share/debootstrap/scripts/
total 24
lrwxrwxrwx 1 root root 8 13 déc. 13:26 awen -> trisquel
lrwxrwxrwx 1 root root 8 13 déc. 13:26 belenos -> trisquel
lrwxrwxrwx 1 root root 8 13 déc. 13:26 brigantia -> trisquel
lrwxrwxrwx 1 root root 8 13 déc. 13:26 dagda -> trisquel
lrwxrwxrwx 1 root root 8 13 déc. 13:26 dwyn -> trisquel
-rw-r--r-- 1 root root 5820 13 déc. 13:26 gnewsense
lrwxrwxrwx 1 root root 6 22 déc. 11:22 green -> pureos
lrwxrwxrwx 1 root root 9 13 déc. 13:26 parkes -> gnewsense
-rw-r--r-- 1 root root 6535 22 déc. 11:22 pureos
lrwxrwxrwx 1 root root 8 13 déc. 13:26 robur -> trisquel
lrwxrwxrwx 1 root root 8 13 déc. 13:26 slaine -> trisquel
lrwxrwxrwx 1 root root 8 6 nov. 20:41 stretch -> trisquel
lrwxrwxrwx 1 root root 8 13 déc. 13:26 taranis -> trisquel
lrwxrwxrwx 1 root root 8 13 déc. 13:26 toutatis -> trisquel
-rw-r--r-- 1 root root 6545 13 déc. 13:26 trisquel
lrwxrwxrwx 1 root root 9 13 déc. 13:26 ucclia -> gnewsense

Dom, 03/18/2018 - 18:18
Versión:7.0» 8.0
Estado:active» fixed

Fixed on flidas b1ae7a9 and belenos c041447

Dom, 04/01/2018 - 18:20
Estado:fixed» closed

Automatically closed -- issue fixed for 2 weeks with no activity.