Well, the script says your /etc/apt/apt.conf.d/ directory with all apt configuration was deleted. Now, I'm not sure why this happened, but it was probably an accident on your side.
Thus, there really is nothing to do here for us, but for you: Reinstall your system and be more careful with the next installation. (Maybe install etckeeper to log all changes to /etc) ** Changed in: apt (Ubuntu) Status: New => Invalid -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to apt in Ubuntu. https://bugs.launchpad.net/bugs/1627329 Title: package linux-image-4.4.0-38-generic 4.4.0-38.57 failed to install/upgrade: run-parts: /etc/kernel/postinst.d/apt-auto-removal exited with return code 2 Status in apt package in Ubuntu: Invalid Bug description: no idea ProblemType: Package DistroRelease: Ubuntu 16.04 Package: linux-image-4.4.0-38-generic 4.4.0-38.57 ProcVersionSignature: Ubuntu 3.11.0-13.20-generic 3.11.6 Uname: Linux 3.11.0-13-generic x86_64 ApportVersion: 2.20.1-0ubuntu2.1 Architecture: amd64 AudioDevicesInUse: USER PID ACCESS COMMAND /dev/snd/controlC0: ravi 2362 F.... pulseaudio Date: Sat Sep 24 20:15:21 2016 DuplicateSignature: package:linux-image-4.4.0-38-generic:4.4.0-38.57 Setting up libapache2-mod-fastcgi (2.4.7~0910052141-1.2) ... dpkg: error processing package libapache2-mod-fastcgi (--configure): subprocess installed post-installation script returned error exit status 1 ErrorMessage: run-parts: /etc/kernel/postinst.d/apt-auto-removal exited with return code 2 HibernationDevice: RESUME=UUID=0a2b9a66-fac5-4339-81e8-348a6208535a InstallationDate: Installed on 2012-08-25 (1490 days ago) InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Release amd64 (20120425) MachineType: Hewlett-Packard HP ProBook 4530s ProcFB: 0 inteldrmfb ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.11.0-13-generic root=UUID=62db2609-e23d-4edc-94a2-5e7fbf21eb3f ro quiet splash vt.handoff=7 PulseList: Error: command ['pacmd', 'list'] failed with exit code 1: No PulseAudio daemon running, or not running as session daemon. RelatedPackageVersions: grub-pc 2.02~beta2-36ubuntu3.2 SourcePackage: apt Title: package linux-image-4.4.0-38-generic 4.4.0-38.57 failed to install/upgrade: run-parts: /etc/kernel/postinst.d/apt-auto-removal exited with return code 2 UpgradeStatus: Upgraded to xenial on 2016-09-24 (0 days ago) dmi.bios.date: 04/21/2011 dmi.bios.vendor: Hewlett-Packard dmi.bios.version: 68SRR Ver. F.07 dmi.board.name: 167C dmi.board.vendor: Hewlett-Packard dmi.board.version: KBC Version 22.1A dmi.chassis.asset.tag: CNU11657V4 dmi.chassis.type: 10 dmi.chassis.vendor: Hewlett-Packard dmi.modalias: dmi:bvnHewlett-Packard:bvr68SRRVer.F.07:bd04/21/2011:svnHewlett-Packard:pnHPProBook4530s:pvrA0000C02:rvnHewlett-Packard:rn167C:rvrKBCVersion22.1A:cvnHewlett-Packard:ct10:cvr: dmi.product.name: HP ProBook 4530s dmi.product.version: A0000C02 dmi.sys.vendor: Hewlett-Packard To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1627329/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp