Welcome to the Linux Foundation Forum!

Install ffmpeg... Only to Uninstall gnome?

I am attempting to install ffmpeg via Terminal but I keep coming across messages stating the removal of gnome from my system. I need ffmpeg in order to convert videos via the command line but I am worried about accidentally destroying my laptop. My system is running the x86_64 version of Debian GNU/Linux Squeeze.

If I install ffmpeg and remove gnome, what will happen?

Thank you to anyone who can answer this question!

Welcome!

It looks like you're new here. Sign in or register to get started.
Sign In

Comments

  • Posts: 2,177
    I have installed ffmpeg on many systems and cannot determine what dependency may be causing a conflict that may require removal of gnome components. Can you please share the messages stating that gnome must be removed and anything that may point to the cause.
  • Posts: 647
    What do you use to install it?

    What repositories do you have enabled?

    What's the message that tells you to uninstall gnome?

    Regards
  • Posts: 2,177
    I have been installing it on Slackware, which means that I have been having to deal with all dependencies manually. The dependency list (http://slackbuilds.org/repository/13.1/multimedia/ffmpeg/) if just a bunch of audio and video libraries. I have not experienced any issues with those libraries in relation to the KDE or GTK core files.

    I just don't see any reason for it to force removal of a window manager, which is why I would like to see the error message. The dependency list for the app may have invalid entries or you may be misreading the message.

    If I have to, I will install debian in a vm to test it for you but I want to see what is being stated first.
  • Posts: 216
    Then you'll have to use KDE, bleah!

    Gnome is a Graphical desktop environment. Chances are, you want it, or some subset of it. I don't know much about Debian, but in general, it sounds like you are having dependency issues. How exactly are you trying to install the ffmpeg software? Sometimes when I get into dependency hell, I have to resort to installing the package manually (from a source tarball, etc.).
  • Posts: 647
    atreyu wrote:
    Sometimes when I get into dependency hell, I have to resort to installing the package manually (from a source tarball, etc.).

    That means you did something wrong. The further you get into installing programs from source and mixing it with the use of the package manager the more problems you'll get.

    Use the right tool for the right job:

    Install software <-> package manager!!!

    The thing is that if there's a dependency problem you should *solve* it rather than workaround it.

    Regards
  • marc wrote:
    What do you use to install it?

    What repositories do you have enabled?

    What's the message that tells you to uninstall gnome?

    Regards

    Software Sources:
    http://ftp.us.debian.org/debian/ squeeze-updates main
    http://ftp.us.debian.org/debian/ squeeze-updates main (Source Code)
    http://debian-multimedia.fx-services.com/ stable main
    http://ftp.de.debian.org/debian/ squeeze-updates main contrib non-free

    Here is a print out from my terminal:
    1. timothy@TheBatComputer:/$ su
    2. Password:
    3. root@TheBatComputer:/# apt-get install ffmpeg
    4. Reading package lists... Done
    5. Building dependency tree
    6. Reading state information... Done
    7. The following packages were automatically installed and are no longer required:
    8. libwpd8c2a libreoffice-gnome gtk2-engines-smooth tomboy
    9. libmono-security2.0-cil libgsf-1-common update-notifier-common
    10. libndesk-dbus1.0-cil libmono-addins-gui0.2-cil pnm2ppa libaiksaurus-1.2-data
    11. libhal-storage1 libmono-system2.0-cil update-notifier
    12. link-grammar-dictionaries-en gdebi libots0 libgnomepanel2.24-cil
    13. libmono-corlib2.0-cil cli-common bsh-gcj libmono-cairo2.0-cil libgexiv2-0
    14. libndesk-dbus-glib1.0-cil gnome-themes-extras evolution-exchange
    15. abiword-common transmission-gtk libmono-i18n-west2.0-cil
    16. update-manager-gnome libwps-0.1-1 gdebi-core libgoffice-0.8-8-common
    17. software-center libmono-posix2.0-cil mono-runtime librasqal2
    18. libmono-addins0.2-cil libgnome2.24-cil transmission-common
    19. gnome-codec-install shotwell libhsqldb-java-gcj update-manager-core
    20. libgoffice-0.8-8 libreoffice-gtk simple-scan python-aptdaemon
    21. liblink-grammar4 libpango1.0-common libgee2 bsh epiphany-extensions
    22. binfmt-support libwv-1.2-3 libgnome-vfs2.0-cil libgdome2-0 mono-gac
    23. python-vte libmatroska0 libaiksaurusgtk-1.2-0c2a libglade2.0-cil
    24. libgsf-1-114 lm-sensors libart2.0-cil aptdaemon libglib2.0-cil mono-2.0-gac
    25. libgtkmathview0c2a libgconf2.0-cil python-aptdaemon-gtk fancontrol
    26. libmono-sharpzip2.84-cil gedit-plugins liferea gnome-themes-more
    27. foomatic-filters-ppds foomatic-db libeggdbus-1-0 libraptor1 liferea-data
    28. libwpg-0.1-1 libaiksaurus-1.2-0c2a libabiword-2.8 libgtk2.0-cil
    29. libloudmouth1-0 totem-mozilla min12xxw openoffice.org-gnome
    30. rhythmbox-plugin-cdrecorder libebml0 libgmime2.4-cil libxcb-render-util0
    31. libgdome2-cpp-smart0c2a
    32. Use 'apt-get autoremove' to remove them.
    33. The following extra packages will be installed:
    34. libavcodec52 libavcore0 libavdevice52 libavfilter1 libavformat52 libavutil50
    35. libfaac0 libmp3lame0 libpostproc51 libswscale0 libx264-112 libxvidcore4
    36. Suggested packages:
    37. nvidia-libvdpau1
    38. The following packages will be REMOVED:
    39. gnome gstreamer0.10-ffmpeg
    40. The following NEW packages will be installed:
    41. ffmpeg libavcore0 libavdevice52 libavfilter1 libfaac0 libmp3lame0
    42. libx264-112 libxvidcore4
    43. The following packages will be upgraded:
    44. libavcodec52 libavformat52 libavutil50 libpostproc51 libswscale0
    45. 5 upgraded, 8 newly installed, 2 to remove and 0 not upgraded.
    46. Need to get 4,774 kB of archives.
    47. After this operation, 4,534 kB of additional disk space will be used.
    48. Do you want to continue [Y/n]?
    49. #hell no
    50. abort.

    Section that says to uninstall gnome:
    1. The following packages will be REMOVED:
    2. gnome gstreamer0.10-ffmpeg
  • Posts: 216
    Marc,

    FYI, I get the problem when I am trying to install a package that is not in my mainline "approved" repo, but is some other repo that i've temporarily enabled to install some specific thing. That repo may have different opinions about package versions that it needs, etc.. and it is far easier to do the *wrong* thing and install it from scratch. I have not created any additional problems for myself doing just that.
  • atreyu wrote:
    Marc,

    FYI, I get the problem when I am trying to install a package that is not in my mainline "approved" repo, but is some other repo that i've temporarily enabled to install some specific thing. That repo may have different opinions about package versions that it needs, etc.. and it is far easier to do the *wrong* thing and install it from scratch. I have not created any additional problems for myself doing just that.

    Good point; I removed the repos from Wheezy and Sid, as I thought those may have caused the problem. This is still a most perplexing issue.
  • Posts: 1,114
    Try:
    1. apt-get policy gnome
    On Fedora, there is no gnome package. It is called gnome-desktop. In Debian the gnome package is a metapackage that will pull in much of the gnome desktop environment. The question is, will deleting the metapackage also delete all the packages it pulled in when it was first installed. If it does, then, why is it necessary to use apt-get autoremove to get rid of all those old dependencies.
    My feeling is, since you aren't given a list of all the gnome apps, it may not remove all of gnome. One way of testing this would be to do:
    1. apt-get -s remove gnome
    to simulate what would happen if you actually did the "apt-get remove gnome" command. Besides, if you don't use the -y option, it should ask you (Yes/No) if you want to continue with the removal.

    See also:
    http://packages.debian.org/stable/gnome/gnome
    and
    http://linux.die.net/man/8/apt-get
  • Posts: 647
    atreyu wrote:
    Marc,

    FYI, I get the problem when I am trying to install a package that is not in my mainline "approved" repo, but is some other repo that i've temporarily enabled to install some specific thing. That repo may have different opinions about package versions that it needs, etc.. and it is far easier to do the *wrong* thing and install it from scratch. I have not created any additional problems for myself doing just that.

    Still wrong: rebuild the package yourself (that's why there is a "src" or "deb-src" section in the apt.conf [might be different, it's been a while since I last used debian]).

    You could as well install the deb with dpkg and call the no-deps option (again, don't know the actual commaand).

    Trust me: installing programs from source, sooner or later, will give you headaches.
  • marc wrote:
    Trust me: installing programs from source, sooner or later, will give you headaches.[/quote]

    I concur; I used to have so many problems when I exclusively compiled from source. Now, I only undertake it when it is the only feasible option available.

    In regards to Goineasy9's suggestion of simulating a removal of Gnome, I have tested the following in terminal:

    1. root@TheBatComputer:/# apt-get -s remove gnome
    2. Reading package lists... Done
    3. Building dependency tree
    4. Reading state information... Done
    5. The following packages were automatically installed and are no longer required:
    6. libwpd8c2a libreoffice-gnome gtk2-engines-smooth tomboy
    7. libmono-security2.0-cil libgsf-1-common update-notifier-common
    8. libndesk-dbus1.0-cil libmono-addins-gui0.2-cil pnm2ppa libaiksaurus-1.2-data
    9. libhal-storage1 libmono-system2.0-cil update-notifier
    10. link-grammar-dictionaries-en gdebi libots0 libgnomepanel2.24-cil
    11. libmono-corlib2.0-cil cli-common bsh-gcj libmono-cairo2.0-cil libgexiv2-0
    12. libndesk-dbus-glib1.0-cil gnome-themes-extras evolution-exchange
    13. abiword-common transmission-gtk libmono-i18n-west2.0-cil
    14. update-manager-gnome libwps-0.1-1 gdebi-core libgoffice-0.8-8-common
    15. software-center libmono-posix2.0-cil mono-runtime librasqal2
    16. libmono-addins0.2-cil libgnome2.24-cil transmission-common
    17. gnome-codec-install shotwell libhsqldb-java-gcj update-manager-core
    18. libgoffice-0.8-8 libreoffice-gtk simple-scan python-aptdaemon
    19. liblink-grammar4 libpango1.0-common libgee2 bsh epiphany-extensions
    20. binfmt-support libwv-1.2-3 libgnome-vfs2.0-cil libgdome2-0 mono-gac
    21. python-vte libmatroska0 libaiksaurusgtk-1.2-0c2a libglade2.0-cil
    22. libgsf-1-114 lm-sensors libart2.0-cil aptdaemon libglib2.0-cil mono-2.0-gac
    23. libgtkmathview0c2a libgconf2.0-cil python-aptdaemon-gtk fancontrol
    24. libmono-sharpzip2.84-cil gedit-plugins liferea gnome-themes-more
    25. foomatic-filters-ppds foomatic-db libeggdbus-1-0 libraptor1 liferea-data
    26. libwpg-0.1-1 libaiksaurus-1.2-0c2a libabiword-2.8 libgtk2.0-cil
    27. libloudmouth1-0 totem-mozilla min12xxw openoffice.org-gnome
    28. rhythmbox-plugin-cdrecorder libebml0 libgmime2.4-cil libxcb-render-util0
    29. libgdome2-cpp-smart0c2a
    30. Use 'apt-get autoremove' to remove them.
    31. The following packages will be REMOVED:
    32. gnome
    33. 0 upgraded, 0 newly installed, 1 to remove and 5 not upgraded.
    34. Remv gnome [1:2.30+7]
    35. root@TheBatComputer:/#

    It did not state anything about removing the gnome-desktop-environment, which would cause a massive amount of failure on an epic level. I am going to create a virtual matryoshka version of Debian within Debian and remove gnome. I will report back my findings ASAP.
  • Posts: 647
    What happens if you try
    1. apt-get instasll ffmpeg gnome

    You could as well use apt-cache to find out dependencies about ffmpeg...

    Regards
  • marc wrote:
    What happens if you try
    1. apt-get instasll ffmpeg gnome

    You could as well use apt-cache to find out dependencies about ffmpeg...

    Regards

    Here's what came up:
    1. timothy@TheBatComputer:/$ su
    2. Password:
    3. root@TheBatComputer:/# apt-get install ffmpeg gnome
    4. Reading package lists... Done
    5. Building dependency tree
    6. Reading state information... Done
    7. gnome is already the newest version.
    8. Some packages could not be installed. This may mean that you have
    9. requested an impossible situation or if you are using the unstable
    10. distribution that some required packages have not yet been created
    11. or been moved out of Incoming.
    12. The following information may help to resolve the situation:
    13.  
    14. The following packages have unmet dependencies:
    15. ffmpeg : Depends: libavdevice52 (>= 5:0.6.1+svn20101128) but it is not going to be installed
    16. gnome : Depends: gstreamer0.10-ffmpeg (>= 0.10.10) but it is not going to be installed
    17. Recommends: gnome-office (= 1:2.30+7) but it is not going to be installed
    18. E: Broken packages
    19. root@TheBatComputer:/#
  • Posts: 647
    I've checked the repos you listed and gstreamer0.10-ffmpeg and ffmpeg are provided in both of them. What is happening here (probably) is that you installed something from one repo and later on you added a new one.

    One thing that might solve this is using the repo with the most updated version *first* (higher/first in the config file). "apt-get install repo/ffmpeg" might work as well.

    You could try removing gstreamer0.10-ffmpeg and install it again (for that you'll need to use the -force option)

    It's kinda late right now so I'll come back tomorrow to check if you solved the issue!

    Regards
  • if u remove gnome thn u wont be able to access Linux graphically
  • Posts: 2,177
    kushallinux wrote:
    if u remove gnome thn u wont be able to access Linux graphically

    That was already decided, the purpose of this thread is to figure out why the installation of ffmpeg is stating it would cause gnome to be removed. I think Marc is on the right track to help the OP resolve his issue.
  • Posts: 1,114
    I'm still wondering what the output of apt-get -s remove gnome would be. Gnome app in Debian is a macro.
  • Posts: 647
    Goineasy9 wrote:
    I'm still wondering what the output of apt-get -s remove gnome would be. Gnome app in Debian is a macro.

    Macro or metapackage?
  • Posts: 1,114
    Sorry what I meant was metapackage, not macro, like I said in an earlier post.
  • mfillpot wrote:
    kushallinux wrote:
    That was already decided, the purpose of this thread is to figure out why the installation of ffmpeg is stating it would cause gnome to be removed. I think Marc is on the right track to help the OP resolve his issue.

    Update: After accidentally f*%!ing up my / directory while exploring a different issue, I opted to back up my pertinent data and start over. This time, I paid careful attention to which repositories were enabled during installations and upgrades. I used Wheezy only to obtain LibreOffice files before disabling the repository. It may have been around this time originally when something went wrong and synaptic attempted to pull different files from different repositories (I am still attempting to figure out what really went haywire). Thank you to everyone who helped with this curious conundrum!

Welcome!

It looks like you're new here. Sign in or register to get started.
Sign In

Welcome!

It looks like you're new here. Sign in or register to get started.
Sign In

Categories

Upcoming Training