[ubuntu-za] kdenlive sound fix wants to remove half my system

David Robert Lewis (ethnopunk) ethnopunk at telkomsa.net
Tue Mar 16 12:33:22 GMT 2010



David Robert Lewis (ethnopunk) wrote:
> Wesley Werner wrote:
>   
>> Hi again.
>>
>> While fixing a dosbox sound issue while playing Doom, I discovered the 
>> trick! In my case I was using libsdl1.2debian-alsa and had to switch 
>> over to OSS. The package deps are linked, that installing one (-all, 
>> -alsa, -oss) will remove the currently installed one for you.
>>
>> apt-get install libsdl1.2debian-all
>>
>> That will install -all and prompt to remove your current OSS package, 
>> without removing all linked apps.
>>
>> Funny thing is, after I switched to OSS, Kdenlive's audio works too!
>>
>>
>> On Sat, Mar 6, 2010 at 7:29 PM, Wesley Werner <wesley.werner at gmail.com 
>> <mailto:wesley.werner at gmail.com>> wrote:
>>
>>      
>>
>>         > Have a look at this thread
>>         >
>>         <http://www.linuxquestions.org/questions/debian-26/apt-get-remove-and-dependencies-183772/>,
>>         > seems like you can force a remove and ignore dependencies,
>>         Ill see
>>         > what other info is around...
>>         >
>>         > Regards, Wez
>>
>>         Hi Wez,
>>
>>         Thanks for the information. Thought I was the only one. Glad
>>         to know it
>>         not just me. Will take a look at the thread. yay.
>>
>>         David.
>>
>>      
>>     Digging deeper, I found the thread suggests commands that were
>>     obsoleted, and not so sure they exist anymore :/
>>
>>     I did find that dpkg has some force options, basically it turns
>>     dependency checks into warnings, so in theory they should not be
>>     processed. man dpkg and search 'force-things'.
>>
>>     dpkg --force-help also gives the manpage summary of the force
>>     options, it seems like a pretty vast section of package manager, i
>>     havent tried any of them just yet.
>>
>>     dpkg also has a --simulate option which could be useful here ;)
>>
>>
>>
>>     
>
>
> Not sure if I'm following you. Doing this merely reproduces the problem:
>
> apt-get install libsdl1.2debian-all
>
> <snip>
>
> The following packages will be REMOVED:
>   acidrip adanaxisgpl airstrike akregator alien-arena alien-arena-browser
>
>   
<snip>

Okay, finally plucked up enough courage to do this rather complicated 
manouvre.

sudo dpkg -P --force-depends libsdl1.2debian



Result is success:

