LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Debian Linux 5.0 ffmpeg unmet dependencies problem webmin (https://www.linuxquestions.org/questions/linux-general-1/debian-linux-5-0-ffmpeg-unmet-dependencies-problem-webmin-870752/)

dont havr 03-24-2011 11:50 AM

Debian Linux 5.0 ffmpeg unmet dependencies problem webmin
 
Hello,

I am running a video script on my server and I am very new to running a dedicated server and commands. Most of our site was setup but other and someone has broke something and no one seems to know how to fix.



Here is the issue. We run a script that uses these requirements



[Mod edit]Adult content Link removed


requirements

# Linux Server (Fedora Core, CentOS, Ubuntu, Slackware or SuSE).
# Apache Web Server

* Support for AcceptPathInfo
* Support for MultiViews (or mod_rewrite which is slower)

# MySQL 5.x
# PHP 5.x (mod_php/CGI)

* Support for GD2 Library
* Support for MySQL
* Support for Curl
* Support for uploadprogress PHP extension (only if you want to display a progress bar on uploads)

Recommended PHP Configuration
* safe_mode off
* open_basedir off
* max_execution_time 7200
* max_input_time 7200
* memory_limit (with 1MB more then the maximum video upload size)
* post_max_size (maximum video upload size)
* upload_max_size (maximum video upload size)
* exec() should be allowed

# PHP CLI 5.x (see above + register_argc_argv ON)
# Mencoder 1.0rc1 or better (support for jpeg, gif, png, freetype, h264, lame, xvid, mad, win32codecs, dv, 3gp, mp4, theora)
# Mplayer 1.0rc1 or better
# FFmpeg (from SVN) (support for jpeg, gif, png, freetype, h264, lame, xvid, mad, win32codecs, dv, 3gp, mp4, theora)
# Flvtool2 or Yamdi (yamdi recommended)
# MediaInfo


Now our server guy ran a update inside webmin for debian and now our videos still convert but wont make thumbs. Here is what he did.


Now updating libsmbclient ..
Installing package(s) with command apt-get -y install libsmbclient ..
Reading package lists...
Building dependency tree...
Reading state information...
The following packages were automatically installed and are no longer required:
ttf-dejavu-extra ttf-dejavu
Use 'apt-get autoremove' to remove them.
The following packages will be upgraded:
libsmbclient
1 upgraded, 0 newly installed, 0 to remove and 8 not upgraded.
Need to get 1358kB of archives.
After this operation, 0B of additional disk space will be used.
Get:1 http://security.debian.org lenny/updates/main libsmbclient 2:3.2.5-4lenny14 [1358kB]
Fetched 1358kB in 1s (811kB/s)
(Reading database ... 51195 files and directories currently installed.)
Preparing to replace libsmbclient 2:3.2.5-4lenny13 (using .../libsmbclient_2%3a3.2.5-4lenny14_amd64.deb) ...
Unpacking replacement libsmbclient ...
Processing triggers for man-db ...
Setting up libsmbclient (2:3.2.5-4lenny14) ...
.. install complete.
Now updating libwbclient0 ..
Installing package(s) with command apt-get -y install libwbclient0 ..
Reading package lists...
Building dependency tree...
Reading state information...
The following packages were automatically installed and are no longer required:
ttf-dejavu-extra ttf-dejavu
Use 'apt-get autoremove' to remove them.
The following packages will be upgraded:
libwbclient0
1 upgraded, 0 newly installed, 0 to remove and 7 not upgraded.
Need to get 80.9kB of archives.
After this operation, 0B of additional disk space will be used.
Get:1 http://security.debian.org lenny/updates/main libwbclient0 2:3.2.5-4lenny14 [80.9kB]
Fetched 80.9kB in 0s (551kB/s)
(Reading database ... 51195 files and directories currently installed.)
Preparing to replace libwbclient0 2:3.2.5-4lenny13 (using .../libwbclient0_2%3a3.2.5-4lenny14_amd64.deb) ...
Unpacking replacement libwbclient0 ...
Setting up libwbclient0 (2:3.2.5-4lenny14) ...
.. install complete.
Now updating libcups2 ..
Installing package(s) with command apt-get -y install libcups2 ..
Reading package lists...
Building dependency tree...
Reading state information...
The following packages were automatically installed and are no longer required:
ttf-dejavu-extra ttf-dejavu
Use 'apt-get autoremove' to remove them.
Suggested packages:
cups-common
The following packages will be upgraded:
libcups2
1 upgraded, 0 newly installed, 0 to remove and 7 not upgraded.
Need to get 169kB of archives.
After this operation, 61.4kB disk space will be freed.
Get:1 http://security.debian.org lenny/updates/main libcups2 1.3.8-1+lenny9 [169kB]
Fetched 169kB in 0s (234kB/s)
(Reading database ... 51218 files and directories currently installed.)
Preparing to replace libcups2 1.3.8-1+lenny8 (using .../libcups2_1.3.8-1+lenny9_amd64.deb) ...
Unpacking replacement libcups2 ...
Setting up libcups2 (1.3.8-1+lenny9) ...
.. install complete.



Now the AVS script wont make thumbs and webmin still wants to do 3 more updates that get unmet dependencies errors. Here they are when we try to run another update.


Building complete list of updates ..
Now updating ffmpeg ..
Installing package(s) with command apt-get -y install ffmpeg ..
Reading package lists...
Building dependency tree...
Reading state information...
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
ffmpeg: Depends: libavcodec52 (>= 5:0.6.1+svn20101128) but it is not going to be installed
Depends: libavdevice52 (>= 5:0.6.1+svn20101128) but 0.svn20080206-18+lenny1 is to be installed
Depends: libavformat52 (>= 5:0.6.1+svn20101128) but 0.svn20080206-18+lenny1 is to be installed
E: Broken packages
.. install failed!
Now updating libavdevice52 ..
Installing package(s) with command apt-get -y install libavdevice52 ..
Reading package lists...
Building dependency tree...
Reading state information...
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
libavdevice52: Depends: libavcodec52 (>= 5:0.6.1+svn20101128) but it is not going to be installed
Depends: libavformat52 (>= 5:0.6.1+svn20101128) but 0.svn20080206-18+lenny1 is to be installed
Depends: libjack-jackd2-0 (>= 1.9.5~dfsg-14) but it is not installable or
libjack-0.116 but it is not installable
E: Broken packages
.. install failed!
Now updating libavformat52 ..

Installing package(s) with command apt-get -y install libavformat52 ..

Reading package lists...
Building dependency tree...
Reading state information...
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
libavformat52: Depends: libavcodec52 (>= 5:0.6.1+svn20101128) but it is not going to be installed
E: Broken packages
.. install failed!
Now updating mplayer ..
Installing package(s) with command apt-get -y install mplayer ..
Reading package lists...
Building dependency tree...
Reading state information...
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
mplayer: Depends: libatk1.0-0 (>= 1.29.3) but 1.22.0-1 is to be installed
Depends: libcaca0 (>= 0.99.beta17-1) but 0.99.beta14-1 is to be installed
Depends: libdirectfb-1.2-9 but it is not installable
Depends: libjack-jackd2-0 (>= 1.9.5~dfsg-14) but it is not installable or
libjack-0.116 but it is not installable
Depends: libpulse0 (>= 0.9.21) but it is not going to be installed
Depends: libvdpau1 (>= 0.2) but it is not installable
E: Broken packages

.. install failed!


Now what we need to do is either undo the update he already did or maybe get the one its asking for now to work but not sure which one will fix our thumb generating problem? Here is the error in the log file of the AVS script.

Seems stream 0 codec frame rate differs from container frame rate: 1000.00 (1000/1) -> 49.92 (599/12)
Input #0, flv, from '/home/test/video/media/videos/flv/596.flv':
Duration: 00:00:12.6, start: 0.000000, bitrate: 56 kb/s
Stream #0.0: Video: flv, yuv420p, 320x240 [PAR 0:1 DAR 0:1], 49.92 tb(r)
Stream #0.1: Audio: mp3, 22050 Hz, stereo, 56 kb/s
Cannot get resampling context
/home/test/video/tmp/thumbs/596/00000001.jpg
/home/test/video/media/videos/tmb/596/1.jpg
/usr/bin/ffmpeg -i /home/test/video/media/videos/flv/596.flv -f image2 -ss 1 -s 160x120 -vframes 2 -y /home/test/video/tmp/thumbs/596/%08d.jpg
FFmpeg version r11872+debian_0.svn20080206-18+lenny1, Copyright (c) 2000-2008 Fabrice Bellard, et al.
configuration: --enable-gpl --enable-libfaad --enable-pp --enable-swscaler --enable-x11grab --prefix=/usr --enable-libgsm --enable-libtheora --enable-libvorbis --enable-pthreads --disable-strip --enable-libdc1394 --enable-shared --disable-static
libavutil version: 49.6.0
libavcodec version: 51.50.0
libavformat version: 52.7.0
libavdevice version: 52.0.0
built on Jan 25 2010 18:27:39, gcc: 4.3.2

kabars_edge 03-24-2011 01:06 PM

Instead of:

Quote:

apt-get -f
Have you tried:

Quote:

apt-get -f --fix-missing
Just an idea.

onebuck 03-24-2011 02:43 PM

This thread is closed for maintenance purposes. Wait & see if it will re-open!
Feel free to contact the forum admin if you have any questions about this policy.

onebuck 03-24-2011 09:50 PM

This Thread is now re-opened. Original Post was mod edited to remove Adult content link.


All times are GMT -5. The time now is 05:11 AM.