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)

3
votes
2answers
4k views

How can I install Cinnamon on a minimal CLI installation?

I've come across similar, already answered questions on this website; however none of them deals with starting from the scratch - the Ubuntu core. The normal release of 12.04 was not responding well ...
1
vote
1answer
55 views

How to install solfege and make it work

I need to install solfege for study, and it needs mma and other complements and I don't know install it. Please help me
1
vote
2answers
113 views

How can I programmaticatly check if a source is in sources.list?

For both 10.04 LTS and 12.04 LTS, is there a way check to see if a source is in /etc/apt/sources.list from a bash script, other than using grep?
6
votes
2answers
176 views

Steps for creating a slightly modified package and uploading it in a PPA?

I just want to use an Ubuntu package from the official Ubuntu repos, modify its source just a tiny bit (it will not affect dependencies or anything) and then upload it into a Launchpad PPA I made for ...
4
votes
2answers
4k views

libssl Dependencies

Alright, so I was messing around with libssl and I manged to mess up libssl pretty well. It looks like I installed a separate version of libssl 64 than I've for libssl32 and now I can't use apt-get at ...
4
votes
3answers
46k views

Force install apt-get

I tried installing beanstalkd with sudo apt-get install beanstalkd (also with -f option) and I get the following error: Reading package lists... Done Building dependency tree Reading state ...
242
votes
13answers
273k views

How do I resolve unmet dependencies after adding a PPA?

Occasionally, when I'm installing stuff, I get an error like the following: Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the ...
3
votes
2answers
164 views

Do Not Uninstall Flag on Apt?

Does the Debian/Ubuntu package infrastructure has some way of marking packages so that they never get uninstalled, no matter the pinning of other packages? My problem is that, sometimes, packages ...
2
votes
1answer
324 views

Marking packages as non-removable / non-installable

My machine resides in a corporate domain and have CFEngine installed, for automated configuration and maintenance purposes. Configuration is pulled automatically into few thousand computers from one ...
2
votes
1answer
772 views

My apt-get update is taking too much and finally error?

I was trying apt-get update but from an over night wait i found this !! Also my software centre is showing , when i click some software to install it shows it is from multiverse source or ...
5
votes
0answers
150 views

Package updates always download too much data [duplicate]

Possible Duplicate: the size of apt-get update lists is too big When I update Ubuntu (either with apt-get update or using the GUI-based check for updates), it downloads a large amount of ...
1
vote
0answers
195 views

download updates extremely slow [duplicate]

Possible Duplicate: How can I get apt to use a mirror close to me, or choose a faster mirror? i've looked through the forum havent really found anything recent that pertains so i figured i ...
1
vote
2answers
1k views

How to install chemfig through apt-get

I'm doing some LaTeX and I need the chemfig package. As usual, I type the package name in synaptic but this time nothing matches the search. Does anyone know how to install it ? Is it possible ...
1
vote
0answers
849 views

How to downgrade Xorg-server package to Ubuntu 11.10 version in 12.04 [closed]

After upgrade from 11.10 to 12.04(LTS) x64 on my HP 6550 laptop, I'm I faced with graphical bug in xorg-server-intel. I've tried to install lower version but system said me that certain version not ...
1
vote
4answers
10k views

Why do I get an “unmet dependencies” error when trying to install WINE? [duplicate]

When trying to install WINE (sudo apt-get install wine) I get the following error: Some packages could not be installed. This may mean that you have requested an impossible situation or if you are ...
8
votes
2answers
1k views

Why does apt think it needs this extra dependency?

I'm working on some machine setup instructions, and I was surprised to find out that apt-get install A B can behave differently than apt-get install A && apt-get install B. My specific ...
76
votes
5answers
96k views

How to Downgrade a Package via apt-get?

How to downgrade a package to an older version via apt-get?! Another tools are also accepted but apt-get is preferred.
0
votes
2answers
1k views

iptables problem

Hi guys i have the follwoing iptables file for my ubuntu 12.04 server. ITs a bit messy because i tried different ways to fix it but the problem is it doesnt allow apt commands such as apt-get to run. ...
23
votes
5answers
24k views

“debconf: DbDriver ”config“: config.dat is locked by another process: Resource temporarily unavailable” while installing packages

I'm trying to install the flashybrid but when I enter the apt-get install flashybrid command, I get this error: root@user-desktop:/home/user# apt-get install flashybrid Reading package lists... Done ...
24
votes
13answers
52k views

Cannot install ia32-libs

I don't know why I can't install ia32-libs. It claims for a dependency that cannot be found on repos. junior@mediacenter:~$ sudo apt-get install ia32-libs Reading package lists... Done Building ...
1
vote
0answers
119 views

Apt-get update size too big [duplicate]

Possible Duplicate: Why are my apt-get update fetches so large? Since i installed Ubuntu 12.04 Precise x64, the apt-get update size is killing me.. Since i'm stuck with a slow connection, ...
8
votes
4answers
135k views

Apt-Get Update: failure to fetch; can't connect to any sources

I realize there are dozens of "apt-get update: failure to fetch" questions (I read through all I could find), but my present circumstance is unique to 12.04 and it affects all sources; not just ...
26
votes
5answers
6k views

the size of apt-get update lists is too big

This question contains circumventions for an bug in Ubuntu: Bug #1001780 “apt-get update size is too big” : Bugs : Launchpad itself, as well as some general advice on saving bandwidth when doing ...
1
vote
1answer
106 views

Can Synaptic sort packages by time?

I know Software Center can do this (in the "History" section), but I've yet to find a filter/column in Synaptic that will sort the packages by the time they were installed/removed. I could really use ...
3
votes
1answer
4k views

Using sudo aptitude/apt-get update does not work

Trying to update via terminal via aptitude or apt-get is not working. There is no other package management program running in the background or any other user. I tried both, sudo aptitude update ...
14
votes
1answer
8k views

Assign highest priority to my local repository

Summary How can I make apt-get prefer local repository packages instead of downloading again the same package version from official repositories? The local repository is signed and trusted. We've ...
0
votes
1answer
906 views

corrupt database? ubuntu 12.04

i have ubuntu 12.04 x86 single boot on an Acer Extensa 5635ZG and when installing Xserver xinput (drivers for xinput controller) it gave an error i dont remeber, after that i haven't been able to ...
1
vote
1answer
86 views

How do which sites I have selected affect updates?

Does it matter what site you choose for updates? Do you get the same updates no matter what site you choose?
2
votes
2answers
4k views

Installation problems with Gimp 2.8 on Kubuntu 12

I've just upgraded to Kubuntu 12.04 and having problems installing Gimp 2.8, I was wondering if anyone can help me? I've followed these instructions: sudo add-apt-repository ...
4
votes
3answers
4k views

Why this dpkg error: ambiguous package name 'libglib2.0-0' …?

I have some weird errors while trying to install packages with software center or even when I try to upgrade packages with sudo apt-get install upgrade: dpkg: error: file triggers record mentions ...
1
vote
3answers
1k views

How can I prevent specific updates from appearing in Update Manager's list of updates in Ubuntu 12.04?

I am using Ubuntu 12.04. When I open Update Manager it comes up with the updates. Some of the updates that are listed are either not relevant to me or I just don't want them. If I untick them, they ...
1
vote
1answer
51 views

Re-install a set of deb files on another machine without re-downloading

I made a setup for development, and it downloaded a large set of .deb files. Now, I want to re-do this for a presentation, but I do not want to re-download the 400 files live. That would take too ...
0
votes
1answer
127 views

Is there a way to schedule aptd to check for updates only at certain times?

On Ubuntu 12.04 I've noticed that aptd sometimes uses 100% of a CPU and tends to slow down my whole laptop. I wasn't installing any packages so I'm assuming that this is the automatic update check. ...
2
votes
3answers
8k views

/usr/lib/libodbc.so missing in 12.04

