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)

2
votes
1answer
3k views

Package sun-java6-jre needs to be reinstalled

I installed JRE 1.6u33, and there was a screen that came up asking me to accept the terms of service. I didn't know how, so I closed out of that screen without pressing Ok. Now, I can't install ...
1
vote
1answer
2k views

How do I upgrade 'wicd' to the latest version?

Tried sudo apt-get upgrade wicd, but it gave an error: http://dl.google.com/linux/chrome...404 Not Found Why is it looking for google chrome??? How to upgrade Wicd to latest version? Also tried the ...
0
votes
2answers
127 views

Is there a way to run an update and upgrade in one command?

So, is it possible to update and upgrade without running: sudo aptitude update && sudo aptitude upgrade Meaning, is there one command that can do both?
110
votes
2answers
218k views

How do I search for available packages from the command-line?

I have successfully installed some packages using the command line 'sudo apt-get install ...' when I have known in advance that those packages are available. But how can I search for or get a list of ...
1
vote
0answers
293 views

can't update 12.04 getting package header error [duplicate]

Possible Duplicate: How do I fix a “Problem with MergeList” error when trying to do an update? I originally posted this question, and was redirected to another thread where the ...
0
votes
1answer
104 views

How do I install crash 5.1.6 on 11.04? [closed]

I am running i386 (32-bit) natty, and have installed crash, but it doesn't work on the running system. I found the solution on the crash author's page -- the problem was fixed in 5.1.6 and I have ...
0
votes
0answers
59 views

Quantal: Broken apt-index, cant fix dependencies [duplicate]

Possible Duplicate: There's an issue with an Alpha/Beta Release of Ubuntu, what should I do? I can't seem to add/remove/update packages Ubuntu software update has a notice about partial ...
1
vote
2answers
2k views

Why does add-apt-repository fail to add source repositories?

add-apt-repository throws an error if I try to add a source repository: This works: sudo add-apt-repository 'deb http://dl.ajaxplorer.info/repos/apt squeeze main' This fails with an error: sudo ...
4
votes
1answer
3k views

How to make apt:// urls to open with Gdebi or apturl?

When I click on a apt:// link in Chromium Ubuntu Software Center handles the link. How can I change it to gdebi/apturl?
1
vote
5answers
1k views

How to install programs on other Ubuntu machines without using the Internet

I have several computers running Ubuntu. I also have a slow Internet connection. If I install programs using apt-get, does that put installation files somewhere which I can access, so that I can use ...
1
vote
2answers
478 views

Package information was last updated 59 days ago even though Ubuntu is up to date

I'm using ubuntu 11.10 and in the update manager I have a message that says package information last updated 59 days ago press the check button to check for software updates I do that, but i'm up to ...
1
vote
1answer
758 views

Why won't apt-get install anything after I deleted its cached lists?

Recently I had a problem with the update-manager and search for a solution. On my search I found a post, where someone had the same problem and as solution they told him he should run this command on ...
0
votes
1answer
137 views

Apt Dependency Problem: Packages in a PPA do not correctly depend on each other

I'm trying to install Wireshark 1.6 on Ubuntu Lucid Lynx from PPA (n-muench/programs-ppa2). The libwsutil1 version is named 1.6.0-1~ppa1 so it should satisfy libwiretap1 dependency that needs version ...
1
vote
1answer
1k views

Can't install software by terminal

I don't know what packages i have installed that i no longer can get and install packages in terminal. e.g. when trying to install Prozgui, i got this error: Traceback (most recent call last): File ...
-2
votes
1answer
3k views

Why can I no longer install Synaptic in 12.04?

In Ubuntu 12.04, you have suggested installing the Synaptic Package Manager with sudo apt-get install synaptic which didn't work for me. I tried sudo apt-get upgrade and also sudo apt-get update, but ...
0
votes
1answer
794 views

Use vimdiff in place of diff to compare configs during package updates

Sometimes when you perform packages updates, you'll be prompted with action to take when apt tries to update packages which contain updated configs. I'd like to know if there's a way to invoke ...
0
votes
1answer
445 views

Kernel error during upgrade due to “/etc/default/grub: Syntax error: newline unexpected”

Summary: linux-image-3.5.0-2-generic upgrade to linux-image-3.5.0-3-generic The default Ubuntu 12.04 update is generating the following error for weeks (the link below). Obs.: I'm using default ...
0
votes
1answer
105 views

