VLC and Debian Multimedia repo [SOLVED]

Everything about X, Gnome, KDE, ... and everything running on it

Re: VLC and Debian Multimedia repo

Postby kedaha » 2012-09-17 19:53

An update! I think I've found the best solution is by pinning as explained in switching-from-debian-multimedia-org-packages-to-official-debian-versions/.
As detailed in the link I did:
Code: Select all
nano /etc/apt/preferences

Then put this content:
Code: Select all
Package: *
Pin: origin *.debian.org
Pin-Priority: 1001
 
Package: *
Pin: origin *.deb-multimedia.org
Pin-Priority: 1

Followed by:
Code: Select all
# apt-get clean && apt-get update && apt-get upgrade

And now,
Code: Select all
# aptitude remove -s libavutil-dev libavutil49 libavutil50
The following packages will be REMOVED: 
  libavutil49 libavutil50
0 packages upgraded, 0 newly installed, 2 to remove and 2 not upgraded.
Need to get 0 B of archives. After unpacking 340 kB will be freed.
The following packages have unmet dependencies:
  libswscale0: Depends: libavutil50 (>= 5:0.7.13) but it is not going to be installed.
  libquicktime1: Depends: libavutil50 (>= 5:0.6.1+svn20101128) but it is not going to be installed.
  xvidcap: Depends: libavutil50 (>= 5:0.6.1+svn20101128) but it is not going to be installed.
  libavfilter1: Depends: libavutil50 (>= 5:0.7.13) but it is not going to be installed.
  libavdevice52: Depends: libavutil50 (>= 5:0.7.13) but it is not going to be installed.
  libavcodec52: Depends: libavutil50 (>= 5:0.7.13) but it is not going to be installed.
  gstreamer0.10-ffmpeg: Depends: libavutil49 (>= 4:0.5.1-1) but it is not going to be installed. or
                                 libavutil-extra-49 (>= 4:0.5.1-1) which is a virtual package.
  gnash-common: Depends: libavutil49 (>= 4:0.5.1-1) but it is not going to be installed. or
                         libavutil-extra-49 (>= 4:0.5.1-1) which is a virtual package.
  libpostproc51: Depends: libavutil50 (>= 5:0.7.13) but it is not going to be installed.
  libavformat52: Depends: libavutil50 (>= 5:0.7.13) but it is not going to be installed.
The following actions will resolve these dependencies:

      Remove the following packages:                 
1)      browser-plugin-gnash                         
2)      cinelerra-cv                                 
3)      gnash                                       
4)      gnash-common                                 
5)      gstreamer0.10-ffmpeg                         
6)      libavcodec52                                 
7)      libavdevice52                               
8)      libavfilter1                                 
9)      libavformat52                               
10)     libmjpegtools-1.9                           
11)     libpostproc51                               
12)     libquicktime1                               
13)     libquicktimehv-1.6.0-1                       
14)     libswscale0                                 
15)     mjpegtools                                   
16)     xvidcap                                     

      Leave the following dependencies unresolved:   
17)     totem recommends gstreamer0.10-ffmpeg       
18)     handbrake-gtk recommends gstreamer0.10-ffmpeg
19)     avidemux recommends mjpegtools               


Accept this solution? [Y/n/q/?]
# aptitude remove -s libavutil-dev libavutil49 libavutil50
The following packages will be REMOVED: 
  libavutil49 libavutil50
0 packages upgraded, 0 newly installed, 2 to remove and 2 not upgraded.
Need to get 0 B of archives. After unpacking 340 kB will be freed.
The following packages have unmet dependencies:
  libswscale0: Depends: libavutil50 (>= 5:0.7.13) but it is not going to be installed.
  libquicktime1: Depends: libavutil50 (>= 5:0.6.1+svn20101128) but it is not going to be installed.
  xvidcap: Depends: libavutil50 (>= 5:0.6.1+svn20101128) but it is not going to be installed.
  libavfilter1: Depends: libavutil50 (>= 5:0.7.13) but it is not going to be installed.
  libavdevice52: Depends: libavutil50 (>= 5:0.7.13) but it is not going to be installed.
  libavcodec52: Depends: libavutil50 (>= 5:0.7.13) but it is not going to be installed.
  gstreamer0.10-ffmpeg: Depends: libavutil49 (>= 4:0.5.1-1) but it is not going to be installed. or
                                 libavutil-extra-49 (>= 4:0.5.1-1) which is a virtual package.
  gnash-common: Depends: libavutil49 (>= 4:0.5.1-1) but it is not going to be installed. or
                         libavutil-extra-49 (>= 4:0.5.1-1) which is a virtual package.
  libpostproc51: Depends: libavutil50 (>= 5:0.7.13) but it is not going to be installed.
  libavformat52: Depends: libavutil50 (>= 5:0.7.13) but it is not going to be installed.
