Update trisquelize.sh

2 réponses [Dernière contribution]
calher

I am a member!

Hors ligne
A rejoint: 06/19/2015

I'd like to work on updating trisquelize.sh, so that Ubuntu MATE 24.04 LTS machines can be converted to Trisquel. Where should I start? It looks like the script hasn't been updated since 2010.

I'd like this script to be usable, so that people too poor to afford Wi-Fi dongles or new computers can at least use a somewhat-free OS on their existing computer until they can upgrade to Trisquel.

calher

I am a member!

Hors ligne
A rejoint: 06/19/2015

Here's the logs for what happens when I run ye olde script with "tautatis" replaced with "ecne".

Get:1 http://es.archive.trisquel.info/trisquel ecne InRelease [26.3 kB]
Get:2 http://es.archive.trisquel.info/trisquel ecne-security InRelease [26.1 kB]
Get:3 http://es.archive.trisquel.info/trisquel ecne-updates InRelease [26.3 kB]
Err:1 http://es.archive.trisquel.info/trisquel ecne InRelease
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY B138CA450C05112F
Err:2 http://es.archive.trisquel.info/trisquel ecne-security InRelease
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY B138CA450C05112F
Err:3 http://es.archive.trisquel.info/trisquel ecne-updates InRelease
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY B138CA450C05112F
Reading package lists...
W: GPG error: http://es.archive.trisquel.info/trisquel ecne InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY B138CA450C05112F
E: The repository 'http://es.archive.trisquel.info/trisquel ecne InRelease' is not signed.
W: GPG error: http://es.archive.trisquel.info/trisquel ecne-security InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY B138CA450C05112F
E: The repository 'http://es.archive.trisquel.info/trisquel ecne-security InRelease' is not signed.
W: GPG error: http://es.archive.trisquel.info/trisquel ecne-updates InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY B138CA450C05112F
E: The repository 'http://es.archive.trisquel.info/trisquel ecne-updates InRelease' is not signed.
Reading package lists...
Building dependency tree...
Reading state information...
W: --force-yes is deprecated, use one of the options starting with --allow instead.
E: Unable to locate package trisquel-keyring
Warning: apt-key is deprecated. Manage keyring files in trusted.gpg.d instead (see apt-key(8)).
gpg: can't open '/var/lib/apt/keyrings/trisquel-archive-keyring.gpg': No such file or directory
Reading package lists...
Building dependency tree...
Reading state information...
E: Unable to locate package plymouth-theme-ubuntu
Reading package lists...
Building dependency tree...
Reading state information...
The following packages will be REMOVED:
  plymouth-theme-ubuntu-mate-text* plymouth-theme-ubuntu-text*
0 upgraded, 0 newly installed, 2 to remove and 0 not upgraded.
After this operation, 130 kB disk space will be freed.
Do you want to continue? [Y/n] (Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 253269 files and directories currently installed.)
Removing plymouth-theme-ubuntu-mate-text (24.04.0) ...
update-alternatives: using /usr/share/plymouth/themes/ubuntu-text/ubuntu-text.plymouth to provide /usr/share/plymouth/themes/text.plymouth (text.plymouth) in auto mode
update-initramfs: deferring update (trigger activated)
Removing plymouth-theme-ubuntu-text (24.004.60-1ubuntu7.1) ...
update-initramfs: deferring update (trigger activated)
Processing triggers for initramfs-tools (0.142ubuntu25.8) ...
update-initramfs: Generating /boot/initrd.img-6.17.0-23-generic
(Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 253258 files and directories currently installed.)
Purging configuration files for plymouth-theme-ubuntu-text (24.004.60-1ubuntu7.1) ...
Purging configuration files for plymouth-theme-ubuntu-mate-text (24.04.0) ...
Reading package lists...
Building dependency tree...
Reading state information...
Calculating upgrade...
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
W: --force-yes is deprecated, use one of the options starting with --allow instead.
Reading package lists...
Building dependency tree...
Reading state information...
W: --force-yes is deprecated, use one of the options starting with --allow instead.
E: Unable to locate package trisquel
E: Unable to locate package trisquel-recommended
Reading package lists...
Building dependency tree...
Reading state information...
W: --force-yes is deprecated, use one of the options starting with --allow instead.
E: Unable to locate package linux-image-generic
eric23
Hors ligne
A rejoint: 06/30/2017

Check apt-key man page for the "Deprecation" section. It gives a clue moving the file to the correct directory /etc/apt/trusted.gpg.d/ .
Wouldn't the other problem be that this script depends on having knowing which packages are non-free? Probably a lot more than are present the script!?