How to revert packages at their previous state?

I've set all of my "manually installed" packages as "automatic installed". Now apt-get is saying several packages are not needed, and it suggests to use apt-get autoremove to get rid of them. Of ...
1
vote
1answer
2k views

Installing mysql-server on 10.04LTS gives “404 Not Found” error

Hi I am trying to install mysql on Ubuntu 10.04LTS (Lucid Lynx) and I am getting this error. Is this a server side issue - is the server up? I am running this from the command line on a remote ...
1
vote
1answer
2k views

How to install Oracle XE from broken Oracle repository?

The [identical] instructions from these sites used to work: http://www.oracle.com/technetwork/topics/linux/xe-on-kubuntu-087822.html http://www.debianhelp.co.uk/oracle.htm ...
13
votes
3answers
216k views

Setting proxy from terminal [duplicate]

Possible Duplicate: apt-get does not work with proxy I have tried changing my proxy settings in a terminal as: export HTTP_PROXY=http://10.1.3.1:8080 and export ...
4
votes
1answer
4k views

apt-get works with --force-yes but cannot reproduce the issue on a fresh box

apt-get does not work the first time but works the second time. I installed ntp like: apt-get -q -y install ntp=1:4.2.6.p3+dfsg-1ubuntu3.1 It failed saying: WARNING: The following packages cannot ...
0
votes
1answer
169 views

Unable to install updates or anny programs after upgrade

After I upgraded my Ubuntu to 12.04 I cant install or update any programs, it keep on giving an error saying Failed to download repository information I have tried with apt-get in terminal and it ...
4
votes
2answers
4k views

Why does apt-get keep waiting for headers on Oracle repository?

I have this at the end of my /etc/apt/sources.list to retrieve Oracle code: deb http://oss.oracle.com/debian unstable main non-free When I run sudo apt-get update, the app gets stuck displaying ...
2
votes
2answers
134 views

Avoid apt-get update while installing softwares on ubuntu, possible?

I want to install a 27KB lens( reddit-lens: here ) & this "apt-get update" is going to download 20MBs(!) of data for the same. I want to avoid this update bcoz i am on a limited bandwidth ...
3
votes
1answer
2k views

I'm trying to install postgresql on 12.04, and it's just not working

I've got a new installation and I'm trying to get Postgresql working. The database was installed and I started a restoration from a dump on another machine, but that ran into problems because I had ...
5
votes
2answers
37k views

Why does apt-get fail to resolve the mirror? [duplicate]

Possible Duplicate: apt-get update fails to fetch files, “Temporary failure resolving …” error I know this has been covered before, but I can't seem to resolve my issue. Here is my output. ...
1
vote
1answer
94 views

Set up apt-get remove commands in deb file (dh_make)

So, I'm trying to package my Python app, Virtuam. My question is simple: how can I set the commands which run when I remove the program using apt-get?
6
votes
1answer
9k views

Mysqli for PHP in package mysql

I am trying to get mysqli set up for php5 but apt tries to substitute php5-mysql for php5-mysqli, which doesn't exist. Does the mysql package also carry the mysqli extension, or do I need to find the ...
1
vote
1answer
877 views

Unavailable packages repository

I'm running ubuntu 11.10 (oneiric) on this machine, and suddenly, apt is unable to update properly. If I ask it to update its package information, by running apt-get update (or alternatively telling ...
3
votes
2answers
3k views

Software center is broken [closed]

When I started installing the Humble Indie Bundle 5 games the software center stopped working and now I get this error. Packages cannot be installed or removed, click here to repair. Which fails and ...
0
votes
1answer
590 views

How does apt-get/aptitude update determine what package lists to update?

The context is a bug in which Ubuntu are updating package list timestamps every 30 minutes on their archive mirrors, which forces [apt-get|aptitude] update commands to download package lists though ...
1
vote
1answer
1k views

Errors when trying to update using apt-get

I get errors when I try to install any software. The errors are Reading package lists... Error! E: Could not open file /var/cache/apt/pkgcache.bin - open (22: Invalid argument) E: Failed to truncate ...
0
votes
1answer
1k views

Installing at some custom location using apt-get

