tieto / sipe

A third-party Pidgin plugin for Microsoft Lync/OCS - clone of upstream http://repo.or.cz/w/siplcs.git
GNU General Public License v2.0
129 stars 24 forks source link

packaging issue with libgstreamer-plugins-base #93

Closed cristim closed 8 years ago

cristim commented 8 years ago

I just started getting this error.

Preparing to unpack .../libgstreamer-plugins-base1.0-0_1.8.1-1ubuntu1+sipe+201606011225~ubuntu16.04.1_i386.deb ... Unpacking libgstreamer-plugins-base1.0-0:i386 (1.8.1-1ubuntu1+sipe+201606011225~ubuntu16.04.1) over (1.8.1-1ubuntu0.1) ... dpkg: error processing archive /var/cache/apt/archives/libgstreamer-plugins-base1.0-0_1.8.1-1ubuntu1+sipe+201606011225~ubuntu16.04.1_i386.deb (--unpack): trying to overwrite shared '/usr/share/locale/uk/LC_MESSAGES/gst-plugins-base-1.0.mo', which is different from other instances of package libgstreamer-plugins-base1.0-0:i386 dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)

I run a 64bit Ubuntu 16.04.

xhaakon commented 8 years ago

Do you need those 32bit packages installed alongside your 64bit ones for anything? Otherwise you may as well just remove them.

It looks to me you have to update both libgstreamer-plugins-base1.0-0:i386 and libgstreamer-plugins-base1.0-0:amd64 at once, but only *:i386 wants to update on your machine for some reason. I'd try something like

apt-get install libgstreamer-plugins-base1.0-0:i386 and libgstreamer-plugins-base1.0-0:amd64

to force the installation.

Could you provide dpkg --list with all gstreamer packages and their versions you have installed at the moment?

cristim commented 8 years ago

I can't just remove them, I still have other packages installed which depend on them, for example wine and skype.

sudo dpkg --list | grep gst
ii  gir1.2-clutter-gst-3.0:amd64                          3.0.18-1                                                          amd64        Gobject introspection data for Clutter GStreamer elements
iU  gir1.2-gst-plugins-base-1.0                           1.8.1-1ubuntu1+sipe+201606011225~ubuntu16.04.1                    amd64        Description: GObject introspection data for the GStreamer Plugins Base library
ii  gir1.2-gstreamer-1.0                                  1.8.1-1~ubuntu1                                                   amd64        Description: GObject introspection data for the GStreamer library
ii  gstreamer0.10-alsa:amd64                              0.10.36-2                                                         amd64        GStreamer plugin for ALSA
ii  gstreamer0.10-fluendo-mp3:amd64                       0.10.29.debian-1ubuntu1                                           amd64        Fluendo mp3 decoder GStreamer 0.10 plugin
ii  gstreamer0.10-gconf:amd64                             0.10.31-3+nmu4ubuntu2~gcc5.1                                      amd64        GStreamer plugin for getting the sink/source information from GConf
ii  gstreamer0.10-nice:amd64                              0.1.13+sipe+collab-201603090603+2222~ubuntu16.04.1                amd64        ICE library (GStreamer 0.10 plugin)
ii  gstreamer0.10-plugins-base:amd64                      0.10.36-2                                                         amd64        GStreamer plugins from the "base" set
ii  gstreamer0.10-plugins-base-apps                       0.10.36-2                                                         amd64        GStreamer helper programs from the "base" set
ii  gstreamer0.10-plugins-good:amd64                      0.10.31-3+nmu4ubuntu2~gcc5.1                                      amd64        GStreamer plugins from the "good" set
ii  gstreamer0.10-plugins-ugly:amd64                      0.10.19-2.1ubuntu3                                                amd64        GStreamer plugins from the "ugly" set
ii  gstreamer0.10-pulseaudio:amd64                        0.10.31-3+nmu4ubuntu2~gcc5.1                                      amd64        GStreamer plugin for PulseAudio
ii  gstreamer0.10-tools                                   0.10.36-1.5ubuntu1                                                amd64        Tools for use with GStreamer
ii  gstreamer0.10-x:amd64                                 0.10.36-2                                                         amd64        GStreamer plugins for X11 and Pango
iU  gstreamer1.0-alsa:amd64                               1.8.1-1ubuntu1+sipe+201606011225~ubuntu16.04.1                    amd64        GStreamer plugin for ALSA
ii  gstreamer1.0-clutter                                  2.0.18-1                                                          amd64        Clutter PLugin for GStreamer 1.0
ii  gstreamer1.0-clutter-3.0                              3.0.18-1                                                          amd64        Clutter PLugin for GStreamer 1.0
ii  gstreamer1.0-fluendo-mp3:amd64                        0.10.32.debian-1                                                  amd64        Fluendo mp3 decoder GStreamer 1.0 plugin
ii  gstreamer1.0-libav:amd64                              1.8.1-1~ubuntu1                                                   amd64        libav plugin for GStreamer
ii  gstreamer1.0-nice:amd64                               0.1.14~sipe-0+201606011231~ubuntu16.04.1                          amd64        ICE library (GStreamer plugin)
iU  gstreamer1.0-plugins-bad:amd64                        1.8.1-1ubuntu1+sipe+201606011136~ubuntu16.04.1                    amd64        GStreamer plugins from the "bad" set
iU  gstreamer1.0-plugins-bad-faad:amd64                   1.8.1-1ubuntu1+sipe+201606011136~ubuntu16.04.1                    amd64        GStreamer faad plugin from the "bad" set
iU  gstreamer1.0-plugins-bad-videoparsers:amd64           1.8.1-1ubuntu1+sipe+201606011136~ubuntu16.04.1                    amd64        GStreamer videoparsers plugin from the "bad" set
iU  gstreamer1.0-plugins-base:amd64                       1.8.1-1ubuntu1+sipe+201606011225~ubuntu16.04.1                    amd64        GStreamer plugins from the "base" set
iU  gstreamer1.0-plugins-base-apps                        1.8.1-1ubuntu1+sipe+201606011225~ubuntu16.04.1                    amd64        GStreamer helper programs from the "base" set
ii  gstreamer1.0-plugins-good:amd64                       1.8.1-1ubuntu0.1                                                  amd64        GStreamer plugins from the "good" set
ii  gstreamer1.0-plugins-ugly:amd64                       1.8.1-1ubuntu0.1                                                  amd64        GStreamer plugins from the "ugly" set
ii  gstreamer1.0-plugins-ugly-amr:amd64                   1.8.1-1ubuntu0.1                                                  amd64        GStreamer plugins from the "ugly" set
ii  gstreamer1.0-pulseaudio:amd64                         1.8.1-1ubuntu0.1                                                  amd64        GStreamer plugin for PulseAudio
ii  gstreamer1.0-tools                                    1.8.1-1~ubuntu1                                                   amd64        Tools for use with GStreamer
iU  gstreamer1.0-x:amd64                                  1.8.1-1ubuntu1+sipe+201606011225~ubuntu16.04.1                    amd64        GStreamer plugins for X11 and Pango
ii  libclutter-gst-2.0-0:amd64                            2.0.18-1                                                          amd64        Open GL based interactive canvas library GStreamer elements
ii  libclutter-gst-3.0-0:amd64                            3.0.18-1                                                          amd64        Open GL based interactive canvas library GStreamer elements
rc  libgstreamer-plugins-bad0.10-0:amd64                  0.10.23-8.1ubuntu3                                                amd64        GStreamer shared libraries from the "bad" set
iU  libgstreamer-plugins-bad1.0-0:amd64                   1.8.1-1ubuntu1+sipe+201606011136~ubuntu16.04.1                    amd64        GStreamer development files for libraries from the "bad" set
ii  libgstreamer-plugins-base0.10-0:amd64                 0.10.36-2                                                         amd64        GStreamer libraries from the "base" set
rc  libgstreamer-plugins-base0.10-0:i386                  0.10.36-2                                                         i386         GStreamer libraries from the "base" set
iU  libgstreamer-plugins-base1.0-0:amd64                  1.8.1-1ubuntu1+sipe+201606011225~ubuntu16.04.1                    amd64        GStreamer libraries from the "base" set
ii  libgstreamer-plugins-base1.0-0:i386                   1.8.1-1ubuntu0.1                                                  i386         GStreamer libraries from the "base" set
ii  libgstreamer-plugins-good1.0-0:amd64                  1.8.1-1ubuntu0.1                                                  amd64        GStreamer development files for libraries from the "good" set
ii  libgstreamer0.10-0:amd64                              0.10.36-1.5ubuntu1                                                amd64        Core GStreamer libraries and elements
rc  libgstreamer0.10-0:i386                               0.10.36-1.5ubuntu1                                                i386         Core GStreamer libraries and elements
ii  libgstreamer1.0-0:amd64                               1.8.1-1~ubuntu1                                                   amd64        Core GStreamer libraries and elements
ii  libgstreamer1.0-0:i386                                1.8.1-1~ubuntu1                                                   i386         Core GStreamer libraries and elements
ii  libqgsttools-p1:amd64                                 5.5.1-4ubuntu2                                                    amd64        GStreamer tools for  Qt 5 Multimedia module
ii  libreoffice-avmedia-backend-gstreamer                 1:5.1.3-0ubuntu1                                                  amd64        GStreamer backend for LibreOffice
ii  phonon-backend-gstreamer:amd64                        4:4.8.2-0ubuntu2                                                  amd64        Phonon GStreamer 1.0 backend
ii  phonon-backend-gstreamer-common:amd64                 4:4.8.2-0ubuntu2                                                  amd64        Phonon GStreamer 1.0.x backend icons
ii  python-gst0.10                                        0.10.22-3ubuntu3                                                  amd64        generic media-playing framework (Python bindings)
xnandersson commented 8 years ago

Yeah, something is fishy. I get:

root@swordfish:~# apt-get -f install Reading package lists... Done Building dependency tree
Reading state information... Done Correcting dependencies... Done The following additional packages will be installed: libgstreamer-plugins-base1.0-0:i386 The following packages will be upgraded: libgstreamer-plugins-base1.0-0:i386 1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 49 not fully installed or removed. Need to get 0 B/712 kB of archives. After this operation, 528 kB of additional disk space will be used. Do you want to continue? [Y/n] y (Reading database ... 383834 files and directories currently installed.) Preparing to unpack .../libgstreamer-plugins-base1.0-0_1.8.1-1ubuntu1+sipe+201606020827~ubuntu16.04.1_i386.deb ... Unpacking libgstreamer-plugins-base1.0-0:i386 (1.8.1-1ubuntu1+sipe+201606020827~ubuntu16.04.1) over (1.8.1-1ubuntu0.1) ... dpkg: error processing archive /var/cache/apt/archives/libgstreamer-plugins-base1.0-0_1.8.1-1ubuntu1+sipe+201606020827~ubuntu16.04.1_i386.deb (--unpack): trying to overwrite shared '/usr/share/locale/uk/LC_MESSAGES/gst-plugins-base-1.0.mo', which is different from other instances of package libgstreamer-plugins-base1.0-0:i386 dpkg-deb: error: subprocess paste was killed by signal (Broken pipe) Processing triggers for libc-bin (2.23-0ubuntu3) ... Errors were encountered while processing: /var/cache/apt/archives/libgstreamer-plugins-base1.0-0_1.8.1-1ubuntu1+sipe+201606020827~ubuntu16.04.1_i386.deb E: Sub-process /usr/bin/dpkg returned an error code (1)

xnandersson commented 8 years ago

...and

root@swordfish:~# apt-get upgrade Reading package lists... Done Building dependency tree
Reading state information... Done You might want to run 'apt-get -f install' to correct these. The following packages have unmet dependencies: libgstreamer-plugins-base1.0-0 : Breaks: libgstreamer-plugins-base1.0-0:i386 (!= 1.8.1-1ubuntu1+sipe+201606020827~ubuntu16.04.1) but 1.8.1-1ubuntu0.1 is installed libgstreamer-plugins-base1.0-0:i386 : Breaks: libgstreamer-plugins-base1.0-0 (!= 1.8.1-1ubuntu0.1) but 1.8.1-1ubuntu1+sipe+201606020827~ubuntu16.04.1 is installed E: Unmet dependencies. Try using -f.

xhaakon commented 8 years ago

Yeah the *.mo files form amd64 and i386 versions differ in creation timestamps

POT-Creation-Date: 2016-04-21 08:54+0200

I'm trying to deal with it somehow.

To me this is bad packaging because those files shouldn't be in an architecture-specific package in the first place. One normally creates a separate *-common package declared as Architecture: all in debian/control that houses shared non-binary files. I don't know how official Ubuntu releases do it that they have all the timestamps right and their files are bit-by-bit identical.

xhaakon commented 8 years ago

@xnandersson @cristim Please try to update, at least GStreamer base should be fixed now.

xnandersson commented 8 years ago

@xhaakon Updated! And it seems fixed :-) I also run "apt-get -f install" before. Issue resolved I think.

xnandersson commented 8 years ago

Update on another computer worked flawlessly. I suggest we can close this one.

cristim commented 8 years ago

I confirm, this issue is fixed.

I also had some other issues on my machine as a result of multiple PPAs interacting in a strange way and blocking me to reinstall skype even after I managed to update the gstreamer packages, but I eventually traced them to some other package and I managed to get it fixed. Sorry for the delay, but it took quite a bit of time to figure out what exactly was wrong.