OpenShot / openshot-qt

OpenShot Video Editor is an award-winning free and open-source video editor for Linux, Mac, and Windows, and is dedicated to delivering high quality video editing and animation solutions to the world.
http://www.openshot.org
Other
4.35k stars 544 forks source link

Error during install: Sub-process /usr/bin/dpkg returned an error code (1) #10

Closed jarlarntzen closed 8 years ago

jarlarntzen commented 8 years ago

Hi. Just installed openshot-qt from the PPA and got some interesting errors at the end.

Running this on Ubuntu 14.04 LTS

~$ sudo apt-get install openshot-qt 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following extra packages will be installed:
  libegl1-mesa-dev libgles2-mesa-dev libmirclient-dev libmirclient7
  libmirclientplatform-mesa libmirprotobuf-dev libmirprotobuf0
  libopenshot-audio3 libopenshot4 libprotobuf-dev libqt5clucene5
  libqt5concurrent5 libqt5designer5 libqt5help5 libqt5multimediawidgets5
  libqt5opengl5-dev libwayland-dev mircommon-dev python-libopenshot4
  python3-pyqt5 python3-pyqt5.qtmultimedia python3-pyqt5.qtopengl
  python3-pyqt5.qtsvg python3-pyqt5.qtwebkit python3-sip qt5-default qt5-qmake
  qtbase5-dev qtbase5-dev-tools
Suggested packages:
  python3-pyqt5-dbg
The following NEW packages will be installed:
  libegl1-mesa-dev libgles2-mesa-dev libmirclient-dev libmirclient7
  libmirclientplatform-mesa libmirprotobuf-dev libmirprotobuf0
  libopenshot-audio3 libopenshot4 libprotobuf-dev libqt5clucene5
  libqt5concurrent5 libqt5designer5 libqt5help5 libqt5multimediawidgets5
  libqt5opengl5-dev libwayland-dev mircommon-dev openshot-qt
  python-libopenshot4 python3-pyqt5 python3-pyqt5.qtmultimedia
  python3-pyqt5.qtopengl python3-pyqt5.qtsvg python3-pyqt5.qtwebkit
  python3-sip qt5-default qt5-qmake qtbase5-dev qtbase5-dev-tools
