Removing deb-multimedia from your system

Post your tutorials and howtos here.
User avatar
Arjen Balfoort
Site Admin
Posts: 9258
Joined: 26 Jan 2013 19:36
Location: Netherlands
Contact:

Removing deb-multimedia from your system

Postby Arjen Balfoort » 20 Jul 2014 05:27

The deb-multimedia repository will be removed from the upcoming ISOs.

You may continue to use the multimedia repository, but if you choose to follow the ISOs, you can remove deb-multimedia from a running system by following this tutorial.

All packages from the multimedia repository will be replaced by a version from our Debian repository. Some codec packages are removed (see the "not found" list in the Solydfixes section). However, some packages you installed yourself might not be available in our Debian repository. You either need to find an alternative for those packages, or enable the multimedia repository in /etc/apt/sources.list again for these packages.

Before you continue, please create an image of your current system (e.g.: Clonezilla).

There are two ways of removing the multimedia repository from your system:
  • Using Grizzler's script: solydfixes.
  • With the Update Manager.
Solydfixes
  1. Open a terminal, and run the following commands:

    Code: Select all

    wget http://home.solydxk.com/umfiles/prd/solydfixes
    chmod +x solydfixes
    sudo ./solydfixes -m
    Edit 01-06-2015: with solydfixes 1.8.0 or later, please use:

    Code: Select all

    ./solydfixes dmo
    
  2. When done, make a note of the packages that were not found in the main repository.
    E.g.:

    Code: Select all

    not found in main repositories:
    deb-multimedia-keyring
    ffmpeg
    gstreamer0.10-plugins-really-bad
    libaacplus2
    libavcodec54
    libavdevice55
    libavfilter3
    libavformat54
    libavutil52
    libfdk-aac0
    liblivemedia33
    libswresample0
    libvidstab0.9
    mplayer
    
    If there's something on that list you really need, you either need to find an alternative for those packages, or enable the multimedia repository in /etc/apt/sources.list again for these packages.
  3. Now, finish up with installing some extra codecs:

    Code: Select all

    sudo apt-get install libavcodec-extra-55
If you need to manually select the packages to change, you can use the update manager.

Update Manager
Note: Your system needs to be fully upgraded to follow this part of the tutorial.
  1. Open a terminal, and run the following command:

    Code: Select all

    sudo nano /etc/apt/sources.list
    and comment the line with the multimedia repository (add a "#" at the beginning of the line).
  2. Open the UM's preference window by right-clicking on the UM's system tray icon, and select "Preferences".
  3. In the General tab, uncheck "Hide maintenance", and click the Save button.
  4. You can now close the preferences window, and start the UM by (left) clicking on the system tray icon.
  5. After the UM finished updating the apt cache, click on the Maintenance button.
  6. Select Downgrade, and heed the warning.
  7. Check the list with packages, and select those packages that you want to downgrade.
  8. Click on the Execute button.
  9. If you want to clean up your system, you can repeat the previous three steps to remove unavailable packages.
  10. Now, finish up with installing some extra codecs:

    Code: Select all

    sudo apt-get install libavcodec-extra-55


SolydXK needs you!
Development | Testing | Translations

User avatar
palimmo
Posts: 802
Joined: 19 Nov 2013 19:44
Contact:

Re: Removing deb-multimedia from your system

Postby palimmo » 20 Jul 2014 08:20

Schoelje wrote: [*]Now, finish up with installing some extra codecs:

Code: Select all

sudo apt-get install libavcodec-extra-55
HI Schoelje.
I did the UP a few days ago.
Today I've read this post and therefore

Code: Select all

sudo apt-get install libavcodec-extra-55
[sudo] password for alessio: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  libaudio2:i386 libavahi-client3:i386 libavahi-common-data:i386
  libavahi-common3:i386 libcups2:i386 libgrantlee-core0 libgrantlee-gui0
  libgssapi-krb5-2:i386 libk5crypto3:i386 libkdgantt2-0 libkeyutils1:i386
  libkpgp4 libkrb5-3:i386 libkrb5support0:i386 liblcms1:i386 libmng1:i386
  libqt4-dbus:i386 libqt4-network:i386 libqt4-xml:i386 libqtcore4:i386
  libqtdbus4:i386 libqtgui4:i386 libqtwebkit4:i386 libraw10 libsendlater4
  libsqlite3-0:i386 libvncclient0 libxss1:i386 libxt6:i386
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
  libavcodec-extra-55:i386
The following packages will be REMOVED:
  amarok ark bluedevil browser-plugin-vlc choqok digikam digikam-private-libs
  dolphin ffmpeg ffmpegthumbnailer freespacenotifier gdebi-kde gimp gwenview
  k3b kaddressbook kamera kate katepart kcalc kcharselect kcm-ufw
  kde-baseapps-bin kde-config-gtk-style kde-config-touchpad kde-runtime
  kde-style-oxygen kde-window-manager kde-workspace kde-workspace-bin
  kdebase-runtime kdelibs-bin kdelibs5-plugins kdenetwork-filesharing
  kdepasswd kdepim-runtime kdepimlibs-kio-plugins kdesudo kdf kdm kdoctools
  kfind kget kgpg khelpcenter4 kinfocenter kio-audiocd kio-mtp kipi-plugins
  klipper kmenuedit kmix knotes konsole kopete kppp krdc ksaneplugin kscreen
  kscreensaver kscreensaver-xsavers ksnapshot ksysguard ksystemlog ktorrent
  kuser kvkbd kwalletmanager kwrite libakonadi-calendar4 libakonadi-contact4
  libakonadi-kcal4 libakonadi-kde4 libakonadi-kmime4 libasound2-plugins:i386
  libavcodec55 libavcodec55:i386 libavdevice55 libavfilter4 libavformat55
  libcalendarsupport4 libchromaprint0 libffmpegthumbnailer4 libgegl-0.2-0
  libincidenceeditorsng4 libk3b6 libk3b6-extracodecs libkabc4
  libkactivities-bin libkactivities-models1 libkalarmcal2 libkateinterfaces4
  libkatepartinterfaces4 libkcal4 libkcalutils4 libkcddb4 libkdcraw23
  libkde3support4 libkdepim4 libkdepimdbusinterfaces4 libkdewebkit5
  libkemoticons4 libkfile4 libkgapi2-2 libkhtml5 libkio5 libkipi11 libkleo4
  libkmediaplayer4 libknewstuff2-4 libknewstuff3-4 libknotifyconfig4 libkolab0
  libkonq-common libkonq5abi1 libkontactinterface4 libkopete4 libkparts4
  libkpimidentities4 libkpimtextedit4 libkpimutils4 libkprintutils4
  libktexteditor4 libktnef4 libktorrent-l10n libktorrent5 libkutils4
  libkworkspace4abi2 libkxmlrpcclient4 libmailcommon4 libmailimporter4
  libmailtransport4 libmessagecomposer4 libmessagecore4 libmessageviewer4
  libmicroblog4 libnepomukwidgets4abi1 libokularcore4 libopencv-calib3d2.4
  libopencv-contrib2.4 libopencv-features2d2.4 libopencv-highgui2.4
  libopencv-legacy2.4 libopencv-objdetect2.4 libpimcommon4 libplasma3
  libplasmaclock4abi4 libplasmagenericshell4 libsmokekdecore4-3
  libsmokekdeui4-3 libsmokekfile3 libsmokekhtml3 libsmokekio3
  libsmokeknewstuff2-3 libsmokeknewstuff3-3 libsmokekparts3
  libsmokektexteditor3 libsmokekutils3 libstreamanalyzer0 libsyndication4
  libtaskmanager4abi4 libtemplateparser4 libweather-ion6 minidlna
  mplayerthumbs okular partitionmanager phonon-backend-vlc
  plasma-dataengines-addons plasma-dataengines-workspace plasma-desktop
  plasma-netbook plasma-nm plasma-scriptengine-javascript
  plasma-scriptengine-python plasma-scriptengine-superkaramba
  plasma-widget-folderview plasma-widget-message-indicator
  plasma-widgets-addons plasma-widgets-workspace polkit-kde-1 print-manager
  python-kde4 python-opencv python3-pykde4 qapt-batch quassel-kde4
  rootactions-servicemenu ruby-kde4 skype:i386 systemsettings vlc vlc-nox
  vlc-plugin-notify vlc-plugin-pulse
The following NEW packages will be installed:
  libavcodec-extra-55 libavcodec-extra-55:i386
0 upgraded, 2 newly installed, 195 to remove and 0 not upgraded.
Need to get 6,223 kB of archives.
After this operation, 454 MB disk space will be freed.
Do you want to continue?
:shock:

Should I continue?
Proud user of SolydK!

Dai diamanti non nasce niente, dal letame nascono i fior. http://aquilone.wordpress.com/

User avatar
Arjen Balfoort
Site Admin
Posts: 9258
Joined: 26 Jan 2013 19:36
Location: Netherlands
Contact:

Re: Removing deb-multimedia from your system

Postby Arjen Balfoort » 20 Jul 2014 08:46

:lol: Of course not!
Don't know why that happens (did you run the solydfix script?), and unfortunately, I don't have the time to investigate.


SolydXK needs you!
Development | Testing | Translations

User avatar
palimmo
Posts: 802
Joined: 19 Nov 2013 19:44
Contact:

Re: Removing deb-multimedia from your system

Postby palimmo » 20 Jul 2014 09:42

Schoelje wrote::lol: Of course not!
Don't know why that happens (did you run the solydfix script?), and unfortunately, I don't have the time to investigate.
Yes, I ran the solydfix script and it seems that it worked.
But I have to highlight that the entire UP process went not flawlessly.
Proud user of SolydK!

Dai diamanti non nasce niente, dal letame nascono i fior. http://aquilone.wordpress.com/

User avatar
jdhedden
Posts: 106
Joined: 26 Aug 2013 11:34
Location: Gibbstown, NJ
Contact:

Re: Removing deb-multimedia from your system

Postby jdhedden » 20 Jul 2014 16:22

Schoelje wrote: [*]Now, finish up with installing some extra codecs:

Code: Select all

sudo apt-get install libavcodec-extra-55
The trouble is "This package [libavcodec-extra-55] is a replacement for the regular libavcodec55 library package." https://packages.debian.org/sid/libavcodec-extra-55
When you attempt to install the libavcodec-extra-55 it first wants to remove libavcodec55 which cascades to removing audacity, vlc and more.
Is there a way to replace libavcodec55 with libavcodec-extra-55 without all there other packages getting removed in the interim?
Jerry : SolydX / Siduction / Liquorix Kernel / Dell XPS 8700 / NVIDIA GeForce GT 635

User avatar
grizzler
Posts: 2160
Joined: 04 Mar 2013 15:45
Location: The Hague, NL

Re: Removing deb-multimedia from your system

Postby grizzler » 20 Jul 2014 18:16

Version 1.6.0 of the script automatically installs libavcodec-extra-55. When I ran it, it didn't remove anything, claiming I told it it shouldn't. That's nice, of course, but I did no such thing (I ran it without any extra options, so there was no --force-depends for dpkg). This means there must be a logic error in the script somewhere*), which is why I haven't made this version available yet. Working on it...

*) Unless dpkg still remembered the --force-depends it got earlier on in the process, but I would find that weird (weird dpkg behaviour... now where did I see that before...?).

Edit 22-07: quick addition because I won't be able to spend much time on any programming related stuff until at least mid August...

Checked everything, no logic error, works as it should.
If all the deb-multimedia.org packages are really gone by the time you try to install libavcodec-extra-55, all it will remove is libavcodec55. As kurotsugi mentioned, if it wants to remove more, you haven't un-dmo-ed properly.

I'll try to make version 1.6.0 of the script available later today.
Frank

SolydX EE 64 - tracking Debian Testing

kurotsugi
Posts: 2226
Joined: 09 Jan 2014 00:17

Re: Removing deb-multimedia from your system

Postby kurotsugi » 20 Jul 2014 19:27

When you attempt to install the libavcodec-extra-55 it first wants to remove libavcodec55 which cascades to removing audacity, vlc and more.
Is there a way to replace libavcodec55 with libavcodec-extra-55 without all there other packages getting removed in the interim?
AFAIK if libavcodec-extra-xx want to remove lots of stuff it means that your system isn't deb-multimedia free yet. you can check it by 'dpkg -l |grep dm'. if you still see some DMO stuff installed in your system then please try the manual method.

User avatar
Snap
Posts: 1244
Joined: 25 Aug 2013 20:01
Location: Spain

Re: Removing deb-multimedia from your system

Postby Snap » 07 Aug 2014 10:02

Had to use the the manual method to remove the dmo packages, and apparently it went right, but at some point ffmpeg was pulled. I have dependencies and libraries but not ffmpeg itself, so I cannot play (amongst other things) HD Youtube videos anymore. I had to reinstall x264 (had gone too), but it seems it needs ffmpeg to work.

