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
358 views

Ubuntu Software Source File Error [duplicate]

Possible Duplicate: How do I fix “malformed line” errors in sources.list? Whenever I try to install any software using terminal or by entering sudo apt-get update, the result is: E: ...
7
votes
2answers
3k views

Are ubuntu software center sources different from apt-get / synaptic?

I'm trying to download master-pdf-editor package from official repositories. All sites report that it's easy to do: just download it from ubuntu software center. I can't install the software center, ...
1
vote
1answer
89 views

Between SynPackManager, Update Manager, and apt-get, which is the healthiest for my system?

I've been bouncing a lot between a few different update methods to see which I prefer the most, and I was wondering which of these is the 'healthiest' for the system, or what your preferred update ...
1
vote
1answer
433 views

dpkg crashing while trying to install a package

While attempting to install a package via apt-get the following. The first error I get is: E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem. And, ...
18
votes
5answers
1k views

Can I automatically purge every package I've ever uninstalled?

As an Ubuntu noob, I install and uninstall a lot of packages, to try them out. However, for months, I made the mistake of using apt-get remove instead of apt-get purge, which I didn't even realize ...
2
votes
2answers
4k views

“Unable to connect” error with apt-get: possible proxy?

I've been having an issue with 'sudo apt-get update' for several days now. I've tried every proposed solution I could find but to no avail. Here is the output to 'apt-get update'. Ign ...
0
votes
1answer
62 views

I haven't been prompted for updates in past 4 days, Why?

I'm running 64 bit version of Ubuntu but I haven't received updates from the repositories since past 4-5 days. Checking the updates manually is taking 5-10 seconds to download the entire repositories ...
2
votes
3answers
27k views

How to install VLC in ubuntu 12.04 64-bit?

Can anybody help me to install VLC media player in Ubuntu 12.04 64-bit?
2
votes
0answers
1k views

Unable to install Evolution on Xubuntu 12.04

I had evolution 3.2.3 working on Xubuntu 12.04. But then I was tempted to upgrade my evolution to the latest and greatest so I did a bit of searching and added the following command: sudo ...
0
votes
1answer
492 views

apt-get issue: duplicate software sources

I have a problem every time I run sudo apt-get update. The following is a output from the terminal: W: Duplicate sources.list entry http://archive.canonical.com/ubuntu/ precise/partner i386 Packages ...
3
votes
1answer
3k views

apt lists in /var/lib/apt/lists overwritten with html page for Starbucks wifi terms

I sat down at Starbucks this afternoon to do some work (Ubuntu 12.04 Desktop x64), and got the red-circle-with-white-line error icon in the systray notifying of a package error. Also, apt, aptitude, ...
1
vote
1answer
685 views

E:Method /usr/lib/apt/methods/ [duplicate]

Possible Duplicate: “method driver /usr/lib/apt/methods/https could not be found” update error When I try to install something from Ubuntu Software center or synaptic, a message pops up ...
1
vote
0answers
39 views

Have the repositories been shortened?

I just sudo apt-get updated my repos and it took in total, 5 seconds to get everything. It usually takes 2/3 minutes. Have the repos been shortened?
4
votes
2answers
3k views

How can I remove all build dependencies for a particular package?

When I want to compile something from source in Ubuntu/Debian, I usually get build-dependencies by running "sudo apt-get build-dep PACKAGE_NAME" in the terminal. They are (usually) useless once the ...
0
votes
1answer
336 views

“sudo apt-get update” misleading error message [duplicate]

Possible Duplicate: How do I report a bug? I get following error while issuing the command sudo apt-get update Reading package lists... Done W: Duplicate sources.list entry ...
4
votes
1answer
549 views

Why are commercial PPA updates suddenly very slow?

When using apt-get update from terminal, I can see process come to a grinding halt when the commercial PPAs are updating. In hoping that this isn't intentional, is there a fix to get apt-get update ...
49
votes
5answers
112k views

How to uninstall LibreOffice?

Which package should I remove to completely remove libreoffice? I have no need for office tools. That's the one gripe I have with package managers like apt, there's no simple way to perform the ...
1
vote
1answer
77 views

Reading source of strlen.c

