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
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 ...
10
votes
2answers
18k 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
4k 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
340 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
997 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 ...
10
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
343 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
7k 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
244 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 ...
1
vote
1answer
226 views

install package with apt-get and remove with aptitude?

Anything wrong with this practice? would it work? If I install package with apt-get and remove with aptitude? In addition, I recently removed webmin. Does apt-get --purge remove - delete also ...
2
votes
2answers
666 views

How can I install haskell-hunit?

I'm running 11.10 (amd64). I see there's this package: http://packages.ubuntu.com/source/oneiric/haskell-hunit However: $ sudo apt-get install haskell-hunit Reading package lists... Done Building ...
2
votes
1answer
943 views

Why does checking for updates take so long and use so much data? [closed]

I have just installed Ubuntu 11.10 and checked for updates - it took about 15mB (very rough estimate) and 15min (on a uncapped ADSL line approx 30kB/s) just to see that I should download 7mB of ...
2
votes
1answer
3k views

How can I uninstall all the packages I've installed today?

I was trying to get musepack encoder support built into ffmpeg today, and I inadvertently broke a few things but I'm not sure exactly which package I installed which broke them. How can I remove ALL ...
3
votes
3answers
10k views

How do I install Skype on 11.10 when using kubuntu (kde4.7)?

I have added the partner repository, however when issuing aptitude install skype the proposed solution is to remove all of libs concerning kde4, plasma, dolphin and a hundred other packages. That ...
1
vote
1answer
156 views

Ignoring forcefully installed package? [duplicate]

