Advanced Packaging Tool, the package manager for Debian-based distributions. It is also the most used tool for installing packages in Ubuntu. Questions about using any of the apt tools should use this tag.

learn more… | top users | synonyms (1)

0
votes
1answer
244 views

Where do lucid-updates come from?

Considering the following command: # apt-get --simulate --show-upgraded upgrade Reading package lists... Done Building dependency tree Reading state information... Done The following packages will be ...
19
votes
3answers
15k views

How do I fix this “E:Type '*' is not known on line * in source list …” update error?

Every once in a while I see users having issues to update due to errors like this: E:Type 'ain' is not known on line 1 in source list /etc/apt/sources.list.d/some-ppa.list' with varying types/line ...
1
vote
1answer
2k views

Install 'grub-pc', changed repository

I am trying to use a program to fix my booting. It asked me to type a long line of code into the terminal to install grub-PC It says in terminal that it may have been moved to another repository. ...
14
votes
2answers
13k views

How to clean var/cache/apt in a way that it leaves only the latest versions of each package

I want to know a way to clean the var/cache/apt folder in a way that it only leaves the latest version of a package if it has several versions or it leaves a package if it is the only one of that ...
4
votes
2answers
2k views

How do I stop this warning: “W: Duplicate sources.list entry cdrom://Ubuntu 11.10 _Oneiric Ocelot_…”

I'm running Ubuntu on a live usb drive and every time I boot, the apt line cdrom://Ubuntu 11.10 _Oneiric Ocelot_ - Release amd64 (20111012)/ oneiric/main i386 Packages and another similar apt line ...
0
votes
2answers
120 views

Help with installing sudo apts

Any time I use Alt+F2 to open command line and I type a command such as: sudo apt-get install clamav clamtk I click on it and it doesn't do anything. Am I not supposed to click on the icon that ...
2
votes
2answers
1k views

Equivalent of yum distro-sync?

In redhat-based distros, the yum tool has a distro-sync command which will synchronize packages to the current repositories. This command is useful for returning to a base state if base packages have ...
3
votes
0answers
1k views

GPG Error while running apt-get [duplicate]

Possible Duplicate: What is the easiest way to resolve apt-get BADSIG GPG errors? I am trying to update some R packages. For that I am running sudo apt-get update command. I am running ...
1
vote
1answer
434 views

Error while using apt-get install

I am getting the following error whenever I try to install anything using apt-get install: liam@Liam-Tosh-Linux:~$ sudo apt-get install chromium-browser [sudo] password for liam: E: Could not get ...
1
vote
2answers
3k views

apt-get hangs, waiting for suitable packages

After several tries on installing radiotray on Ubuntu Oneiric version, another user came up with the trouble being it the software sources settings. Now that i want to perform the installation of ...
0
votes
3answers
612 views

Removing packages through a list [closed]

I'm running Peppermint OS Two and it uses natty packages. I want to introduce some oneiric packages. As I go along I backup my list of packages and /var/cache/apt/archives. The plan is if I install ...
1
vote
1answer
306 views

I deleted the apt folder from /var/cache inlcuding (I think) sources.list. What do I do now?

I initially had a problem with apt-get update. It stopped on 99%, "waiting for headers". This problem came when attempting to install GeoGebra following instructions at this page. Trying to solve ...
4
votes
2answers
17k views

Stuck at 0% [waiting for headers] (apt)

On googling this error it seems that a lot of people are having this issue. apt-get upgrade hangs at 0% [waiting for headers] apt-get install apache2 hangs at 0% [waiting for headers]. Some apt-get ...
9
votes
1answer
516 views

What happens during a package upgrade?

I recently started building Ubuntu packages for my software on Launchpad. They are pretty simple; most of them just contain some files and scripts that are trigged through the .install .preinst ...
1
vote
2answers
157 views

Prevent .deb package from being upgraded

I maintain a package on launchpad that releases approx every month. However, our new version is no longer compatible with the previous version, because of some fundamental changes. So version 2.8 ...
1
vote
0answers
422 views

Why can libqwt-dev be stuck in upgrade and how to fix this? [closed]

Every time I run apt-get update and apt-get dist-upgrade then, I get libqwt-dev in "the following packages will be upgraded" list. Every time. If I update and upgrade right after I've already done it ...
0
votes
0answers
204 views

BADSIG error while updating [duplicate]

Possible Duplicate: What is the easiest way to resolve apt-get BADSIG GPG errors? I have had too much troubled with this error. I have installed a fresh version of Ubuntu 11.10 and then it ...
0
votes
1answer
2k views

Installing ia32-libs on karmic koala [duplicate]

Possible Duplicate: Can I keep using Ubuntu 9.04 if it's outdated? Unable to install software on my ubuntu 9.10 This server I'm running is still on Karmic - I'm painfully aware that ...
71
votes
1answer
71k views

What is the difference between apt-get update and upgrade?

What is the difference between apt-get update and apt-get upgrade? Which should I run first? Do any of them automatically run the other?
9
votes
3answers
4k views

How to install multiple PPAs and applications at once?

I'm going to set up a couple of general use computers on one of my lab's work benches. There's a whole bunch of PPA repositories and applications from the Ubuntu repositories that I'd like to install ...
5
votes
1answer
292 views

How do I turn “sudo apt-get” text into clickable download links in Firefox?

In support forums, tech blogs or any other website, one may encounter some instruction similar to the following: Type sudo apt-get install sl in a terminal window, enter your password en you ...
1
vote
1answer
2k views

cdrom listed in mtab but not in fstab?

my problem is that the cdrom is listed properly in /etc/mtab file but not in /etc/fstab file. mtab contents: /dev/sda1 / ext4 rw,errors=remount-ro,commit=0 0 0 proc /proc proc rw,noexec,nosuid,nodev ...
3
votes
0answers
3k views

Updating karmic [duplicate]

Possible Duplicate: Installing packages to end-of-lifed Ubuntu editions? I have a server which fails to do any updates $ sudo apt-get update Ign http://security.ubuntu.com karmic-security ...
0
votes
0answers
724 views

Unable install software using sudo apt-get install [duplicate]

Possible Duplicate: Fixing Could not get lock /var/lib/dpkg/lock When I used sudo apt-get install it is either getting struck or it is showing an error like this E: Could not get lock ...
1
vote
1answer
664 views

Load button in aptoncd wont work

I am using aptoncd for backup the cache but in ubuntu 11.10 the load button wont work so i opened from terminal when i pressing load button terminal shows timeout error how to solve this
4
votes
4answers
10k views

Error with Update Manager and Software Center

I am running Ubuntu 11.10. On trying to check for updates using the Update Manager GUI, I encounter the following error: Failed to download repository information Check your Internet connection. ...
5
votes
2answers
5k views

How to only apt-get upgrade Certain Applications?

I only have a traffic-limited mobile broadband connection at my disposal. sudo apt-get dist-upgrade wants to get ~500MB of data which is not feasible for me right now. Hence, is it possible to only ...
7
votes
1answer
3k views

Disable proxy server for one apt repository

I have made a local apt repository, but my IT-department caches LAN traffic on the proxy server. Is there a way I could work around this to disable the proxy settings for this local apt repository? in ...
1
vote
1answer
590 views

NFS server generating “invalid extent” on EXT4 system disk?

I have a server running Xen 4.1 with Oneiric in the dom0 and each of the 4 domUs. The system disks of the domUs are LVM2 volumes built on top of an mdadm RAID1. All the domU system disks are EXT4 and ...
4
votes
2answers
8k views

add-apt-repository wont work on proxy [duplicate]

Possible Duplicate: How do I add a repository from behind a proxy? I would like to send an add-apt-repository command via the gnome-terminal on my Ubuntu 11.10 laptop that is connected ...
0
votes
1answer
3k views

Installing XULrunner, adding mozilla daily ppa doesn't help

I need to install xulrunner so I can use Redcar, but am unable to do so. I followed the steps in this question verbatim Install XULRunner 2.0. Here's the output from adding the Mozilla PPA: ...
0
votes
1answer
493 views

Update manager won't update, Software Center will not open

Could not initialize the package information An unresolvable problem occurred while initializing the package information. Please report this bug against the 'update-manager' package and include the ...
3
votes
2answers
2k views

Why am I unable to install,remove or upgrade packages?

When I wanna do anything with Synaptic or apt-get or stop,start,restart postgresql I receive following error Setting up postgresql-common (114) ... * Starting PostgreSQL 8.4 database server ...
25
votes
9answers
117k views

