[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

"origin"



I have had trouble with 'broken packages' an am trying to set up an apt-preferences file that will safeguard future operations. I presently use Xandros 2 as an operating system and as you would expect like all operating system packages as it matures it becomes more and more 'personalised' and possibly, consequently, more prone to broken packages when packages from other sources are added. In order to resolve my difficulties I am embellishing various Howtos and man pages in order to get clear in my own mind what is required.

In your man page for apt_preferences you refer to 'origin' as being the source of the package. Are there any documents that you can point me towards that clearly define what form of words will always be recognised as a genuine 'origin'.

Perhaps some samples to illustrate the point;
a.) Your man page suggests that Pin origin="" refers to the local site. Does this mean a local url or internet address or does it mean packages available within the directory that you are presently in. If it is a local interent address or url how does the apt package know where the start and finish of the address is. b.) Xandros have generated there own parcels of packages and they are downloaded from /deb http://xnv2.xandros.com/2.0/pkg xandros2.0-xn main contrib non-free /or /deb http://xnv2.xandros.com/2.0/pkg unsupported xandros2.0-xn main contrib non-free.
c.)/Debian sources originate from the main sites such as
/deb http://ftp.us.debian.org/debian stable main non-free contrib/
or the package could be relayed from a local mirror.
What would be the correct format of 'origin' to select the above addresses?
I appreciate that further selection can take place using the other entries in the apt preferences file so that you could discriminate between say xandros supported and xandros unsupported or debian stable and debian testing but I am confused by what apt preferences recognises as an 'origin'.

As stated earlier a lot of what I am doing is effectively interpretting your man page with a non linux brain if you wish to see the outcome please let me know.

Regards,

Martin Welsh.



Reply to: