Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

apt-spy.conf(5) [debian man page]

APT-SPY.CONF(5) 						File Formats Manual						   APT-SPY.CONF(5)

NAME
apt-spy.conf - configuration file for apt-spy(8) DESCRIPTION
apt-spy.conf is the configuration file for apt-spy(8). It consists of a series of area labels, followed by a list of countries belonging to that label. Whitespace is ignored. Comments may be added anywhere, and begin with the hash ('#') character. Once a hash character is encountered, the rest of the line is ignored. A label consists of any alphanumeric characters, and ends with a colon character (':'). The label must be on a line by itself (excluding comments). Following a label are a list of country codes (one per line) of countries belonging to that label. Each country has a unique two-letter country code corresponding to its top level domain identifier. This is the same as the ISO3166 code. You can find the country code for a specific country either by looking at /var/lib/apt-spy/mirrors.txt, or by looking at the commented examples in the default apt-spy.conf. Labels cannot exist within labels. The end of a label section is signaled by the start of a new one, or by the end of file. Any valid label existing in apt-spy.conf can be specified to apt-spy using the '-a' option. apt-spy will then proceed to benchmark the mirrors in the list of countries associated with that label. EXAMPLES
This is an example of a valid apt-spy.conf file: USUK: GB # United Kingdom US # United States Australia: AU France-Germany-Netherlands: FR DE NL There is a default configuration file included with apt-spy. For further examples, and for a list of valid country codes, please refer to this. SEE ALSO
apt-spy(8), apt(8), sources.list(5) 20th May, 2003 APT-SPY.CONF(5)

Check Out this Related Man Page

APT-CUDF-GET(8) 						    DOSE Tools							   APT-CUDF-GET(8)

NAME
apt-cudf-get - wrapper for calling apt-get with external solvers SYNOPSIS
apt-cudf-get [arguments] DESCRIPTION
apt-cudf-get is a wrapper that allows to invoke apt-get with external solvers while ignoring apt's pinning. All options are passed on to apt-get. Normally, apt uses so-called pinning to select a candidate version of a package in case there are several versions available. This also holds when calling apt-get with external solvers. However, when it is not possible to find a solution under this constraint, it may be useful to relax pinning and to allow the external solver to choose among all available versions of packages in order to satisfy dependencies, not only those that are selected by the pinning. This is precisely what apt-cudf-get does. Note that, when using an external solver, the proposed solution may contain any available version of the packages that are given as arguments to install on the command line without specifying a version qualifier. For example apt-cudf-get --solver aspcud install ocaml may propose to install any available version of ocaml, while apt-cudf-get --solver aspcud install ocaml=4.01.0 will only propose to install ocaml in version 4.01.0 AUTHOR
Pietro Abate and Roberto Di Cosmo BUGS
Not all types of arguements to apt are correctly treated by this wrapper, in particular not the +pkg and -pkg shorthands for installation and removal requests. SEE ALSO
apt-get(8), apt-cudf(1), apt-cudf.conf(5), update-cudf-solvers(8), README.cudf-solvers <file:///usr/share/doc/apt-cudf/README.cudf-solvers>, README.Debian <file:///usr/share/doc/apt-cudf/README.Debian> dose3 3.0.2 2012-06-25 APT-CUDF-GET(8)
Man Page

15 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Finding how done IT

HellOooO, How I can find how delete a drictory in the system.If there's 2 root one of them outside the country but we have WAN so he can access the network from outside >>>> we are using same account so how I can know who done it I want to proof that. Regards (5 Replies)
Discussion started by: geoquest
5 Replies

2. UNIX for Dummies Questions & Answers

What is the best way?

What is the best way to prevent spywares or other spy programs from entering or hacking in your system? And is it possible to mix two firewall programs in one computer? Thanks for the help... (7 Replies)
Discussion started by: alecks1975
7 Replies

3. Debian

Safe to uninstall with apt-get install?

Yesterday I incidently called apt-get with an ending "-". I noticed that I got promped if I wanted to remove the file. My question is if it's safe. I've never heard of anyone doing it so I just wanted to know. Syntax: 161659/home/riwa# apt-get install links2- Reading Package Lists... Done... (2 Replies)
Discussion started by: riwa
2 Replies

4. UNIX for Dummies Questions & Answers

merging two lines in a file

