PDA

View Full Version : deb-src and backports


2swift
June 3rd, 2005, 04:37 AM
I don't know if this question has already been asked, I checked the forums. I was wondering where the source repositories are so I can do an "apt-get source sompackage"? I was interested in using pbuilder to try to rebuild some backports packages for amd64. Am I just missing something obvious?

Thanks.

ubuntu_demon
June 3rd, 2005, 07:08 AM
I don't know if this question has already been asked, I checked the forums. I was wondering where the source repositories are so I can do an "apt-get source sompackage"? I was interested in using pbuilder to try to rebuild some backports packages for amd64. Am I just missing something obvious?

Thanks.
you should have the deb-src line of the corresponding repository in your sources.list .. for example :

deb-src http://us.archive.ubuntu.com/ubuntu hoary main restricted universe multiverse

deb-src doesn't work with backport repositories

But if there are sources available this is the way to go :

$ sudo apt-get source packagename

some backport sources are available here :

http://backports.ubuntuforums.org/ubp/sources

Maybe you can get the breezy sources for your package and try to build them ?

Slo Mo Snail
June 3rd, 2005, 07:35 AM
As most packages are backported from breezy (and debian unstable, sometimes experimental) you just have to add their deb-src repositories. The only difference between the backports and the sources in the repos is the version number (for 99.999% of them ;) )

Amaranth
June 3rd, 2005, 08:04 AM
As most packages are backported from breezy (and debian unstable, sometimes experimental) you just have to add their deb-src repositories. The only difference between the backports and the sources in the repos is the version number (for 99.999% of them ;) )
Aside from that, this is a known issue and one the Ubuntu developers brought up at the meeting. Should no longer be a problem when backports move to ubuntu's buildds and servers.

2swift
June 3rd, 2005, 10:09 AM
Thanks for the replies everyone.