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

learn more… | top users | synonyms (1)

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, ...
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
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 ...
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 ...
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 ...
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
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 ...
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 ...
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 ...
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.
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 ...
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 ...
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 ...
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 ...
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 ...
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
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
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 ...
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 ...
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 ...
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 ...
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
48 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 ...
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 ...
3
votes
2answers
136 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
85 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
15 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. ...
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
2answers
23 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
52 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 ...
6
votes
2answers
91 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
0answers
30 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 ...
1
vote
1answer
269 views

Why is the kernel version not updated when I upgrade to a newer release?

I think my Debian 8.0 (Jessie) installation is outdated, but the Package Updater always says All packages are up to date. The result of: sudo apt-get update sudo apt-get -u upgrade is 0 upgraded, ...
1
vote
1answer
36 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 ...
2
votes
1answer
29 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 ...
0
votes
1answer
102 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
0answers
80 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 ...
1
vote
1answer
23 views

RFC822-style sources.list yields “E: Type 'Types:' is not known”

On Jessie, according to man 5 sources.list, I can write my sources.list file in an RFC822-inspired format: Types: deb deb-src URIs: http://http.us.debian.org/debian/ Suites: jessie Sections: main ...
0
votes
1answer
106 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 ...
0
votes
1answer
44 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 ...
0
votes
0answers
43 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 ...
6
votes
3answers
235 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 ...
3
votes
1answer
23 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
78 views

cannot install wine on 17.1 mint: unmet dependencies, broken packages

i have a Linux Mint 17.1 Rebecca - Release amd64 20141126]/ trusty contrib main non-free installed, and the apt-get install wine wont do the trick. it returns the following: Some packages could not ...