Error during Linux installation. Please check your system requirements and network connection.
Error during Linux installation. Please check your system requirements and network connection.
I encounter this problem repeatedly whenever I attempt an upgrade or update, as it consistently fails and blocks progress. I haven’t managed to install or update Ubuntu or Plex recently, and the same issue prevents me from installing new software. The error message indicates a failure in the package installation process, specifically mentioning an unexpected exit status and missing files. I’m struggling to resolve this and have searched for guidance but found limited support. Appreciate any advice or suggestions you can offer.
You're encountering an issue with Ubuntu 19.10 where no LSB modules are available. The system indicates the distributor ID is Ubuntu, and the release details confirm it's version 19.10 with codename eoan.
Executed apt-get remove to delete emacs emacs23 emacs24. Error occurred because emacs23 is missing, so it wasn't removed. Package emacs24 also not found, thus not removed. Further issues arose during installation. New packages will be added: emacsen-common. Updates applied: emacsen-common 1 upgraded. No new installations or removals. 102 files were processed. Disk space will be freed by 75.8 kB. Continue? [Y/n] Yes (Reading database ... 378171 files and directories currently installed.) Preparing to unpack .../emacsen-common_3.0.4_all.deb ... changing directory to /var/lib/emacsen-common/state/flavor/installed: No such file or directory at /usr/lib/emacsen-common/lib.pl line 27. dpkg: warning: old emacsen-common package pre-removal script subprocess returned error exit status 2 dpkg: trying script from the new package instead ... changing directory to /var/lib/emacsen-common/state/flavor/installed: No such file or directory at /usr/lib/emacsen-common/lib.pl line 27. dpkg: error processing archive /var/cache/apt/archives/emacsen-common_3.0.4_all.deb (--unpack): new emacsen-common package pre-removal script subprocess returned error exit status 2 cleaning up failed due to missing package.)
Yup executing sudo apt-get remove emacsen is proceeding. Outputs indicate package lists were fetched successfully. Dependency tree built without issues. Virtual packages like 'emacsen' cannot be deleted. Required packages were installed automatically and are now removed. The following will be reinstalled: emacsen-common. Updates applied to emacsen-common 1 time, no new files added, none removed. Disk space will be freed by approximately 75.8 kB. You're asked if you want to continue. [Y/n]
I encountered the same issue during an upgrade of Ubuntu while trying to clean packages with sudo apt autoremove. The error appeared on line 27 of /usr/lib/emacsen-common/lib.pl, stating a file wasn't found. A warning about the old package script returning an error was also displayed. Creating an empty directory resolved the problem and allowed normal installation commands to function.