Before upgrading to ubuntu 12.04, I had the library libodbc.so in /usr/lib. I am pretty certain it was part of the unixodbc package. Somehow it has gone missing after my last upgrade to 12.04 (64 ...
4
votes
2answers
5k views

Cannot install anything through Terminal - apt-get -f install

I get this when ever i try and install anything with th Terminal: You might want to run 'apt-get -f install' to correct these: The following packages have unmet dependencies: gimp : Depends: ...
1
vote
2answers
897 views

Architecture parameter ignored by apt-get

I'm trying to download the package wvdial and its dependencies so that I can put them on a USB stick and install them on an old Mac with no internet connection. However, the command sudo apt-get -d ...
3
votes
2answers
8k views

Bash Tab Auto-complete not working for apt

apt-get install and apt-cache policy do not complete package names. I have double checked /etc/bash.bashrc, no irregularities. Googled for answers but none suffice. Any help/advice?
9
votes
1answer
2k views

How can I make “apt-get update” faster with a slow internet connection?

I have a slow Internet connection and every time I add a new ppa to install software I need to run apt-get update. This takes about 10 minutes or so, I was wondering if there was a way to initiate a ...
2
votes
0answers
390 views

'sudo apt-get update' always re-updates by force? [duplicate]

I have a fresh install of 12.04. If I understand correctly, sudo apt-get update is supposed to update everything the first time it's run, and then only update repositories which have changed since ...
1
vote
1answer
943 views

How can I upgrade nginx after adding ppa:nginx/development?

I've installed nginx via the ppa stable repository via  add-apt-repository ppa:nginx apt-get install nginx which adds the stable release. But now I'd like to switch to the development ...
2
votes
1answer
738 views

How to reduce time in apt-get update? [duplicate]

I am using Ubuntu 12.04. It seems that it take lot of time for apt-get update. I can see that it spend lot of time for checking language translations file. How to disable translations checking while ...
0
votes
1answer
349 views

recreate list of installed packages from mounted HD 11.10 into 12.04? [duplicate]

I want to recreate the list of installed packages I had in my 11.10 installation into my new 12.04 one. I updated to 12.04 at the same time I bought a new HD, so I can mount the old HD where the old ...
2
votes
0answers
221 views

Is it good practice to backport source packages from newer Ubuntu releases?

My plan is like this: Say I'm running 12.04 LTS, life is good, but its packages guadually become old. Then 12.10 is out, I add a deb-src line in my sources.list, and backport (download source, build, ...
23
votes
8answers
1k views

How to make a package manager wait if another instance of APT is running?

I have seen many softwares such as Update Manager and Synaptic Package Manager, they wait if some other program is using the /var/lib/dpkg/lock and is locked. How can we do this through the Terminal? ...
6
votes
3answers
15k views

How to remove a half-installed package? (Sun JDK - Java)

I've tried installing Sun JDK from sudo add-apt-repository ppa:eugenesan/java, it failed with the following: Downloading... --2012-05-05 15:50:09-- ...
3
votes
2answers
2k views

QT 4 packages create dependency problems

I am using Ubuntu 12.04. I recently performed an upgrade for my system. Now, when I try to install a package (aptitude for example), I see this: Reading package lists... Done Building dependency tree ...
34
votes
8answers
43k views

How to overcome signature verification error?

I ran this command in the Terminal: sudo apt-get update Updating ends with the following error report: W: A error occurred during the signature verification. The repository is not updated and the ...
0
votes
1answer
180 views

Install software with 12.04

Just freshly installed from 12.04 after using 11.04 and dist-upgrading to 11.10 a few months back, figured a fresh installation was due. First thing I noticed is that synaptic is no longer installed ...
6
votes
2answers
4k views

Can I look at the upgrade log after a distribution upgrade?

I've upgraded to Ubuntu 12.04 and did it offline using the alternative CD. I didn't look at the "packages to remove" section before clicking next - I've done Ubuntu upgrades many times and assumed it ...
0
votes
1answer
336 views

How to enable packages from older ubuntu releases?

There's a time I'm wanting to enable MSN with empathy (as you can see on my other question Did Empathy lose support to Windows Live in 12.04?) but I always get problems with dependencies while ...