0 Members and 1 Guest are viewing this topic.
Setting up lite-software (2.0-0200-linuxlite) ...sed: can't read /etc/X11/Xsession.d/98vboxadd-xclient: No such file or directorydpkg: error processing package lite-software (--configure): subprocess installed post-installation script returned error exit status 2Errors were encountered while processing: lite-softwareE: Sub-process /usr/bin/dpkg returned an error code (1)
$ sudo ls -la /var/lib/apt/lists/partial/total 16drwx------ 2 _apt root 4096 Nov 10 01:39 .drwxr-xr-x 3 root root 12288 Nov 10 01:06 ..
sudo rm -rf /var/lib/apt/lists/partial/us.archive.ubuntu.com_ubuntu_dists_xenial-updates_InReleasesudo rm -rf /var/lib/apt/lists/partial/us.archive.ubuntu.com_ubuntu_dists_xenial-backports_InRelease
sudo apt-get update && sudo apt-get dist-upgrade
W: Invalid 'Date' entry in Release file /var/lib/apt/lists/partial/us.archive.ubuntu.com_ubuntu_dists_xenial-updates_InReleaseW: Invalid 'Date' entry in Release file /var/lib/apt/lists/partial/us.archive.ubuntu.com_ubuntu_dists_xenial-backports_InRelease
sudo leafpad /etc/X11/Xsession.d/98vboxadd-xclient
#!/bin/sh## @file# Start the Guest Additions X11 Client### Copyright (C) 2007-2012 Oracle Corporation## This file is part of VirtualBox Open Source Edition (OSE), as# available from [url]http://www.virtualbox.org[/url]. This file is free software;# you can redistribute it and/or modify it under the terms of the GNU# General Public License (GPL) as published by the Free Software# Foundation, in version 2 as it comes in the "COPYING" file of the# VirtualBox OSE distribution. VirtualBox OSE is distributed in the# hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.## Sanity check: if non-writeable PID-files are present in the user home# directory VBoxClient will fail to start.for i in $HOME/.vboxclient-*.pid; do test -w $i || rm -f $idoneif ! test -c /dev/vboxguest 2>/dev/null; then # Do not start if the kernel module is not present. notify-send "VBoxClient: the VirtualBox kernel service is not running. Exiting."elif test -z "${SSH_CONNECTION}"; then # This script can also be triggered by a connection over SSH, which is not # what we had in mind, so we do not start VBoxClient in that case. We do # not use "exit" here as this script is "source"d, not executed. /usr/bin/VBoxClient --clipboard || true /usr/bin/VBoxClient --checkhostversion || true /usr/bin/VBoxClient --display || true /usr/bin/VBoxClient --seamless || true /usr/bin/VBoxClient --draganddrop || truefi
$ sudo apt-get install -fReading package lists... DoneBuilding dependency tree Reading state information... Done0 upgraded, 0 newly installed, 0 to remove and 26 not upgraded.1 not fully installed or removed.After this operation, 0 B of additional disk space will be used.Setting up lite-software (2.0-0200-linuxlite) ...sed: can't read /etc/X11/Xsession.d/98vboxadd-xclient: No such file or directorydpkg: error processing package lite-software (--configure): subprocess installed post-installation script returned error exit status 2Errors were encountered while processing: lite-softwareE: Sub-process /usr/bin/dpkg returned an error code (1)
~$ sudo apt-get clean && sudo apt-get update && sudo apt-get dist-upgradeHit:1 http://us.archive.ubuntu.com/ubuntu xenial InReleaseHit:2 http://us.archive.ubuntu.com/ubuntu xenial-updates InRelease Ign:3 http://dl.google.com/linux/chrome/deb stable InRelease Get:4 http://us.archive.ubuntu.com/ubuntu xenial-backports InRelease [92.2 kB] Hit:5 http://dl.google.com/linux/chrome/deb stable Release Hit:6 http://archive.canonical.com/ubuntu xenial InRelease Hit:7 http://security.ubuntu.com/ubuntu xenial-security InRelease Hit:8 http://ppa.launchpad.net/danielrichter2007/grub-customizer/ubuntu xenial InReleaseHit:10 http://repo.linuxliteos.com/linuxlite citrine InRelease Hit:11 http://ppa.launchpad.net/mati75/spacefm/ubuntu xenial InRelease Hit:12 http://ppa.launchpad.net/otto-kesselgulasch/gimp/ubuntu xenial InReleaseGet:9 http://screenshots.getdeb.net xenial-getdeb InRelease [8,139 B] Hit:13 http://ppa.launchpad.net/webupd8team/java/ubuntu xenial InRelease Fetched 100 kB in 1s (50.6 kB/s) Reading package lists... DoneW: Invalid 'Date' entry in Release file /var/lib/apt/lists/partial/us.archive.ubuntu.com_ubuntu_dists_xenial-backports_InReleaseReading package lists... DoneBuilding dependency tree Reading state information... DoneCalculating upgrade... DoneThe following packages will be upgraded: adobe-flash-properties-gtk adobe-flashplugin linux-libc-dev3 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.1 not fully installed or removed.Need to get 11.3 MB of archives.After this operation, 18.4 kB of additional disk space will be used.Do you want to continue? [Y/n] Get:1 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 linux-libc-dev amd64 4.4.0-47.68 [842 kB]Get:2 http://archive.canonical.com/ubuntu xenial/partner amd64 adobe-flash-properties-gtk amd64 1:20161108.1-0ubuntu0.16.04.1 [113 kB]Get:3 http://archive.canonical.com/ubuntu xenial/partner amd64 adobe-flashplugin amd64 1:20161108.1-0ubuntu0.16.04.1 [10.3 MB]Fetched 11.3 MB in 6s (1,650 kB/s) Setting up lite-software (2.0-0200-linuxlite) ...sed: can't read /etc/X11/Xsession.d/98vboxadd-xclient: No such file or directorydpkg: error processing package lite-software (--configure): subprocess installed post-installation script returned error exit status 2Errors were encountered while processing: lite-softwareE: Sub-process /usr/bin/dpkg returned an error code (1)