Help on Trisquelize

4 respostas [Última entrada]
Loic29
Desconectado
Joined: 05/03/2019

I would like to Trisquelize Ubuntu 16.04 LTS
I have used script at https://github.com/ChiefGyk/scripts/blob/master/trisquelize.sh,
only changed RELEASE to Flidas and mirror.
Script ran to the end, but I am not sure whether Trisquelization performed correctly,
there are few errors : invalid PGP keys and package overwriting (log file attached).

Nevertheless Trisquel boots, but I get an error message about broken packets.
I use Synaptic to look at issue, diagnostic is :
- firmware-linux-free (version 3.4+8.0trisquel2) sera installé
- linux-image-generic (version 4.4.0.143.151+8.0trisquel2) sera réinstallé

As I don't want to damage anything at this point, I ask to download packets only and get this :
Error :
W: Can't drop privileges for downloading as file '/root/.synaptic/tmp//tmp_cl' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission non accordée)

Can I safely process with update ?

AnexoTamaño
trisquelize.log278.21 KB
Magic Banana

I am a member!

I am a translator!

Desconectado
Joined: 07/24/2010

Go ahead and let us know if it works (I do not think it can create additional problems).

Loic29
Desconectado
Joined: 05/03/2019

Tried to update and got the following :
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

Resulting in :
$ sudo apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following package was automatically installed and is no longer required:
snapd-login-service
Use 'sudo apt autoremove' to remove it.
The following additional packages will be installed:
firmware-linux-free
The following NEW packages will be installed:
firmware-linux-free
0 upgraded, 1 newly installed, 0 to remove and 1 not upgraded.
4 not fully installed or removed.
Need to get 0 B/19,3 kB of archives.
After this operation, 70,7 kB of additional disk space will be used.
Do you want to continue? [Y/n] Y
(Reading database ... 288340 files and directories currently installed.)
Preparing to unpack .../firmware-linux-free_3.4+8.0trisquel2_all.deb ...
Unpacking firmware-linux-free (3.4+8.0trisquel2) ...
dpkg: error processing archive /var/cache/apt/archives/firmware-linux-free_3.4+8.0trisquel2_all.deb (--unpack):
trying to overwrite '/lib/firmware/cis/SW_8xx_SER.cis', which is also in package linux-firmware 1.157.21
Errors were encountered while processing:
/var/cache/apt/archives/firmware-linux-free_3.4+8.0trisquel2_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
$

chaosmonk

I am a member!

I am a translator!

Desconectado
Joined: 07/07/2017

> The following additional packages will be installed:
> firmware-linux-free

> /var/cache/apt/archives/firmware-linux-free_3.4+8.0trisquel2_all.deb
> (--unpack):
> trying to overwrite '/lib/firmware/cis/SW_8xx_SER.cis', which is also in
> package linux-firmware 1.157.21

The package 'firmware-linux-free' needs to replace the package
'linux-firmware', but the package manager is trying to install
firmware-linux-free alongside linux-firmware and stopping when it sees
that they conflict. Normally the Trisquel version of a package should
just overwrite the Ubuntu version. I think the problem here is that the
Trisquel package has a different name.

Try running

$ sudo apt-get -o Dpkg::Options::="--force-overwrite" install firmware-linux-free

This should force the installation of firmware-linux-free, overwriting
the files it has in common with linux-firmware.

Loic29
Desconectado
Joined: 05/03/2019

Thank you very much Chaosmonk, this solved the issue !