Page 1 of 1

Trying to install gpac, but dependancies conflict

Posted: 02 Feb 2009, 18:29
by Effofex
Hi,


I've been trying to install the package 'gpac'. Gpac depends on packages libavcodeccvs51 and libavutilcvs49, however it looks like these conflict with the already installed libavcodec51 and libavutil49 packages. It looks like these packages are required for MediaTomb and Firefly.

If I try to install the conflicting package, such as libavcodeccvs51, apt-get de-installs the original package, such as libavcodec51.

Does anyone know of a way to work around this or have I hit a brick-wall in that I cannot use packages which depend on conflicting packages?


Thanks

Posted: 10 Feb 2009, 19:13
by Effofex
Bump.

Anyone have an idea how to fix or work around this?

Thanks.

Posted: 11 Feb 2009, 07:02
by carl
Hello,

where have you gathered the package files for gpac? One way to install it is to try to recompile the sources. First you should install the package "devscripts" and all it's dependices. Then you locate the .dsc file for gpac, and via the shell issue

Code: Select all

dget -ux http://host/gpac.dsc
after it has been unpacked, enter the directory and issue the command "debuild", if it complains about missing dependices, try installing the dependices using apt-get.

/Carl

Posted: 12 Feb 2009, 17:13
by Effofex
Hi,


Thanks for replying. I'll have a go at doing it that way.

The process I followed was something like the following (this is from memory so may not be perfect):

- Edit /etc/apt/sources.list (as root) and added the following at the end:

Code: Select all

deb http://www.debian-multimedia.org etch main
- Tried 'apt-get update' and this complained; regarding a public key not being available.
- Run a couple of gpg commands and 'apt-key add' to add the key
- This allowed 'apt-get update' to work
- Ran 'apt-get install gpac'. This told me about the conflicting dependancies (e.g. libavcodeccvs51), but didn't try to resolve them.
- Ran 'apt-get install' for one of the conflicting packages, e.g. 'apt-get libavcodeccvs51'. This then proposed to de-install packages which depended upon the already installed conflicting package, e.g. tried to de-install things depending on libavcodec51, like mediatomb

Thanks

Posted: 12 Feb 2009, 17:33
by carl
Ok, then you can try following:
1. copy the deb row in sources.list and change deb to deb-src;
2. apt-get update
3. apt-get source gpac
4. cd gpac-0.4.0+rc2
5. edit debian/control, change libavcodeccvs-dev to libavcodec-dev
6. install deps: apt-get install libxvidcore4-dev libsdl1.2-dev libpng-dev libfreetype6-dev libjpeg62-dev libmad0-dev libsmjs-dev libwxgtk2.6-dev libxml2-dev=2.6.27.dfsg-6 libmozjs-dev=1.8.0.15~pre080614i-0etch1 libnspr4-dev=1.8.0.15~pre080614i-0etch1
7. issue debuild -uc -us
8. take some coffee and wait
9. hopefully you will have some fresh deb package in parent dir when it's done.

/Carl

Posted: 12 Feb 2009, 17:47
by Effofex
Thanks. I'll give that a go when I next get a chance.

Posted: 14 Feb 2009, 10:58
by Joachim
How did you do on this, Effofex?

I'm trying to get the package installed myself - but I don't know what you mean by
- Run a couple of gpg commands and 'apt-key add' to add the key
I would love to hear if you get it working. I'm trying to find a way to repack H.264 .mkv files into .mp4 files to be playable on the PS3. And I think gpac is the last thing I need.


/Joachim

Posted: 14 Feb 2009, 11:19
by carl
I have uploaded an build of gpac to the claire repository, so if you want to try, you can activate claire in /etc/apt/sources.list and issue apt-get update and apt-get install gpac; hopefully it will work.

/Carl

Posted: 14 Feb 2009, 12:33
by Joachim
Thanks, Carl - that sure was quick! =)

Unfrtunately, though - it won't install:

Code: Select all

