How could I install mpd 0.17 or even 0.16 on debian squeeze? It's been suggested to me that I should use backports, but I did not quite understand what I should do in case of unmet dependencies. For instance, mpd 0.17 exists on wheezy-backports but it depends on libraries that are a greater version than what is available in the squeeze repos. Should I install every dependency one-by-one from the ready packages on the backports (if they exist)? Or should I install them from the wheezy repos?
My sources.list file is:
#
# deb cdrom:[Debian GNU/Linux 6.0.0 _Squeeze_ - Official Snapshot amd64 LIVE/INSTALL Binary 20130824-13:07]/ squeeze main non-free
# deb cdrom:[Debian GNU/Linux 6.0.0 _Squeeze_ - Official Snapshot amd64 LIVE/INSTALL Binary 20130824-13:07]/ squeeze main non-free
deb http://ftp.gr.debian.org/debian/ squeeze main
deb-src http://ftp.gr.debian.org/debian/ squeeze main
deb http://security.debian.org/ squeeze/updates main non-free
deb-src http://security.debian.org/ squeeze/updates main non-free
# squeeze-updates, previously known as 'volatile'
deb http://ftp.gr.debian.org/debian/ squeeze-updates main non-free
deb-src http://ftp.gr.debian.org/debian/ squeeze-updates main non-free
# backports
deb http://ftp.gr.debian.org/debian wheezy-backports main contrib non-free
deb http://ftp.gr.debian.org/debian wheezy main contrib non-free
deb http://backports.debian.org/debian-backports/ squeeze-backports main contrib non-free
EDIT:
I couldn't get the sources with apt-get source mpd=0.17.6-1~bpo70+1
. apt was giving me this error:
E: Ignore unavailable version '0.17.6-1~bpo70+1' of package 'mpd'
E: Unable to find a source package for mpd
apt-cache showsrc mpd
returned the only the squeeze version.
EDIT 2:
Trying to install version 0.16 from wheezy. I got the sources but when I ran debuild -uc -us
it gave me errors about unmet dependecies. Building the deps with apt-get build-deps mpd=0.16.7-2
returned that it required libmp3lame0 (= 1:3.99.5)
, and I have 3.98.4+repack2-3~bpo60+1
.
apt-get source mpd=0.17.6-1~bpo70+1
it reportsE: Ignore unavailable version '0.17.6-1~bpo70+1' of package 'mpd' E: Unable to find a source package for mpd
. As for not upgrading to wheezy, I am using OpenMediaVault which is based on squeeze. @derobert: I was thinking I could get the source and build a package for squeeze. – svart Feb 28 '14 at 21:41apt-cache showsrc mpd | less
. BTW, why do you need a more recent version? As regardapt-get source
failing, I think there might be a bug (I recall something like that), but if necessary you can download from the web page. First, tell us which minimal version you require and why. Please post your currentsources.list
. – Faheem Mitha Feb 28 '14 at 21:52apt-cache showsrc mpd
shows only version 0.15.12-1.1 – svart Feb 28 '14 at 21:59apt-cache showsrc mpd
shows only the squeeze version, then something is wrong. Postsources.list
in your question, please. – Faheem Mitha Feb 28 '14 at 22:02sources.list
needsdeb-src
lines for whatever source versions you want. Personally, I would first try wheezy (though you could also try wheezy-backports, I suppose). You don't need to add the correspondingdeb
line. Also, don't forget to runapt-get update
. – Faheem Mitha Feb 28 '14 at 22:08libmp3lame0 (= 1:3.99.5-dmo2)
and the squeeze backport version is3.98.4+repack2-3~bpo60+1
. Should I do the same thing with mpd until every dependency is met? – svart Feb 28 '14 at 22:24debuild -uc -us
? If not, try that command, and if you get an error, post it in the question. This has now been closed, but don't worry about it. I've added a reopen vote. – Faheem Mitha Feb 28 '14 at 22:31debian/control
, the build dependency line. If the build really requires such a tight dependency, it will probably error out, hopefully with a complaint about an insufficiently high version number. If you have a sufficiently high rep, you could hop into the unix.sx chat room. This might be easier on chat. – Faheem Mitha Feb 28 '14 at 22:37debuild -uc -us
it gave errors about unmet dependencies, so I ranapt-get build-deps mpd=0.16.7-2
which gave the error. But after runningapt-get build-deps mpd
I managed to make the package and install it. Thank you so much for your help. I'm now going to try for the 0.17 version and I'll write an answer when I'm done. – svart Feb 28 '14 at 22:52deb-src
line to the sources.list file, or you will never get the sources. – Braiam Mar 01 '14 at 00:05