Unable to install packages in Sony Vaio VPCEG3AEN

Asked by Ramesh jothimani

When I try to install gstreamer or any of the plugins , I am getting the following error .

installArchives() failed: Selecting previously unselected package gstreamer0.10-ffmpeg.
(Reading database ...
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 141879 files and directories currently installed.)
Unpacking gstreamer0.10-ffmpeg (from .../gstreamer0.10-ffmpeg_0.10.13-1_amd64.deb) ...
Setting up crossplatformui:i386 (2.1.1) ...
Rather than invoking init scripts through /etc/init.d, use the service(8)
utility, e.g. service acpid restart

Since the script you are attempting to invoke has been converted to an
Upstart job, you may also use the stop(8) and then start(8) utilities,
e.g. stop acpid ; start acpid. The restart(8) utility is also available.
acpid stop/waiting
acpid start/running, process 5661
package libqtgui4 exist
QT_VERSION = 4
make -C /lib/modules/3.2.0-23-generic/build M=/usr/local/bin/ztemtApp/zteusbserial/below2.6.27 modules
make[1]: Entering directory `/usr/src/linux-headers-3.2.0-23-generic'
  CC [M] /usr/local/bin/ztemtApp/zteusbserial/below2.6.27/usb-serial.o
/usr/local/bin/ztemtApp/zteusbserial/below2.6.27/usb-serial.c:34:28: fatal error: linux/smp_lock.h: No such file or directory
compilation terminated.
make[2]: *** [/usr/local/bin/ztemtApp/zteusbserial/below2.6.27/usb-serial.o] Error 1
make[1]: *** [_module_/usr/local/bin/ztemtApp/zteusbserial/below2.6.27] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-3.2.0-23-generic'
make: *** [modules] Error 2
dpkg: error processing crossplatformui:i386 (--configure):
 subprocess installed post-installation script returned error exit status 2
Setting up gstreamer0.10-ffmpeg (0.10.13-1) ...
Errors were encountered while processing:
 crossplatformui:i386
Error in function:
SystemError: E:Sub-process /usr/bin/dpkg returned an error code (1)
Setting up crossplatformui:i386 (2.1.1) ...
Rather than invoking init scripts through /etc/init.d, use the service(8)
utility, e.g. service acpid restart

Since the script you are attempting to invoke has been converted to an
Upstart job, you may also use the stop(8) and then start(8) utilities,
e.g. stop acpid ; start acpid. The restart(8) utility is also available.
acpid stop/waiting
acpid start/running, process 5851
package libqtgui4 exist
QT_VERSION = 4
make -C /lib/modules/3.2.0-23-generic/build M=/usr/local/bin/ztemtApp/zteusbserial/below2.6.27 modules
make[1]: Entering directory `/usr/src/linux-headers-3.2.0-23-generic'
  CC [M] /usr/local/bin/ztemtApp/zteusbserial/below2.6.27/usb-serial.o
/usr/local/bin/ztemtApp/zteusbserial/below2.6.27/usb-serial.c:34:28: fatal error: linux/smp_lock.h: No such file or directory
compilation terminated.
make[2]: *** [/usr/local/bin/ztemtApp/zteusbserial/below2.6.27/usb-serial.o] Error 1
make[1]: *** [_module_/usr/local/bin/ztemtApp/zteusbserial/below2.6.27] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-3.2.0-23-generic'
make: *** [modules] Error 2
dpkg: error processing crossplatformui:i386 (--configure):
 subprocess installed post-installation script returned error exit status 2

Please suggest me a solution to solve the same.

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu apt Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

Can you give the output of:

lsb_release -a; uname -a; apt-cache policy crossplatformui:i386

Thanks

Revision history for this message
Ramesh jothimani (rameshjothimani) said :
#2

ramesh@ubuntu:~$ lsb_release -a; uname -a; apt-cache policy crossplatformui:i386No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 12.04 LTS
Release: 12.04
Codename: precise
Linux ubuntu 3.2.0-23-generic #36-Ubuntu SMP Tue Apr 10 20:39:51 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
crossplatformui:i386:
  Installed: 2.1.1
  Candidate: 2.1.1
  Version table:
 *** 2.1.1 0
        100 /var/lib/dpkg/status

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#3

Looks like you installed it from a deb file, where did you get it from?

Revision history for this message
Ramesh jothimani (rameshjothimani) said :
#4

I have installed directly from Ubuntu Software Center . I am getting the same error for all my Software installations.

Revision history for this message
N1ck 7h0m4d4k15 (nicktux) said :
#5

Hi ,

please open a terminal (ctrl+alt+t) and paste these commands from here (for more accuracy).
One line = One command.
Take them with order.