I am trying to download the source package including strlen.c, which one should I be getting, how? I have tried looking at the different glibc/eglibc/... variants but got confused as to which one to ...
1
vote
1answer
277 views

I broke `apt-get` (and other stuff… maybe)

Sometime ago I installed codeblocks using this guide. Today I tried to do it on my computer, but something went wrong. Codeblocks isn't working (nor apt-get). Whenever I run it, I receive this ...
9
votes
3answers
8k views

/var/lib/apt/lists huge in 12.04

I noticed that /var/lib/apt/lists is HUGE. It's as large as 86MB. Which seems a little too big. Is this normal, if not. What should I do? Thanks
7
votes
3answers
3k views

Cannot install programs with apt-get or Software Center

If I try sudo apt-get install mc or sudo apt-get install fortune, I get E: Unable to locate package mc or E: Unable to locate package fortune. Also in Ubuntu Software Center: Use this source is ...
5
votes
3answers
2k views

Difference between Update Manager and apt-get dist-upgrade

Is the Update Manager (or Software Updater) the frontend of apt-get dist-upgrade?
1
vote
1answer
732 views

can't remove gnome-shell and gnome-shell-extensions

The problem is that I can't remove the gnome-shell and gnome-shell-extensions. When I try to delete with Ubuntu Software Center there is an error: Package dependencies cannot be resolved This error ...
7
votes
1answer
1k views

What are the GPG signatures

Looking at questions like THIS, THIS and THIS I ask for public knowledge the following questions: What are the GPG Signatures for? What additional level of security do the Signatures add or provide ...
3
votes
2answers
123 views

Is there a command to upgrade a package and all its dependencies without upgrading all packages?

We have a meta-package, similar to ubuntu-desktop, that requires a bunch of dependencies to run some internal, not-yet-packaged code. Currently we are updating the meta-package so that it requires >= ...
21
votes
5answers
23k views

How not to install recommended and suggested packages?

I use Ubuntu 12.04 64-bit, I did the following, sudo gedit /etc/apt/apt.conf and added APT::Install-Recommends "false"; APT::Install-Suggests "false"; but did not work. When I try to install a ...
7
votes
2answers
6k views

apt-get broken, cannot fix or remove libapt-pkg4.12

I managed to break my package management. If I try to make an upgrade, I get: $ sudo apt-get dist-upgrade Reading package lists... Done Building dependency tree Reading state information... ...
10
votes
1answer
11k views

Where do packages installed/upgraded with APT get stored?

As time goes by we tend to do apt-get install and add or replace software. Are these archived in some form or do they get auto-cleared after installation? And if it doesn't get auto-cleared, it would ...
0
votes
1answer
422 views

Using apt-get from ISO on vmware

I'm trying to install VLAN using apt-get but I get this error: E: Unable to locate package vlan I'm not connected to the Internet at the moment as I need to tag my Ubuntu server to the VLAN first. ...
1
vote
1answer
202 views

How to get rid of i386 libs?

Yesterday, I tried to install the Ubuntu 64bit package for Netviewer. This package seems to be a big mess as it is not really a 64bit version of the app, but instead uses Wine to get it to run. Along ...
2
votes
2answers
3k views

How can I avoid “please insert CD/DVD” error when updating Ubuntu?

I can't update 12.04 LTS. The Update Manager shows this: CD/DVD 'Ubuntu 12.04 LTS _Precise Pangolin_ - Release i386 (20120423)' is required Please insert the above CD/DVD into the drive ...
1
vote
1answer
282 views

Why am I getting this error when trying to install wine 1.4?

