Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

New architecture specific repo of modified binaries

User discussion about Debian Development, Debian Project News and Announcements. Not for support questions.
Post Reply
Message
Author
seanruk
Posts: 2
Joined: 2013-08-08 10:03

New architecture specific repo of modified binaries

#1 Post by seanruk »

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.

confuseling
Posts: 2121
Joined: 2009-10-21 01:03

Re: New architecture specific repo of modified binaries

#2 Post by confuseling »

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...

http://forums.debian.net/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

seanruk
Posts: 2
Joined: 2013-08-08 10:03

Re: New architecture specific repo of modified binaries

#3 Post by seanruk »

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

Post Reply