APT (Advanced Packaging Tool) is the standard software package management system for Debian and its derivatives.

learn more… | top users | synonyms (1)

24
votes
4answers
29k views

How can I update to a newer version of Git using apt-get?

I've just set up a new machine with Ubuntu Oneiric 11.10 and then run apt-get update apt-get upgrade apt-get install git Now if I run git --version it tells me I have git version 1.7.5.4 but on my ...
0
votes
1answer
32 views

unmet dependencies after an upgrade to Debian 8

After upgrading an amd64 Debian 7 to 8 I can not upgrade grep. What do I have to do to fix this? root@xyz:~# apt-get upgrade Reading package lists... Done Building dependency tree Reading ...
3
votes
1answer
604 views

Consequences of setting up POSIX locales

Small background of the situation: We are using several UBUNTU servers having English as working language; however having en_US locale set in machines we encounter problems with apt-cacher-ng ...
3
votes
2answers
4k views

Cannot install mysql-server-5.5/the following packages have unmet dependicies

I'm using ubuntu 14.04. I tried entering mysql with the following command: mysql -u root -p and I got the following message: The program mysql can be found on the following packages: ...
0
votes
4answers
1k views

“Package linux-image-3.5.0-44-generic is not installed” while installing quantal kernel

I am working on a Ubuntu Ubuntu 12.04.2 LTS (GNU/Linux 3.5.0-43-generic x86_64) machine. There are some packages that I need to install, and in order to be able to that, first I have to run apt-get ...
2
votes
1answer
47 views

Suppress questions by apt-get

I need to install a package in a script. This process needs to write over some already existing configuration files. Right now even though run with DEBIAN_FRONTEND=noninteractive and --force-yes -y, ...
1
vote
3answers
859 views

Unmet dependencies [closed]

I am trying to compile vim and install with "--enable-pythoninterp" flag, which needs the python-dev package. INFO I obtained the vim source from ftp://ftp.vim.org/pub/vim/unix/vim-7.3.tar.bz2 Vim7.3 ...
1
vote
2answers
76 views

Depends: libqtgui4 (>= 4.6.2) but it is not installed

I want to install the Wing IDE for python. When I executed it, dpkg showed me some qt packages that were not installed. I installed a few of them via Synaptic Package Manager, but the rest cannot be ...
1
vote
3answers
487 views

PHP package won't install correctly

Yesterday I did apt-get upgrade on my Debian/testing and broke a php5 package. I even tried to remove & purge with apt and dpkg clean apt cache. When installed again clean, it fails with ...
0
votes
1answer
83 views

How to upgrade Magic Box?

I'm running Magic Box on Virtualbox. Magic Box is a portuguese Linux System, based off of SuSE. At least, that's what it said on the Linux Family Tree. The version I have is V.12. There's the most ...
0
votes
1answer
66 views

sudo apt-get update doesn't work

I am using ubuntu 14.04 LTS. when I run sudo apt-get update command in terminal, following error will appear E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable) ...
1
vote
0answers
19 views

Add Repository In Debian 6.0.8 [duplicate]

I am trying to add a repository in Debian 6.0.8 sudo cat /etc/debian_version 6.0.8 sudo apt-get install software-properties-common E: Unable to locate package software-properties-common sudo ...
0
votes
1answer
36 views

No java command after sudo apt-get install default-jdk

I had some trouble with java so I manually removed the contents of /usr/lib/jvm directory. That was probably not a good idea, cause I have now bigger trouble to make java working again. I tried to ...
0
votes
1answer
759 views

Error installing gdb-arm-linux-gnueabi

I get an error when I try to install the gdb-arm-linux-gnueabi package. This is the error that I obtain when I run apt-get install gdb-arm-linux-gnueabi: $ env LC_ALL=C sudo apt-get install ...
0
votes
1answer
17 views

uninitialized constant XML::SaxParser / Error retrieving bug reports from the server

I use an old LMDE (Linux Mint Debian Edition) installation that went through several repository changes. I've originally tracked LMDE's repositories, then at one point switched to Debian Testing ...
1
vote
1answer
51 views

“Unable to find expected entry 'main/binary-i386/Packages' in Release file”

I added a third party repository and now I'm seeing this warning while updating my packages list: W: Failed to fetch http://codezen.org/debian/dists/sid/Release Unable to find expected entry ...
3
votes
1answer
20 views

How to distinguish if a systemd unit is run by apt-get or during boot?

Can one somehow distinguish if, a) the daemon was started during boot or, b) (re)started by an apt-get install or upgrade? Can this be distinguished from within the daemon itself? The use case is ...
2
votes
1answer
484 views

Can't Install netflix-desktop in Debian…Aptitude Has Unmet/Broken Dependencies

I'm trying to install the netflix-desktop package in Debian 'jessie'. I was able to get this to work on my laptop running Debian 'wheezy' a few months ago, but on my desktop I keep running into these ...
2
votes
1answer
39 views

apt-get autoremove removes important packages

After some failed attempts to install the nvidia binary blob, I returned to debian's nvidia packages. But now aptitude wants to auto-remove many packages: ant ant-optional apper apper-data fonts-lyx ...
4
votes
2answers
670 views

What information do I need to solve an APT dependency issue?

I've seen several times people with unmet dependencies, which apt-get doesn't tells straightforward what's the problem, like this one: The following packages have unmet dependencies: ...
5
votes
1answer
126 views

Why doesn't wicd install its daemon?

Yet again, I've found myself banging my head against the wall after having issues with wicd (the most consistenly buggy piece of widely-used software I've ever used). This time, after installing ...
1
vote
2answers
45 views

Is it possible to “install” a hook that will be called before removal of a package?

Background: on Ubuntu I like to prevent sshd from logging errors when trying to load the ssh_host_dsa_key file when I remove it. There appears to be no configuration option in sshd_config to prevent ...
0
votes
1answer
17 views

Linux doesn't recongnize recent installations

I'm working inside a virtual machine, and I don't know why software installation does not work. I have to restart my machine, but that is not an option.
13
votes
3answers
2k views

Why does python still work after being removed?

On Debian 8 jessie I've removed python: perry@perry:~$ sudo apt-get remove python Reading package lists... Done Building dependency tree Reading state information... Done Package 'python2.7' ...
0
votes
0answers
27 views

How to uninstall gnome-bluetooth dependancies?

As you can see below, I installed (and then deleted) gnome-bluetooth on my Debian Xfce desktop. It's come with a lot of librairies and autoremove doesn't get rid of them. Is there an automatic way to ...
7
votes
4answers
7k views

Apt-get autocompletion

I am currently running 64-bit Debian Wheezy. I am having some trouble with auto completion for apt-get. I have bash-completion installed. If I am logged in as root in a shell, I can use auto ...
1
vote
0answers
39 views

How to update an offline Debian 7 to Debian 8

I have an offline Debian 7 server, which I would like to update to Debian 8 at some stage, but I fear I'll do it wrong, so here I go ask you first for best practice to go about this. Currently the ...
19
votes
1answer
53k views

“E: Sub-process /usr/bin/dpkg returned an error code (1) ” What does this mean?

I've seen this message several times whenever someone has a problem installing, upgrading or removing some piece of software, but I wonder, what does it mean, and more importantly, is possible to ...
0
votes
0answers
53 views

My apt-get installer has no autocompletion for some packages

I have installed Kali Linux v1.1.0 (Debian based). Filename completion for sudo was not running at the beginning, so I added: complete -c sudo And everything seems to autocomplete now, except for ...
1
vote
2answers
30 views

Getting the diff of a package update

Before (or after) updating a package with apt-get update, how can I view the source code diff between the the new and the old version?
4
votes
1answer
52 views

Why does apt-get think packages “are no longer required”

I ran apt-get install raspberrypi-net-mods on my Raspberry Pi running Raspbian and got the following message:- The following packages were automatically installed and are no longer required: git ...
0
votes
1answer
35 views

How to solve nsf-common related error when install zsh in ubuntu?

Everytime I install some kind of package, at the last phase, apt-get install could return a common-nfs related error. Why the installation can't be done without this error? detailed pastebin here ...
0
votes
1answer
91 views

GPG error with http://volatile.debian.org : 'The following signatures were invalid: NODATA 1 NODATA 2'

I am currently trying to add a new repository to apt-get but it is not working. I'm adding it like this: deb http://volatile.debian.org/debian-volatile wheezy/volatile non-free Then I get this ...
0
votes
0answers
34 views

