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)

8
votes
2answers
2k views

How to prevent apt-get/aptitude keeping a cache

I have installed Apt-Cacher NG to provide a cache of packages for several machines. I therefore see no point in having aptitude/apt-get keeping their own (second) cache in /var/cache/apt/archives. I ...
0
votes
1answer
1k views

I want to save apt-get package

I am using Ubuntu 10.10. Suppose I run this command to install GCC: sudo apt-get install gcc* I want save gcc on my pc forever, so that next time I do not have to run that apt-get command to ...
3
votes
3answers
406 views

Is it possible to do an apt-get installation and continue it later?

Let's say I want to install something big... (kde for example) but I'm doing it in a place with a very poor internet conection, so I want to stop it, and doing it later. But I don't want to start all ...
1
vote
1answer
703 views

“'/usr/share/app-install/desktop/software-center.menu': Not a directory” error when trying to reinstall the software center

I was having some problem with Software center. So tried to reinstall it. But While removing it give me an error. (Reading database ... 150986 files and directories currently installed.) Removing ...
20
votes
3answers
7k views

Does apt-get clean harm your system?

Does cleaning /var/cache/apt/archives by apt-get clean affect installed applications? Is it that the .deb packages there are needed for applications to run properly?
1
vote
0answers
349 views

cant reinstall ubuntu-desktop [closed]

On my system (11.10) eog (image viewer) was not working. I uninstalled it but along with it ubuntu-desktop was also removed, but after I reinstalled eog, ubuntu-desktop was not getting installed. ...
1
vote
3answers
5k views

How can I direct apt-get to download package and its dependencies to some other location?

How can I direct apt-get install package_name to download package and its dependencies to some other location instead of /var/cache/apt/archives?
0
votes
1answer
1k views

Can't install nodejs-dev: unmet dependencies

I need to install nodejs-dev package. But sudo apt-get install nodejs-dev throws The following packages have unmet dependencies: nodejs-dev : Depends: nodejs (= 0.4.9-1ubuntu3) but ...
1
vote
1answer
688 views

Difference between commands

What is the difference between the following? sudo apt-get update sudo apt-get upgrade and dpkg --get-selections | grep -v deinstall > ubuntu-files plus sudo dpkg --set-selections < ...
3
votes
3answers
15k views

dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)

The Software upto date Option automatically download the upgarde for GIMP. but While installing its giving me the error. how to upgrade the same Reading package lists... Done Building dependency ...
1
vote
1answer
1k views

Why do apache2 upgrades remove and not re-install libapache2-mod-php5?

We repeatedly see that when an apache2 update arrives and is installed it causes the libapache2-mod-php5 package to be removed and does not subsequently re-install it automatically. We must ...
15
votes
5answers
10k views

Is 100% CPU usage harmful while update-apt-xapi runs?

(System: 11.10 running Unity 3D) When update-apt-xapi is running, CPU usage stays at 100% (for about a couple of minutes). Is that normal? I understand that the command runs update-apt-xapian-index ...
26
votes
8answers
33k views

How do I remove a malformed line from my sources.list?

I have unistalled and reinstalled the Ubuntu Software Center as per info I found in a similar thread and I got the same response about line 91 or something like that. I just tried to upload a screen ...
4
votes
1answer
1k views

Why does aptitude want to remove a bunch of files?

Recently I encountered dependencies resolve issues when using APTITUDE (it is my favorite). Nevertheless, I started to feel that APTITUDE does not behave as it is supposed to be in 64 bits systems ...
0
votes
3answers
703 views

How to get the latest IMDbPY in 10.04 LTS

I am using Ubuntu 10.04 LTS. I would like to install the latest IMDbPY because the one in the repository has a bug with the country codes. This bug has been fixed in the later versions, but I don't ...
3
votes
1answer
298 views

How are backports implemented in Ubuntu?

In Do '..-backports' repositories automatically take precedence over the standard repos? in sources.list, the answer says that backports are never automatically used to update a standard ...
0
votes
5answers
508 views

How to create list of installed packages for remove after testing?