[CODE]sudo dpkg -P --force-depends libsdl1.2debian
dpkg: libsdl1.2debian: dependency problems, but removing anyway as you 
requested:
 dosbox depends on libsdl1.2debian (>= 1.2.10-1).
 sauerbraten depends on libsdl1.2debian (>= 1.2.10-1).
 transcode depends on libsdl1.2debian (>= 1.2.10-1); however:
  Package libsdl1.2debian is to be removed.
 bloboats depends on libsdl1.2debian (>= 1.2.10-1).
 lmms depends on libsdl1.2debian (>= 1.2.10-1).
 hedgewars depends on libsdl1.2debian (>= 1.2.10-1).
 tremulous depends on libsdl1.2debian (>= 1.2.10-1).
 lincity-ng depends on libsdl1.2debian (>= 1.2.10-1); however:
  Package libsdl1.2debian is to be removed.
 libsdl-pango1 depends on libsdl1.2debian (>= 1.2.10-1).
 uqm depends on libsdl1.2debian (>= 1.2.10-1).
 libsdl-perl depends on libsdl1.2debian (>= 1.2.10-1); however:
  Package libsdl1.2debian is to be removed.
 mplayer depends on libsdl1.2debian (>= 1.2.10-1); however:
  Package libsdl1.2debian is to be removed.
 vlc depends on libsdl1.2debian (>= 1.2.10-1); however:
  Package libsdl1.2debian is to be removed.
 xbmc-bin depends on libsdl1.2debian (>= 1.2.10-1).
 libmjpegtools-1.9 depends on libsdl1.2debian (>= 1.2.10-1).
 sdl-ball depends on libsdl1.2debian (>= 1.2.10-1).
 virtualbox-3.1 depends on libsdl1.2debian (>= 1.2.10-1).
 python-pygame depends on libsdl1.2debian (>= 1.2.10-1).
 avidemux depends on libsdl1.2debian (>= 1.2.10-1).
 libsdl-console depends on libsdl1.2debian (>= 1.2.10-1).
 python-pykaraoke depends on libsdl1.2debian (>= 1.2.10-1).
 libxine1-x depends on libsdl1.2debian (>= 1.2.10-1).
 linphone depends on libsdl1.2debian (>= 1.2.10-1); however:
  Package libsdl1.2debian is to be removed.
 frozen-bubble depends on libsdl1.2debian (>= 1.2.10-1); however:
  Package libsdl1.2debian is to be removed.
 adanaxisgpl depends on libsdl1.2debian (>= 1.2.10-1).
 openarena depends on libsdl1.2debian (>= 1.2.10-1).
 libmediastreamer0 depends on libsdl1.2debian (>= 1.2.10-1); however:
  Package libsdl1.2debian is to be removed.
 libsdl-ttf2.0-0 depends on libsdl1.2debian (>= 1.2.10-1).
 maelstrom depends on libsdl1.2debian (>= 1.2.10-1).
 libtheora-bin depends on libsdl1.2debian (>= 1.2.10-1).
 blobwars depends on libsdl1.2debian (>= 1.2.10-1).
 pearpc depends on libsdl1.2debian (>= 1.2.10-1).
 libopal3.6.4 depends on libsdl1.2debian (>= 1.2.10-1).
 vegastrike depends on libsdl1.2debian (>= 1.2.10-1).
 libsmpeg0 depends on libsdl1.2debian (>= 1.2.10-1).
 libsdl-mixer1.2 depends on libsdl1.2debian (>= 1.2.10-1).
 alienblaster depends on libsdl1.2debian (>= 1.2.10-1).
 desmume depends on libsdl1.2debian (>= 1.2.10-1).
 libsdl-gfx1.2-4 depends on libsdl1.2debian (>= 1.2.10-1).
 mazeofgalious depends on libsdl1.2debian (>= 1.2.10-1).
 blender depends on libsdl1.2debian (>= 1.2.10-1); however:
  Package libsdl1.2debian is to be removed.
 extremetuxracer depends on libsdl1.2debian (>= 1.2.10-1).
 libmlt1 depends on libsdl1.2debian (>= 1.2.10-1); however:
  Package libsdl1.2debian is to be removed.
 glest depends on libsdl1.2debian (>= 1.2.10-1).
 fceu depends on libsdl1.2debian (>= 1.2.10-1).
 blobandconquer depends on libsdl1.2debian (>= 1.2.10-1).
 airstrike depends on libsdl1.2debian (>= 1.2.10-1).
 xmame-sdl depends on libsdl1.2debian (>= 1.2.10-1).
 blocks-of-the-undead depends on libsdl1.2debian (>= 1.2.10-1).
 eternallands depends on libsdl1.2debian (>= 1.2.10-1).
 xmoto depends on libsdl1.2debian (>= 1.2.10-1).
 zsnes depends on libsdl1.2debian (>= 1.2.10-1).
 gstreamer0.10-sdl depends on libsdl1.2debian (>= 1.2.10-1).
 libpt2.6.4 depends on libsdl1.2debian (>= 1.2.10-1).
 freedroid depends on libsdl1.2debian (>= 1.2.10-1).
 widelands depends on libsdl1.2debian (>= 1.2.10-1).
 dosemu depends on libsdl1.2debian (>= 1.2.10-1).
 ffmpeg depends on libsdl1.2debian (>= 1.2.10-1); however:
  Package libsdl1.2debian is to be removed.
 qemu-kvm depends on libsdl1.2debian (>= 1.2.10-1).
 libsdl-image1.2 depends on libsdl1.2debian (>> 1.2.4).
 alien-arena depends on libsdl1.2debian (>= 1.2.10-1).
 amphetamine depends on libsdl1.2debian (>= 1.2.10-1).
 libsdl-net1.2 depends on libsdl1.2debian (>= 1.2.10-1).
 mplayer-nogui depends on libsdl1.2debian (>= 1.2.10-1); however:
  Package libsdl1.2debian is to be removed.
 lives depends on libsdl1.2debian (>= 1.2.10-1).
 rott depends on libsdl1.2debian (>= 1.2.10-1).
 hatari depends on libsdl1.2debian (>= 1.2.10-1).
 basilisk2 depends on libsdl1.2debian (>= 1.2.10-1); however:
  Package libsdl1.2debian is to be removed.
 avidemux-plugins-common depends on libsdl1.2debian (>= 1.2.10-1).
 atari800 depends on libsdl1.2debian (>= 1.2.10-1).
 libsdl-sound1.2 depends on libsdl1.2debian (>= 1.2.10-1).
 dreamchess depends on libsdl1.2debian (>= 1.2.10-1).
 mjpegtools depends on libsdl1.2debian (>= 1.2.10-1).
 scorched3d depends on libsdl1.2debian (>= 1.2.10-1).
 libgegl-0.0-0 depends on libsdl1.2debian (>= 1.2.10-1).
 prboom depends on libsdl1.2debian (>= 1.2.10-1).
 libsdl1.2-dev depends on libsdl1.2debian (= 
1.2.13-5ubuntu1~~karmic~ubuntuaudiodev1).
 powermanga depends on libsdl1.2debian (>= 1.2.10-1).
 nexuiz depends on libsdl1.2debian (>= 1.2.10-1).
 grafx2 depends on libsdl1.2debian (>= 1.2.10-1).
(Reading database ... 352103 files and directories currently installed.)
Removing libsdl1.2debian ...
[/CODE]


followed by:

[CODE]
install libsdl1.2debian-all
Reading package lists... Done
Building dependency tree      
Reading state information... Done
Reading extended state information     
Initializing package states... Done
Writing extended state information... Done
The following packages are BROKEN:
  adanaxisgpl airstrike alien-arena alienblaster amphetamine atari800
  avidemux avidemux-plugins-common basilisk2 blender blobandconquer
  bloboats blobwars blocks-of-the-undead desmume dosbox dosemu dreamchess
  eternallands extremetuxracer fceu ffmpeg freedroid frozen-bubble glest
  grafx2 gstreamer0.10-sdl hatari hedgewars libgegl-0.0-0 libmediastreamer0
  libmjpegtools-1.9 libmlt1 libopal3.6.4 libpt2.6.4 libsdl-console
  libsdl-gfx1.2-4 libsdl-image1.2 libsdl-mixer1.2 libsdl-net1.2
  libsdl-pango1 libsdl-perl libsdl-sound1.2 libsdl-ttf2.0-0 libsdl1.2-dev
  libsdl1.2debian-pulseaudio libsmpeg0 libtheora-bin libxine1-x lincity-ng
  linphone lives lmms maelstrom mazeofgalious mjpegtools mplayer
  mplayer-nogui nexuiz openarena pearpc powermanga prboom python-pygame
  python-pykaraoke qemu-kvm rott sauerbraten scorched3d sdl-ball transcode
  tremulous uqm vegastrike virtualbox-3.1 vlc widelands xbmc-bin xmame-sdl
  xmoto zsnes
The following NEW packages will be installed:
  libsdl1.2debian-all
0 packages upgraded, 1 newly installed, 0 to remove and 50 not upgraded.
Need to get 229kB of archives. After unpacking 561kB will be used.
The following packages have unmet dependencies:
  widelands: Depends: libsdl1.2debian (>= 1.2.10-1) but it is not 
installable
  mazeofgalious: Depends: libsdl1.2debian (>= 1.2.10-1) but it is not 
installable
  amphetamine: Depends: libsdl1.2debian (>= 1.2.10-1) but it is not 
