Author Topic: Update/upgrade error - "Errors were encountered while processing"  (Read 1220 times)

purps

  • NEEDS to work for LinuxMCE
  • ***
  • Posts: 1393
  • If it ain't broke, tweak it
    • View Profile
Any cause for alarm? Happens whenever I update/upgrade the core.

Code: [Select]
Errors were encountered while processing:
 pluto-website-admin
 pluto-dcerouter
E: Sub-process /usr/bin/dpkg returned an error code (1)

Cheers,
Matt.
1004 RC :: looking good :: upgraded 01/04/2013
my setup :: http://wiki.linuxmce.org/index.php/User:Purps

posde

  • Administrator
  • LinuxMCE God
  • *****
  • Posts: 3009
  • Wastes Life On LinuxMCE Since 2007
    • View Profile
    • My Home
Re: Update/upgrade error - "Errors were encountered while processing"
« Reply #1 on: May 30, 2011, 03:24:12 pm »
apt-get update
apt-get upgrade

and show the complete output of the upgrade (not of the update) process.

purps

  • NEEDS to work for LinuxMCE
  • ***
  • Posts: 1393
  • If it ain't broke, tweak it
    • View Profile
Re: Update/upgrade error - "Errors were encountered while processing"
« Reply #2 on: May 30, 2011, 03:30:37 pm »
Code: [Select]
Reading package lists... Done
Building dependency tree      
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
2 not fully installed or removed.
After this operation, 0B of additional disk space will be used.
Do you want to continue [Y/n]? y
Setting up pluto-website-admin (2.0.0.44.11052524012) ...
mv: cannot stat `/var/www/lmce-admin/grabcoverart.sh': No such file or directory
Module rewrite already enabled
Site default already disabled
ERROR: Site default-mythbuntu does not exist!
/var/lib/dpkg/info/pluto-website-admin.postinst: line 179: /etc/apache2/sites-available/pluto: Permission denied
dpkg: error processing pluto-website-admin (--configure):
 subprocess post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of pluto-dcerouter:
 pluto-dcerouter depends on pluto-website-admin (>= 2.0.0.44); however:
  Package pluto-website-admin is not configured yet.
 pluto-dcerouter depends on pluto-website-admin (<< 2.0.0.45); however:
  Package pluto-website-admin is not configured yet.
dpkg: error processing pluto-dcerouter (--configure):
 dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
                          Errors were encountered while processing:
 pluto-website-admin
 pluto-dcerouter
E: Sub-process /usr/bin/dpkg returned an error code (1)

EDIT: I have been advised to 1. submit a ticket (http://svn.linuxmce.org/trac.cgi/ticket/1098) and 2. try apt-get install pluto-dcerouter, will report back.
« Last Edit: June 02, 2011, 02:24:03 pm by purps »
1004 RC :: looking good :: upgraded 01/04/2013
my setup :: http://wiki.linuxmce.org/index.php/User:Purps

purps

  • NEEDS to work for LinuxMCE
  • ***
  • Posts: 1393
  • If it ain't broke, tweak it
    • View Profile
Re: Update/upgrade error - "Errors were encountered while processing"
« Reply #3 on: June 02, 2011, 09:24:16 pm »
OK, I got...

Code: [Select]
dcerouter_1016833:~# sudo apt-get install pluto-dcerouter
Reading package lists... Done
Building dependency tree       
Reading state information... Done
pluto-dcerouter is already the newest version.
The following packages were automatically installed and are no longer required:
  nvidia-195-kernel-source nvidia-settings nvidia-195-libvdpau
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
2 not fully installed or removed.
After this operation, 0B of additional disk space will be used.
Setting up pluto-website-admin (2.0.0.44.11052524012) ...
mv: cannot stat `/var/www/lmce-admin/grabcoverart.sh': No such file or directory
Module rewrite already enabled
Site default already disabled
ERROR: Site default-mythbuntu does not exist!
/var/lib/dpkg/info/pluto-website-admin.postinst: line 179: /etc/apache2/sites-available/pluto: Permission denied
dpkg: error processing pluto-website-admin (--configure):
 subprocess post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of pluto-dcerouter:
 pluto-dcerouter depends on pluto-website-admin (>= 2.0.0.44); however:
  Package pluto-website-admin is not configured yet.
 pluto-dcerouter depends on pluto-website-admin (<< 2.0.0.45); however:
  Package pluto-website-admin is not configured yet.
dpkg: error processing pluto-dcerouter (--configure):
 dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
                          Errors were encountered while processing:
 pluto-website-admin
 pluto-dcerouter
W: Duplicate sources.list entry http://packages.medibuntu.org intrepid/free Packages (/var/lib/apt/lists/packages.medibuntu.org_dists_intrepid_free_binary-i386_Packages)
W: Duplicate sources.list entry http://packages.medibuntu.org intrepid/non-free Packages (/var/lib/apt/lists/packages.medibuntu.org_dists_intrepid_non-free_binary-i386_Packages)
W: You may want to run apt-get update to correct these problems
E: Sub-process /usr/bin/dpkg returned an error code (1)

