trisquelize.sh doesn't remove non-free Firefox plugins and some other packages installed by "dpkg -i"

Project:Trisquel
Version:7.0
Component:Installer
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed
Description

Hi all,

I just trisquelised my kubuntu this early morning and noticed that quite a few things remained intact:
- All FF non-free plugins
- Skype, installed by "dpkg -i"
- Flashplayer-installer non-free (and I assume the libs as well, but didn't check that)

I just checked the script and I think it removes everything that matches a couple of criteria and upgrades everything from the Trisquel repo.

root@desktop:/home/tony# cat /etc/*-release
DISTRIB_ID=Trisquel
DISTRIB_RELEASE=7.0
DISTRIB_CODENAME=belenos
DISTRIB_DESCRIPTION="Trisquel GNU/Linux 7.0, Belenos"
NAME="Trisquel GNU/Linux"
VERSION="7.0, Belenos"
ID=trisquel
ID_LIKE=debian
PRETTY_NAME="Trisquel GNU/Linux Belenos (7.0)"
VERSION_ID="7.0"
HOME_URL="https://trisquel.info/"
SUPPORT_URL="https://trisquel.info/wiki"
BUG_REPORT_URL="https://trisquel.info/project/issues"
root@desktop:/home/tony# dpkg-query -l | grep skype
ii skype 4.3.0.37-1 i386 Wherever you are, wherever they are
root@desktop:/home/tony# dpkg-query -l | grep flashplugin
ii flashplugin-installer 11.2.202.425ubuntu0.14.04.1 amd64 Adobe Flash Player plugin installer
root@desktop:/home/tony#

May I have a suggestion guys with a different approach:

1. Load all package names in an array available in the Trisquel repos
2. Load all package names installed on the system with "apt-cache pkgnames" in another array
3. Subtrack them into another array and pass them to "apt-get remove"

Many thanks

Regards
Tony

Wed, 03/25/2015 - 14:33

I've added flashplugin-installer to the 'hit list' in trisquelize.sh. However, the only practical solution to the general case of the other things you mention - which is 'anything else the user might have installed from the Internet' - is a fresh install, so the user thoroughly reviews the freedom of their extra-repo software. In your case of Triskel (KDE Trisquel) from the netinstall iso or text mode install in the Trisquel iso.

Wed, 03/25/2015 - 15:30
Status:active» closed