installable
  lmms: Depends: libsdl1.2debian (>= 1.2.10-1) but it is not installable
  libtheora-bin: Depends: libsdl1.2debian (>= 1.2.10-1) but it is not 
installable
  blobandconquer: Depends: libsdl1.2debian (>= 1.2.10-1) but it is not 
installable
  libsdl1.2debian-pulseaudio: Conflicts: libsdl1.2-all which is a 
virtual package.
                              Conflicts: libsdl1.2debian-all but 
1.2.13-4ubuntu4 is to be installed.
  libxine1-x: Depends: libsdl1.2debian (>= 1.2.10-1) but it is not 
installable
  libgegl-0.0-0: Depends: libsdl1.2debian (>= 1.2.10-1) but it is not 
installable
  libsdl1.2-dev: Depends: libsdl1.2debian (= 
1.2.13-5ubuntu1~~karmic~ubuntuaudiodev1) but it is not installable
  libsdl-console: Depends: libsdl1.2debian (>= 1.2.10-1) but it is not 
installable
  tremulous: Depends: libsdl1.2debian (>= 1.2.10-1) but it is not 
installable
  blocks-of-the-undead: Depends: libsdl1.2debian (>= 1.2.10-1) but it is 
not installable
  lives: Depends: libsdl1.2debian (>= 1.2.10-1) but it is not installable
  libsdl-gfx1.2-4: Depends: libsdl1.2debian (>= 1.2.10-1) but it is not 
installable
  vegastrike: Depends: libsdl1.2debian (>= 1.2.10-1) but it is not 
installable
  blobwars: Depends: libsdl1.2debian (>= 1.2.10-1) but it is not installable
  avidemux: Depends: libsdl1.2debian (>= 1.2.10-1) but it is not installable
  python-pygame: Depends: libsdl1.2debian (>= 1.2.10-1) but it is not 
installable
  eternallands: Depends: libsdl1.2debian (>= 1.2.10-1) but it is not 
installable
  avidemux-plugins-common: Depends: libsdl1.2debian (>= 1.2.10-1) but it 
is not installable
  mplayer: Depends: libsdl1.2debian (>= 1.2.10-1) but it is not installable
  alienblaster: Depends: libsdl1.2debian (>= 1.2.10-1) but it is not 
installable
  alien-arena: Depends: libsdl1.2debian (>= 1.2.10-1) but it is not 
installable
  freedroid: Depends: libsdl1.2debian (>= 1.2.10-1) but it is not 
installable
  maelstrom: Depends: libsdl1.2debian (>= 1.2.10-1) but it is not 
installable
  virtualbox-3.1: Depends: libsdl1.2debian (>= 1.2.10-1) but it is not 
installable
  hatari: Depends: libsdl1.2debian (>= 1.2.10-1) but it is not installable
  libsdl-net1.2: Depends: libsdl1.2debian (>= 1.2.10-1) but it is not 
installable
  basilisk2: Depends: libsdl1.2debian (>= 1.2.10-1) but it is not 
installable
  extremetuxracer: Depends: libsdl1.2debian (>= 1.2.10-1) but it is not 
installable
  python-pykaraoke: Depends: libsdl1.2debian (>= 1.2.10-1) but it is not 
installable
  libopal3.6.4: Depends: libsdl1.2debian (>= 1.2.10-1) but it is not 
installable
  rott: Depends: libsdl1.2debian (>= 1.2.10-1) but it is not installable
  scorched3d: Depends: libsdl1.2debian (>= 1.2.10-1) but it is not 
installable
  prboom: Depends: libsdl1.2debian (>= 1.2.10-1) but it is not installable
  libsdl-sound1.2: Depends: libsdl1.2debian (>= 1.2.10-1) but it is not 
installable
  powermanga: Depends: libsdl1.2debian (>= 1.2.10-1) but it is not 
installable
  hedgewars: Depends: libsdl1.2debian (>= 1.2.10-1) but it is not 
