Please include Midnight Commander in default install

Here is the place were the team and the community projects meet together. Help us to develop SolydXK projects or contribute your ideas for future releases.
User avatar
ilu
Posts: 1602
Joined: 09 Oct 2013 12:45

Please include Midnight Commander in default install

Postby ilu » 06 Jun 2015 02:23

Please make mc part of Solyds default install (it seems not to be). Even if the primetime of NC-clones is probably over, such a clone is a tremendous help if you have to fumble around on the ctrl-alt-f1 console because something went wrong.
Recent frustrating example http://forums.solydxk.com/viewtopic.php?f=5&t=5635.

MC is the first program I install on a new Linux system but it should really be already there. And before anybody argues that pure console is fine - yes it is, but vim is fine too, and in spite of that we have also nano.

galen
Posts: 6
Joined: 09 Jul 2015 16:31

Re: Please include Midnight Commander in default install

Postby galen » 11 Jul 2015 02:13

mc is a classic file manager & editor, I hold it in the highest regard
but
it can cause an admin to get over confident in altering config files

User avatar
ilu
Posts: 1602
Joined: 09 Oct 2013 12:45

Re: Please include Midnight Commander in default install

Postby ilu » 11 Jul 2015 15:33

I don't see how a tool can make someone over-confident ... if I want to change a config I will do it even if it would require VI or emacs ... it would just cost hours figuring out how the damned stuff works. MC is convenient and saves a lot of time, that's it. And fixing problems on the rescue console is exactly the task why I asked for it.

User avatar
ilu
Posts: 1602
Joined: 09 Oct 2013 12:45

Re: Please include Midnight Commander in default install

Postby ilu » 11 Oct 2017 22:09

I'm resurrecting this thread because I noticed that MC is not part of the latest ISO (SolydX9-1707). For some reason mc-data is still installed but not mc.

User avatar
Schoelje
Site Admin
Posts: 8422
Joined: 26 Jan 2013 19:36
Location: Netherlands
Contact:

Re: Please include Midnight Commander in default install

Postby Schoelje » 12 Oct 2017 04:17

MC was never included in the official ISOs, only in the EEs.


SolydXK needs you!
Development | Testing | Translations

User avatar
bas_otten
Posts: 184
Joined: 19 Oct 2013 12:22
Location: Netherlands

Re: Please include Midnight Commander in default install

Postby bas_otten » 12 Oct 2017 19:19

In terms of housekeeping, you might even consider purging all <>-data packages of which their 'parent' is not installed. Or install the parent as well, if desired.

To discover them (the absent parents of installed data-packages) on SolydK9, I ran the following shell-art ;)

Code: Select all

root@solydxk:/# apt list --installed 2>/dev/null | grep '\-data/' | cut -d'/' -f1 | sed s/'\-data'//g | while read package; do apt list $package 2>/dev/null | grep -v '\.\.\.' | grep -v 'install'; done

distro-info/stable 0.14 amd64
hplip/stable 3.16.11+repack0-3 amd64
kde-baseapps/stable,stable 4:16.08.3-1 all
marble/stable 4:16.08.3-1 amd64
mc/stable 3:4.8.18-1 amd64

User avatar
Schoelje
Site Admin
Posts: 8422
Joined: 26 Jan 2013 19:36
Location: Netherlands
Contact:

Re: Please include Midnight Commander in default install

Postby Schoelje » 13 Oct 2017 09:43

A bit off-topic, but anyway...
Just two of those were safe to remove: hplip-data and mc-data.

Here's my output:

Code: Select all

$ for P in $(apt list --installed 2>/dev/null | grep '\-data/' | cut -d'/' -f1 | sed s/'\-data'//g | while read package; do apt list $package 2>/dev/null | grep -v '\.\.\.' | grep -v 'install' | cut -d'/' -f 1 | sed 's/$/\-data/'; done); do sudo apt-get purge $P; done
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages will be REMOVED:
  distro-info-data* libdistro-info-perl* lsb-release* python3-software-properties*
  software-properties-common* software-properties-gtk* software-properties-kde*
  unattended-upgrades*
0 upgraded, 0 newly installed, 8 to remove and 0 not upgraded.
After this operation, 1,498 kB disk space will be freed.
Do you want to continue? [Y/n] n
Abort.
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages will be REMOVED:
  hplip-data*
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
After this operation, 10.1 MB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 268343 files and directories currently installed.)
Removing hplip-data (3.16.11+repack0-3) ...
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  dolphin4 konqueror-nsplugins kpart-webkit libkonqsidebarplugin4a
Use 'sudo apt autoremove' to remove them.
The following packages will be REMOVED:
  kde-baseapps-bin* kde-baseapps-data* kdepasswd* konqueror*
0 upgraded, 0 newly installed, 4 to remove and 0 not upgraded.
After this operation, 6,058 kB disk space will be freed.
Do you want to continue? [Y/n] n
Abort.
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  digikam-data ffmpegthumbs kipi-plugins-common libkf5sane5 minidlna
Use 'sudo apt autoremove' to remove them.
The following packages will be REMOVED:
  digikam* digikam-private-libs* kipi-plugins* libastro1* libmarblewidget-qt5-25*
  marble-data* marble-plugins*
0 upgraded, 0 newly installed, 7 to remove and 0 not upgraded.
After this operation, 72.1 MB disk space will be freed.
Do you want to continue? [Y/n] n
Abort.
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages will be REMOVED:
  mc-data*
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
After this operation, 5,710 kB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 267789 files and directories currently installed.)
Removing mc-data (3:4.8.18-1) ...
Processing triggers for man-db (2.7.6.1-2) ...
Processing triggers for hicolor-icon-theme (0.15-1) ...
arjen@solydxk_main:~$


SolydXK needs you!
Development | Testing | Translations


Return to “Suggestions & ideas / Open Projects”

Who is online

Users browsing this forum: No registered users and 1 guest