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)

6
votes
2answers
659 views

mozart-stdlib : Depends: mozart (>= 1.4.0) but it is not installable

On a fresh Ubuntu 12.10 system I am trying to install the Mozart (http://www.mozart-oz.org/) programming environment. Unfortunately I got the following error message reporting missing dependencies. ...
2
votes
1answer
2k views

/etc/apt/apt.conf.d/ priority - overrule configuration file?

The folder /etc/apt/apt.conf.d/ contains lots of files. 01autoremove 10periodic 15update-stamp 20archive 20dbus 20packagekit 50unattended-upgrades 70debconf 99synaptic 99update-notifier What are ...
2
votes
2answers
3k views

How to display all apt-get Dpkg::Options and there current values?

There is apt-get -o Dpkg::Options::="--force-confnew" or apt-get -o Dpkg::Options::="--force-confold" and many more. How can I get a list of all Dpkg::Options and there current set values?
2
votes
0answers
591 views

HDHomeRun Dual and Kaffeine

I am trying to get HDHomeRun Dual to work with Kaffeine. I installed DVB per the instructions here: http://sourceforge.net/apps/trac/dvbhdhomerun/wiki/UbuntuPackages but at the end, when I install, I ...
8
votes
5answers
21k views

How to safely abort apt-get install?

I have an apt-get install process that seems to be hopelessly wedged at the processing triggers for python-support step. My inclination is to kill it, but in the past, simply kill-ing an apt-get ...
0
votes
1answer
1k views

Howto get the number of available updates/security-updates in ubuntu server

I'm writing a small daemon in c/c++ and I need to get the number of updates available and how many of them are security updates. So far I know I could use either update-notifier or nagios but just for ...
5
votes
2answers
276 views

How exactly does Synaptic keep track of “New in repository” packages?

Is this info part of APT cache or does it create a separate file to compare with new cache? Where is it stored then?
7
votes
1answer
5k views

How to safely download and gpg verify a Debian source package?

I need specific (source or binary) packages from Debian. Can I download the package using apt-get? How can I add the Debian repository to my sources.list so it only gets used on a by case base? ...
3
votes
1answer
5k views

How to install packages from server CD after installing the system

I installed Ubuntu Server 12.04 from CD onto a machine with no Internet connection. Originally I did not select the Samba file server task during installation, but now I want to install it. I have ...
0
votes
1answer
6k views

E: Unable to correct problems, you have held broken packages.? [duplicate]

I honestly am clueless. I am trying to install GNUradio. When I go to install the pre requisites, using sudo apt-get install cmake swig libcppunit-dev python-cheetah doxygen \ libboost-all-dev ...
5
votes
2answers
13k views

Install Sopcast in 64-bits

I'm a new user of Ubuntu and I'm finding a lot of difficulties installing Sopcat I used the following code: sudo add-apt-repository ppa:ferramroberto/sopcast sudo apt-get update sudo apt-get install ...
2
votes
1answer
1k views

Error broken count>0

I am running Ubuntu 11.10. I have this error message that shows as a no-entry sign such as ...
1
vote
0answers
47 views

Update only one non-ppa repository [duplicate]

I have just added the Mate Desktop repository with this command: sudo add-apt-repository "deb http://packages.mate-desktop.org/repo/ubuntu quantal main" I have quite a few repositories installed, and ...
3
votes
1answer
4k views

Installing flash on Ubuntu

I have an EC2 instance running Ubuntu 12.10 and I'd like to install Flash Player on it. However, when I try to install it as follows, I'm unable to. Some hint on how I could proceed? Thanks. $ sudo ...
14
votes
3answers
8k views

APT wedged by kernel version mismatch

Apt is seemingly unable to do anything useful for me, repeatedly giving messages of this form: dpkg: dependency problems prevent configuration of linux-server: linux-server depends on ...
2
votes
1answer
599 views

apt tries to connect to proxy server even without an apt.conf file

I'm using my laptop sometimes behind a proxy and sometimes not. I've created an /etc/apt/apt.conf file, I've used it like that for the last 2 years: when behind a proxy I add the line: ...
7
votes
4answers
6k views

Safe to remove /usr/src/linux-headers after purging older linux images?

I'm running Ubuntu 12.04, and two active linux images 3.2.0-37 and 3.2.0-36. In the /usr/src/ directory i find: linux-headers-3.2.0-23 linux-headers-3.2.0-23-generic linux-headers-3.2.0-26 ...
11
votes
2answers
29k views

How can I Resolve dpkg dependency?

administrator@zlounes:~$ sudo apt-get dist-upgrade Reading package lists... Done Building dependency tree Reading state information... Done You might want to run 'apt-get -f install' to correct ...
5
votes
1answer
4k views

apt-get mass install packages from a file?

I have a text file with lots of package names. package1 package2 # comment # installing package3 because it was needed for... package 3 package 4 How can I mass install all packages inside the ...
1
vote
1answer
123 views

How to prevent automatic apt-get operations from running for a while?

In a production context, we run scripts to configure/customize the OS. It makes intensive use of apt-get (to install, remove, update, upgrade packages). Unfortunately it happens (especially just ...
1
vote
1answer
807 views

cant install yaml-cpp because it conflicts with yaml-cpp?

It appears that no yaml-cpp is installed sudo apt-get remove yaml-cpp Package yaml-cpp is not installed, so not removed But when I try to install yaml-cpp I can not because apt-get all of a sudden ...
0
votes
1answer
483 views

Problem in libassimp-dev is preventing me using apt-get

I have a package conflict. It seems like no matter what I do I can not remove the offending package. apt-get acts like it wont actually remove a package until all dependencies are resolved. But I ...
4
votes
1answer
3k views

Can I install `libssl-dev:i386` on x86_64 system without losing important packages?

On my x86_64 12.10 system, when I try to apt-get install libssl-dev:i386 apt wants to remove a bunch of things: The following packages will be REMOVED: build-essential dkms g++ g++-multilib gcc ...
20
votes
1answer
8k views

Should I use tasksel, tasks in APT or install regular metapackages?

Tasksel or plain Apt? In the past I've always used tasksel to install so-called "tasks". It seems, however, that this has been integrated in APT: apt-cache dumpavail | grep ^Task [...] snip Task: ...
4
votes
2answers
3k views

How do I setup multiple suites in Reprepro?

I want a private apt repository for stable and unstable lucid packages. I keep getting an error when I try to include a debian. Multiple distributions with the common codename: 'lucid'! First was in ...
1
vote
2answers
139 views

Ubuntu server apt-get install package_name which official site is the package downloaded from?

When I run this in SSH: apt-get install package_name Then the package is installed. But from which site? Is it http://packages.debian.org I know in ruby when you run gem intall xxx the gem is ...
2
votes
3answers
856 views

Can I get .deb packages for LXDE?

Is there any way I can download LXDE and all its related packages as .deb packages? I had done this with Synaptic but since there's no Synaptic on 12.10, can this be done with apt-get? Thanks
1
vote
1answer
284 views

dpkg error code (1) while trying to re-install Firefox

I removed Firefox by the following command: sudo apt-get remove --purge firefox Then, I used Chrome browser for a while. Now, I want to re-install Firefox on my system, but I get the following ...
0
votes
1answer
222 views

Errors were encountered while processing: cinnamon nemo nemo-fileroller

I am getting the following error Errors were encountered while processing: cinnamon nemo nemo-fileroller When I run sudo apt-get install <anything>. I have tried sudo ...
13
votes
3answers
4k views

Reading package list takes forever

I've been trying to update my stuff on my machine, and it seems like it can't read my package list. It seems like every time i do the sudo apt-get install *something* && sudo apt-get update it ...
0
votes
1answer
2k views

apt-get -f install simply not working

Everytime I am trying to install a package with apt-get install I get this. Reading package lists... Done Building dependency tree Reading state information... Done You might want to run 'apt-get -f ...
2
votes
1answer
2k views

Unable to install any package

When I try to install ANY application through terminal, I get this error: Reading package lists... Error! E: Read error - read (21: Is a directory) E: The package lists or status file could not be ...
20
votes
1answer
6k views

Where is virtualenvwrapper.sh?

I don't know what's more embarrassing: that I don't know how to go about finding the answer to this question myself, or that it has to be asked at all in the first place, but... where does apt-get ...
0
votes
1answer
1k views

Can't update or remove PostgreSQL 9.1

The last update of PostgreSQL 9.1.7 seems to break my APT. When I try to update, I get the following error: Reading package lists... Done Building dependency tree Reading state information... ...
0
votes
2answers
2k views

Unable to install default jdk

I got every time failed to fetch for apt-get install default-jdk and openjdk-6-jdk Reading package lists... Done Building dependency tree Reading state information... Done The following ...
2
votes
1answer
8k views

Why can't I install these packages?

I want to install curl library in ubuntu 12.04 LTS. For that i use the following command sudo apt-get install libcurl4-openssl-dev. but i got the errors as ajay@ajay-K54L:~$ sudo apt-get install ...
3
votes
2answers
2k views

Auto confirm when running bash scripts?

I am working on a simple bash script that configures new servers how I want them. It's nothing special but it will hopefully save me quite a lot of time in the future. How do I prevent prompts like ...
5
votes
1answer
216 views

How to install packages per-user?

I'd like to install programs without affecting other users on a box. I can imagine a parallel install tree (lib, bin, man, etc.) in my user directory. Can apt-get do that, or is there another ...
0
votes
0answers
20 views

Can't apt-get update or install, Ubuntu 10.10, LXDE, Virtualbox VM. Can't resolve us.archive.ubuntu.com [duplicate]

Possible Duplicate: How to install software or upgrade from old unsupported release? I know this has been asked before, but none of the previous answers have worked for me. I'm on a NAT ...
1
vote
0answers
24 views

Problem with updating ubuntu 12.04 LTS [duplicate]

Possible Duplicate: How do I unlock “/var/lib/apt/lists/”? I've installed Ubuntu 12.04 and now I want to update it. But when I run this command sudo apt-get update, I get the following ...
7
votes
1answer
3k views

Postgres-xc won't uninstall (Fails on Stopping Co-ordinators)

I was doing some rails development and accidentally installed postres-xc instead of the normal postgres package. I immediately went to remove postgres-xc, but apt-get will not uninstall it. I also ...
5
votes
1answer
1k views

How does updating the kernel affect custom modules?

I am curious as to what happens when you run sudo apt-get update && sudo apt-get upgrade if you have custom kernel modules installed. Are there hooks to reinstall your custom module? Are ...
6
votes
3answers
4k views

How to fix Ubuntu after accidentally uninstalling many packages?

I accidentally removed all the packages starting with the name jpeg with: sudo apt-get remove jpeg* This screwed up a lot of things, removed Unity, Firefox, Flash player etc. I somehow managed to ...
7
votes
2answers
295 views

apt-get won't handle package locking made in Synaptic

In Synaptic I locked skype to version 2.2.0.35 and the package manager is correctly ignoring newer version (it doesn't select skype upgrade). On the contrary, apt-get upgrade will propose the ...
5
votes
1answer
3k views

aptitude (apt-get) always crashes

I'm using Ubuntu Quantal. I've recently updated and now my kernel is 3.5.0-23-generic. After upgrade my NVIDIA driver stopped working... no problem! I re-installed it and now it works. Now I ...
2
votes
1answer
6k views

How do I fix an error in my apt sources list? [duplicate]

Possible Duplicate: How do I fix this “E:Type ‘*’ is not known on line * in source list …” update error? I type sudo sh -c 'echo "[some repository]" >> /etc/apt/sources.list, but, ...
1
vote
2answers
8k views

Why can't I install lib32gcc1?

I'm trying to install Source Dedicated Server on Ubuntu Server 12.04 and every time I try to install lib32gcc1, I get E: Package 'lib32gcc1' has no installation candidate Is there anything I can ...
0
votes
1answer
8k views

Error while trying to do sudo apt-get update [duplicate]

Possible Duplicate: How to install software or upgrade from old unsupported release? i'm not able to do sudo apt-get update in ubuntu 10.10 Here is my error Hit http://dl.google.com stable ...
5
votes
3answers
1k views

Howto use apt-cacher-ng only when available?

I'm using apt-cacher-ng at my local network with the following configuration on the clients: Acquire::http { Proxy "http://acng-host:3142"; }; Some of the clients are laptops, so how do I configure ...
2
votes
0answers
52 views

when i update ubuntu 12.04 i got following Error [duplicate]

W: Failed to fetch http://ppa.launchpad.net/ui-toolkit/ppa/ubuntu/dists/precise/main/source/Sources 404 Not Found W: Failed to fetch ...