0 upgraded, 30 newly installed, 0 to remove and 19 not upgraded.
Need to get 97,3 MB of archives.
After this operation, 225 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://no.archive.ubuntu.com/ubuntu/ trusty/main libmirprotobuf0 amd64 0.1.8+14.04.20140411-0ubuntu1 [75,2 kB]
Get:2 http://ppa.launchpad.net/openshot.developers/libopenshot-daily/ubuntu/ trusty/main libopenshot-audio3 amd64 0.0.6+0+42+85+201510261831~ubuntu14.04.1 [1 633 kB]
Get:3 http://no.archive.ubuntu.com/ubuntu/ trusty/main libmirclientplatform-mesa amd64 0.1.8+14.04.20140411-0ubuntu1 [23,9 kB]
Get:4 http://no.archive.ubuntu.com/ubuntu/ trusty/main libmirclient7 amd64 0.1.8+14.04.20140411-0ubuntu1 [147 kB]
Get:5 http://no.archive.ubuntu.com/ubuntu/ trusty/main libqt5clucene5 amd64 5.2.1-8build1 [276 kB]
Get:6 http://no.archive.ubuntu.com/ubuntu/ trusty-updates/main libqt5concurrent5 amd64 5.2.1+dfsg-1ubuntu14.3 [22,1 kB]
Get:7 http://no.archive.ubuntu.com/ubuntu/ trusty/main libqt5designer5 amd64 5.2.1-8build1 [2 727 kB]
Get:8 http://no.archive.ubuntu.com/ubuntu/ trusty/main libqt5help5 amd64 5.2.1-8build1 [181 kB]
Get:9 http://no.archive.ubuntu.com/ubuntu/ trusty/main libprotobuf-dev amd64 2.5.0-9ubuntu1 [421 kB]
Get:10 http://no.archive.ubuntu.com/ubuntu/ trusty/main libmirprotobuf-dev amd64 0.1.8+14.04.20140411-0ubuntu1 [4 556 B]
Get:11 http://no.archive.ubuntu.com/ubuntu/ trusty/main mircommon-dev amd64 0.1.8+14.04.20140411-0ubuntu1 [25,1 kB]
Get:12 http://no.archive.ubuntu.com/ubuntu/ trusty/main libmirclient-dev amd64 0.1.8+14.04.20140411-0ubuntu1 [7 888 B]
Get:13 http://no.archive.ubuntu.com/ubuntu/ trusty/main libwayland-dev amd64 1.4.0-1ubuntu1 [104 kB]
Get:14 http://no.archive.ubuntu.com/ubuntu/ trusty-updates/main libegl1-mesa-dev amd64 10.1.3-0ubuntu0.5 [16,7 kB]
Get:15 http://no.archive.ubuntu.com/ubuntu/ trusty-updates/main libgles2-mesa-dev amd64 10.1.3-0ubuntu0.5 [23,7 kB]
Get:16 http://no.archive.ubuntu.com/ubuntu/ trusty-updates/main qt5-qmake amd64 5.2.1+dfsg-1ubuntu14.3 [1 248 kB]
Get:17 http://ppa.launchpad.net/openshot.developers/libopenshot-daily/ubuntu/ trusty/main libopenshot4 amd64 0.0.6+0+492+85+201601102201~ubuntu14.04.1 [336 kB]
Get:18 http://no.archive.ubuntu.com/ubuntu/ trusty-updates/main qtbase5-dev-tools amd64 5.2.1+dfsg-1ubuntu14.3 [1 165 kB]
Get:19 http://ppa.launchpad.net/openshot.developers/libopenshot-daily/ubuntu/ trusty/main python-libopenshot4 amd64 0.0.6+0+492+85+201601102201~ubuntu14.04.1 [314 kB]
Get:20 http://ppa.launchpad.net/openshot.developers/libopenshot-daily/ubuntu/ trusty/main openshot-qt all 2.0.0+0+504+85+201601102217~ubuntu14.04.1 [84,2 MB]
Get:21 http://no.archive.ubuntu.com/ubuntu/ trusty-updates/main qtbase5-dev amd64 5.2.1+dfsg-1ubuntu14.3 [1 643 kB]
Get:22 http://no.archive.ubuntu.com/ubuntu/ trusty-updates/main libqt5opengl5-dev amd64 5.2.1+dfsg-1ubuntu14.3 [29,2 kB]
Get:23 http://no.archive.ubuntu.com/ubuntu/ trusty/main libqt5multimediawidgets5 amd64 5.2.1-0ubuntu5 [35,3 kB]
Get:24 http://no.archive.ubuntu.com/ubuntu/ trusty-updates/main qt5-default amd64 5.2.1+dfsg-1ubuntu14.3 [14,3 kB]
Get:25 http://no.archive.ubuntu.com/ubuntu/ trusty/main python3-sip amd64 4.15.5-1build1 [69,3 kB]
Get:26 http://no.archive.ubuntu.com/ubuntu/ trusty/main python3-pyqt5 amd64 5.2.1+dfsg-1ubuntu1 [2 146 kB]
Get:27 http://no.archive.ubuntu.com/ubuntu/ trusty/main python3-pyqt5.qtmultimedia amd64 5.2.1+dfsg-1ubuntu1 [131 kB]
Get:28 http://no.archive.ubuntu.com/ubuntu/ trusty/main python3-pyqt5.qtopengl amd64 5.2.1+dfsg-1ubuntu1 [65,8 kB]
Get:29 http://no.archive.ubuntu.com/ubuntu/ trusty/main python3-pyqt5.qtsvg amd64 5.2.1+dfsg-1ubuntu1 [25,0 kB]
Get:30 http://no.archive.ubuntu.com/ubuntu/ trusty/main python3-pyqt5.qtwebkit amd64 5.2.1+dfsg-1ubuntu1 [101 kB]
Fetched 97,3 MB in 57s (1 700 kB/s)                                            
Selecting previously unselected package libmirprotobuf0:amd64.
(Reading database ... 782755 files and directories currently installed.)
Preparing to unpack .../libmirprotobuf0_0.1.8+14.04.20140411-0ubuntu1_amd64.deb ...
Unpacking libmirprotobuf0:amd64 (0.1.8+14.04.20140411-0ubuntu1) ...
Selecting previously unselected package libmirclientplatform-mesa:amd64.
Preparing to unpack .../libmirclientplatform-mesa_0.1.8+14.04.20140411-0ubuntu1_amd64.deb ...
Unpacking libmirclientplatform-mesa:amd64 (0.1.8+14.04.20140411-0ubuntu1) ...
Selecting previously unselected package libmirclient7:amd64.
Preparing to unpack .../libmirclient7_0.1.8+14.04.20140411-0ubuntu1_amd64.deb ...
Unpacking libmirclient7:amd64 (0.1.8+14.04.20140411-0ubuntu1) ...
Selecting previously unselected package libqt5clucene5:amd64.
Preparing to unpack .../libqt5clucene5_5.2.1-8build1_amd64.deb ...
Unpacking libqt5clucene5:amd64 (5.2.1-8build1) ...
Selecting previously unselected package libqt5concurrent5:amd64.
Preparing to unpack .../libqt5concurrent5_5.2.1+dfsg-1ubuntu14.3_amd64.deb ...
Unpacking libqt5concurrent5:amd64 (5.2.1+dfsg-1ubuntu14.3) ...
Selecting previously unselected package libqt5designer5:amd64.
Preparing to unpack .../libqt5designer5_5.2.1-8build1_amd64.deb ...
Unpacking libqt5designer5:amd64 (5.2.1-8build1) ...
Selecting previously unselected package libqt5help5:amd64.
Preparing to unpack .../libqt5help5_5.2.1-8build1_amd64.deb ...
Unpacking libqt5help5:amd64 (5.2.1-8build1) ...
Selecting previously unselected package libprotobuf-dev:amd64.
Preparing to unpack .../libprotobuf-dev_2.5.0-9ubuntu1_amd64.deb ...
Unpacking libprotobuf-dev:amd64 (2.5.0-9ubuntu1) ...
Selecting previously unselected package libmirprotobuf-dev:amd64.
Preparing to unpack .../libmirprotobuf-dev_0.1.8+14.04.20140411-0ubuntu1_amd64.deb ...
Unpacking libmirprotobuf-dev:amd64 (0.1.8+14.04.20140411-0ubuntu1) ...
Selecting previously unselected package mircommon-dev:amd64.
Preparing to unpack .../mircommon-dev_0.1.8+14.04.20140411-0ubuntu1_amd64.deb ...
Unpacking mircommon-dev:amd64 (0.1.8+14.04.20140411-0ubuntu1) ...
Selecting previously unselected package libmirclient-dev:amd64.
Preparing to unpack .../libmirclient-dev_0.1.8+14.04.20140411-0ubuntu1_amd64.deb ...
Unpacking libmirclient-dev:amd64 (0.1.8+14.04.20140411-0ubuntu1) ...
Selecting previously unselected package libwayland-dev.
Preparing to unpack .../libwayland-dev_1.4.0-1ubuntu1_amd64.deb ...
Unpacking libwayland-dev (1.4.0-1ubuntu1) ...
Selecting previously unselected package libegl1-mesa-dev.
Preparing to unpack .../libegl1-mesa-dev_10.1.3-0ubuntu0.5_amd64.deb ...
Unpacking libegl1-mesa-dev (10.1.3-0ubuntu0.5) ...
Selecting previously unselected package libgles2-mesa-dev.
Preparing to unpack .../libgles2-mesa-dev_10.1.3-0ubuntu0.5_amd64.deb ...
Unpacking libgles2-mesa-dev (10.1.3-0ubuntu0.5) ...
Selecting previously unselected package qt5-qmake:amd64.
Preparing to unpack .../qt5-qmake_5.2.1+dfsg-1ubuntu14.3_amd64.deb ...
Unpacking qt5-qmake:amd64 (5.2.1+dfsg-1ubuntu14.3) ...
Selecting previously unselected package qtbase5-dev-tools.
Preparing to unpack .../qtbase5-dev-tools_5.2.1+dfsg-1ubuntu14.3_amd64.deb ...
Unpacking qtbase5-dev-tools (5.2.1+dfsg-1ubuntu14.3) ...
Selecting previously unselected package qtbase5-dev:amd64.
Preparing to unpack .../qtbase5-dev_5.2.1+dfsg-1ubuntu14.3_amd64.deb ...
Unpacking qtbase5-dev:amd64 (5.2.1+dfsg-1ubuntu14.3) ...
Selecting previously unselected package libqt5opengl5-dev:amd64.
Preparing to unpack .../libqt5opengl5-dev_5.2.1+dfsg-1ubuntu14.3_amd64.deb ...
Unpacking libqt5opengl5-dev:amd64 (5.2.1+dfsg-1ubuntu14.3) ...
Selecting previously unselected package libqt5multimediawidgets5:amd64.
Preparing to unpack .../libqt5multimediawidgets5_5.2.1-0ubuntu5_amd64.deb ...
Unpacking libqt5multimediawidgets5:amd64 (5.2.1-0ubuntu5) ...
Selecting previously unselected package libopenshot-audio3.
Preparing to unpack .../libopenshot-audio3_0.0.6+0+42+85+201510261831~ubuntu14.04.1_amd64.deb ...
Unpacking libopenshot-audio3 (0.0.6+0+42+85+201510261831~ubuntu14.04.1) ...
Selecting previously unselected package qt5-default:amd64.
Preparing to unpack .../qt5-default_5.2.1+dfsg-1ubuntu14.3_amd64.deb ...
Unpacking qt5-default:amd64 (5.2.1+dfsg-1ubuntu14.3) ...
Selecting previously unselected package libopenshot4.
Preparing to unpack .../libopenshot4_0.0.6+0+492+85+201601102201~ubuntu14.04.1_amd64.deb ...
Unpacking libopenshot4 (0.0.6+0+492+85+201601102201~ubuntu14.04.1) ...
Selecting previously unselected package python-libopenshot4.
Preparing to unpack .../python-libopenshot4_0.0.6+0+492+85+201601102201~ubuntu14.04.1_amd64.deb ...
Unpacking python-libopenshot4 (0.0.6+0+492+85+201601102201~ubuntu14.04.1) ...
Selecting previously unselected package python3-sip.
Preparing to unpack .../python3-sip_4.15.5-1build1_amd64.deb ...
Unpacking python3-sip (4.15.5-1build1) ...
Selecting previously unselected package python3-pyqt5.
Preparing to unpack .../python3-pyqt5_5.2.1+dfsg-1ubuntu1_amd64.deb ...
Unpacking python3-pyqt5 (5.2.1+dfsg-1ubuntu1) ...
Selecting previously unselected package python3-pyqt5.qtmultimedia.
Preparing to unpack .../python3-pyqt5.qtmultimedia_5.2.1+dfsg-1ubuntu1_amd64.deb ...
Unpacking python3-pyqt5.qtmultimedia (5.2.1+dfsg-1ubuntu1) ...
Selecting previously unselected package python3-pyqt5.qtopengl.
Preparing to unpack .../python3-pyqt5.qtopengl_5.2.1+dfsg-1ubuntu1_amd64.deb ...
Unpacking python3-pyqt5.qtopengl (5.2.1+dfsg-1ubuntu1) ...
Selecting previously unselected package python3-pyqt5.qtsvg.
Preparing to unpack .../python3-pyqt5.qtsvg_5.2.1+dfsg-1ubuntu1_amd64.deb ...
Unpacking python3-pyqt5.qtsvg (5.2.1+dfsg-1ubuntu1) ...
Selecting previously unselected package python3-pyqt5.qtwebkit.
Preparing to unpack .../python3-pyqt5.qtwebkit_5.2.1+dfsg-1ubuntu1_amd64.deb ...
Unpacking python3-pyqt5.qtwebkit (5.2.1+dfsg-1ubuntu1) ...
Selecting previously unselected package openshot-qt.
Preparing to unpack .../openshot-qt_2.0.0+0+504+85+201601102217~ubuntu14.04.1_all.deb ...
Unpacking openshot-qt (2.0.0+0+504+85+201601102217~ubuntu14.04.1) ...
dpkg: error processing archive /var/cache/apt/archives/openshot-qt_2.0.0+0+504+85+201601102217~ubuntu14.04.1_all.deb (--unpack):
 trying to overwrite '/usr/share/applications/openshot.desktop', which is also in package openshot 1.4.3-1.1
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
Processing triggers for mime-support (3.54ubuntu1.1) ...
Processing triggers for gnome-menus (3.10.1-0ubuntu2) ...
Processing triggers for desktop-file-utils (0.22-1ubuntu1) ...
Processing triggers for bamfdaemon (0.5.1+14.04.20140409-0ubuntu1) ...
Rebuilding /usr/share/applications/bamf-2.index...
Errors were encountered while processing:
 /var/cache/apt/archives/openshot-qt_2.0.0+0+504+85+201601102217~ubuntu14.04.1_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