How to get ffmpeg back in?
This likely means that your installation is broken. -Mr Pixbuf.

Image

User avatar
Arjen Balfoort
Site Admin
Posts: 9258
Joined: 26 Jan 2013 19:36
Location: Netherlands
Contact:

Re: Removing deb-multimedia from your system

Postby Arjen Balfoort » 07 Aug 2014 12:44

I watched this: http://www.youtube.com/watch?v=TLyk00gFPdQ at 1080p.
I don't have ffmpeg installed, but I have libavcodec-extra-55 installed.
I don't know if that one is responsible for me being able to watch the trailer, but you could check if you have that package installed.


SolydXK needs you!
Development | Testing | Translations

User avatar
Snap
Posts: 1244
Joined: 25 Aug 2013 20:01
Location: Spain

Re: Removing deb-multimedia from your system

Postby Snap » 07 Aug 2014 18:14

Yes. I installed libavcodec-extra-55 as the last step of the process. I can only see that clip in 360p. Like before installing x264 the first time right after installing SolydK. But now H.264 is displayed as not supported here:

https://www.youtube.com/html5

Any ideas to try?
This likely means that your installation is broken. -Mr Pixbuf.

Image

User avatar
Arjen Balfoort
Site Admin
Posts: 9258
Joined: 26 Jan 2013 19:36
Location: Netherlands
Contact:

Re: Removing deb-multimedia from your system

Postby Arjen Balfoort » 07 Aug 2014 20:36

I have no idea, just guessing here.
Do you have either w32codecs, or w64codecs installed.

Btw, H.264 is not supported either for me, but still I have no problems playing HD.

[EDIT]
If I use the HTML5 settings, I get the same as you: no HD. Reverting back to the default player, and I have HD back again.
Check if you have these installed:

Code: Select all

$ apt search vlc | grep ^i | awk '{print $2}'
browser-plugin-vlc
libvlc5
libvlccore7
phonon-backend-vlc
vlc
vlc-data
vlc-nox
vlc-plugin-notify
vlc-plugin-pulse


SolydXK needs you!
Development | Testing | Translations

User avatar
Snap
Posts: 1244
Joined: 25 Aug 2013 20:01
Location: Spain

Re: Removing deb-multimedia from your system

Postby Snap » 08 Aug 2014 07:39

Btw, H.264 is not supported either for me, but still I have no problems playing HD.
Really? Wow, that's new. I always had to get h.264 enabled to make HD work in every distro. And it was not always easy to get it working.
If I use the HTML5 settings, I get the same as you: no HD. Reverting back to the default player, and I have HD back again.
Without flash? :roll:

Gonna check the installed packages.
This likely means that your installation is broken. -Mr Pixbuf.

Image

User avatar
Snap
Posts: 1244
Joined: 25 Aug 2013 20:01
Location: Spain

Re: Removing deb-multimedia from your system

Postby Snap » 08 Aug 2014 07:53

Ok. some packages were missing. I installed them and reverted to youtube default player. Now HD works, but with flash enabled. I don't want that.

Gonna try to install x264 again and enabling the html5 player.
This likely means that your installation is broken. -Mr Pixbuf.

Image

User avatar
Snap
Posts: 1244
Joined: 25 Aug 2013 20:01
Location: Spain

Re: Removing deb-multimedia from your system

Postby Snap » 08 Aug 2014 07:58

No luck. x264 installed but no HD with the html5 player. I wonder what other packages were removed that broke this feature.

I'll provisionally revert to flash for now, though I don't like this solution at all.
This likely means that your installation is broken. -Mr Pixbuf.

Image

User avatar
Snap
Posts: 1244
Joined: 25 Aug 2013 20:01
Location: Spain

Re: Removing deb-multimedia from your system

Postby Snap » 11 Aug 2014 15:06

It seems that it's a problem with gstreamer0.10-ffmpeg. Since ffmpeg is now gone from Debian and some related packages along with it (gstreamer0.10-ffmpeg included) the h.264 format is not supported in Iceweasel or Firefox (besides having the needed x264 package installed and gstreamer enabled in Firefox). At this point, without the multimedia repos, the only solution is reverting to the crap and insecure flash plugin or adding some bloat. ie, installing Chrome... :evil:
This likely means that your installation is broken. -Mr Pixbuf.

Image


Return to “Tutorials”

Who is online

Users browsing this forum: No registered users and 1 guest