The following actions will resolve these dependencies:

      Remove the following packages:                 
1)      browser-plugin-gnash                         
2)      cinelerra-cv                                 
3)      gnash                                       
4)      gnash-common                                 
5)      gstreamer0.10-ffmpeg                         
6)      libavcodec52                                 
7)      libavdevice52                               
8)      libavfilter1                                 
9)      libavformat52                               
10)     libmjpegtools-1.9                           
11)     libpostproc51                               
12)     libquicktime1                               
13)     libquicktimehv-1.6.0-1                       
14)     libswscale0                                 
15)     mjpegtools                                   
16)     xvidcap                                     

      Leave the following dependencies unresolved:   
17)     totem recommends gstreamer0.10-ffmpeg       
18)     handbrake-gtk recommends gstreamer0.10-ffmpeg
19)     avidemux recommends mjpegtools               


Accept this solution? [Y/n/q/?]

Without ripping out gnome!
Desktop, laptop and server: Stable: 3.2.0-4-amd64, 7.7 "wheezy"
Mate Desktop Environment.
01101011 01100101 01100100 01100001 01101000 01100001
User avatar
kedaha
 
Posts: 2298
Joined: 2008-05-24 12:26

Re: VLC and Debian Multimedia repo

Postby strungoutfan78 » 2012-09-17 20:18

That caught my eye too. On my system, however, /etc/apt/preferences does not exist. Do I just create it? I do have a directory /etc/apt/preferences.d/, but no preferences file. Pinning is something I'm very unfamiliar with in practice.
strungoutfan78
 
Posts: 50
Joined: 2011-07-01 03:22
Location: San Diego, CA

Re: VLC and Debian Multimedia repo

Postby kedaha » 2012-09-17 20:34

strungoutfan78 wrote:That caught my eye too. On my system, however, /etc/apt/preferences does not exist. Do I just create it? I do have a directory /etc/apt/preferences.d/, but no preferences file. Pinning is something I'm very unfamiliar with in practice.

Yes, of course.
If you're not so familiar with editing system files with nano or vi you can use gedit.
Open a user teminal and su to root appending a hyphen thus:
Code: Select all
$ su -
Password:
root@new-host-2:~# gedit /etc/apt/preferences

Then cut and paste the content to the editor, and save the file as usual or with Control S, exit the editor and the file will now exist.
To verify it exists just do:
Code: Select all
$ cat /etc/apt/preferences
Desktop, laptop and server: Stable: 3.2.0-4-amd64, 7.7 "wheezy"
Mate Desktop Environment.
01101011 01100101 01100100 01100001 01101000 01100001
User avatar
kedaha
 
Posts: 2298
Joined: 2008-05-24 12:26

Re: VLC and Debian Multimedia repo

Postby strungoutfan78 » 2012-09-17 20:43

No I'm fine with editing system files. I prefer doing everything from the terminal with vim though. (I just like all the pretty colors :P). Just want to be sure that I should create the file there or if it maybe exists somewhere else so that I could link to it or copy it to the proper location. I'll give this pinning thing a shot. I've done it once before, a very long time ago. This was back when I used to try and use everything bleeding edge. I've since learned my lesson with all the new stuff. Tried and true is much better, IMHO.

**EDIT**
When I issue the command:
Code: Select all
aptitude -t squeeze-backports install *package*

what is actually happening? There is no pinning going on here, right? It's simply installing *package* from backports?
strungoutfan78
 
Posts: 50
Joined: 2011-07-01 03:22
Location: San Diego, CA

Re: VLC and Debian Multimedia repo

Postby kedaha » 2012-09-17 20:57

By the way, to reply to your earlier question about using either apt or aptitude, as far as I know, they are completely compatible. I usually use aptitude but, imo, it really doesn't matter which one uses, whatever the purists might say. I've never had any problems with switchiing from one to the other but I only started using aptitude with squeeze. But I always used apt with Etch and Lenny.
Desktop, laptop and server: Stable: 3.2.0-4-amd64, 7.7 "wheezy"
Mate Desktop Environment.
01101011 01100101 01100100 01100001 01101000 01100001
User avatar
kedaha
 
Posts: 2298
Joined: 2008-05-24 12:26

Re: VLC and Debian Multimedia repo

Postby strungoutfan78 » 2012-09-17 21:01

