On 25/10/13 04:42, François Patte wrote: > Bonsoir, > > I try to install alien, but I get these messages: > > apt-get install alien > Reading package lists... Done > Building dependency tree > Reading state information... Done > You might want to run 'apt-get -f install' to correct these: > The following packages have unmet dependencies: > alien : Depends: debhelper (>= 7) but it is not going to be installed > liblavfile-2.1-0 : Depends: libmjpegutils-2.1-0 but it is not going to > be installed > liblavplay-2.1-0 : Depends: liblavjpeg-2.1-0 but it is not going to be > installed > Depends: libmjpegutils-2.1-0 but it is not going to > be installed > mjpegtools : Depends: liblavjpeg-2.1-0 but it is not going to be installed > Depends: libmjpegutils-2.1-0 but it is not going to be > installed > Depends: libmpeg2encpp-2.1-0 but it is not going to be > installed > Depends: libmplex2-2.1-0 but it is not going to be installed > transcode : Depends: libmjpegutils-2.1-0 but it is not going to be > installed > E: Unmet dependencies. Try 'apt-get -f install' with no packages (or > specify a solution). > > > So I run apt-get -f install > > and: > > Reading package lists... Done > Building dependency tree > Reading state information... Done > Correcting dependencies... Done > The following packages were automatically installed and are no longer > required: > liblavjpeg-2.0-0 libmjpegutils-2.0-0 libmpeg2encpp-2.0-0 libmplex2-2.0-0 > Use 'apt-get autoremove' to remove them. > The following extra packages will be installed: > liblavjpeg-2.1-0 libmjpegutils-2.1-0 libmpeg2encpp-2.1-0 libmplex2-2.1-0 > The following NEW packages will be installed: > liblavjpeg-2.1-0 libmjpegutils-2.1-0 libmpeg2encpp-2.1-0 libmplex2-2.1-0 > 0 upgraded, 4 newly installed, 0 to remove and 182 not upgraded. > 6 not fully installed or removed. > Need to get 0 B/177 kB of archives. > After this operation, 574 kB of additional disk space will be used. > Do you want to continue? [Y/n] y > Retrieving bug reports... Done > Parsing Found/Fixed information... Done > (Reading database ... 195959 files and directories currently installed.) > Unpacking libmjpegutils-2.1-0:amd64 (from > .../libmjpegutils-2.1-0_2%3a2.1.0-dmo2_amd64.deb) ... > dpkg: error processing > /var/cache/apt/archives/libmjpegutils-2.1-0_2%3a2.1.0-dmo2_amd64.deb > (--unpack): > trying to overwrite > '/usr/lib/x86_64-linux-gnu/libmjpegutils-2.1.so.0.0.0', which is also in > package libmjpegutils-2.0-0 1:2.1.0+debian-1 > Unpacking liblavjpeg-2.1-0:amd64 (from > .../liblavjpeg-2.1-0_2%3a2.1.0-dmo2_amd64.deb) ... > dpkg: error processing > /var/cache/apt/archives/liblavjpeg-2.1-0_2%3a2.1.0-dmo2_amd64.deb > (--unpack): > trying to overwrite > '/usr/lib/x86_64-linux-gnu/liblavjpeg-2.1.so.0.0.0', which is also in > package liblavjpeg-2.0-0 1:2.1.0+debian-1 > Unpacking libmpeg2encpp-2.1-0:amd64 (from > .../libmpeg2encpp-2.1-0_2%3a2.1.0-dmo2_amd64.deb) ... > dpkg: error processing > /var/cache/apt/archives/libmpeg2encpp-2.1-0_2%3a2.1.0-dmo2_amd64.deb > (--unpack): > trying to overwrite > '/usr/lib/x86_64-linux-gnu/libmpeg2encpp-2.1.so.0.0.0', which is also in > package libmpeg2encpp-2.0-0 1:2.1.0+debian-1 > Unpacking libmplex2-2.1-0:amd64 (from > .../libmplex2-2.1-0_2%3a2.1.0-dmo2_amd64.deb) ... > dpkg: error processing > /var/cache/apt/archives/libmplex2-2.1-0_2%3a2.1.0-dmo2_amd64.deb (--unpack): > trying to overwrite '/usr/lib/x86_64-linux-gnu/libmplex2-2.1.so.0.0.0', > which is also in package libmplex2-2.0-0 1:2.1.0+debian-1 > Errors were encountered while processing: > /var/cache/apt/archives/libmjpegutils-2.1-0_2%3a2.1.0-dmo2_amd64.deb > /var/cache/apt/archives/liblavjpeg-2.1-0_2%3a2.1.0-dmo2_amd64.deb > /var/cache/apt/archives/libmpeg2encpp-2.1-0_2%3a2.1.0-dmo2_amd64.deb > /var/cache/apt/archives/libmplex2-2.1-0_2%3a2.1.0-dmo2_amd64.deb > E: Sub-process /usr/bin/dpkg returned an error code (1) > > > How to recover? > > > Thanks > >
It looks like you 'might' have mixed conflicting repositories.... perhaps deb-multimedia? alien requires debhelper, you can force the solution but before dpkg/apt can deal with it you need to fix an outstanding dependancy problem with multimedia packages. I'd suggest you ignore the alien package for the time being - *if* you've mixed Debian official with unofficial (i.e. deb-multimedia):- 1. remove the unofficial packages and comment out the entry in /etc/apt/source.list - preferably a non-standard repo would be a *.list entry in /etc/apt/source.list.d (but it's not essential) in which case "# mv /etc/apt/sources.list.d/whatever.list ../" 2. apt-get update;apt-get -f install[;apt-get upgrade] 3. install alien (and it's dependancies) 4. re-enable the non-standard repo *and* pin it (you can -t choose the repo, but pinning is safer in the long term). 5. install the packages you need from the non-standard repo NOTE: that's the proper way - I've sometimes solved similar (non-production) problems by rm the file that the installer balks at overwriting (first "mv $FileIWant2rm{,.bak}) then re-run the installation. Bad idea in practise though as upgrades won't like it. Kind regards -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/5269942a.8030...@gmail.com