installable
  linphone: Depends: libsdl1.2debian (>= 1.2.10-1) but it is not installable
  openarena: Depends: libsdl1.2debian (>= 1.2.10-1) but it is not 
installable
  qemu-kvm: Depends: libsdl1.2debian (>= 1.2.10-1) but it is not installable
  airstrike: Depends: libsdl1.2debian (>= 1.2.10-1) but it is not 
installable
  libsdl-ttf2.0-0: Depends: libsdl1.2debian (>= 1.2.10-1) but it is not 
installable
  dosbox: Depends: libsdl1.2debian (>= 1.2.10-1) but it is not installable
  adanaxisgpl: Depends: libsdl1.2debian (>= 1.2.10-1) but it is not 
installable
  desmume: Depends: libsdl1.2debian (>= 1.2.10-1) but it is not installable
  xbmc-bin: Depends: libsdl1.2debian (>= 1.2.10-1) but it is not installable
  pearpc: Depends: libsdl1.2debian (>= 1.2.10-1) but it is not installable
  fceu: Depends: libsdl1.2debian (>= 1.2.10-1) but it is not installable
  dosemu: Depends: libsdl1.2debian (>= 1.2.10-1) but it is not installable
  ffmpeg: Depends: libsdl1.2debian (>= 1.2.10-1) but it is not installable
  libsdl-pango1: Depends: libsdl1.2debian (>= 1.2.10-1) but it is not 
installable
  transcode: Depends: libsdl1.2debian (>= 1.2.10-1) but it is not 
installable
  sdl-ball: Depends: libsdl1.2debian (>= 1.2.10-1) but it is not installable
  sauerbraten: Depends: libsdl1.2debian (>= 1.2.10-1) but it is not 
installable
  glest: Depends: libsdl1.2debian (>= 1.2.10-1) but it is not installable
  vlc: Depends: libsdl1.2debian (>= 1.2.10-1) but it is not installable
  uqm: Depends: libsdl1.2debian (>= 1.2.10-1) but it is not installable
  bloboats: Depends: libsdl1.2debian (>= 1.2.10-1) but it is not installable
  libsdl-perl: Depends: libsdl1.2debian (>= 1.2.10-1) but it is not 
installable
  libsdl-mixer1.2: Depends: libsdl1.2debian (>= 1.2.10-1) but it is not 
installable
  libpt2.6.4: Depends: libsdl1.2debian (>= 1.2.10-1) but it is not 
installable
  blender: Depends: libsdl1.2debian (>= 1.2.10-1) but it is not installable
  dreamchess: Depends: libsdl1.2debian (>= 1.2.10-1) but it is not 
installable
  libmediastreamer0: Depends: libsdl1.2debian (>= 1.2.10-1) but it is 
not installable
  mjpegtools: Depends: libsdl1.2debian (>= 1.2.10-1) but it is not 
installable
  libmjpegtools-1.9: Depends: libsdl1.2debian (>= 1.2.10-1) but it is 
not installable
  zsnes: Depends: libsdl1.2debian (>= 1.2.10-1) but it is not installable
  frozen-bubble: Depends: libsdl1.2debian (>= 1.2.10-1) but it is not 
installable
  grafx2: Depends: libsdl1.2debian (>= 1.2.10-1) but it is not installable
  gstreamer0.10-sdl: Depends: libsdl1.2debian (>= 1.2.10-1) but it is 
not installable
  xmame-sdl: Depends: libsdl1.2debian (>= 1.2.10-1) but it is not 
installable
  mplayer-nogui: Depends: libsdl1.2debian (>= 1.2.10-1) but it is not 
installable
  lincity-ng: Depends: libsdl1.2debian (>= 1.2.10-1) but it is not 
installable
  xmoto: Depends: libsdl1.2debian (>= 1.2.10-1) but it is not installable
  atari800: Depends: libsdl1.2debian (>= 1.2.10-1) but it is not installable
  libmlt1: Depends: libsdl1.2debian (>= 1.2.10-1) but it is not installable
  nexuiz: Depends: libsdl1.2debian (>= 1.2.10-1) but it is not installable
  libsdl-image1.2: Depends: libsdl1.2debian (> 1.2.4) but it is not 
