Linux Lite 7.8 Final has been released - Click here



Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
dpkg error preventing install or upgrade
#11
Note, we also already include the SystemBack repo. The only ones you should keep that you have added are for Chrome and Spacefm.
Download your free copy of Linux Lite today.

Jerry Bezencon
Linux Lite Creator

"Do not correct a fool, or he will hate you; correct a wise man and he will appreciate you."

[Image: X5qGkCg.png]

[Image: 0op1GNe.png] [Image: LgJ2mtP.png] [Image: vLZcFUE.png] [Image: lrUHro3.jpg]
Reply
#12
I followed your directions exactly. I actually didn't have virtualbox installed in the first place, only had the repo. After removing the unnecessary repos and running going through the checklist, I'm still getting one update error, and the same lite-software error.

Code:
~$ sudo apt-get clean && sudo apt-get update && sudo apt-get dist-upgrade
Hit:1 http://us.archive.ubuntu.com/ubuntu xenial InRelease
Hit: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 InRelease
Hit: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 InRelease
Get: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... Done
W: Invalid 'Date' entry in Release file /var/lib/apt/lists/partial/us.archive.ubuntu.com_ubuntu_dists_xenial-backports_InRelease
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
The following packages will be upgraded:
  adobe-flash-properties-gtk adobe-flashplugin linux-libc-dev
3 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 directory
dpkg: error processing package lite-software (--configure):
subprocess installed post-installation script returned error exit status 2
Errors were encountered while processing:
lite-software
E: Sub-process /usr/bin/dpkg returned an error code (1)

If I need to, I'll just reinstall Lite 3.2, though I'd probably simply remove lite-software and continue using this installation if it came down to it, because I personally haven't used it since I installed Linux Lite. I would like to try to figure this out though just for the sake of knowing what went wrong, and if it was something dumb I did.
Reply
#13
Try: sudo apt-get install -f
Download your free copy of Linux Lite today.

Jerry Bezencon
Linux Lite Creator

"Do not correct a fool, or he will hate you; correct a wise man and he will appreciate you."

[Image: X5qGkCg.png]

[Image: 0op1GNe.png] [Image: LgJ2mtP.png] [Image: vLZcFUE.png] [Image: lrUHro3.jpg]
Reply
#14
Nope, no dice.

Code:
$ sudo apt-get install -f
Reading package lists... Done
Building dependency tree       
Reading state information... Done
0 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 directory
dpkg: error processing package lite-software (--configure):
subprocess installed post-installation script returned error exit status 2
Errors were encountered while processing:
lite-software
E: Sub-process /usr/bin/dpkg returned an error code (1)
Reply
#15
Try:

Code:
sudo leafpad /etc/X11/Xsession.d/98vboxadd-xclient

add the following and save the file:

Code:
#!/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 versi