Possible Duplicate: How to create a meta-package that automatically installs other packages? So I installed the good, old amarok14 package on Ubuntu 11.10 (Because there still isn't a music ...
1
vote
0answers
754 views

aptdaemon error: cannot install any packages [duplicate]

Possible Duplicate: Cannot install any software from the Software Center due to mss-ttcoreconts package error I'm trying to install packages and I get this error: There seems to be a ...
2
votes
1answer
4k views

Which INPUT rules do I need to add to iptables so apt (apt-get, aptitude) can work (update, upgrade, search, install)?

I need to use aptitude to update and install software but it fails. It says... 0% [Connecting to archive.ubuntu.com] ...and halts. I need to type CTRL-C to move out. I'm using Ubuntu Server 10.04 ...
6
votes
1answer
252 views

Are bad download speeds considered normal after a release of a new Ubuntu version?

Installing new packages on my recently installed Ubuntu machine is slow. Fetching apt headers even took me more than three minutes because they are downloaded at ~20kB/s – in my case from ...
0
votes
2answers
731 views

How to do autoremove when executing apt-get remove?

I wanted to remove un-used packages together when doing apt-get remove -y XX , but how ? And the solution should not affect apticron auto system updates.
35
votes
3answers
22k views

How can I restore configuration files?

I would like to restore LightDM to its default state, because for some reason /etc/lightdm/unity-greeter.conf is now an empty file. Deleting /etc/lightdm/unity-greeter.conf and then running sudo ...
3
votes
1answer
2k views

apt-get gets “duplicate source entries” and two architectures

Since I upgraded to Oneiric apt-get seems to ignore my architecture and gets the sources for both, amd64 AND i386, files from the repositoreis. this leads to constant "duplicate source entries" ...
83
votes
5answers
116k views

How can I fix a 404 Error when using a PPA or updating my package lists?

PPA seems to be constantly offline. Whenever I use sudo apt-get update, this error is shown: W: Failed to fetch http://ppa.launchpad.net/ 404 Not Found How do I fix these errors?
0
votes
1answer
3k views

“apt-get update” GPG error [duplicate]

Possible Duplicate: What is the easiest way to resolve apt-get BADSIG GPG errors? Unable to load lucid partner packages from archive.canonical.com When I run: apt-get update I get this ...
1
vote
0answers
481 views

Unable to load lucid partner packages from archive.canonical.com [closed]

I'm trying to load packages from the archive.canonical.com lucid partner repository, and am getting: W: GPG error: http://archive.canonical.com lucid Release: The following signatures were invalid: ...
40
votes
5answers
11k views

apt-get update only for a specific repository

When I add a ppa and I want to install some of its content is quite annoying to re-update all my apt list using apt-get update Is it instead possible to only sync the content of a given repository?
11
votes
1answer
14k views

Implications of --no-install-recommends (apt-get install)

When I install packages using --no-install-recommends, can I say only packages listed here (Ubuntu Package Search) as "depends" are installed? I ask because I suspect some problems with boot might be ...
0
votes
2answers
3k views

How to use apt-get install with suggested packages?

I read this related link Installing suggested/recommended packages? But my system(11.10) doesn't install suggested packages by default. Was there a change?
2
votes
2answers
3k views

How to install gcj? [closed]

It seems I need to install gcc but:
4
votes
1answer
128 views

Why does flashplugin-installer display a multi-line terminal progress when downloading?

I have this issue from MANY Ubuntu releases. why when I wget a file it takes just one row and give me all information (like time, total space, bit downloaded, percent) When downloading flashplugin ...
3
votes
2answers
295 views

Aptget without networking

i had a accident and i removed network-manager package, now i cannot get network access or internet access to apt-get install it back and reconfig the internet what should i do? download the DVD and ...
3
votes
0answers
5k views

Reloading the package manager gives a GPG error [duplicate]

Possible Duplicate: What is the easiest way to resolve apt-get BADSIG GPG errors? Reloading the package manager gives me an error: W: GPG error: http://security.ubuntu.com oneiric-security ...
3
votes
3answers
2k views

How do I upgrade Virtual Box?

When I run sudo apt-get update;sudo apt-get upgrade in Ubuntu 11.04, I get the exception below. VirtualBox is currently on '4.1.2'. I have installed apt-cacher-ng on this machine and install apt-get ...
1
vote
1answer
753 views

flashplugin-installer conflicts with libc-bin?

I recently installed 11.10b2, and when I try to install Adobe Flash, apt tells me that it conflicts with libc-bin. That doesn't sound quite right. Below is the output of sudo apt-get install ...
13
votes
1answer
6k views

Should I upgrade kernel packages on EC2 instances?

On my EC2 server, when I do sudo apt-get update && sudo apt-get upgrade, I see: The following packages have been kept back: linux-ec2 linux-image-ec2 linux-image-virtual linux-virtual ...
3
votes
2answers
3k views

How do I install lmsensors on a server?

I am trying to install lm-sensors on ubuntu server 11.04 with the following command sudo apt-get install lm-sensors, but I am getting the following error: Error Package lm-sensors has no ...
0
votes
1answer
202 views

Easy Native Package Rebuild [duplicate]

Possible Duplicate: Recompile all packages and trigger on updates What's easiest way of to rebuild a package in Debian/Ubuntu using a specific set of CFLAGS/CXXFLAGS. In all the tutorials I ...
3
votes
1answer
2k views

Disable changelog for apt-get upgrade?

I'm on a relatively slow network, also I don't really care about changelogs, but each time I'll wait for longtime till updates are installed, just for loading changelogs from remote server. How can I ...
0
votes
2answers
1k views

automatic system updates , how to configure APT::Periodic::AutocleanInterval to clean obsoleted cache only?

I've been using auto update for a while, but recently I discovered the downloaded package cache missing in /var/cache/apt/archives, some deb packages, like Skype, are removed, and I don't know why. ...
1
vote
2answers
426 views

Installing Unity on 10.04 for netbooks

I have installed Ubuntu 10.04 LTS netbook version and it comes with an annoying user interface. I'd like to know how I can replace it with Unity. I've already tried sudo apt-get install unity but it ...
4
votes
3answers
6k views

“/etc/grub.d/README: 6: Syntax error: ”(“ unexpected” while upgrading grub package

I am facing a problem while installing any program. I get an error of Sub-process /usr/bin/dpkg returned an error code (1). Following is log of the output of apt-get -f install. Any idea what's wrong ...
3
votes
1answer
5k views

Apt-get returning 'Sub-process /usr/bin/dpkg returned an error code (1)" error [duplicate]

Possible Duplicate: Apt-get returning 'Sub-process /usr/bin/dpkg returned an error code (1)" error I am facing a problem while installing any program. I get an error of Sub-process ...
6
votes
2answers
1k views

Slow installation of applications in Ubuntu Software Center?

I have installed Ubuntu 11.04 desktop and I am in the process of learning. I want to install some applications from the Ubuntu Software Center, but the installation process is quite long and slow. ...