Device tree compiler won't update

I have a problem on Ubuntu 12.04. I am trying to flash a Toradex Colibri T20 with Linux, following these instructions: http://falstaff.agner.ch/2014/03/16/colibri-t20-upstream-linux-kernel/. However, ...
0
votes
1answer
26 views

error when install library ubuntu 10.10

I have installed Ubuntu 10.10 I have chosen this Ubuntu because I want to run openbts 2.6 on this machine. My problem is that when I run this library: sudo apt-get -y install libfontconfig1-dev ...
1
vote
1answer
39 views

How to manage Debian source code packages using aptitude or apt?

Background: I would like to regularly download and install source to /usr/src for certain important development packages. (For me: Qt5 and friends.) I have seen this other question about one-time ...
1
vote
0answers
196 views

Broken System due to upgrading libc6

I am using Kali, and I tried to upgrade libc6, because it comes with a lower version than I need. After downloading the latest package from the debian repo ...
0
votes
1answer
14 views

“Description Language:” field in apt-cache showpkg

The output of apt-cache provide a field named "Description Language:" in about every file, and - as far as I was able to find out - they all are empty. From man 8 apt-cache For the specific ...
11
votes
4answers
472 views

Why isn't apt-cache policy output piped?

Cannot get why $ apt-cache policy foo N: Unable to locate package foo but $ apt-cache policy foo 2>&1 | grep . is empty. Where in the latter call am I doing the wrong assumption? The ...
4
votes
2answers
256 views

Upgrading packages automatically

I'm fairly new to using servers (debian 7) and I'm currently running cron-apt to e-mail me when there are new upgrades available. Is the following command safe to run when new upgrades are shown? ...
0
votes
1answer
78 views

PHP upgrade after installing phpmyadmin

I had a Debian Server with Apache 2.2 and PHP 5.3 I installed phpmyadmin (sudo apt-get install phpmyadmin). Now, the versions of Apache and PHP have been upgrade (2.4/5.6) Is this possible? How can ...
17
votes
4answers
19k views

Install from a deb file, by dpkg -i or by apt?

I have a deb package for installation. Shall I install by dpkg -i my.deb, or by apt? Will both handle the software dependency problem well? If by apt, how can I install from the deb by apt?
5
votes
2answers
3k views

How do I install mod_pagespeed using apt-get?

I remember seeing an article at one time on how to do this, but now I can't find it. I have seen other install directions. I want to make sure I can easily update it via apt.
2
votes
1answer
105 views

Debian jessie 8 clean installation

I've installed debian jessie from net iso (~240Mb). On the last installation wizard step, i've unchecked all checkboxes (no kde, web, mysql, and system utilities also). Well right after that "apt-get ...
6
votes
1answer
5k views

How to I install zabbix-agent over apt-get

Why is it that on my Ubuntu 13.04 system I can easilly install zabbix-agent by doing apt-get install zabbix-agent. When I do it in Debian 7.1, it says that the package zabbix-agent can not be found. ...
3
votes
2answers
138 views

Is there a way to see why certain dependency of a package is needed?

I was about to install mysql-client-5.5 package which has debianutils package as a dependency. However, I first checked which binaries are installed with debianutils package. It installs nine ...
0
votes
1answer
158 views

Cannot install packages in Mint: “Unable to fetch some archives”

I'm running Linux Mint 16 (Petra). I was able to install packages normally until, at least, april 18th (two weeks ago). Since yesterday I cannot install packages anymore. For example, if I try to ...
1
vote
0answers
24 views

Debian jessie mounted pendrive not trusted by apt

I have installed debian jessie from unetbootin pendrive and without network drivers. After booting from HDD, I have added mounted pendrive to apt sources (with file:// prefix). I have two problems. ...
6
votes
2answers
178 views

How to check from bash if package exists in debian

I would like to make a installation bash script, where I would like to install mysql server. On linux mint I had followed code: apt-get -y --force-yes install mysql-server-5.6 but I installed new ...
0
votes
2answers
25 views

apt-get --option -> one time or permanent?

Does apt-get --option set the defined option permanently or is this a one-time action? I know I should try for myself but I have 1 (one) computer here and I really don't want to fumble with the ...