LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   [debian stretch] postfix package installation try to autoremove ecryptfs-utils (???) (https://www.linuxquestions.org/questions/linux-software-2/%5Bdebian-stretch%5D-postfix-package-installation-try-to-autoremove-ecryptfs-utils-4175604920/)

ardabro 04-29-2017 01:01 PM

[debian stretch] postfix package installation try to autoremove ecryptfs-utils (???)
 
Hi all
I wanted to install postfix email server on my stretch but I noticed thai it wants to auto remove my ecryptfs-utils. It is terrifying since i use encrypted home.

Anybody can guess what is going on here?

descendant_command 04-30-2017 06:11 AM

Quote:

Originally Posted by ardabro (Post 5703990)
Anybody can guess what is going on here?

You are confused about what your chosen package management tool is telling you.

ardabro 04-30-2017 09:01 AM

Quote:

Originally Posted by descendant_command (Post 5704185)
You are confused about what your chosen package management tool is telling you.

Now I'm confused how out-of-topic should I be to become a senior member.

descendant_command 04-30-2017 02:49 PM

If you would rather solve your problem than play guessing games, then post the output, not what you think it means.

ardabro 05-02-2017 02:45 PM

Quote:

Originally Posted by descendant_command (Post 5704320)
If you would rather solve your problem than play guessing games, then post the output, not what you think it means.

OK!:

Code:

> sudo apt-get install postfix
Reading package lists... Done
Building dependency tree     
Reading state information... Done
The following packages were automatically installed and are no longer required:
  gir1.2-appindicator3-0.1 keyutils libappindicator3-1 libc6-i686:i386 libdbusmenu-gtk3-4 libde265-0 libdouble-conversion1 libecryptfs0 libgtkglext1 libindicator3-7 libintl-perl libmariadbclient18 libopencv-calib3d2.4v5
  libopencv-contrib2.4v5 libopencv-features2d2.4v5 libopencv-flann2.4v5 libopencv-highgui2.4v5 libopencv-legacy2.4v5 libopencv-ml2.4v5 libopencv-objdetect2.4v5 libopencv-video2.4v5 libopenh264-1 libparams-validate-perl libpq5 libtspi1
  libutvideo15 libwildmidi1 python3-gi-cairo
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
  libalgorithm-c3-perl libalgorithm-diff-xs-perl libapt-pkg-perl libb-hooks-endofscope-perl libc-bin libc-dev-bin libc-l10n libc6 libc6:i386 libc6-dbg libc6-dev libc6-i686:i386 libcairo-perl libclass-c3-perl
  libclass-data-inheritable-perl libclass-method-modifiers-perl libclone-perl libcommon-sense-perl libcrypt-ssleay-perl libdata-optlist-perl libdatetime-locale-perl libdatetime-perl libdatetime-timezone-perl libdevel-stacktrace-perl
  libeval-closure-perl libexception-class-perl libfcgi-perl libfile-fcntllock-perl libglib-perl libgtk2-perl libhtml-parser-perl libio-pty-perl libjson-xs-perl liblist-moreutils-perl liblocale-gettext-perl libmariadbclient18
  libmath-random-isaac-xs-perl libmro-compat-perl libnamespace-autoclean-perl libnamespace-clean-perl libnet-dbus-perl libnet-dns-perl libnet-ssleay-perl libnspr4 libnss3 libossp-uuid-perl libpackage-stash-perl libpango-perl
  libparams-classify-perl libparams-util-perl libparams-validate-perl libparams-validationcompiler-perl libperl5.24 libperlio-gzip-perl libpurple0 librole-tiny-perl libscalar-list-utils-perl libsocket6-perl libspecio-perl
  libsub-exporter-perl libsub-exporter-progressive-perl libsub-identify-perl libsub-install-perl libsub-name-perl libtest-fatal-perl libtext-charwidth-perl libtext-iconv-perl libvariable-magic-perl libxml-libxml-perl libxml-parser-perl
  linux-libc-dev locales perl perl-base perl-modules-5.24 perl-openssl-defaults pidgin pidgin-data postfix-sqlite texinfo
Suggested packages:
  glibc-doc glibc-doc:i386 locales:i386 libfont-freetype-perl libgtk2-perl-doc libdata-dump-perl libscalar-number-perl perl-doc libterm-readline-gnu-perl | libterm-readline-perl-perl postfix-mysql postfix-pgsql postfix-ldap
  postfix-pcre postfix-lmdb sasl2-bin dovecot-common resolvconf postfix-cdb ufw postfix-doc texinfo-doc-nonfree
Recommended packages:
  libclass-c3-xs-perl libdevel-lexalias-perl libpackage-stash-xs-perl rename
The following packages will be REMOVED:
  ecryptfs-utils exim4 exim4-base exim4-config exim4-daemon-light libnss3-1d
The following NEW packages will be installed:
  libalgorithm-c3-perl libb-hooks-endofscope-perl libclass-c3-perl libclass-data-inheritable-perl libclass-method-modifiers-perl libdata-optlist-perl libdevel-stacktrace-perl libeval-closure-perl libexception-class-perl
  libmariadbclient18 libmro-compat-perl libnamespace-autoclean-perl libnamespace-clean-perl libpackage-stash-perl libparams-util-perl libparams-validationcompiler-perl libperl5.24 librole-tiny-perl libscalar-list-utils-perl
  libspecio-perl libsub-exporter-perl libsub-exporter-progressive-perl libsub-identify-perl libsub-install-perl libtest-fatal-perl libvariable-magic-perl perl-modules-5.24 perl-openssl-defaults postfix postfix-sqlite
The following packages will be upgraded:
  libalgorithm-diff-xs-perl libapt-pkg-perl libc-bin libc-dev-bin libc-l10n libc6 libc6:i386 libc6-dbg libc6-dev libc6-i686:i386 libcairo-perl libclone-perl libcommon-sense-perl libcrypt-ssleay-perl libdatetime-locale-perl
  libdatetime-perl libdatetime-timezone-perl libfcgi-perl libfile-fcntllock-perl libglib-perl libgtk2-perl libhtml-parser-perl libio-pty-perl libjson-xs-perl liblist-moreutils-perl liblocale-gettext-perl libmath-random-isaac-xs-perl
  libnet-dbus-perl libnet-dns-perl libnet-ssleay-perl libnspr4 libnss3 libossp-uuid-perl libpango-perl libparams-classify-perl libparams-validate-perl libperlio-gzip-perl libpurple0 libsocket6-perl libsub-name-perl
  libtext-charwidth-perl libtext-iconv-perl libxml-libxml-perl libxml-parser-perl linux-libc-dev locales perl perl-base pidgin pidgin-data texinfo
51 upgraded, 30 newly installed, 6 to remove and 2257 not upgraded.
Need to get 43.0 MB/48.8 MB of archives.
After this operation, 51.7 MB of additional disk space will be used.

Regards!

descendant_command 05-02-2017 03:11 PM

Well, there is a lot going on there that doesn't seem related to a postfix install - how long since you updated your system? (testing is a constantly moving target)

Any foreign sources?

Probably best to forget postfix for the moment and get your system into a sane state first.

After updating, try 'apt-get dist-upgrade' or 'aptitude full-upgrade'

Aptitude is often better at resolving big dependency lists and offering better options (although I don't think it's installed by default in stretch anymore...)

It can also do stuff like 'aptitude why-not ecryptfs-utils'.

Habitual 05-02-2017 03:47 PM

Quote:

Originally Posted by ardabro (Post 5704229)
Now I'm confused how out-of-topic should I be to become a senior member.

Start with Please and end with Thank You?

Self-Serve:
Code:

apt-get install debian-handbook
then clicky-clicky to file:///usr/share/doc/debian-handbook/html/en-US/index.html in your browser.

11.1. Mail Server

ardabro 05-02-2017 04:14 PM

Quote:

Originally Posted by descendant_command (Post 5705286)
Well, there is a lot going on there that doesn't seem related to a postfix install - how long since you updated your system? (testing is a constantly moving target)

Any foreign sources?

I haven't updated system for a couple of months - Now I wait for stretch to become stable.
Only 2 foreign sources:
http://linux.dropbox.com/debian/
http://dl.google.com/linux/earth/deb/

Quote:

Originally Posted by descendant_command (Post 5705286)
Probably best to forget postfix for the moment and get your system into a sane state first.

Yeah. I'm not going to install it any more. But I'm still eager to learn what postfix has to do with ecryptfs-utils.
Who knows - maybe one day another package will try to do the same.
I tried with some other random package and it didn't try to remove my ecryptfs :)

Quote:

Originally Posted by descendant_command (Post 5705286)
After updating, try 'apt-get dist-upgrade' or 'aptitude full-upgrade'

As I said, for now I'm going to wait for stable stretch. Eventually I'll see then.

Quote:

Originally Posted by descendant_command (Post 5705286)
Aptitude is often better at resolving big dependency lists and offering better options (although I don't think it's installed by default in stretch anymore...)
It can also do stuff like 'aptitude why-not ecryptfs-utils'.

Code:

> aptitude why-not ecryptfs-utils
Unable to find a reason to remove ecryptfs-utils.

Thanks, especially for "why-not". I didn't know it!

ondoho 05-03-2017 01:02 AM

Quote:

Originally Posted by ardabro (Post 5705324)
I haven't updated system for a couple of months - Now I wait for stretch to become stable.

sure, that will fix it (sarcasm).

why not try to fix your system NOW?

a simple
Code:

apt update
apt upgrade
apt dist-upgrade

should suffice for starters.

also, "only" dropbox and google repos? i know they're widely used, but that doesn't make them kosher.

descendant_command 05-03-2017 01:46 AM

Also, they will likely be for stable, so there could be incompatabilites with the updated packages in testing.

As for postfix removing ecryptfs-tools, there will be a cascading chain of dependencies of postfix that, since you are some months behind current, likely call for updating a bunch of packages to the current versions that are newer than you have installed.

apt-get is a fairly blunt instrument and if the easy way to satisfy the chain is to remove ecryptfs-tools then that is what it will propose.

As stated, aptitude is much better at this and the ncurses interface is excellent for investigating this type of issue (which, as you are running your own personal mix of outdated packages, is your job, not anyone elses).

ardabro 05-03-2017 02:59 PM

Hi again
Last time I tried to apt-get upgrade it tried to introduce many scary critical and grave bugs, and since I don't want to struggle with broken system twice I'm rather for upgrading once, when stretch becomes stable.
Frankly speaking, excluding this strange ecryptfs issue, my system is fairly stable, so I'm not in a hurry.
Of course I'd like to diagnose the issue (for both: safety and own satisfaction) if possible but not necessarily fix it now if the fixing might cause additional headache.
I'll try to learn more about aptitude and its diagnostic tools.

Thanks all.


All times are GMT -5. The time now is 04:30 PM.