The following packages have unmet dependencies:
  gpac: Depends: libxvidcore4 (>= 1:1.0.0-0.0) but it is not installable
E: Broken packages
Any idea what I am doing wrong?


regards,
/Joachim

Posted: 14 Feb 2009, 14:04
by carl
Joachim wrote:Thanks, Carl - that sure was quick! =)

Unfrtunately, though - it won't install:

Code: Select all

The following packages have unmet dependencies:
  gpac: Depends: libxvidcore4 (>= 1:1.0.0-0.0) but it is not installable
E: Broken packages
Any idea what I am doing wrong?


regards,
/Joachim
You need add http://www.debian-multimedia.org to sources.list for that package.

/Carl

Posted: 14 Feb 2009, 15:22
by Joachim
Carl - again I am impressed with the Excito teams enthusiasm and helpfulness; support on a Saturday night. Wow! =)

I got the package installed now. If any of you out there are as nooby as me and can't figure out what Effofex meant by
- Run a couple of gpg commands and 'apt-key add' to add the key
then this will do the trick:

Code: Select all

apt-get install debian-multimedia-keyring

Have a nice weekend,
/Joachim

Posted: 15 Feb 2009, 14:59
by Effofex
Hi,

Thanks for everyone's posts on this.

I now have the package installed, although I think apt-get is not entirely happy. I did the following:

-Uncomment the following in /etc/apt/sources.list

Code: Select all

deb http://update.excito.org/ claire main
- Added the following in /etc/apt/sources.list

Code: Select all

deb http://www.debian-multimedia.org etch main
I can then run:

Code: Select all

apt-get update
apt-get install gpac
The package installs fine but I have to manually verify for libxvidcore4:

Code: Select all

WARNING: The following packages cannot be authenticated!
  libxvidcore4
Install these packages without verification [y/N]? y
I've then been trying to install the key so that the authentication from www.debian-multimedia.org works. I've tried this two different ways, the gpg/apt-key way or using Joachim's suggestion. So, either:

Code: Select all

gpg --keyserver wwwkeys.eu.pgp.net --recv-keys 07DC563D1F41B907
gpg --armor --export 1F41B907 | apt-key add -
or:

Code: Select all

apt-get install debian-multimedia-keyring
Doing this either way gives the following when I do an apt-get update:

Code: Select all

W: Conflicting distribution: http://www.debian-multimedia.org etch Release (expected etch but got sarge)
W: You may want to run apt-get update to correct these problems
So I can install the package, but apt-get is not quite right.


Thanks

Posted: 15 Feb 2009, 18:25
by Joachim
Hmm, wierd. I am having the same problem now, Effofex. It worked like a charm yesterday - but now I am also getting the

Code: Select all

W: Conflicting distribution: http://www.debian-multimedia.org etch Release (expected etch but got sarge)
W: You may want to run apt-get update to correct these problems
Even more unfortunate, though, I have finally managed to break something; I uncommented the line in the sources.list file with the unstable packages

Code: Select all

# The unstable BUBBA|TWO repository, is in the suite "unstable". source packages
#deb-src http://update.excito.org/ claire main
and did a

Code: Select all

apt-get update
apt-get upgrade
So now my Bubba admin interface won't start up. I didn't really use it, so it is not that big a problem, but I just hate the fact that i broke something. Is there a nifty roll-back/downgrade option to apt-get? (With all the playing about and tampering with everything I can't belive I haven't managed to break something untill now.) =)

Oh, and Carl: Thanks again for the gpac package. I have hit a bit of a problem with it, though; the version you have compiled has a problem when working with files over 2GB. Apperantly the authors fixed it in version 0.4.4. Sooooo - if you ever get around to looking at that package again, it would be wonderful if you compiled it from the fixed source code.

You can read about it here: http://sourceforge.net/tracker/?func=de ... p_id=84101


Thanks,
/Joachim

EDIT: Ok, never mind the downgrade/unstable packages comment. The interface is working fine - there was just a fallout on the network, or something. Might have something to do with the fact that I am copying shitloads of files to and from the bubba. =)