installable
  libsmpeg0: Depends: libsdl1.2debian (>= 1.2.10-1) but it is not 
installable
The following actions will resolve these dependencies:

Remove the following packages:
libsdl1.2debian-pulseaudio

Install the following packages:
libsdl1.2debian [1.2.13-4ubuntu4 (karmic)]

Downgrade the following packages:
libsdl1.2-dev [1.2.13-5ubuntu1~~karmic~ubuntuaudiodev1 (now) -> 
1.2.13-4ubuntu4
(karmic)]

Score is 142

Accept this solution? [Y/n/q/?] y
The following packages will be DOWNGRADED:
  libsdl1.2-dev
The following NEW packages will be installed:
  libsdl1.2debian{a} libsdl1.2debian-all
The following packages will be REMOVED:
  libsdl1.2debian-pulseaudio{a}
0 packages upgraded, 2 newly installed, 1 downgraded, 1 to remove and 50 
not upgraded.
Need to get 1,102kB of archives. After unpacking 152kB will be used.
Do you want to continue? [Y/n/?] y
WARNING: untrusted versions of the following packages will be installed!

Untrusted packages could compromise your system's security.
You should only proceed with the installation if you are certain that
this is what you want to do.

  libsdl1.2debian libsdl1.2-dev libsdl1.2debian-all

Do you want to ignore this warning and proceed anyway?
To continue, enter "Yes"; to abort, enter "No": yes
Writing extended state information... Done
Get:1 http://ubuntu.saix.net karmic/main libsdl1.2debian-all 
1.2.13-4ubuntu4 [229kB]
Get:2 http://ubuntu.saix.net karmic/main libsdl1.2-dev 1.2.13-4ubuntu4 
[852kB] 
Get:3 http://ubuntu.saix.net karmic/main libsdl1.2debian 1.2.13-4ubuntu4 
[21.8kB]
Fetched 1,102kB in 2min 18s 
(7,952B/s)                                         
dpkg: libsdl1.2debian-pulseaudio: dependency problems, but removing 
anyway as you requested:
 python-mlt depends on libsdl1.2debian-pulseaudio | libsdl1.2debian-all; 
however:
  Package libsdl1.2debian-pulseaudio is to be removed.
  Package libsdl1.2debian-all is not installed.
(Reading database ... 352096 files and directories currently installed.)
Removing libsdl1.2debian-pulseaudio ...
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
Selecting previously deselected package libsdl1.2debian-all.
(Reading database ... 352089 files and directories currently installed.)
Unpacking libsdl1.2debian-all (from 
.../libsdl1.2debian-all_1.2.13-4ubuntu4_i386.deb) ...
dpkg: warning: downgrading libsdl1.2-dev from 
1.2.13-5ubuntu1~~karmic~ubuntuaudiodev1 to 1.2.13-4ubuntu4.
Preparing to replace libsdl1.2-dev 
1.2.13-5ubuntu1~~karmic~ubuntuaudiodev1 (using 
.../libsdl1.2-dev_1.2.13-4ubuntu4_i386.deb) ...
Unpacking replacement libsdl1.2-dev ...
Selecting previously deselected package libsdl1.2debian.
Unpacking libsdl1.2debian (from 
.../libsdl1.2debian_1.2.13-4ubuntu4_i386.deb) ...
Processing triggers for doc-base ...
Processing 1 changed doc-base file(s)...
Registering documents with scrollkeeper...
Processing triggers for man-db ...
Setting up libsdl1.2debian-all (1.2.13-4ubuntu4) ...

Setting up libsdl1.2debian (1.2.13-4ubuntu4) ...
Setting up libsdl1.2-dev (1.2.13-4ubuntu4) ...
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
Reading package lists... Done            
Building dependency tree      
Reading state information... Done
Reading extended state information      
Initializing package states... Done
Writing extended state information... Done

Current status: 0 broken [-80].
[/CODE]


KDEnlive sound is now working, yay.




More information about the ubuntu-za mailing list