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)

1
vote
3answers
3k views

Getting error from apt-get when trying to install php5 package

I am new in ubuntu and I try to run a website by my own computer but I can't install php5. When i typed: sudo apt-get install php5 I received: Package php5 is not available, but is referred to ...
6
votes
1answer
167 views

Limit what users can install

This is a theoretical scenario that has come up as part of another question: I have x Ubuntu desktops with x users. Users don't have sudo privs I can let them install things through the software ...
0
votes
2answers
1k views

Minimal package to install Qt Assistant

We are using Qt Assistant as our help system for a custom application that will run on Ubuntu. In building the .deb package, I need to include a "Requires:" value that makes my package dependent on ...
1
vote
0answers
1k views

GPG error from apt-get [duplicate]

Possible Duplicate: What is the easiest way to resolve apt-get BADSIG GPG errors? Whenever I run apt-get update or apt-get install I get an error akin to the following: W: GPG error: ...
0
votes
2answers
3k views

A proxy problem of “sudo apt-get install” [duplicate]

I am trying to install a package python-pygments under Ubuntu. After launching sudo apt-get install python-pygments, it is blocked: Reading package lists... Done Building dependency tree ...
0
votes
1answer
451 views

Errors with ATFTPD: Unterminated quoted string

After upgrading Ubuntu from 11.04 to 11.10 (32bits) I'm having trouble with ATFTPD: Anytime I'm starting atftpd I'm getting this error: /etc/default/atftpd: 2: Syntax error: Unterminated quoted ...
4
votes
1answer
14k views

How to install libboost 1.48?

I would like to install the latest Boost C++ libraries onto my 10.10 system using a PPA but cannot find one that works. Nordlöw already suggested good sources in a similar discussion but I could not ...
1
vote
1answer
404 views

Shorewall missing from Ubuntu 11.10 default repository?

I'm looking to configure my network using Shorewall on my Ubuntu 11.10 laptop. When I run apt-cache search it doesn't find Shorewall, is there some other repository I can add it from? Or is the ...
3
votes
0answers
7k views

How to fix GPG error for extras.ubuntu.com oneiric Release? [duplicate]

Possible Duplicate: What is the easiest way to resolve apt-get BADSIG GPG errors? Some days ago my apt-get update has suddenly began to throw W: GPG error: http://extras.ubuntu.com ...
26
votes
3answers
29k views

apt-get autocomplete package name is broken

At some moment apt-get install autocomplete was broken It was very useful to me to see packages name with Tab press How to repair this autocomplete?
3
votes
1answer
3k views

How to obtain installed package files?

I need to download all packages I already installed on Ubuntu 11.10 x64. There should be in /var/cache/apt/archives I know, but there are only 300 Mb of deb files. I installed a lot of development ...
1
vote
1answer
386 views

Screen turns gray on boot after install of a PPA

Problem I recently added ppa:eugenesan/ppa to my maverick installation to install smartgit. Right after apt-get listed a bunch of updates that I immediately installed. After rebooting I noticed that ...
5
votes
1answer
298 views

How to install software from source and tell the apt-get that I have installed the version?

For installing software from source: ./configure make sudo make install How to tell the apt-get that the software has been installed, so that sudo apt-get install someSoftware Will show that the ...
3
votes
1answer
2k views

Removing popularity-contest without trashing the system?

I do want to uninstall the "popularity-contest" package from my system. While I know that I can disable it with $ dpkg-reconfigure popularity-contest it is still a package I want removed. ...
3
votes
1answer
51 views

Individually upgrading packages

Is it possible to upgrade just a single package and its dependencies to their latest version? I know its recommended to do a total upgrade, but when you are in a hurry or are in short of bandwidth, ...
0
votes
2answers
259 views

Disable updating of ethernet driver

I discovered that the latest driver for my computers ethernet-adapter did not work. I fixed this by downloading an earlier driver, which worked perfectly. However every time I run "apt-get upgrade", ...
1
vote
2answers
1k views

sudo apt-get install returns a 404 error but ping returns packets. Is it a problem with my network configurations?

I'm trying to install openjdk on an Ubuntu 11.04 VM in a Mac. However, I'm running into 404 errors on the command line which I can't diagnose why. sudo apt-get install openjdk-6-jre-headless ... Err ...
5
votes
1answer
321 views

How to know that an app uses which proxy settings

There are applications which don't work over proxy. Last time I tried Software Center did not work. update-manager also has issues connecting to proxy though there is a workaround. How do I find out ...
0
votes
1answer
3k views

I cannot solve the “Install these packages without verification” problem