Should I try removing it first?

Cheers,
Matt.
1004 RC :: looking good :: upgraded 01/04/2013
my setup :: http://wiki.linuxmce.org/index.php/User:Purps

posde

  • Administrator
  • LinuxMCE God
  • *****
  • Posts: 3009
  • Wastes Life On LinuxMCE Since 2007
    • View Profile
    • My Home
Re: Update/upgrade error - "Errors were encountered while processing"
« Reply #4 on: June 02, 2011, 11:20:28 pm »
Let's see what merkur2k can make out of it.

merkur2k

  • Addicted
  • *
  • Posts: 513
    • View Profile
Re: Update/upgrade error - "Errors were encountered while processing"
« Reply #5 on: June 03, 2011, 06:31:47 am »
how long has it been since you updated prior to this?
can anyone else reproduce this error?
the postinst script in svn would only be able to produce that error with line 155, and only if some other rather serious things when wrong.

purps

  • NEEDS to work for LinuxMCE
  • ***
  • Posts: 1393
  • If it ain't broke, tweak it
    • View Profile
Re: Update/upgrade error - "Errors were encountered while processing"
« Reply #6 on: June 03, 2011, 10:07:48 am »
Latest upgrade was 29th May. The upgrade prior to this was in the second half of April sometime.

However, I believe I have always had this error, except maybe after the very first update/upgrade, straight after installation (snapshot 23796, was bang up to date at the time).

I can't say for certain whether it's even causing any problems. One really annoying problem that I have is that my N800 orbiter will most of the time crap out when, and only when, I select TV. No other orbiter does this (my only other orbiters are Android touch orbiters or web orbiters). Could it be related? I returned to a backup image I made on 12th April specifically to find out where the problem was, and naturally I upgraded straight away because I was after new features, and still the orbiter exhibited this strange behavior. Perhaps I should go back to this image and not upgrade?

Cheers,
Matt.
1004 RC :: looking good :: upgraded 01/04/2013
my setup :: http://wiki.linuxmce.org/index.php/User:Purps

purps

  • NEEDS to work for LinuxMCE
  • ***
  • Posts: 1393
  • If it ain't broke, tweak it
    • View Profile
Re: Update/upgrade error - "Errors were encountered while processing"
« Reply #7 on: June 20, 2011, 08:12:44 pm »
Ok, so we came to the conclusion that the problem was down to me chattr +i-ing /etc/apache2/sites-available/pluto - yes, stupid I know.

So, I restored my system to a time way before I did this silly thing, updated/upgraded... and exactly the same result :(

Any other ideas, or shall I just do a complete reinstall?

Cheers,
Matt.
1004 RC :: looking good :: upgraded 01/04/2013
my setup :: http://wiki.linuxmce.org/index.php/User:Purps

posde

  • Administrator
  • LinuxMCE God
  • *****
  • Posts: 3009
  • Wastes Life On LinuxMCE Since 2007
    • View Profile
    • My Home
Re: Update/upgrade error - "Errors were encountered while processing"
« Reply #8 on: June 20, 2011, 08:29:15 pm »
purps,

put it that way: You seem to be the only one who experiences this issue. If it is not too much of an effort, I'd do a new install, and see if that works better. A new snapshot should be available by Tuesday morning CEST

purps

  • NEEDS to work for LinuxMCE
  • ***
  • Posts: 1393
  • If it ain't broke, tweak it
    • View Profile
Re: Update/upgrade error - "Errors were encountered while processing"
« Reply #9 on: June 20, 2011, 10:50:25 pm »
I hear you. I just like to at least try and get to the bottom of these things. But as you say, I seem to be the only one affected.

I'll reinstall. I COULD do without the hassle, of course, but I can't grumble :) Will wait for the new snapshot and report back with my findings.

Cheers,
Matt.
1004 RC :: looking good :: upgraded 01/04/2013
my setup :: http://wiki.linuxmce.org/index.php/User:Purps

purps

  • NEEDS to work for LinuxMCE
  • ***
  • Posts: 1393
  • If it ain't broke, tweak it
    • View Profile
Re: Update/upgrade error - "Errors were encountered while processing"
« Reply #10 on: January 01, 2012, 08:37:06 pm »
Holy thread resurrection, Batman.

Just upgraded my 1004 system for the first time, and I got exactly the same thing as before with 810.

Code: [Select]
Errors were encountered while processing:
 pluto-website-admin
 pluto-dcerouter
E: Sub-process /usr/bin/dpkg returned an error code (1)

So same question again I guess; any cause for alarm?

Cheers,
Matt.
1004 RC :: looking good :: upgraded 01/04/2013
my setup :: http://wiki.linuxmce.org/index.php/User:Purps