Can any one tell me what this error means? I am trying to install wine 1.4 but it keeps failing with this error: The following packages have unmet dependencies: wine1.4: PreDepends: dpkg (>= ...
2
votes
3answers
13k views

Where does apt-get install libqt4?

I've been searching for literally hours and I cannot figure out where for the life of me libqt4 is installed by apt-get. I installed: libqt4-dev libqt4-core libqt4-gui libqt4-xml libqt4-opengl ...
3
votes
1answer
626 views

whats the difference between tasksel and normal methods

Recently I have gone through tasksel command usage because of LAMP server setup. Why can't I use apt-get or aptitude there? Why does the Ubuntu wiki page suggest to do it with tasksel only. Is there ...
1
vote
1answer
2k views

Sources missing in /etc/apt/sources.list, how do I get them back?

Somehow my Ubuntu install can't find what I believe to be very common packages.... E: Unable to locate package php5-curl E: Unable to locate package php5-gd I know this has something to do with my ...
0
votes
0answers
27 views

Ubuntu apt-get bricked, what should I do? (From SO) [duplicate]

Possible Duplicate: Ubuntu apt-get bricked, what should I do? Somehow my Ubuntu install can't find what I believe to be very common packages.... E: Unable to locate package php5-curl E: ...
4
votes
1answer
7k views

Unmet dependencies in Ubuntu 12.04?

The following packages have unmet dependencies: gstreamer0.10-ffmpeg: Depends: libavcodec-extra-53 (>= 4:0.7-1) but 4:0.7.2.1ubuntu2 is to be installed Depends: ...
29
votes
6answers
115k views

Permanently removing apache2

It seems a simple apt-get remove apache2 does not completely remove apache2 as I can still see it on one of the processes when running top. How does one remove apache2 completely on his ubuntu server? ...
0
votes
0answers
948 views

How to resolve fetch error while update packages on ubuntu server [duplicate]

Possible Duplicate: apt-get update fails to fetch files, “Temporary failure resolving …” error This is same problem which questioned many time on askubuntu, but still there are no perfect ...
0
votes
0answers
45 views

Software updater in ubuntu x64 12.10 bug [duplicate]

Possible Duplicate: There's an issue with an Alpha/Beta Release of Ubuntu, what should I do? How do I fix a “Failed to download package files” error? I recently installed ...
5
votes
3answers
2k views

How to host an AP or a hotspot?

I'm running Ubuntu 12.04 as a virtual machine on my Mac. Since I am unable to get the virtual machine to have full access to my WiFi card, I bought another USB WiFi card to use. This is my WiFi card. ...
0
votes
0answers
44 views

Can't update or install files due to malformed file [duplicate]

Possible Duplicate: How do I fix this “E:Type '*' is not known on line * in source list …” update error? E: Type 'ain' is not known on line 3 in source list ...
3
votes
4answers
10k views

apt-get update constantly gives out error

Lately whenever I run sudo apt-get update it gives me the following error after the 'reading database' step W: Duplicate sources.list entry http://archive.canonical.com/ubuntu/ precise/partner ...
7
votes
2answers
757 views

How do I list uninstalled but recommended packages?

How do I list the packages that are recommended by my current set of installed packages, but for whatever reason weren't installed?
0
votes
1answer
637 views

Unable to fetch deb file: connection refused [duplicate]

Possible Duplicate: How can I get apt to use a mirror close to me, or choose a faster mirror? I was trying to install emacs and I got a bunch of errors like this: Failed to fetch ...
0
votes
1answer
1k views

Installing Oracle JDK, and repairing apt-get

I installed OpenJDK as soon as I installed the OS. Then I downloaded IntelliJ IDEA and tried running it. It displayed a warning that IDEA has known graphics issues with OpenJDK and that I should ...
1
vote
2answers
978 views

How to use sed to edit /var/log/apt/history.log in order to apt-get remove numerous installed packages?

After running these two commands: sudo apt-get install ubuntu-desktop sudo apt-get remove ubuntu-desktop I am left with a glut of installed packages that I don't need/want on my Lubuntu install. I ...
0
votes
1answer
246 views

how safe is deb http://debian.nfgd.net/debian unstable main?

How safe is it to install these two packages? root@dur:/home/thufir# root@dur:/home/thufir# tail /etc/apt/sources.list ## This software is not part of Ubuntu, but is offered by third-party ## ...
2
votes
1answer
741 views

There isn't a sofware package called “dbmail” in your current software sources

where is dbmail? [Binary packages] Most major distros already have packages for dbmail. Ubuntu, Debian, Fedora en Gentoo are known to do so. So check your package manager. From the ...
1
vote
1answer
213 views

Why have to lock archives and dpkg while doing installing apps and updates.

Actually if we suspend any application installing in middle or suspending updates then automatically while resuming we will get some problems like E: Could not get lock /var/cache/apt/archives/lock ...