I Googled and Googled and I just cannot find a solution to this problem: sudo apt-get install <whatever> Gives me: WARNING: The following packages cannot be authenticated! and Install ...
0
votes
1answer
281 views

ubuntu linux updates don't update to latest version, why? [duplicate]

Possible Duplicate: How do software updates work? I'm using ubuntu and any now and then new updates are offered for installation. However I've noticed these updates don't necessarily offer ...
1
vote
0answers
706 views

How to make a deb install only when the dependency is installed, or the conflicting packages aren't? [closed]

I'm making a package for Cydia, but since it uses APT/dpkg, I thought I'd ask this question here. I want my package to only install if gsc.wildcat (represents an iPad) is installed, or if ...
3
votes
2answers
7k views

How can I install a specific older version of Firefox and keep it from automatically updating?

I wrote a bash script to configure a suite of tools for continuous integration on top of Ubuntu 10.04.2. The script recently stopped working and I tracked the problem down to the newer version of ...
2
votes
1answer
521 views

3.0.0-13-lowlatency-pae, where can I find its source

I know for another post that using apt-get source linux-image-$(uname -r) I can get the kernel source, but I'm using the 3.0.0-13-lowlatency-pae kernel and using the command, I got this message: ...
2
votes
1answer
1k views

grub update making automated install stuck

I am following these instructions- https://help.ubuntu.com/community/AutomaticSecurityUpdates on Ubuntu 10.04 LTS Server 64 bit. The problem is that when the update script is executed, it gets stuck ...
3
votes
1answer
8k views

How do I update Ubuntu Server?

I've Ubuntu Server 11.04. I want to update packages but not the core. For example, I installed subsonic with apt-get. And I see there is a new version. I could install it manually by downloading the ...
11
votes
3answers
18k views

Do files at /etc/apt/sources.list.d need to have an extension '.list'?

In /etc/apt/sources.list.d I have several files for custom repositories. All the names of those files end with .list. Is it obligatory that files in that folder should end with that extension? If ...
2
votes
1answer
877 views

unable to install anything that depends upon spamassassin. Cant even install spamassasin

I am trying to install mailscanner using apt-get install mailscanner and I got the following error Setting up spamassassin (3.3.1-1) ... Starting SpamAssassin Mail Filter Daemon: child process ...
3
votes
3answers
3k views

Stuck with foreign-architecture=i386 when using apt-get

I installed some packages a while ago and for some reason, they would only install with a special set of parameters that I used as recommended on a website (can't remember which one). Now, although ...
2
votes
1answer
550 views

My Package Version Number Appears Greater Yet apt-get Doesn't Select It

Backstory: It was determined that when using lxc container VMs the Nagios nrpe shutdown script when run on the host of the containers would kill the nrpe processes inside the containers. This was ...
2
votes
4answers
17k views

How to fix a ruined package catalog?

After installing mono-complete on my Ubuntu 11.10, something got corrupted in the package catalog. Whenever I try to install\remove anything I get an error and told to use apt-get -f install. I get ...
1
vote
1answer
406 views

How can I use aptitude to install Nagios?

I've seen several guides online which describe downloading and building Nagios on Ubuntu servers. Is there also an aptitude package I could use to install Nagios 3?
1
vote
1answer
7k views

Why does Eclipse install to this directory?

After installing Eclipse IDE via apt-get install eclipse I found the Eclipse folder in directory: /usr/share/eclipse But after I found directions that I must copy this folder to the directory: ...
1
vote
2answers
443 views

“Can't cd to /var/cache/flashplugin-installer” error when I try to install Flash

$ sudo aptitude install flashplugin-installer The following partially installed packages will be configured: flashplugin-installer No packages will be installed, upgraded, or removed. 0 ...
3
votes
1answer
4k views

How do I force apt-get to install a package that will not install due to a bug introduced by Ubuntu 11.10?

Ubuntu 11.10 separated out python-profiler from the Python standard library due to licensing philosophies. (According to what I could Google, correct me if I'm wrong.) This is an active bug since ...
99
votes
4answers
73k views

What is “dist-upgrade” and why does it upgrade more than “upgrade”?

I was wondering why upgrade sometimes doesn't want to upgrade certain parts of the system, while dist-upgrade does. Here's an example after running update: apt-get upgrade: ...
2
votes
1answer
436 views

Could not calculate upgrade from Maverick Meerkat to Natty Narwhal

I upgraded from Ubuntu Lucid Lynx to Maverick Meerkat with the following commands: sudo apt-get update && sudo apt-get upgrade sudo apt-get install update-manager-core sudo vi ...
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
413 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
707 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
353 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
701 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
34k 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 ...