jarlarntzen commented 8 years ago

Just to be clear. The app can not be started with openshot-qt command.

jonoomph commented 8 years ago

It looks like this is colliding with OpenShot 1.4.3. Try removing OpenShot 1.4.3, and see if that solves the problem. Thanks!

dpkg: error processing archive /var/cache/apt/archives/openshot-qt_2.0.0+0+504+85+201601102217~ubuntu14.04.1_all.deb (--unpack): trying to overwrite '/usr/share/applications/openshot.desktop', which is also in package openshot 1.4.3-1.1

jarlarntzen commented 8 years ago

That worked far better :+1:

Openshot did now install withouth a hitch and did start successfully from the menu. The need to uninstall OpenShot 1.x should be mentioned somewhere otherwise this may simply stop lots of people from even trying OpenShot 2.0.

Now I just need to know the terminal command to start it in order to get some better feedback when it fails. (it isn't openshot or openshot-qt)

$ sudo apt-get install openshot-qt 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following package was automatically installed and is no longer required:
  openshot-doc
Use 'apt-get autoremove' to remove it.
The following NEW packages will be installed:
  openshot-qt
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/84,2 MB of archives.
After this operation, 156 MB of additional disk space will be used.
(Reading database ... 783781 files and directories currently installed.)
Preparing to unpack .../openshot-qt_2.0.0+0+504+85+201601102217~ubuntu14.04.1_all.deb ...
Unpacking openshot-qt (2.0.0+0+504+85+201601102217~ubuntu14.04.1) ...
Processing triggers for mime-support (3.54ubuntu1.1) ...
Processing triggers for gnome-menus (3.10.1-0ubuntu2) ...
Processing triggers for desktop-file-utils (0.22-1ubuntu1) ...
Processing triggers for bamfdaemon (0.5.1+14.04.20140409-0ubuntu1) ...
Rebuilding /usr/share/applications/bamf-2.index...
Processing triggers for shared-mime-info (1.2-0ubuntu3) ...
Unknown media type in type 'all/all'
Unknown media type in type 'all/allfiles'
Unknown media type in type 'uri/mms'
Unknown media type in type 'uri/mmst'
Unknown media type in type 'uri/mmsu'
Unknown media type in type 'uri/pnm'
Unknown media type in type 'uri/rtspt'
Unknown media type in type 'uri/rtspu'
Setting up openshot-qt (2.0.0+0+504+85+201601102217~ubuntu14.04.1) ...
jonoomph commented 8 years ago

'launch-openshot' should launch it, and you can also launch it from the GUI, and find the logs here: ~/.openshot_qt/openshot.log

I'll work on renaming some icons and launchers, so this no longer collides with OpenShot 1.x. Thanks!