Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

apt(8) [linux man page]

apt(8)							      System Manager's Manual							    apt(8)

NAME
apt - Advanced Package Tool SYNOPSIS
apt DESCRIPTION
APT is a management system for software packages. For normal day to day package management there are several frontends available, such as aptitude(8) for the command line or synaptic(8) for the X Window System. Some options are only implemented in apt-get(8) though. SEE ALSO
apt-cache(8), apt-get(8), apt.conf(5), sources.list(5), apt_preferences(5), apt-secure(8) DIAGNOSTICS
apt returns zero on normal operation, decimal 100 on error. BUGS
This manpage isn't even started. See <http://bugs.debian.org/apt>. If you wish to report a bug in apt, please see /usr/share/doc/debian/bug-reporting.txt or the report- bug(1) command. AUTHOR
apt was written by the APT team <apt@packages.debian.org>. Debian GNU/Linux 16 June 1998 apt(8)

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

14 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

apt-get is unabel to find the package

Hi All, I am getting the following error when installing teh package kernel-source-2.6.10 ba-chroot:~# apt-get install kernel-source-2.6.10 Reading Package Lists... Done Building Dependency Tree... Done E: Couldn't find package kernel-source-2.6.10 thanks & Regards Gauri (4 Replies)
Discussion started by: gauri
4 Replies

2. Debian

How to determine if a package needs a reboot?

Hi, Anyone got a clue? is there some tool for it? couldnt find it in apt get, anyway i hope so cos i must build a patch management tool for work:P Greetz. (10 Replies)
Discussion started by: X-ion
10 Replies

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

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

5. Cybersecurity

Computer secure management

(8 Replies)
Discussion started by: OS-easy
8 Replies

6. Ubuntu

Automatic update script issue (Ubuntu server)

Hi, I've created a very basic script to run apt-get update and apt-get dist-upgrade unattended (run with cron) and save the logs. Though, it's not really a script, just a file containing the commands to run in order: pasteit .com/18601 I'm currently testing this and ran into some unexpected... (4 Replies)
Discussion started by: Raxje
4 Replies

7. UNIX for Advanced & Expert Users

I was trying this command...am I going correct? other there is better way

I was trying to copy all debs from apt cache to some storage location and I was taking this approach... /var/cache/apt/archives# ls -1 | grep -v jdownloader | fgrep .deb | xargs cp /media/eshant/L-STORE/Softwares/openjdk/an error bla_bla.deb is a not directory stalled me Suggestions please... (9 Replies)
Discussion started by: ezee
9 Replies

8. UNIX for Advanced & Expert Users

X Windows display

Hello Folks, Have X-Win 32 installed on my desktop. Earlier when it used to be XP, ran the following commands on unix system: export DISPLAY=<desktop ip>:0.0 xterm Above used to work like charm Now it got upgraded to Windows 7 Setting the display & triggering xterm doesn't work. It... (8 Replies)
Discussion started by: vibhor_agarwali
8 Replies

9. Cybersecurity

How can someone hack into a Linux server ?

Hi! I have a debian linux VPS and i am wondering how would someone be able to hack into it , in what ways ? I've asked a more knowledgeable friend and he said the only way someone would be able to get into my VPS is via FTP or SSH, are there some other ways someone can enter my machine ? I... (18 Replies)
Discussion started by: ParanoiaUser
18 Replies

10. UNIX for Dummies Questions & Answers

VMWare kernel headers not found

This is the error: http://imgur.com/1ywCKac I've tried Googling forever. I've tried this command: sudo apt-get install linux-headers-$(uname -r) It says the package is not found. Nothing works. Please help. (9 Replies)
Discussion started by: plsbbg
9 Replies

11. Linux

Apt-get update wont run and gives 503 service unavailable error

Hi, I am running on Ubuntu 12 (precise) 64 bit and came to know that i cannot install any packages using apt-get and aptitude. Linux test01 3.5.0-23-generic #35~precise1-Ubuntu SMP Fri Jan 25 17:13:26 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux But the same /etc/apt/sources.list file is... (20 Replies)
Discussion started by: prash358
20 Replies

12. Solaris

Yum, rpm, apt-get install command not found in Solaris

I am using solaris 10 yum command not found apt-get install command not found rpm command not found how to use yum and apt-get command in solaris how to install dhcp, openldap-servers packages in solaris (4 Replies)
Discussion started by: ainstin
4 Replies

13. Linux

Terminal command

I need to execute apt-cdrom to designate the pendrive using LM 18.3x 'live". (instead of CD-Rom) Rick (7 Replies)
Discussion started by: 69Rixter
7 Replies

14. UNIX for Beginners Questions & Answers

Starting Applications With X

So, I wanted to see if I could just use X without a desktop. I installed Debian from a netinstall on a vm and installed xorg with apt. Logged in as a normal user with startx and had a big black background. Seemed like everything was working as expected, so I went to configure tint2 at start up. I... (3 Replies)
Discussion started by: Azrael
3 Replies