LinuxMCE Forums

General => Installation issues => Topic started by: coley on February 11, 2010, 04:20:26 PM

Title: dist-upgrade error
Post by: coley on February 11, 2010, 04:20:26 PM
I just did an apt-get update and dist-upgrade on 810 and received the following errors

Setting up pluto-boot-scripts (2.0.0.44.10021122758) ...
/var/lib/dpkg/info/pluto-boot-scripts.postinst: line 104: /etc/skel/Desktop/LinuxMCE: No such file or directory
dpkg: error processing pluto-boot-scripts (--configure):
subprocess post-installation script returned error exit status 1
Setting up libmysqlclient15-dev (5.0.67-0ubuntu6.1) ...

Processing triggers for libc6 ...
ldconfig deferred processing now taking place
Errors were encountered while processing:
pluto-boot-scripts
E: Sub-process /usr/bin/dpkg returned an error code (1)

Is this something I need to worry about? is it a bug?
If more info is needed ask and I'll try to provide.

-Coley.
Title: Re: dist-upgrade error
Post by: ihcfan on February 12, 2010, 04:43:59 AM
I had the same problem.  Looks like the script believes that /etc/skel/Desktop will exist.  to correct type:

sudo mkdir /etc/skel/Desktop

then run the upgrade again

sudo apt-get dist-upgrade
Title: Re: dist-upgrade error
Post by: coley on February 12, 2010, 01:14:15 PM
yeah that will allow the script to continue - but why is it looking for this in the first place?
Is it a mistake in the script or should it exist already?

-Coley.
Title: Re: dist-upgrade error
Post by: jimbodude on February 12, 2010, 04:59:06 PM
http://www.linfo.org/etc_skel.html

What is being put in the directory that is created?  Get that information, and open a ticket (if one isn't already opened).
Title: Re: dist-upgrade error
Post by: chrisbirkinshaw on February 12, 2010, 05:19:39 PM
Look here in the file /var/lib/dpkg/info/pluto-boot-scripts.postinst

## Add shortcut to the desktop to get back to LinuxMCE orbiter
cat <<eol >/etc/skel/Desktop/LinuxMCE
[Desktop Entry]
Encoding=UTF-8
Version=8.10
Type=Application
Exec=/usr/pluto/bin/ActivateOrbiterFromKDE.sh
Path=/usr/pluto/bin
Name=Back To LinuxMCE Orbiter
Icon=gnome-panel-launcher
eol


Script should really detect whether the folder exists,

[ -d /etc/skel/Desktop/ ] || mkdir /etc/skel/Desktop/

Title: Re: dist-upgrade error
Post by: jimbodude on February 12, 2010, 06:15:11 PM
Quote from: chrisbirkinshaw on February 12, 2010, 05:19:39 PM

Script should really detect whether the folder exists,

[ -d /etc/skel/Desktop/ ] || mkdir /etc/skel/Desktop/


Yes, it probably should.  Open a ticket with that suggestion.
http://svn.linuxmce.org/trac.cgi/newticket
Title: Re: dist-upgrade error
Post by: phenigma on February 12, 2010, 11:18:52 PM
This is also causing /usr/pluto/bin/Diskless_CreateTBZ.sh to error out long before finishing.

J.
Title: Re: dist-upgrade error
Post by: phenigma on February 13, 2010, 12:33:49 AM
I've opened a ticket.  http://svn.linuxmce.org/trac.cgi/ticket/599

J.