This case has solved. I did a fresh installation using GUI installer and I could remove metapackages except one and then I removed all my unnecessary packages (and then apt-get autoremove command). However if trisquel-desktop-common-data metapackege is removed then it will break apt/dpkg as shown below:

xxxxxxxx@xxxxxxx:~$ dpkg --get-selections trisquel*

trisquel-base                                   install
trisquel-base-data                              install
trisquel-base-recommended                       install
trisquel-codecs                                 install
trisquel-desktop-common                         install
trisquel-desktop-common-data                    install
trisquel-desktop-common-recommended             install
trisquel-gtk-theme                              install
trisquel-icon-theme                             install
trisquel-keyring                                install
trisquel-mini                                   install
trisquel-mini-data                              install
trisquel-mini-recommended                       install
trisquel-minimal                                install
trisquel-release-upgrader-core                  install
trisquel-release-upgrader-gtk                   install
trisquel-wallpapers                             install

xxxxxxxxxx@xxxxxxxx:~$ sudo apt-get purge trisquel-base* trisquel-desktop-common* trisquel-mini* trisquel-minimal

[sudo] password for xxxxxxxx:

Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'trisquel-base-recommended' for regex 'trisquel-base*'
Note, selecting 'trisquel-base-data' for regex 'trisquel-base*'
Note, selecting 'trisquel-base' for regex 'trisquel-base*'
Note, selecting 'trisquel-desktop-common' for regex 'trisquel-desktop-common*' Note, selecting 'trisquel-desktop-common-recommended' for regex 'trisquel-desktop-common*' Note, selecting 'trisquel-desktop-common-data' for regex 'trisquel-desktop-common*'
Note, selecting 'trisquel-minimal' for regex 'trisquel-mini*'
Note, selecting 'trisquel-mini-data' for regex 'trisquel-mini*'
Note, selecting 'trisquel-mini-recommended' for regex 'trisquel-mini*'
Note, selecting 'trisquel-mini' for regex 'trisquel-mini*'
The following packages were automatically installed and are no longer required:
  apt-clone archdetect-deb cifs-utils dpkg-repack gir1.2-appindicator3-0.1
  gir1.2-json-1.0 gir1.2-timezonemap-1.0 gir1.2-xkl-1.0 libdebian-installer4
  libtimezonemap1 python3-cairo python3-gi-cairo python3-icu python3-pam
  sbsigntool
Use 'apt-get autoremove' to remove them.
The following packages will be REMOVED:
  trisquel-base* trisquel-base-data* trisquel-base-recommended*
  trisquel-desktop-common* trisquel-desktop-common-data*
  trisquel-desktop-common-recommended* trisquel-mini* trisquel-mini-data*
  trisquel-mini-recommended* trisquel-minimal*
0 upgraded, 0 newly installed, 10 to remove and 284 not upgraded.
After this operation, 1 993 kB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 109383 files and directories currently installed.)
Removing trisquel-mini (7.0-34) ...
Removing trisquel-base (7.0-34) ...
Removing trisquel-base-data (7.0) ...
Purging configuration files for trisquel-base-data (7.0) ...
Removing trisquel-base-recommended (7.0-34) ...
Removing trisquel-desktop-common (7.0-34) ...
Removing trisquel-desktop-common-data (7.0-15) ...
dpkg: error processing package trisquel-desktop-common-data (--purge):
 subprocess installed post-removal script returned error exit status 1
Removing trisquel-desktop-common-recommended (7.0-34) ...
Removing trisquel-mini-data (7.0-2) ...
Purging configuration files for trisquel-mini-data (7.0-2) ...
Removing trisquel-mini-recommended (7.0-34) ...
Removing trisquel-minimal (7.0-34) ...
Processing triggers for gconf2 (3.2.6-0ubuntu2) ...
Processing triggers for fontconfig (2.11.0-0ubuntu4.1) ...
Processing triggers for desktop-file-utils (0.22-1ubuntu1+7.0trisquel1) ...
Processing triggers for mime-support (3.54ubuntu1) ...
Processing triggers for libglib2.0-0:amd64 (2.40.2-0ubuntu1) ...
Errors were encountered while processing:
 trisquel-desktop-common-data
E: Sub-process /usr/bin/dpkg returned an error code (1)

Reply via email to