I like to test kmymoney. When trying to install there are a lot of kde packages that are needed by this program. That's ok, I'm using Unity and there are no kde packages installed at this moment. So, ...
2
votes
1answer
3k views

“Apt configuration problem. An attempt to configure apt to install additional packages from the CD failed” [closed]

I am trying to load v11.04 onto my HP desktop hard drive using a USB drive. I used the same USB drive to load the system on my Dell netbook and it loaded successfully. But trying to load on the ...
2
votes
1answer
68 views

How to report apt repository working bad?

I found since last year uy.archive.ubuntu.com working really bad (20k downloading), so each time I install Ubuntu I have to change to archive.ubuntu.com. I think it could be complicated for normal ...
1
vote
2answers
5k views

Where Can I Download the Apt Package if apt-get is Missing?

I am presently experiencing symptoms as described here: https://bugs.launchpad.net/ubuntu/+source/apt/+bug/493154 Example: 127-12:42 djh@noneedto ~$ aptitude search chrome aptitude: error while ...
4
votes
1answer
2k views

How to install php 5.3.8 and mysql 5.5?

What is the best way to install mysql 5.5 with php 5.3.8 (latest version)? as most of common repositories have only older versions.
2
votes
1answer
320 views

How to uninstall non dependency packages?

How do you find all packages that were manually installed which are not a dependency of any other installed packages?
3
votes
1answer
572 views

How to get apt to make files in /var/cache/apt/archives always world-readable?

I want the files in /var/cache/apt/archives to always have read permissions for everyone. That is, whenever apt downloads a new file into this directory, it should make it world-readable. This is not ...
4
votes
5answers
19k views

How do I overcome these package dependency problems?

I upgraded to 11.10 and lost power during the upgrade. After bringing the box back up, I attempted to continue the upgrade and at one point did a partial upgrade to resolved dependency issues that I ...
2
votes
2answers
4k views

Errors running apt-get update after upgrading to 11.10 [duplicate]

Possible Duplicate: What is the easiest way to resolve apt-get BADSIG GPG errors? I recently updated my Chromebook that was running Ubuntu 11.04 to 11.10 and since updating, whenever I run ...
1
vote
2answers
3k views

I can't uninstall Ironhide, or install any other packages

I installed Ironhide (aka BumbleBee). It couldn't get it to work, but now I can't uninstall the package and it's preventing me from installing or removing anything else. Any ideas what I can do to fix ...
11
votes
2answers
3k views

How to forbid a specific package to be installed?

Can I configure Ubuntu to never install a specific package even if it is required by another package I install?
6
votes
1answer
4k views

What is apt-check and why does it run during boot?

So during one of the sessions at UDS-P, I discovered this cool (and useful) program called bootchart. After installing it and then running it, I analyzed it and compared it some of the results here. ...
2
votes
1answer
550 views

How to force apt to download a specific version of a package from PPA?

What I bascially want is to have the latest LibreOffice builds from this PPA: libreoffice/ppa Instead of the Maverick version I'd like to install this one: 1:3.4.4~rc1-0ubuntu1~ppa1 Is this ...
34
votes
3answers
25k views

Why am I getting authentication errors for packages from an Ubuntu repository?

I'm experimenting with VPNs, so I wanted to install pptpd. john@desktop:~$ sudo apt-get install pptpd [sudo] password for john: <snip> The following extra packages will be installed: bcrelay ...
5
votes
2answers
13k views

How to install 32-bit deb package on 64-bit ubuntu?

I have Ubuntu 11.10 64-bit installed and I have to install 32-bit deb package on it. It depends on other 32 bit libraries. I overcome this with getlibs: sudo getlibs -i ...
38
votes
4answers
13k views

How can I remove the Translation entries in apt?

This is the output of aptitude update: Ign http://archive.canonical.com natty InRelease Ign http://extras.ubuntu.com natty InRelease Ign http://dl.google.com stable InRelease Ign ...
32
votes
3answers
28k views

How can I install a package without installing some dependencies?

I'm trying to install the package LaTeXila, and the output looks like this: $ sudo apt-get install latexila --no-install-recommends Reading package lists... Done Building dependency tree ...
1
vote
1answer
12k views