apt-get update fails to fetch files, “Temporary failure resolving …” error

Err http://archive.canonical.com natty InRelease Err http://security.ubuntu.com oneiric-security InRelease Err http://extras.ubuntu.com natty InRelease ...
2
votes
3answers
167 views

can apt do everthing dpkg can?

As I understand things apt uses dpkg are there any operations that you can do with dpkg that can't be done with apt? as a new User to Ubuntu server do I need to learn anything about dpkg?
3
votes
1answer
478 views

Does apt-get automatically check digital signatures?

I am planning to run a production server on Ubuntu LTS 8.04 and I am concerned about security of the packages I am installing I want to make sure that packages that are downloaded by apt-get were not ...
1
vote
0answers
141 views

Problem with Microsoft core fonts installer [duplicate]

Possible Duplicate: How can I accept the agreement in a terminal, like for ttf-mscorefonts-installer? Yes, very strange problem indeed. I installed Gnome package for a more beautifull ...
1
vote
0answers
3k views

Update manager generates 404 error while attempting update. Will not update [duplicate]

Possible Duplicate: How can I fix a 404 Error using a PPA? While running update manager in Ubuntu 11.10 Oneric Ocelot I receive this list of errors. > W:Failed to fetch > ...
2
votes
5answers
2k views

How to bypass the apturl and download the deb file directly?

I want to download this game 0A.D. from http://www.playdeb.net/software/0%20A.D. .deb file. They keep their file up to date with the source code, so they have the newest versions. I don't want apturl ...
2
votes
0answers
1k views

Packages have unmet dependencies, why? [closed]

I get this error while trying to install a package as follows: sudo add-apt-repository ppa:v-launchpad-jochen-sprickerhof-de/pcl sudo apt-get update sudo apt-get install libpcl-all The first two ...
2
votes
2answers
97 views

Newer apt repositories on older Ubuntu releases

If I have an older Ubuntu release, lets say it is Ubuntu 10.04, and I have to install a package from a newer Ubuntu apt repositories (e.g. from Ubuntu 11.10 repo's) because the newer versions of that ...
4
votes
2answers
372 views

When a PPA has a package of the same name in the Ubuntu Software Center

If a PPA in your sources list has a package of the same name in the Ubuntu Software Center, which one shows up in the software center. Likewise, which package is downloaded via apt-get install ?
2
votes
2answers
690 views

What does the installation of linux-{image,headers}-generic-lts-backport-natty do?

What do these command do? sudo apt-get install linux-image-generic-lts-backport-natty \ linux-headers-generic-lts-backport-natty Does it install just a new Linux version or ...
1
vote
1answer
185 views

How paranoid should I be that the automatic package manager mechanism is going to remove packages that I use?

When I use the packaging tool, it "reminds" me to use autoremove to remove packages which are no longer needed. But when I review the list, I see packages which I wish to keep. $ sudo apt-get ...
1
vote
2answers
851 views

An unhandleable error occurred [duplicate]

Possible Duplicate: Cannot install any software from the Software Center due to ttf-mscorefonts-installer package error Ubuntu 11.10 Software Centre Error title:An unhandlable error ...
0
votes
1answer
614 views

Install mediawiki with PostgreSQL instead of MySQL

I need to install Mediawiki with PostgreSQl as database backend on an 10.04 server. I would prefer to install Mediawiki via apt-get/aptitude but I don't know how to configure the installation not to ...
13
votes
3answers
102k views

how to install packages with apt-get on a system connected via proxy?

I've got an Ubuntu 11.10 system connected via a proxy to the internet, and I would like to install packages via apt-get. When I try to do that I get this error message: sudo apt-get install ...
12
votes
1answer
29k views

How to solve configure: error: readline library not found?

I have an Ubuntu 10.04 LTS server with a minimal install that I want to compile postgres on. With the minimal install the server did not have gcc so I had to do an apt-get install gcc but now I keep ...
0
votes
1answer
1k views

What to try when apt-get install XXX results in Connection failed

Is there something wrong with the repository, the server, or is my cache stale? I am able to ping tw.archive.ubuntu.com just fine. It almost seems like the file ...
18
votes
10answers
75k views

407 Proxy Authentication Required

When I try to install a software using Ubuntu Software center I get: Failed to download repository information Check Your Internet connection When I try to do a apt-get install something, I get: ...