Debian: Broken packages, bug

Lennart Sorensen lsorense-1wCw9BSqJbv44Nm34jS7GywD8/FfD2ys at public.gmane.org
Tue Nov 1 17:27:27 UTC 2011


On Tue, Nov 01, 2011 at 01:11:28PM -0400, Thomas Milne wrote:
> On Tue, Nov 1, 2011 at 10:20 AM, Lennart Sorensen
> <lsorense-1wCw9BSqJbv44Nm34jS7GywD8/FfD2ys at public.gmane.org> wrote:
> > On Tue, Nov 01, 2011 at 08:53:51AM -0400, Thomas Milne wrote:
> >> Yeah, but this is the line that's important:
> >>
> >>  #646325 - gstreamer0.10-gconf needs to replace gstreamer0.10-plugins-good
> >
> > Well that bug will certainly cause a problem for apt/dpkg, but not
> > a problem for the actual program once installed.
> >
> > The suggestion of removing the gstreamer packages and installing them
> > again would almost certainly get around this bug.
> >
> > If possible, remove 'gstreamer0.10-plugins-good', then run 'apt-get -f
> > install' again, and let it install the package (even though there is a bug
> > report), then you should be able to install 'gstreamer0.10-plugins-good'.
> > Unfortunately removing 'gstreamer0.10-plugins-good' will take out a
> > large chunk of gnome among other things.
> >
> > Probably the simplest solution is to download the new version of
> > gstreamer0.10-plugins-good and installing it, then running apt-get to
> > fix the rest.
> >
> > So something like:
> > wget http://ftp.ca.debian.org/debian/pool/main/g/gst-plugins-good0.10/gstreamer0.10-plugins-good_0.10.30-1_amd64.deb (or i386 if that is what you are running)
> > dpkg -i gstreamer0.10-plugins-good_0.10.30-1_amd64.deb
> > apt-get -f install
> >
> > Basicly the new version (0.10.30 rather than 0.10.24) no longer has
> > the conflicting file that is preventing gstreamer0.10-gconf 0.10.30
> > from installing.
> 
> Now I'm getting this:
> 
> node1:/home/joehill# dpkg -i gstreamer0.10-plugins-good_0.10.30-1_i386.deb
> dpkg: considering removing gstreamer0.10-plugins-bad in favour of
> gstreamer0.10-plugins-good ...
> dpkg: no, cannot proceed with removal of gstreamer0.10-plugins-bad
> (--auto-deconfigure will help):
>  libcheese1 depends on gstreamer0.10-plugins-bad
>   gstreamer0.10-plugins-bad is to be removed.
> dpkg: regarding gstreamer0.10-plugins-good_0.10.30-1_i386.deb
> containing gstreamer0.10-plugins-good:
>  gstreamer0.10-plugins-good conflicts with gstreamer0.10-plugins-bad
> (<< 0.10.21.2)
>   gstreamer0.10-plugins-bad (version 0.10.19-2.1) is present and installed.
> dpkg: error processing gstreamer0.10-plugins-good_0.10.30-1_i386.deb
> (--install):
>  conflicting packages - not installing gstreamer0.10-plugins-good
> Errors were encountered while processing:
>  gstreamer0.10-plugins-good_0.10.30-1_i386.deb
> 
> So I tried installing the newer version of plugins-bad:
> 
> node1:/home/joehill# dpkg -i gstreamer0.10-plugins-bad_0.10.22-3_i386.deb
> (Reading database ... 315313 files and directories currently installed.)
> Preparing to replace gstreamer0.10-plugins-bad 0.10.19-2.1 (using
> gstreamer0.10-plugins-bad_0.10.22-3_i386.deb) ...
> Unpacking replacement gstreamer0.10-plugins-bad ...
> dpkg: error processing gstreamer0.10-plugins-bad_0.10.22-3_i386.deb (--install):
>  trying to overwrite '/usr/lib/gstreamer-0.10/libgstxvid.so', which is
> also in package gstreamer0.10-plugins-really-bad 0.10.22-0.0
> dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
> Errors were encountered while processing:
>  gstreamer0.10-plugins-bad_0.10.22-3_i386.deb
> 
> So then I tried the suggested --auto-deconfigure:
> 
> node1:/home/joehill# dpkg -i --auto-deconfigure
> gstreamer0.10-plugins-good_0.10.30-1_i386.deb
> dpkg: considering removing gstreamer0.10-plugins-bad in favour of
> gstreamer0.10-plugins-good ...
> dpkg: yes, will remove gstreamer0.10-plugins-bad in favour of
> gstreamer0.10-plugins-good.
> (Reading database ... 315313 files and directories currently installed.)
> Preparing to replace gstreamer0.10-plugins-good 0.10.24-1 (using
> gstreamer0.10-plugins-good_0.10.30-1_i386.deb) ...
> De-configuring gnome-video-effects, to allow removal of
> gstreamer0.10-plugins-bad ...
> De-configuring libgstfarsight0.10-0, to allow removal of
> gstreamer0.10-plugins-bad ...
> De-configuring totem-xine, to allow removal of gstreamer0.10-plugins-bad ...
> De-configuring libcheese1, to allow removal of gstreamer0.10-plugins-bad ...
> Unpacking replacement gstreamer0.10-plugins-good ...
> dpkg: dependency problems prevent configuration of gstreamer0.10-plugins-good:
>  gstreamer0.10-plugins-good depends on libgstreamer-plugins-base0.10-0
> (>= 0.10.33); however:
>   Version of libgstreamer-plugins-base0.10-0 on system is 0.10.32-2.
> dpkg: error processing gstreamer0.10-plugins-good (--install):
>  dependency problems - leaving unconfigured
> dpkg: dependency problems prevent configuration of libcheese1:
>  libcheese1 depends on gstreamer0.10-plugins-good (>= 0.10.23); however:
>   Package gstreamer0.10-plugins-good is not configured yet.
>  libcheese1 depends on gstreamer0.10-plugins-bad; however:
>   Package gstreamer0.10-plugins-bad is not installed.
> dpkg: error processing libcheese1 (--install):
>  dependency problems - leaving unconfigured
> dpkg: dependency problems prevent configuration of totem-xine:
>  totem-xine depends on totem (>= 2.27.1); however:
>   Package totem is not configured yet.
>  totem-xine depends on gstreamer0.10-plugins-bad; however:
>   Package gstreamer0.10-plugins-bad is not installed.
> dpkg: error processing totem-xine (--install):
>  dependency problems - leaving unconfigured
> dpkg: dependency problems prevent configuration of libgstfarsight0.10-0:
>  libgstfarsight0.10-0 depends on gstreamer0.10-plugins-good (>=
> 0.10.8); however:
>   Package gstreamer0.10-plugins-good is not configured yet.
>  libgstfarsight0.10-0 depends on gstreamer0.10-plugins-bad (>=
> 0.10.17); however:
>   Package gstreamer0.10-plugins-bad is not installed.
> dpkg: error processing libgstfarsight0.10-0 (--install):
>  dependency problems - leaving unconfigured
> dpkg: dependency problems prevent configuration of gnome-video-effects:
>  gnome-video-effects depends on gstreamer0.10-plugins-good; however:
>   Package gstreamer0.10-plugins-good is not configured yet.
>  gnome-video-effects depends on gstreamer0.10-plugins-bad; however:
>   Package gstreamer0.10-plugins-bad is not installed.
> dpkg: error processing gnome-video-effects (--install):
>  dependency problems - leaving unconfigured
> Processing triggers for gconf2 ...
> Errors were encountered while processing:
>  gstreamer0.10-plugins-good
>  libcheese1
>  totem-xine
>  libgstfarsight0.10-0
>  gnome-video-effects
> 
> and then apt-get -f install:
> 
> node1:/home/joehill# apt-get -f install
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> Correcting dependencies... Done
> The following packages were automatically installed and are no longer required:
>   liblash2 libclucene0ldbl csound-manpages libqca2 libqimageblitz4
> bind9 libqt4-assistant libhttp-access2-ruby1.8 libsolidcontrolifaces4
> libqzion0a
>   gadmin-openvpn-server python-clientform bind9utils oxygen-icon-theme
> oxygencursors libgdata1.4-cil bluez-cups google-gadgets-common phonon
>   libggadget-qt-1.0-0b lockfile-progs libgps19
> shared-desktop-ontologies podsleuth python-pypdf google-gadgets-gst
> libggadget-1.0-0b libntrack-qt4-1
>   python2.5-dev libpango1.0-common libeina-svn-06 libeet1
> virtuoso-minimal libakonadiprivate1 libsoprano4 libqt4-webkit
> libvirtodbc0 google-gadgets-xul
>   libxcb-render-util0-dev libntrack0 gadmin-openvpn-client
> gadmin-rsync libstreamanalyzer0 libphonon4 libpkcs11-helper1
> thunar-data gadmin-samba
>   libfluidsynth1 libkephal4 phonon-backend-xine ksysguardd gadmin-bind
> proftpd-basic python-gdbm libattica0 libakonadi-kabc4 libstk0c2a
> akonadi-server
>   libstreams0 gadmin-proftpd libartsc0-dev openvpn python-pythonmagick
> virtuoso-opensource-6.1-common libqedje0a soprano-daemon libiodbc2
> kaboom
>   virtuoso-opensource-6.1-bin libiptcdata0 python-rdflib
> libwebkit1.1-cil libdigest-sha1-perl
> Use 'apt-get autoremove' to remove them.
> The following extra packages will be installed:
>   brasero brasero-common empathy-common evince-common
> gir1.2-clutter-1.0 gir1.2-cogl-1.0 gir1.2-coglpango-1.0
> gir1.2-gst-plugins-base-0.10 gir1.2-gtk-3.0
>   gir1.2-json-1.0 gir1.2-nautilus-3.0 gir1.2-peas-1.0 gir1.2-totem-1.0
> gir1.2-totem-plparser-1.0 gstreamer0.10-gconf
> gstreamer0.10-plugins-bad
>   libavahi-ui-gtk3-0 libbrasero-media3-1 libevince3-3 libgdata11
> libgdu-gtk0 libgnome-media-profiles-3.0-0
> libgstreamer-plugins-base0.10-0
>   libgstreamer-plugins-base0.10-dev libgtk-3-dev
> libnautilus-extension-dev libnautilus-extension1a libpeas-1.0-0
> libpeas-common libpoppler-glib6
>   libseed-gtk3-0 libtotem0 libtracker-sparql-0.10-0 libunique-3.0-0
> nautilus-data totem-common
> Suggested packages:
>   libgtk-3-doc
> The following packages will be REMOVED:
>   libbrasero-media0 libnautilus-extension1 seahorse-plugins totem-coherence
> The following NEW packages will be installed:
>   gir1.2-clutter-1.0 gir1.2-cogl-1.0 gir1.2-coglpango-1.0
> gir1.2-gst-plugins-base-0.10 gir1.2-gtk-3.0 gir1.2-json-1.0
> gir1.2-nautilus-3.0 gir1.2-peas-1.0
>   gir1.2-totem-1.0 gir1.2-totem-plparser-1.0 gstreamer0.10-gconf
> gstreamer0.10-plugins-bad libavahi-ui-gtk3-0 libbrasero-media3-1
> libevince3-3 libgdata11
>   libgnome-media-profiles-3.0-0 libgtk-3-dev libnautilus-extension1a
> libpeas-1.0-0 libpeas-common libpoppler-glib6 libseed-gtk3-0 libtotem0
>   libtracker-sparql-0.10-0 libunique-3.0-0
> The following packages will be upgraded:
>   brasero brasero-common empathy-common evince-common libgdu-gtk0
> libgstreamer-plugins-base0.10-0 libgstreamer-plugins-base0.10-dev
> libnautilus-extension-dev
>   nautilus-data totem-common
> 10 upgraded, 26 newly installed, 4 to remove and 657 not upgraded.
> 19 not fully installed or removed.
> Need to get 4,702 kB/37.3 MB of archives.
> After this operation, 32.0 MB of additional disk space will be used.
> Do you want to continue [Y/n]?
> Get:1 http://debian.mirror.iweb.ca/debian/ unstable/main
> gir1.2-gst-plugins-base-0.10 i386 0.10.35-1 [554 kB]
> Get:2 http://debian.mirror.iweb.ca/debian/ unstable/main
> libgstreamer-plugins-base0.10-dev i386 0.10.35-1 [687 kB]
> Get:3 http://debian.mirror.iweb.ca/debian/ unstable/main
> libgstreamer-plugins-base0.10-0 i386 0.10.35-1 [1,005 kB]
> Get:4 http://debian.mirror.iweb.ca/debian/ unstable/main
> gstreamer0.10-plugins-bad i386 0.10.22-3 [2,456 kB]
> Fetched 4,702 kB in 18s (255 kB/s)
> Retrieving bug reports... Done
> Parsing Found/Fixed information... Done
> serious bugs of gstreamer0.10-gconf (-> 0.10.30-1) <unfixed>
>  #646325 - gstreamer0.10-gconf needs to replace gstreamer0.10-plugins-good
> Summary:
>  gstreamer0.10-gconf(1 bug)
> Are you sure you want to install/upgrade the above packages? [Y/n/?/...]
> Extracting templates from packages: 100%
> Selecting previously unselected package gir1.2-gst-plugins-base-0.10.
> (Reading database ... 315176 files and directories currently installed.)
> Unpacking gir1.2-gst-plugins-base-0.10 (from
> .../gir1.2-gst-plugins-base-0.10_0.10.35-1_i386.deb) ...
> Preparing to replace libgstreamer-plugins-base0.10-dev 0.10.32-2
> (using .../libgstreamer-plugins-base0.10-dev_0.10.35-1_i386.deb) ...
> Unpacking replacement libgstreamer-plugins-base0.10-dev ...
> Preparing to replace libgstreamer-plugins-base0.10-0 0.10.32-2 (using
> .../libgstreamer-plugins-base0.10-0_0.10.35-1_i386.deb) ...
> Unpacking replacement libgstreamer-plugins-base0.10-0 ...
> Unpacking gstreamer0.10-plugins-bad (from
> .../gstreamer0.10-plugins-bad_0.10.22-3_i386.deb) ...
> dpkg: error processing
> /var/cache/apt/archives/gstreamer0.10-plugins-bad_0.10.22-3_i386.deb
> (--unpack):
>  trying to overwrite '/usr/lib/gstreamer-0.10/libgstxvid.so', which is
> also in package gstreamer0.10-plugins-really-bad 0.10.22-0.0
> configured to not write apport reports
>                                       dpkg-deb: error: subprocess
> paste was killed by signal (Broken pipe)
> Selecting previously unselected package gir1.2-gtk-3.0.
> Unpacking gir1.2-gtk-3.0 (from .../gir1.2-gtk-3.0_3.0.12-2_i386.deb) ...
> Selecting previously unselected package gir1.2-nautilus-3.0.
> Unpacking gir1.2-nautilus-3.0 (from
> .../gir1.2-nautilus-3.0_3.0.2-4_i386.deb) ...
> Selecting previously unselected package libgtk-3-dev.
> Unpacking libgtk-3-dev (from .../libgtk-3-dev_3.0.12-2_i386.deb) ...
> Preparing to replace libnautilus-extension-dev 2.30.1-3 (using
> .../libnautilus-extension-dev_3.0.2-4_i386.deb) ...
> Unpacking replacement libnautilus-extension-dev ...
> Errors were encountered while processing:
>  /var/cache/apt/archives/gstreamer0.10-plugins-bad_0.10.22-3_i386.deb
> E: Sub-process /usr/bin/dpkg returned an error code (1)
> 
> I'm now hung up on the 'gstreamer-plugins-really-bad', which also
> wants to take most of gnome with it.

OK, it looks like with the files being rearranged between the gstreamer
plugin packages (without the correct Replaces and Conflicts statements),
it may be simplest to download all of those together and install them
at once with a single dpkg -i command.

So if you get gstreamer-plugins-really-bad gstreamer-plugins-bad and
gstreamer-plugins-really-good with wget and install them at the same time,
that might solve the problem.  Or it might find yet another gstreamer
plugin package that conflicts.

My system currently has:
ii  gstreamer0.10-plugins-bad    0.10.22-3   GStreamer plugins from the "bad" set
ii  gstreamer0.10-plugins-base   0.10.35-1   GStreamer plugins from the "base" set
ii  gstreamer0.10-plugins-good   0.10.30-1   GStreamer plugins from the "good" set
ii  gstreamer0.10-plugins-ugly   0.10.18-3   GStreamer plugins from the "ugly" set

I don't have gstreamer0.10-plugins-really-bad.

-- 
Len Sorensen
--
The Toronto Linux Users Group.      Meetings: http://gtalug.org/
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists





More information about the Legacy mailing list