From what I gather, prior to Lenny apt-get failed to flag dependencies, leaving behind unnecessary libraries and what-not when you end up un-installing a package. Supposedly apt-get and aptitude both handle automatic dependencies the same way now. To each his own. I don't really think one is better than the other. Each has its own strong suits.
strungoutfan78
 
Posts: 50
Joined: 2011-07-01 03:22
Location: San Diego, CA

Re: VLC and Debian Multimedia repo

Postby emariz » 2012-09-18 05:02

Your problem is that you are trying to remove packages from Debian itself, and not from Deb Multimedia.

Code: Select all
$ apt-cache policy libavutil-dev

  Instalados: (ninguno)
  Candidato:  6:0.8.3-1~bpo60+1
  Tabla de versión:
     6:0.8.3-7 0
          1 http://ftp.ccc.uba.ar/pub/linux/debian/debian/ wheezy/main amd64 Packages
     6:0.8.3-1~bpo60+1 0
        500 http://ftp.br.debian.org/debian-backports/ squeeze-backports/main amd64 Packages
     5:0.7.13-dmo2 0
        500 http://ftp.br.debian.org/debian-multimedia/ squeeze/main amd64 Packages
     4:0.5.9-1 0
        500 http://ftp.ccc.uba.ar/pub/linux/debian/debian/ squeeze-proposed-updates/main amd64 Packages
     4:0.5.6-3 0
        500 http://ftp.ccc.uba.ar/pub/linux/debian/debian/ squeeze/main amd64 Packages


Code: Select all
$ apt-cache policy libavutil49

  Instalados: (ninguno)
  Candidato:  4:0.5.9-1
  Tabla de versión:
     4:0.5.9-1 0
        500 http://ftp.ccc.uba.ar/pub/linux/debian/debian/ squeeze-proposed-updates/main amd64 Packages
     4:0.5.6-3 0
        500 http://ftp.ccc.uba.ar/pub/linux/debian/debian/ squeeze/main amd64 Packages


Code: Select all
$ apt-cache policy libavutil50

  Instalados: (ninguno)
  Candidato:  5:0.7.13-dmo2
  Tabla de versión:
     5:0.7.13-dmo2 0
        500 http://ftp.br.debian.org/debian-multimedia/ squeeze/main amd64 Packages


Just use Aptitude's graphical interface to purge libavutil50 (the packages that it breaks come from Deb Multimedia too) and downgrade libavutil-dev.

The APT Pinning suggested by kedaha is not useful if the Deb Multimedia has already been removed (like in this case), and is unnecessary if one uses Aptitude's graphical interface (which allows downgrading.)


strungoutfan78 wrote:When I issue the command:
Code: Select all
aptitude -t squeeze-backports install *package*

what is actually happening? There is no pinning going on here, right? It's simply installing *package* from backports?

There is a "temporary" use of APT Pinning, for the priority of the Backports repository is 1 and the priority of the Debian one is 500 (run apt-cache policy and you will see.) When one uses the --target-release option, one gives that repository/release the highest priority, turning its contents into installable candidates. This means that the package manager will install that package and solve its dependency chain using that repository.

Read the manual pages of aptitude and apt_preferences, more than once, and then have a look at these:
viewtopic.php?p=437802#p437802
viewtopic.php?p=429968#p429968
viewtopic.php?p=405215#p405215
Last edited by emariz on 2012-09-18 20:59, edited 2 times in total.
emariz
 
Posts: 2644
Joined: 2008-10-17 07:59

Re: VLC and Debian Multimedia repo

Postby strungoutfan78 » 2012-09-18 06:15

Well, I did as you suggested with aptitude's GUI and managed to remove a majority of the orphaned packages, removing only 6 packages and downgrading 7 while not breaking anything. deborphan now only lists:
Code: Select all
gstreamer0.10-fluendo-mp3
libdb4.6
nautilus-dropbox
libwxsmithlib0
libmhash2


I'm still having absolutely no luck with vlc or audacious, however, but I must say, using the GUI for aptitude is rather confusing at first but it is very powerful. I think I much prefer it over Synaptic, which I never use anyway because, as you said, it's too stupid. Great info in those links too, BTW. Thanks.
strungoutfan78
 
Posts: 50
Joined: 2011-07-01 03:22
Location: San Diego, CA

Re: VLC and Debian Multimedia repo

Postby kedaha » 2012-09-18 07:29

strungoutfan78 wrote:Well, I did as you suggested with aptitude's GUI

Just quibbling but I think it is a TUI -a Text User interface - not a GUI. :wink:
Desktop, laptop and server: Stable: 3.2.0-4-amd64, 7.7 "wheezy"
Mate Desktop Environment.
01101011 01100101 01100100 01100001 01101000 01100001
User avatar
kedaha
 