Hi All, I want to merge two lines in a file till the end of the file. So what could be the command to get so. say file name : sample.txt contents: country=1 send apps =1 rece=2 country=2 send apps =3 rece=3 .. ... output: country=1;send apps =1 rece=2 country=2;send apps =3... (6 Replies)
Discussion started by: thaduka
6 Replies

5. Shell Programming and Scripting

adding a character in front of a line

Hi everyon, I am trying to search for a pattern in a file and add "//" to the begining of the file. lets say i want to comment out a line from my codes. the line that should be commented out contains the word "reset". i need to search for the word "reset" and comment out that specific line. is... (5 Replies)
Discussion started by: ROOZ
5 Replies

6. Shell Programming and Scripting

Passing parameter from one file to shell script

Hi All, I have a 2 files. File1 i am generating using an ETL tool, which is a comman seperated delimited file which contains country code & load date. everytime, this country code will be updated from a table. It might be AB or BA & ld_date will be for which date we need to load the file. ... (7 Replies)
Discussion started by: Amit.Sagpariya
7 Replies

7. What is on Your Mind?

Where have you been?

Found this site where you can check boxes for countries where you've been and draws a map for you. It doesn't mean that you've seen the length and breadth of a country, though. Just being to a single city is enough to mark the whole country as 'visited'. This is what my map looks like:... (20 Replies)
Discussion started by: blowtorch
20 Replies

8. Debian

apt-get error

Hello when i am giving a command apt-get install I am getting error as below: " apt-get: error while loading shared libraries: libapt-pkg-libc6.3-6.so.3.11: cannot open shared object file: No such file or directory " can u suggest what to do. step by step. (3 Replies)
Discussion started by: pradeepreddy
3 Replies

9. Solaris

Can we spy a tty session?

First of all, in no way I want to use this to hack / cheat / steal etc ... I am an admin of a couple of hundred users which are 99,8% > 500miles away from me and to facilitate some administration part I would like to be able to "spy" what they are doing in there sessions, live. ex: ... (7 Replies)
Discussion started by: plmachiavel
7 Replies

10. UNIX for Advanced & Expert Users

How to Make Sql Plus Exit with an Error Code

Dear all, How to make sqlplus command to exit with an apt error code in bash script, It always returns 0 for me. Thanks (9 Replies)
Discussion started by: vetrivendhan
9 Replies

11. Debian

apt-get problems on Wheezy

I am having some troubles with apt-get. I did an apt-get update and an apt-get upgrade. Some dependencies did not download, and so I had to do `apt-get -f install` to fix that. The thing is I get an error about /var/lib/dpkg/available root@hayek:~# apt-get -f install Reading package lists...... (3 Replies)
Discussion started by: John Tate
3 Replies

12. Shell Programming and Scripting

Help me in this script fast

i have log files that represent names, times and countries, each name come once in country but may in diff times i need at end each name visited which country and its USA | Tony | 12:25:22:431 Italy | Tony | 09:33:11:212 **** Italy| John | 08:22:12:349 France | Adam | 14:22:42:981... (2 Replies)
Discussion started by: teefa
2 Replies

13. Shell Programming and Scripting

Deleting line with range check in awk

Consider a input.txt as: country=india ram ajit sham vijay //need to be removed country=india suman tharan raju what i did is: awk '$0~pat {n=NR+4} NR!=n' pat='country=india' input.txt > output.txt My looking to the above code is between any two country=india ,... (8 Replies)
Discussion started by: Gautham
8 Replies

14. Shell Programming and Scripting

Korn shell - lookup table

Hi All I need to pass country code into a pipe delimited file for lookup. It will search country code (column 3) in the file, if the country code matched, it will return value from other columns. Here is my mapping file. #CountryName|CountryRegion|CountryCode-3|CountryCode-2... (5 Replies)
Discussion started by: lafrance
5 Replies

15. Shell Programming and Scripting

Combine first two words ( country name ) into one word in every line of log file with 500 records

United States 1.2.3.4 80 10 1563790914 1 1932454179 1.2.3.6 55517 11.1.2.1 55517 Italy 1.2.3.4 80 10 1563790914 1 1932454179 1.2.3.6 55517 11.1.2.1 55517 India 1.2.3.4 80 10 1563790914 1 1932454179 1.2.3.6 55517 11.1.2.1 55517 south Africa 1.2.3.4 80 10 1563790914 1... (9 Replies)
Discussion started by: arm
9 Replies