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
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 ...
10
votes
3answers
181k 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 ...
3
votes
1answer
3k 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
168 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
132 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 ...
4
votes
2answers
33k 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
90 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
7k 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
841 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
583 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 ...
24
votes
6answers
49k 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 ...
1
vote
2answers
390 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
746 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
14k 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
1answer
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
196 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
317 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
15k 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
394 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
131 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 ...
20
votes
9answers
32k 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
318 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 ...
2
votes
1answer
2k views

Why do apt-get and wget fail on my server when ping is working?

Yesterday my server still OK, but today after try to sudo apt-get update i got this error: update process. I try: sudo rm /var/lib/apt/lists/* -vf And got This.Then try update again, but it's not ...
16
votes
2answers
148k views

Install gcc on Ubuntu 12.04 LTS

When I try to install gcc on Ubuntu 12.04 LTS Server with apt-get install gcc, I get the following error: The following packages have unmet dependencies: gcc : Depends: cpp (>= 4:4.6.1-2ubuntu5) ...
1
vote
1answer
4k views

How to install a specific gcc version?

I'd like to install an older version of gcc on my Ubuntu Lucid machine. Particularly, I am interested in 2.95.3 or 3.0.2. Is there any repository to download this package with the apt-get command?
5
votes
3answers
12k views

Is the latest Remmina 1.0 in the official 12.04 repositories?

I just noticed that the copy of remmina I have on my machine (Running ubuntu 12.04) is 9.99.1 (This is up to date according to apt). The remmina website says that the most recent version is version ...
1
vote
1answer
3k views

Removing Samba Error

I am having a problem with Samba package. So I did the following to remove it, and got some errors. # sudo apt-get --purge remove samba-common Reading package lists... Done Building dependency tree ...
1
vote
2answers
1k views

apt-get -f install gives error

When I run apt-get -f install, it gives the following error: # apt-get -f install Reading package lists... Done Building dependency tree Reading state information... Done Correcting ...
0
votes
1answer
2k views

apt-get install fails due to dependency issues but apt-get -f install won't fix it

I've just installed Ubuntu 12.04 and was about to manually install Rawstudio with the packages from SourceForge repo, but I've been stuck with dependency issues and I am short on apt command lines to ...
4
votes
2answers
77 views

Is it possible to install a “For Purchase” package using apt-get?

Do I have to use the Software Center to install a non-free package? Can I make a purchase using apt-get? How about if already made the purchase and I want to re-install the software. Can that be ...
1
vote
0answers
152 views

“Problem with MergeList” error when trying to do an update. Cleaning lists doesn't help [duplicate]

Possible Duplicate: How do I fix a “Problem with MergeList” error when trying to do an update? # apt-get install shutter Reading package lists... Error! E: Encountered a section ...
4
votes
0answers
300 views

`apt-get upgrade` fails intermittantly with “Hash Sum mismatch”, and must be rerun [duplicate]

Possible Duplicate: Trouble downloading updates due to “Hash sum mismatch” error A number of times recently over the last few months when I try and apt-get update & apt-get ...
1
vote
1answer
381 views

Trouble updating/installing newer required R

All other answers I find only end up pointing to instructions: http://cran.r-project.org/bin/linux/ubuntu/ So interpreting that site, added line: deb http://r.meteo.uni.wroc.pl/bin/linux/ubuntu ...
0
votes
1answer
505 views

How do I ignore missing trusted keys in apt sources.list? [duplicate]

Possible Duplicate: How do I bypass/ignore the gpg signature checks of apt? i have a problem in ubuntu hardy: i use an old hardy server that i may not upgrade with the historical sources: ...
3
votes
1answer
2k views

How to fix “apt-get upgrade” errors?

I get these errors when I try to upgrade the packages installed on my Ubuntu system: m@m-desktop ~ $ sudo apt-get upgrade Reading package lists... Done Building dependency tree Reading state ...
4
votes
2answers
12k views

How can I remove all updates installed after a specific date?

I have allowed the update manager to install a 200 Mib of updates, and I think that these update run my graphics driver into a problem. So, I need a way to remove the updates that have been installed ...
-1
votes
1answer
96 views

need help with software center [duplicate]

Possible Duplicate: “Problem with MergeList” error when trying to do an update how do I fix 'E:Malformed line 68 in source list /etc/apt/sources.list (dist parse)' I ...
3
votes
0answers
2k views

How do I fix “malformed line” errors in sources.list? [duplicate]

Possible Duplicate: How do I remove a malformed line from my sources.list? I had problems with my movie player. The sound was fine but the picture seemed to hesitate or stick or pause ...
12
votes
1answer
10k views

How do I check only security updates from the command-line?

Is there a way to quickly check for the availability of security updates from the command line? On my 12.04 system running apt-get update fetches 20MB of data about available packages every time I ...
3
votes
1answer
119 views

Why does APT want to upgrade my package?

I need nginx compiled with a special flag, so I grabbed the source from the nginx stable PPA (apt-get source), changed debian/rules, built it and packaged it with debuild/dpkg-buildpackage, and ...