How to make sure that gcc, binutils, make and the kernel source are installed?

I installed Kubuntu in a VMWare virtual machine. I am trying to share files between my host and guest OS, which requires to install the VMWare tool set. When running the VMWare toolset installation ...
9
votes
2answers
17k views

How do I bypass/ignore the gpg signature checks of apt?

All of the key-servers I visit are timing out. I need to install packages without checking the signatures of the public keys. Is there a way to bypass all the signature checks/ignore all of the ...
1
vote
2answers
2k views

Synaptic package manager is missing

There is no synaptic package manager in 11.10,how should i completely remove(Purge) an installed application? Does clicking on "install" on any software in Ubuntu Software centre means that the ...
0
votes
1answer
162 views

Updated to 11.10 and now flash is gone. How to completely wipe it?

There was some problem while upgrading my ubuntu to the last version at roughly 90%. Apparently all the system is fine but there was a problem with flash. Now it's reported as not installed, but I ...
19
votes
6answers
7k views

Install packages without starting background processes and services

Sometimes installing some applications will start a process or service from the application being run automatically on installation. How do I install without starting them?
2
votes
1answer
2k views

Why do I have to install apache2-utils when installing node.js?

I'm about to install node.js (Question about installing). It says that I have to install some packages first for using git and stuff if I'm running a clean server, which I actaully do: sudo apt-get ...
3
votes
2answers
3k views

Remove packages to tranform ubuntu Desktop to Server?

I have a VPS that has Ubuntu 11.10 on it. Unfortunately, only the 11.10 Desktop (not server) image was available as an image to install your VPS with. How can I remove the packages included in the ...
3
votes
2answers
339 views

Find what package supplied a tool / application in Ubuntu 11.10 [duplicate]

Possible Duplicate: How do I find the package that provides a file? When you type a command in the terminal in Ubuntu that you have not installed but can supplied by a package Ubuntu will ...
3
votes
1answer
237 views

reinstalling /var/lib/dpkg [closed]

The hard drive on my server that contains /var crashed yesterday. I do not have backups for everything in /var/lib. Regarding the list of packages installed, I have a backup file using the following ...
5
votes
1answer
995 views

apt-get update error: no hash entry and Package: header?

When I try to update software on 11.10 I get the following errors: W: GPG error: http://repository.akirad.net akirad-oneiric InRelease: File ...
9
votes
3answers
4k views

How to bypass/remove/disable the untrusted package authentication

First the image: then me saying "Say What!!.. How the..What the..??". Basically I am stunned. How can I disable/bypass/remove/explode the option for the untrusted packages not letting me install ...
2
votes
1answer
342 views

Rebuilding a Newer Version of a Deb Package

What's the best way to update (through rebuild from source) a Debian/Ubuntu-package to a more recent version? Should I be using apt source in all cases including when I want to publish it as Personal ...
1
vote
2answers
6k views

Will installing gedit also installs a GUI as a dependency in server?

I want to use gedit using ssh for file editing on my server. I use nano, but for html and css gedit is better. Now with sudo apt-get install gedit I get dependencies that are 120mb, that kind seems ...
2
votes
1answer
2k views

“Failed to download repository information” error

I have recently installed ubuntu 11.10. But when i try to install a software it tries to 'updating cache' but after a while, it stops, showing: Failed to download repository ...
3
votes
0answers
324 views

Software center does not load after upgrade and terminal does not allow me to enter password [closed]

I upgraded to Ubuntu 11.10 and now software center does not work and when I open Dash it cannot access any applications. When I tried some of the solutions posted the terminal asks me the sudo ...
1
vote
1answer
239 views

Package emacs-snapshot-nox has unmet dependencies

I'm trying to install emacs24 for an external repository, but I receive an error regarding unmet dependencies and wonder how I can continue the installation and resolve this error? The output looks ...
0
votes
1answer
2k views

how to remove dependencies of webmin post apt-get --purge remove

I removed webmin, as I no longer needed it. But I removed it with apt-get --purge remove, thinking it would remove dependencies and simply retrace back what it did during installation. It turns out I ...