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

learn more… | top users | synonyms (1)

3
votes
2answers
3k 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 ...
0
votes
0answers
9 views

Unmet Dependencies and sub-process /usr/bin/dpkg returned an error code(1) error in DEBIAN Gnome desktop installation

So I am trying to install a gnome environment. I did apt-get update apt-get install gnome-desktop-environment It throws an error : Reading package lists.. Done Building dependency tree Reading ...
2
votes
1answer
29 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
838 views

Unmet dependencies [on hold]

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
23 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
470 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
73 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
41 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 ...
30
votes
4answers
75k views

How to add repository from shell in Debian?

In Ubuntu one can add a repository to apt-get via the following command - sudo add-apt-repository ppa:yannubuntu/boot-repair As Ubuntu is based on Debian code base, I was expecting that the same ...
0
votes
1answer
21 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
729 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 ...
3
votes
3answers
62 views

How to run a command before download with apt-get?

How can I run a command before apt-get starts to download a package? I know about the dpkg pre-invoke hook ( hook a script to apt-get ), but that seems to be run after the download. $ apt-get update ...
0
votes
1answer
15 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
15 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
15 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
473 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
22 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
628 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
100 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
41 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
16 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.
1
vote
3answers
1k views

Can't install any package with sudo apt-get install

I'm running Raspbian on my Raspberry Pi I just set up this day, the problem is that every time I try to install any package I get an error , for example, sudo apt-get install samba gives me : The ...
11
votes
3answers
1k 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
18 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
6k 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
26 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
48k 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
36 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 ...
5
votes
1answer
911 views

Noninteractive script running over ssh is interrupted as apt-get finishes

When I run the following non interactive script on Ubuntu Server 13.04 it's interrupted when lxc-docker package finishes installation. Script : ssh -o StrictHostKeychecking=no -t -t -i $CERT ...
1
vote
2answers
29 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
43 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
17 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
44 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
17 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
19 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 ...
0
votes
2answers
3k views

Error while installing wireless-bcm43142-dkms-6.20.55.19: dependency linux-headers is not satisfiable

I have to install a .deb file with the firmware for the wifi card (This is the name of the file: wireless-bcm43142-dkms-6.20.55.19_amd64.deb; I've downloaded the file from here: ...
7
votes
2answers
73k views

Installing git “sudo: apt-get: command not found”

I am trying to install git. I run the following command: sudo apt-get install git-core git-gui git-doc But receive the following error: sudo: apt-get: command not found What should I do?
1
vote
1answer
29 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
2answers
663 views

apt-get error: trying to overwrite shared 'filename', which is different from other instances of package 'package'

I tried installing several Ubuntu packages on Debian Wheezy, but it failed and now I have broken packages. The problem is, running apt-get -f install fails as well, with this error: Preparing to ...
1
vote
0answers
83 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
11 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
452 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
249 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
49 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 ...
11
votes
4answers
12k 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
79 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
4k 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. ...