Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

add-apt-repository(1) [debian man page]

add-apt-repository(1)					      General Commands Manual					     add-apt-repository(1)

NAME
add-apt-repository - Adds a repository into the /etc/apt/sources.list or /etc/apt/sources.list.d or removes an existing one SYNOPSIS
add-apt-repository [OPTIONS] REPOSITORY DESCRIPTION
add-apt-repository is a script which adds an external APT repository to either /etc/apt/sources.list or a file in /etc/apt/sources.list.d/ or removes an already existing repository. The options supported by add-apt-repository are: -h, --help Show help message and exit -r, --remove Remove the specified repository -y, --yes Assume yes to all queries -k, --keyserver Use a custom keyserver URL instead of the default REPOSITORY STRING
REPOSITORY can be either a line that can be added directly to sources.list(5), or in the form ppa:<user>/<ppa-name> for adding Personal Package Archives. In the first form, REPOSITORY will just be appended to /etc/apt/sources.list. In the second form, ppa:<user>/<ppa-name> will be expanded to the full deb line of the PPA and added into a new file in the /etc/apt/sources.list.d/ directory. The GPG public key of the newly added PPA will also be downloaded and added to apt's keyring. SEE ALSO
sources.list(5) COPYRIGHT
This manual page was written by Chow Loong Jin <hyperair@gmail.com> for the Debian system (but may be used by others). Permission is granted to copy, distribute and/or modify this document under the terms of the GNU General Public License, Version 2 or any later version published by the Free Software Foundation. On Debian systems, the complete text of the GNU General Public License can be found in /usr/share/common-licenses. add-apt-repository(1)

Check Out this Related Man Page

SBUILD-APT(1)							   Debian sbuild						     SBUILD-APT(1)

NAME
sbuild-apt - run apt-get or apt-cache in an sbuild chroot SYNOPSIS
sbuild-apt [-h|--help | -V|--version] CHROOT (apt-get|apt-cache) [ARG1 [ARG2 [ARGn...]]] DESCRIPTION
sbuild-apt runs apt-get(1) or apt-cache(1) inside the specified chroot, along with any additional arguments. OPTIONS
Actions -h, --help Display this manual. -V, --version Print version information. Chroot selection CHROOT The chroot to run the command in. Note that 'o', 's', 't', 'u' and 'e' may be used as abbreviations for 'oldstable', 'stable', 'testing', 'unstable' and 'experimental', respectively. APT options apt-get Run apt-get. apt-cache Run apt-cache. ARG Additional arguments to pass to apt-get or apt-cache. EXAMPLES
To update the APT package lists in the unstable chroot: % sbuild-apt unstable apt-get update Note that sbuild-update(1) is a more convenient method for doing the above. AUTHORS
Roger Leigh. COPYRIGHT
Copyright (C) 2006-2008 Roger Leigh <rleigh@debian.org>. SEE ALSO
apt-cache(1), apt-get(1), sbuild(1), sbuild-update(1), sbuild-upgrade(1). Version 0.63.2 18 Aug 2012 SBUILD-APT(1)
Man Page

15 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

apt-get update not working

Hi all, Till now i was able to do apt-get update. but today i started to the following error: # apt-get update E: Could not open lock file /var/lib/apt/lists/lock - open (2 No such file or directory) E: Unable to lock the list directory # Could any one let me know how to solve it. ... (1 Reply)
Discussion started by: gauri
1 Replies

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

3. UNIX for Dummies Questions & Answers

help on SCP command

Total unix newbie needs help:Need to SCP files to a WINDOWS NT server,but giving me some problems: REPOSITORY=/usr/psoft/fs600srv/reports/HR /usr/local/bin/scp -p -a $REPOSITORY/HR.glpccd*.unl Administrator@10.84.124.6:/Temp When I execute the script, it is giving me this error. ... (3 Replies)
Discussion started by: starla0316
3 Replies

4. AIX

Compile Problem on AIX5.3

Hello, I try to compile apt-rpm on a AIX box. AIX: AIX 5300-05-03 make : 3.81 CC= VAC 8 I get the follwing error: make: Entering directory `/home/root/apt-0.5.15lorg3/apt-pkg' source='contrib/cmndline.cc' object='contrib/cmndline.lo' libtool=yes \ DEPDIR=.deps depmode=none... (1 Reply)
Discussion started by: jbo
1 Replies

5. Linux

How to find out what is size of repository?

Hello, I need to know what is the size of centos 5 repository? Each centos 5 repository. 1) os 2) update 3) addons 4) centosplus 5) extras Here is the website link mirror.centos.org thanks (2 Replies)
Discussion started by: email-lalit
2 Replies

6. Solaris

External Hardrive add on's

Does anyone know if and or how you can add external hardrives to Sun Solaris 9 or greater systems. Needing to add two additional dedicated storage drives for large image files and mount these drives to the system. Will also need to mirror these two drives for redundancy. Any help would be... (2 Replies)
Discussion started by: tazzy
2 Replies

7. UNIX for Dummies Questions & Answers

Install App in Debian Etch 4.0

I am trying to install a couple applications that I downloaded on my Debian Etch 4.0 OS but I don't know how. 1) I tried using sudo apt-get install...but it always tells me I'm not in the sudoers file 2) I tried using root terminal, but I cant seem to navigate anywhere and I don't know where... (3 Replies)
Discussion started by: icecom10
3 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. Shell Programming and Scripting

What is a "repository"?

What is a "repository" in the context of computers? For example when I look up the svnadmin create command I find that it creates a new repository. Also, what is a "directory struture", is that the same as a directory? (1 Reply)
Discussion started by: computethis
1 Replies

10. Shell Programming and Scripting

sed magic

I want to become an expert @ using sed, but i do not have enough time... Atm I have a repository in my apt/sources.list but it is commented out since i do not want to install packages from it (backtrack repository) except the exploitdb package. I would like make a command, lets say... (5 Replies)
Discussion started by: redsolja
5 Replies

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

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

13. UNIX for Dummies Questions & Answers

Error message of sudo apt-get

Hi, I am using ubuntu 12.04 and every time I installed new program or do: sudo apt-get install -f I get the following mesage: Download done. sha256sum mismatch jdk-7u3-linux-x64.tar.gz Oracle JDK 7 is NOT installed. dpkg: error processing oracle-java7-installer (--configure): subprocess... (2 Replies)
Discussion started by: programAngel
2 Replies

14. Shell Programming and Scripting

Bashrc function errors

So I am messing around customizing my bashrc and I created a function that will move the apt proxy file depending on what parameter I pass. It checks for two conditions either home or work (user provided) and moves the file according to where the file is currently located and what parameter it... (2 Replies)
Discussion started by: comtb
2 Replies

15. UNIX for Beginners Questions & Answers

Ppa and default-bind-ciphers

Hello, I am under ubuntu 16.04 now. I am going to add a repository into server. After apt-get install app_name, I see below lines inside a file : excerpted from config file: .. .. ssl-default-bind-ciphers ECDH+AESGCM:DH+AESGCM:ECDH+AES256::RSA+AES:RSA+3DES:!aNULL:!MD5:!DSS .. .. ... (9 Replies)
Discussion started by: baris35
9 Replies