News:

Rule #1 - Be Patient - Rule #2 - Don't ask when, if you don't contribute - Rule #3 - You have coding skills - LinuxMCE's small brother is available: http://www.agocontrol.com

Main Menu

dist-upgrade error

Started by coley, February 11, 2010, 04:20:26 PM

Previous topic - Next topic

coley

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.
~ 12.04 Alpha: [url="http://linuxmce.iptp.org/snapshots"]http://linuxmce.iptp.org/snapshots[/url]
~ 10.04 Final: [url="http://linuxmce.iptp.org/release/LinuxMCE-1004-final.iso"]http://linuxmce.iptp.org/release/LinuxMCE-1004-final.iso[/url]
~ My setup: [url="http://wiki.linuxmce.org/index.php/User:Coley"]http://wiki.linuxmce.org/index.php/User:Coley[/url]

ihcfan

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

coley

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.
~ 12.04 Alpha: [url="http://linuxmce.iptp.org/snapshots"]http://linuxmce.iptp.org/snapshots[/url]
~ 10.04 Final: [url="http://linuxmce.iptp.org/release/LinuxMCE-1004-final.iso"]http://linuxmce.iptp.org/release/LinuxMCE-1004-final.iso[/url]
~ My setup: [url="http://wiki.linuxmce.org/index.php/User:Coley"]http://wiki.linuxmce.org/index.php/User:Coley[/url]

jimbodude

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).

chrisbirkinshaw

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/


jimbodude

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

phenigma

This is also causing /usr/pluto/bin/Diskless_CreateTBZ.sh to error out long before finishing.

J.
My setup: [url="http://wiki.linuxmce.org/index.php/User:Phenigma"]http://wiki.linuxmce.org/index.php/User:Phenigma[/url]

phenigma

My setup: [url="http://wiki.linuxmce.org/index.php/User:Phenigma"]http://wiki.linuxmce.org/index.php/User:Phenigma[/url]