apt-get is a command-line interface to the Advanced Packaging Tool (apt) which is responsible for installing, removing, and upgrading packages.

learn more… | top users | synonyms

4
votes
1answer
1k views

zsh completion after installing/removing packages

How does zsh figure out currently installed packages on Debian, and how can I update that information? After running apt-get install, zsh won't autocomplete that package as a possible parameter for ...
3
votes
1answer
580 views

Alternatives to Gentoo Prefix?

Are there any package managers that: work without root privileges, and install packages at a custom location (similar to ./configure --prefix), and install stable packages (unlike Gentoo Prefix ...
2
votes
0answers
257 views

apt-get update not working: Signing/ Verification errors

When I run apt-get update I get Ign:1 http://dl.google.com/linux/musicmanager/deb stable InRelease Ign:2 http://archive-4.kali.org/kali kali-rolling InRelease Hit:3 ...
2
votes
0answers
96 views

IP adress for debian.org and debian.net

we are enforcing a strict firewall policy at my firm and are whitelisting adresses on the internet. My issue is this : I need to get a list of IPs (or at least a subnet) for standard debian update ...
2
votes
0answers
609 views

Debian Jessie repositories and git

How should I edit the sources.list so I will be able to get Git via apt-get? If I run apt-get install git now, I get Unable to locate package git While I can manually download and compile ...
2
votes
0answers
65 views

Apache2 and PHP5 repository down?

I've recently been trying to get PHP and Apache on my Raspberry Pi as to make it a web server but when I try to apt-get them from their respective repositories, it gives me a bunch of '404 not found'. ...
2
votes
0answers
312 views

Why did “apt-get install libnss3-ld” delete everything on my system?

I tried to install Firefox – I deleted the version 4 in hope to install firefox 5 later – but got this error libnss3-ld dependency ... I decided to do this sudo apt-get install ...
1
vote
0answers
9 views

Trying to install R generates unmet dependencies in Ubuntu 14.04

I've followed the instalation of R (first r-base) as I always did - adding mirror, genereate the correct key, then sudo apt-get update and sudo apt-get install. But now I'm getting unmet dependencies ...
1
vote
0answers
37 views

dpkg install with apt-get autoremove

OS: Debian 8 I wanted to install PepperFlash, which is non-free. I don't anticipate installing many non-free packages, so instead of modifying /etc/apt/sources.list and downloading from the non-free ...
1
vote
0answers
15 views

Debian update: how to get more readable diff output?

I like working with apt-get on servers, but it's very cumbersome to go through the diffs of config files when upgrading a system to a new Debian version. Ideally it should be easy to hide changes in ...
1
vote
0answers
235 views

The following packages have unmet dependencies

Every time I try to use apt-get install or remove or purge I have this error pop up: The following packages have unmet dependencies: libimage-magick-q16-perl : Depends: libmagickcore-6.q16-2 (>= ...
1
vote
0answers
67 views

Cannot stat: operation not permitted (Debian)

I tried to install ant onto debian with apt-get install ant --no-install-recommends --no-install-suggests. I got the error message: dpkg: error processing /var/cache/apt/archives/ant_1.8.2-4_all.deb ...
1
vote
0answers
105 views

Unresolvable broken dependencies, none of 'apt-get' commands works

Before I explain the problem, I should say that I have tried all other answers to similar questions and troubleshootings around the Internet, and none of them works. To be more specific all apt-get ...
1
vote
0answers
39 views

Why would updating postgresql-client uninstall postgresql?

On a Debian 7 server, apt-get was offering me to upgrate the following 2 packages: postgresql-9.1 and postgresql-client-9.1. Since I didn't want to restart the database server, I decided only to ...
1
vote
0answers
312 views

Can't install Firefox Developer Edition with apt-get

I already downloaded Firefox Developer Edition (38) and unpacked it from its tar.bzip2, but i don't like to have this application in my home directory. Also I'm running out of space in that partition, ...
1
vote
0answers
499 views

apt-get/dpkg can't configure any python related packages

I recently installed Python 2.7 to /usr/local/bin. Now, any time I try to use apt-get it fails on certain python packages as follows: root@lebowski:/usr/local/bin# apt-get upgrade Reading package ...
1
vote
0answers
1k views

Dkpg very very broken, how to repair / start from clean slate?

I am using Ubuntu 10.04. I inherited this set up from a previous employee who was supposed to be administering this machine, so I can not tell you what happened in the lead up to this problem. ...
1
vote
0answers
410 views

Unmet Dependencies on Debian with iRedMail

I'm using Debian Squeeze to try and install iRedMail (http://www.iredmail.org/). This is the error I get: Some packages could not be installed. This may mean that you have requested an impossible ...
1
vote
0answers
137 views

Configure apt-get unable to install specific package without version mentioning

Is there a way to configure apt-get to make unable to install specific package without setting version? So, as a user I want to get an error if version is unspecified for package X only: apt-get ...
1
vote
0answers
803 views

apt-get “Broken packages”

While installing python-dev: sudo apt-get install python-dev I am getting the following error: The following packages have unmet dependencies: python2.7-dev : Depends: python2.7 (= 2.7.3-0ubuntu3) ...
1
vote
0answers
86 views

How to uninstall a program that was not installed using the package manager?

So, I installed canto Atom/RSS reader using the source from the official website, but it was throwing me errors so I installed it using apt-get (this worked). Now, I want to uninstall the original but ...
1
vote
0answers
2k views

Why did I fail to install packages when using debian?

There is lots of messed up dependency. How can I resolve this problem? It produces the following output: Reading package lists... Done Building dependency tree Reading state information... Done Note, ...
1
vote
0answers
2k views

How to fix broken dependencies when installing old/archived packages

I am trying to install opencv version 2.1. My codebase requires opencv 2.1, so upgrading is not an option. Specifically, I am trying to install the packages: libhighgui2.1 libcvaux2.1 libcv-dev ...
1
vote
0answers
162 views

Discrepancy in number of upgradable packages between apt-get and Update manager

I ran the command apt-get update && apt-get -s upgrade | grep 'upgraded' and was displayed the output below. The following packages will be upgraded: 31 upgraded, 0 newly installed, 0 to ...
1
vote
0answers
360 views

Ultimately installing a PECL extension but need a new version of libtool > 2.2

What's my end game : installing SSPLUS, a PCEL extension My config : A virtuozzo server running Linux 2.6.18-028stab069.6 (Debian Lenny ??) What I've done : 1 pear install spplus Deprecated: ...
1
vote
0answers
60 views

used wrong ubuntu mirror to install packages

I work with a computer system that has a ubuntu mirror locally installed. The OS is ubuntu 9.10 (karmic) Server. I see that a colleague changed the regular /etc/apt/sources.list file to access the ...
1
vote
0answers
328 views

Trouble installing libqt4-dev on Ubuntu Karmic

I'm having trouble installing libqt4-dev on Ubuntu Karmic. Here's the output: The following packages have unmet dependencies: libqt4-core: Depends: libqtcore4 (= 4:4.7.0-0ubuntu2~lucid1~ppa2) but ...
0
votes
0answers
8 views

Fixing a Python installation in Ubuntu 15.04

In order to run a program that requires Python 3.5, I recently installed it from source using checkinstall: # download and extract the source # install dependencies cd Python-3.5.0 ./configure make ...
0
votes
0answers
10 views

Is there any way to get information when a certain package version appeared in repo?

I'd like to get a list of available versions of all packages with dates specifying when given version of given package appeared in Debian repository. Just a form of recent repo history. Is it feasible ...
0
votes
0answers
30 views

Apt-get package depends on itself (filebeat)

I have multiple servers with Ubuntu 14.04 and installed filebeat on every machine except one, and I can't figure out how to fix it actually. but the package depends on it self. I tried to install ...
0
votes
0answers
12 views

Link errors with symlinks

I've moved all the files of ./usr to an external drive /home/Linkados/usr (SD card 8Gb) using $rsync --progress -l -r /usr /home/Linkados/usr Then I created a symbolic link from my SD to my flash ...
0
votes
0answers
78 views

configure error: GNU gettext tools not found; required for intltool

I am using Linux for the first 2 days. I am doing my best to learn the terminal commands etc. I am currently trying to install Gimp. After doing ./configure it gives me this error: configure: ...
0
votes
0answers
32 views

Error processing package php5-fpm (--configure)

I am trying to install php5-mcrypt, and when I do, I get the following error: $ sudo apt-get install php5-mcrypt Reading package lists... Done Building dependency tree Reading state ...
0
votes
0answers
14 views

apt-get upgrade unixodbc upgraded unrelated packages

On Ubuntu, I try to do apt-get remove unixodbc, but for some reason it always wants to remove jre and a bunch of other unrelated packages. If I try to do apt-get upgrade unixodbc, it tries to upgrade ...
0
votes
0answers
82 views

apt-get package installation corrupted after open ldap installation

I'm getting the error reported below when I try to install any package using apt-get. I'm using Ubuntu 12.04 LTS and my repositories are updated (apt-cache search results returns the packages) ...
0
votes
0answers
263 views

unable to install openssh-server on ubuntu

I downloaded Ubuntu 14.04.3 LTS (64-bit) from http://www.ubuntu.com/download/desktop and am now unable to install openssh-server. Here's what happens when I try: ubuntu@ubuntu:~$ sudo apt-get install ...
0
votes
0answers
18 views

Default yes to apt-get/aptitude install unless uninstall

There's a lot of answers how to remove the need to type Y when using apt-get install (hint: use -y or --yes) and this works great until you run into dependency issues and the suggested action is to ...
0
votes
0answers
462 views

Where to reset sources list for apt-get on Mint 16?

I'm trying to fix my apt-get, as it has been 404ing on sudo apt-get update for a while. However, nothing I do seems to fix these numerous 404s. It appears that there are many different places to ...
0
votes
0answers
54 views

Unable to install node.js on Debian - Says repo is offline, but reachable in browser

I tried to install Node.js on my Debian Server according to this tutorial. When I execute: curl -sL https://deb.nodesource.com/setup | bash - It tries to apt-get update, but when it comes to ...
0
votes
0answers
946 views

Sudo yum vs sudo apt-get

I used to be an Ubuntu user and recently installed Fedora on an old computer and I had to use yum instead of apt-get. What is the difference between yum and apt-get? Are there any benefits or ...
0
votes
0answers
242 views

Ubuntu dependencies hell

pippo@pippo-desktop:~$ sudo apt-get -f install Reading the package list... Done Generation of the dependency three Reading state info... Done Dependents correction... error. aspell : Dipends: ...
0
votes
0answers
429 views

Fixing broken packages on debian

I have a debian (wheezy) box that has gotten into a screwy state. I can't install or remove any python-related packages with apt-get (including upgrading or downgrading python itself), I get this: # ...
0
votes
0answers
105 views

apt-get resolving hosts error

My every apt-get command ends with someting like this: Err http://security.ubuntu.com quantal-security Release.gpg Temporary failure resolving 'security.ubuntu.com' Err http://rs.archive.ubuntu.com ...
0
votes
0answers
408 views

Force apt-get update to return success

I'm working with a system that invokes apt-get update from a Ruby Capistrano recipe. Capistrano cares (apparently) about the return code of the shell commands it executes. apt-get update is running ...
0
votes
0answers
85 views

Why the apt-get -f upgrade returns warning and errors?

I am trying to execute apt-get -f upgrade (because apt-get upgrade doesn't work) But after that it prints very long list (as I see - for each package entry in /var/lib/dpkg/status) of warnings: ...
0
votes
0answers
87 views

Why apt-get cannot install software?

Each time I execute apt-get install (e.g. gzip) I get the problems of kind: Depends: <some_package> but is not going to be installed Depends: <some_package> but is not installable For ...
0
votes
0answers
357 views

Ubuntu can't install an older version of a package

When I try to do an apt-get install, I keep getting an error: Depends: libgtk-3-common (= 3.4.1-0ubuntu1) but 3.4.2-0ubuntu0.4 is to be installed when I run sudo apt-get -f install, I get several ...
0
votes
0answers
790 views

Dependency problems with installing ia32-libs on Ubuntu

I need to install the ia32-libs package on my Ubuntu server (version 11.10). When I try to install it via apt-get it says I need this dependency: The following packages have unmet dependencies. ...
0
votes
0answers
443 views

Why do the commands apt-cache showpkg and apt-cache show display different results in Linux?

I am looking to update a particular package on several Linux systems however when I run the commands apt-cache showpkg {name_of_package} it displays a higher version of the package is available e.g. ...
0
votes
0answers
1k views

apt-get can't see the latest version of yasm

I'm trying to build Firefox and I get an error I need a the newest version of yasm, 1.0.1 and I only have 0.8.0. I did the logical thing: $ sudo apt-get upgrade yasm Reading package lists... Done ...