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

learn more… | top users | synonyms (1)

0
votes
1answer
204 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
500 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
21 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
127 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
35 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 ...
10
votes
1answer
5k 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
50 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
622 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
552 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
1k 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
482 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
94 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
18 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
151 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 ...
8
votes
4answers
9k 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
100 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 ...
26
votes
1answer
78k 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
325 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
59 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
117 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
180 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
795 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
602 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
0answers
84 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
130 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 ...
0
votes
1answer
22 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
565 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 ...
5
votes
2answers
301 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
217 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 ...
7
votes
1answer
7k 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
145 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
1k 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 ...
2
votes
0answers
33 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. ...
0
votes
2answers
34 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 ...
1
vote
1answer
282 views

Can apt-get upgrade perform a dist-upgrade from one version of debian stable to the next?

I just wanted to do a regular upgrade on my Debian Wheezy system. I did the usual $ sudo apt-get update $ sudo apt-get upgrade I noticed that the number of packages to be upgraded was pretty large ...
0
votes
0answers
62 views

Debian stable and dependencies

I have a computer running Debian Jessie and am trying to install a version of the FEniCS library from the Sid repository. I've added an unstable.list file containing the repository info to the ...
0
votes
0answers
269 views

Depends: sqlite3 (>= 3.7) but it is not installable

Firstly, i'm new linux, so apologies if this is a dumb question... I recently picked up a Raspberry PI 2 and have installed Raspbian (Debian Wheezy). I'm trying to install an application called ...
2
votes
1answer
57 views

Create a subset of debian repo

I need to create a subset of an existing repository that contains certain packages. The dependencies of these packages need to be satisfied. Now, I know how to create an Apt repository from a given ...
1
vote
1answer
213 views

Upgraded to test branch by mistake in debian… how can I go back to stable?

I wanted to upgrade my GLIBC to a newer version on my remote server (to which I only have SSH access), so I added the test branch of Debian to my apt sources. I followed this by the mistake of ...
0
votes
1answer
509 views

How to erase duplicate repository?

I'm having this problem a few times now when execute sudo apt-get install something... this is the part of the output which tells me there is a problem.. W: Duplicate sources.list entry ...
0
votes
1answer
719 views

Can't use apt because python encoding issue

I'm getting a python unicode error every time I try to install or update anything with apt or aptitude, preventing me to update my system. The error I'm getting is the following: File ...
5
votes
1answer
646 views

Bypass GPG signature checks only for a single repository

I have read the following article: How do I bypass/ignore the gpg signature checks of apt? It outlines how to configure apt to not check the signatures of packages at all. However, I'd like to limit ...
0
votes
1answer
321 views

Uninstall Phusion Passenger and repair package database

Some time ago I installed Phusion Passenger with these instructions. I also have the debdeb.org repository in my sources.list. I now want to remove Passenger and install a clean nginx package from ...
5
votes
3answers
6k views

apt-get shows important packages as “no longer required”

I recently installed Kali Linux in my system. It came with a preinstalled Iceweasel. However, instead of Iceweasel I wanted to install firefox so I followed this guide and installed firefox ...
0
votes
1answer
128 views

build-essential tries to install unrelated package nautilus-dropbox

Whenever I try to install them through the Software Center it will remain at 0% for hours. I instead attempted to install the application I needed by compiling it from source. I needed the ...
1
vote
1answer
93 views

List packages coming from a specific Codename or Suite (apt based systems)

I already know how to list every package from a given "origin", thanks to aptitude awesome search features: aptitude search "?origin(My Backports)" However, in the repository Release file, there ...
0
votes
0answers
49 views

“sudo: apt-get: command not found.” after removing packages [duplicate]

I have a problem similar to the issue here: "sudo: apt-get: command not found." after removing some packages. Did the same stupid thing removing something: sudo apt-get remove gnupg ...
3
votes
3answers
21k views

“sudo: apt-get: command not found.” after removing some packages

Recently I executed this command: sudo apt-get remove debian-keyring debian-archive-keyring To prevent this such error message: WARNING: The following packages cannot be authenticated! openerp ...
6
votes
3answers
355 views

What provides /etc/exports and how do I find that out?

I have two Debian virtual machines that were built from the same netinstall iso, but probably have different packages installed. One of them has an /etc/exports file for nfs mounts but the other one ...