=================================================
sudo rm -rf /var/lib/apt/lists/*
sudo apt-get update
sudo apt-get purge $(dpkg -l | awk '/^rc/ { print $2 }')
sudo dpkg --configure -a
sudo apt-get dist-upgrade
sudo apt-get install ubuntu-restricted-extras
=================================================

Thanks

Revision history for this message
Ramesh jothimani (rameshjothimani) said :
#6

Hi,
Here are the Outputs of the commands specified . I did not run update & upgrade commands since my internet connection is not fast enough to make the complete update / upgrade.

ramesh@ubuntu:~$ sudo rm -rf /var/lib/apt/lists/*
[sudo] password for ramesh:

ramesh@ubuntu:~$ sudo apt-get purge $(dpkg -l | awk '/^rc/ { print $2 }')
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
  appmenu-gtk* appmenu-gtk3*
0 upgraded, 0 newly installed, 2 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue [Y/n]? Y
(Reading database ... 159006 files and directories currently installed.)
Removing appmenu-gtk ...
Purging configuration files for appmenu-gtk ...
Removing appmenu-gtk3 ...
Purging configuration files for appmenu-gtk3 ...
Setting up crossplatformui:i386 (2.1.1) ...
Rather than invoking init scripts through /etc/init.d, use the service(8)
utility, e.g. service acpid restart

Since the script you are attempting to invoke has been converted to an
Upstart job, you may also use the stop(8) and then start(8) utilities,
e.g. stop acpid ; start acpid. The restart(8) utility is also available.
acpid stop/waiting
acpid start/running, process 2235
package libqtgui4 exist
QT_VERSION = 4
make -C /lib/modules/3.2.0-23-generic/build M=/usr/local/bin/ztemtApp/zteusbserial/below2.6.27 modules
make[1]: Entering directory `/usr/src/linux-headers-3.2.0-23-generic'
  CC [M] /usr/local/bin/ztemtApp/zteusbserial/below2.6.27/usb-serial.o
/usr/local/bin/ztemtApp/zteusbserial/below2.6.27/usb-serial.c:34:28: fatal error: linux/smp_lock.h: No such file or directory
compilation terminated.
make[2]: *** [/usr/local/bin/ztemtApp/zteusbserial/below2.6.27/usb-serial.o] Error 1
make[1]: *** [_module_/usr/local/bin/ztemtApp/zteusbserial/below2.6.27] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-3.2.0-23-generic'
make: *** [modules] Error 2
dpkg: error processing crossplatformui:i386 (--configure):
 subprocess installed post-installation script returned error exit status 2
Errors were encountered while processing:
 crossplatformui:i386
W: Can not find PkgVer for 'appmenu-gtk'
W: Can not find PkgVer for 'appmenu-gtk3'
E: Sub-process /usr/bin/dpkg returned an error code (1)

ramesh@ubuntu:~$ sudo dpkg --configure -a
Setting up crossplatformui:i386 (2.1.1) ...
Rather than invoking init scripts through /etc/init.d, use the service(8)
utility, e.g. service acpid restart

Since the script you are attempting to invoke has been converted to an
Upstart job, you may also use the stop(8) and then start(8) utilities,
e.g. stop acpid ; start acpid. The restart(8) utility is also available.
acpid stop/waiting
acpid start/running, process 2444
package libqtgui4 exist
QT_VERSION = 4
make -C /lib/modules/3.2.0-23-generic/build M=/usr/local/bin/ztemtApp/zteusbserial/below2.6.27 modules
make[1]: Entering directory `/usr/src/linux-headers-3.2.0-23-generic'
  CC [M] /usr/local/bin/ztemtApp/zteusbserial/below2.6.27/usb-serial.o
/usr/local/bin/ztemtApp/zteusbserial/below2.6.27/usb-serial.c:34:28: fatal error: linux/smp_lock.h: No such file or directory
compilation terminated.
make[2]: *** [/usr/local/bin/ztemtApp/zteusbserial/below2.6.27/usb-serial.o] Error 1
make[1]: *** [_module_/usr/local/bin/ztemtApp/zteusbserial/below2.6.27] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-3.2.0-23-generic'
make: *** [modules] Error 2
dpkg: error processing crossplatformui:i386 (--configure):
 subprocess installed post-installation script returned error exit status 2
Errors were encountered while processing:
 crossplatformui:i386
ramesh@ubuntu:~$

Please help me to resolve the issue.

Revision history for this message
Manfred Hampl (m-hampl) said :
#7

The problem is caused by the crossplatformui package, which is no ubuntu package but foreign software.
This package cannot be installed on your system (only on kernel versions up to 2.6, but precise provides 3.2), but it hinders the installation of any other software.

You should remove that package with the following command, unless you are 100% sure that you need it:

sudo dpkg --remove --force-remove-reinstreq crossplatformui:i386

Can you help with this problem?

Provide an answer of your own, or ask Ramesh jothimani for more information if necessary.

To post a message you must log in.