To install a library I do sudo apt-get install libmysqlclient-dev and it is installed at some default location. I want to install it at some location other then default location. Is it possible to do ...
28
votes
7answers
59k views

apt-get update very slow, stuck at “Waiting for headers”

I have looked at similar questions: Stuck at 0% [waiting for headers] (apt) apt-get update stuck on "Waiting for Headers" However neither one of them answer my problem. I am running ...
2
votes
2answers
484 views

“ corrupted filesystem tarfile - corrupted package archive” while processing a deb package

I keep getting the following message: Check if you are using third-party repositories. If so, disable them, because they are a common source of problems. Furthermore, run the following command in a ...
1
vote
1answer
826 views

Package candidate/alternative for the python-pgsql package in 11.10

What is the package candidate or alternative for the python-pgsql (module) package in Ubuntu 11.10 ? An error indicator that could help: Error: You need to have the python-pgsql module installed to ...
3
votes
4answers
16k views

How can I get add-apt-repository to work?

Whenever I try to add a repository via the command line, I get the following error message: Traceback (most recent call last): File "/usr/bin/add-apt-repository", line 125, in <module> ...
6
votes
2answers
5k views

Static IP configuration causing apt-get errors

I am getting errors when running apt-get update or when installing new packages. Although this only happens when the server configured for a static IP address. Changing the configuration back to ...
1
vote
1answer
2k views

Why can't 'grub-mkconfig_lib` be opened, preventing a kernel upgrade?

I try to update my Ubuntu 12.04 and I have this error, then it update kernel. Any clue what I can do to fix this? sudo apt-get -f install Reading package lists... Done Building dependency tree ...
0
votes
1answer
2k views

Can't Install Packages ubuntu 12.04

I'm trying to install software by using apt-get and ubuntu software center UI, when I try the ubuntu software center it gets stuck saying installing and installs nothing and when I try the apt-get it ...
1
vote
1answer
198 views

Why does Update Manager give me a `Type not known' error with a PPA?

I got this message when I was using Update Manager: E:Type 'ppa.launchpad.net/otto-kesselgulasch/gimp/ubuntu' is not known on line 2 in source list /etc/apt/sources.list.d ...
6
votes
2answers
344 views

What is apt and aptitude in Ubuntu?

I've been blindly copy pasting code that contains these keywords to install programs and having migrated from Windows, I don't quite understand what they mean. Can anyone explain them and their ...
3
votes
2answers
16k views

unmet dependencies in Ubuntu 12.04

I tried today to install a dvb-card on my Ubuntu 12.04 (Linux blauhai-linux 3.2.0-25-generic #40-Ubuntu SMP Wed May 23 20:30:51 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux ). The installation failed with ...
4
votes
0answers
405 views

Why I am getting “404 Not Found” errors for a ppa when updating? [duplicate]

Possible Duplicate: How can I fix a 404 Error using a PPA? I get these errors with Update Manager (or apt-get), but am still able to download and install updates. How do I fix it? W:Failed ...
6
votes
2answers
132 views

Will installing a program from the Software Center also include updates from its PPA?

For example I installed VLC from the Ubuntu Software Center would it also include VLC's PPA repository so that when my laptop would do a software update, VLC updates would automatically be included ...
1
vote
1answer
1k views

Software center not downloading anything?

It is simply stuck as "Enabling component of distribution" and "updating cache" in the waiting mode? The download never starts. Kind of let down as I was expecting an easier interface. I am ...
6
votes
2answers
9k views

Why isn't `auto-remove' removing all unnecessary dependencies?

I just installed a package (dansguardian in this case) and apt told me that I had unmet dependencies. # sudo apt-get install dansguardian Reading package lists... Done Building dependency tree ...
21
votes
9answers
36k views

Dropbox install stuck at 99%, how do I fix it? (and any dpkg errors)

I tried to install Dropbox using How to install Dropbox?, or with apt-get install nautilus-dropbox. Dropbox loads until 99% and then hangs, causing the system to go to 100% cpu usage. If I reboot or ...
2
votes
0answers
319 views

Installing Dropbox fails at 99%, causing dpkg errors…how do I fix? [duplicate]

Possible Duplicate: Dropbox fails to install, stuck at 99% I've run a script (ubuntu-12.04-postinstall.py) that auto-installs suggested programs. All of it worked fine until it tried to ...