New architecture specific repo of modified binaries

News and discussion about development of the Debian OS itself

New architecture specific repo of modified binaries

Postby seanruk » 2013-08-08 14:53

I am creating a subset of Debian packages targeted at a specific architecture and intend to use the standard mirrors for all other packages; following the guide on the wiki (https://wiki.debian.org/Derivatives/Gui ... positories).
For those derivatives that rebuild Debian source packages, add some source packages and modify some source packages, where possible we encourage them to use standard Debian mirrors for the source packages and add a second repository containing only the source and binary packages that have been added or modified. This recommendation may be hard to do and therefore regular source package syncing is an alternative recommendation.

I've added my repo above the standard mirrors in /etc/apt/sources.list and in vain tried pinning the repo to raise it's priority. However, running apt-get update followed by trying to update a package, it's still resolving to the main repository.
Code: Select all
root@debian:/tmp# apt-get install --print-uris --reinstall adduser
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 8 not upgraded.
Need to get 262 kB of archives.
After this operation, 0 B of additional disk space will be used.
'http://mirrors.kernel.org/debian/pool/main/a/adduser/adduser_3.113+nmu3_all.deb' adduser_3.113+nmu3_all.deb 262220 MD5Sum:9b7a9665cd1a6290786478931aafa9bc

I think I've found out why the wiki states "This recommendation may be hard to do".

Anyone got any suggestions or something I'm missing?

Any assistance would be appreciated, this is the first time I've setup my own repo.
seanruk
 
Posts: 2
Joined: 2013-08-08 10:03

Re: New architecture specific repo of modified binaries

Postby confuseling » 2013-08-08 14:58

Well, why not post the apt preferences file in question?

I just set a default release instead of pinning, but I don't know whether that'll help in your case...

viewtopic.php?t=15612
The Forum's search box is terrible. Use site specific search, e.g.
https://www.google.com/search?q=site%3A ... terms+here
confuseling
 
Posts: 2143
Joined: 2009-10-21 01:03

Re: New architecture specific repo of modified binaries

Postby seanruk » 2013-08-09 13:46

Thanks for the link, I'll take a read.

The preferences file:
Code: Select all
Package: *
Pin: release o=deb,n=wheezy
Pin-Priority: 900

There is nothing else in /etc/apt/preferences.d/

My sources.list contains:
Code: Select all
deb http://xyz.cloudfront.net/deb7.0-grip-repo wheezy main
deb http://mirrors.kernel.org/debian wheezy main contrib
seanruk
 
Posts: 2
Joined: 2013-08-08 10:03


Return to Debian Development

Who is online

Users browsing this forum: No registered users and 4 guests

fashionable