Posts: 2298
Joined: 2008-05-24 12:26

Re: VLC and Debian Multimedia repo

Postby strungoutfan78 » 2012-09-18 15:02

kedaha wrote:
strungoutfan78 wrote:Well, I did as you suggested with aptitude's GUI

Just quibbling but I think it is a TUI -a Text User interface - not a GUI. :wink:


True. You are correct.:smile:

Sent from my SGH-T769 using Tapatalk 2
strungoutfan78
 
Posts: 50
Joined: 2011-07-01 03:22
Location: San Diego, CA

Re: VLC and Debian Multimedia repo

Postby kedaha » 2012-09-18 15:49

Now that you have sorted out the official repositories from the deb-multimedia ones, may I suggest you post other topics to look at the issues with VLC and audacious? I've never tried audacious but I sometimes use my backports version VLC, 2.0.3-1 and it works OK but it would be interesting to see the replies. Thanks
Desktop, laptop and server: Stable: 3.2.0-4-amd64, 7.7 "wheezy"
Mate Desktop Environment.
01101011 01100101 01100100 01100001 01101000 01100001
User avatar
kedaha
 
Posts: 2298
Joined: 2008-05-24 12:26

Re: VLC and Debian Multimedia repo

Postby emariz » 2012-09-18 21:18

strungoutfan78 wrote:Well, I did as you suggested with aptitude's GUI and managed to remove a majority of the orphaned packages, removing only 6 packages and downgrading 7 while not breaking anything. deborphan now only lists:
Code: Select all
gstreamer0.10-fluendo-mp3
libdb4.6
nautilus-dropbox
libwxsmithlib0
libmhash2

The output of deborphan is not equal to the output of aptitude search ?obsolete. There may be many packages whose installation cannot be traced back to another installed package and therefore are marked as "orphans," but this does not mean that one does not want/need them. For example, if one builds the system without meta-packages, many applications that constitute the base will be listed as "orphans."

Code: Select all
$ su -c 'deborphan --all-packages'

main/gnome                gnome-screenshot
main/gnome                gnome-brave-icon-theme
main/text                 most
main/utils                gstreamer-tools
main/gnome                gnome-system-monitor
main/utils                gconf-editor
main/editors              libreoffice-impress
contrib/utils             microcode.ctl
main/x11                  xorg
main/utils                pkg-mozilla-archive-keyring
main/sound                sound-juicer
main/utils                powertop
main/gnome                pyrenamer
main/editors              libreoffice-writer
main/admin                testdisk
main/kernel               linux-image-3.2.0-0.bpo.2-amd64
main/net                  traceroute
main/doc                  manpages
main/gnome                libreoffice-gnome
main/math                 gcalctool
main/gnome                file-roller
main/sound                eyed3
main/sound                flac
main/misc                 deb-multimedia-keyring
main/admin                gnome-disk-utility
main/admin                rcconf
main/net                  netcat-traditional
main/gnome                baobab
main/gnome                gnome-xcf-thumbnailer
main/utils                acpi
main/kernel               linux-image-amd64
main/doc                  info
main/net                  iputils-ping
main/editors              nano
main/admin                discover
main/gnome                network-manager-gnome
non-free/web              flashplayer-mozilla
main/editors              libreoffice-calc
main/admin                localepurge
emariz
 
Posts: 2644
Joined: 2008-10-17 07:59

Re: VLC and Debian Multimedia repo

Postby strungoutfan78 » 2012-09-19 06:42

You make a good point. I don't always use meta-packages myself and I see that aptitude search ?obsolete does give me quite a list still. I think I'm ok with where my system is at now. At least I've made the switch to backports. I will definitely be posting another topic regarding vlc and audacious specifically. Thanks for all the help.
strungoutfan78
 
Posts: 50
Joined: 2011-07-01 03:22
Location: San Diego, CA

Re: VLC and Debian Multimedia repo

Postby strungoutfan78 » 2012-09-19 07:01

kedaha wrote:Now that you have sorted out the official repositories from the deb-multimedia ones, may I suggest you post other topics to look at the issues with VLC and audacious? I've never tried audacious but I sometimes use my backports version VLC, 2.0.3-1 and it works OK but it would be interesting to see the replies. Thanks


I've posted it here: http://forums.debian.net/viewtopic.php?f=6&t=84780
strungoutfan78
 
Posts: 50
Joined: 2011-07-01 03:22
Location: San Diego, CA

Previous

Return to Desktop & Multimedia

Who is online

Users browsing this forum: harrycaul and 13 guests

fashionable