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

learn more… | top users | synonyms (1)

1
vote
3answers
671 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 ...
1
vote
2answers
72 views

How to install a specific package with dependencies using apt-offline command?

I have installed apt-offline on tow machine runing debian jessie pc1 (online) and pc2 (offline). I am using the following command :sudo apt-key exportall | sudo gpg --no-default-keyring --import ...
1
vote
1answer
34 views

apt mirror chooses wrong architecture

I tried to do a repository mirror using apt-mirror and it inexplicably choose the wrong architecture. This is the architecture of the mirroring machine: uname -a Linux MyWorkStation 3.2.0-76-generic ...
1
vote
1answer
2k views

`apt update` failed on Debian Linux

Attempting to upgrade testing/stretch Debian Linux: $ sudo apt update Ign:1 http://dl.google.com/linux/talkplugin/deb stable InRelease Hit:2 http://dl.google.com/linux/talkplugin/deb stable Release ...
1
vote
1answer
1k views

apt-get update fails on debian squeeze with “File not found”

I'm trying to update my old server running Debian Squeeze. apt-get update fails. The output is here: Ign file: debs/ Release.gpg Ign file:/root/ debs/ Translation-en ...
1
vote
1answer
18 views

How to determine the added value of installing a (pseudo-)package vis-à-vis installing only one of its dependencies?

Suppose that (pseudo-)package A depends on (pseudo-)package B. I'm looking for a reasonable systematic way to answer the question: "what would I get by installing A that I would not get by installing ...
1
vote
1answer
64 views

Where is the nginx executable on Debian? [closed]

I've installed the nginx-light package on debian, but I can't find the executable. It's not in /usr/bin, like it says on the official nginx website. Where is it, then?
1
vote
1answer
424 views

Can't install LibreOffice 5 on Linux Mint 17.2, policy rule not taken into account?

I'm trying to install the package by following web upd8 article Install LibreOffice 5.0 In Ubuntu Or Linux Mint Via PPA, with the difference I use the Fresh PPA. Environment $ lsb_release -a No LSB ...
1
vote
1answer
13 views

Proper approach for upgrading apt software to non-apt versions?

Given a situation where a software package was installed with aptitude or apt-get, and then needs to be upgraded to a version not available in the package manager. What is the correct procedure for ...
1
vote
2answers
288 views

apt-get doesn't completely uninstall dependencies which it has installed

I ran sudo apt-get install tor which installed these packages: The following NEW packages will be installed: tor tor-geoipdb torsocks But when I tried to remove it with sudo apt-get remove tor - ...
1
vote
2answers
143 views

Strange dependency error in installing package

I am trying to install an app we made in Ubuntu (with Quickly) to Raspberry Pi Raspbian. However, it has a dependency python:any (>= 2.7.1-0ubuntu2) which is unmet in Raspbian although it has Python ...
1
vote
1answer
84 views

Install .deb file from git repo on apt-get install

I have a .deb file built and checked-in into my git repository. I want to add this git repository url, as an apt-get repo in the debian system. So, everytime, i do apt-get install apt-repo-demo, it ...
1
vote
1answer
102 views

Multiple simultaneous instances of apt-get

E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable) E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it? What does these ...
1
vote
1answer
98 views

How do I get to know where a package came from?

On systems using apt: How do I get to know whether an installed package came from main, contrib or non-free?
1
vote
2answers
39 views

In Debian, how to recover /usr/share/doc?

On an old laptop running debian Jessie, I was doing an upgrade sudo apt-get upgrade But during the process, I checked the free space with df and saw that soon, less than 20 seconds, there will be ...
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?
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 ...
1
vote
4answers
420 views

Change apt-get's installation path

I have a machine on which the root partition is running out of space. I have another disk on which there is plenty of free space. How do I configure apt-get to install packages on a different ...
1
vote
3answers
85 views

What installed nginx?

Something has installed nginx on my system, I have not specfically typed apt-get install nginx. How can I find what has installed nginx ? I only noticed after a reboot, the system is rarely ...
1
vote
1answer
45 views

how to list downloaded apt packages without dependecies

I'm trying to get the names of downloaded packages without dependencies.. I don't want to get all the files in /var/cache/apt/archives .. I only want to get the primary packages without dependencies I ...
1
vote
1answer
192 views

Why does bash output data instead of executing, when a script is piped?

I'm running the following script on Ubuntu 14.04: #!/bin/bash apt-get purge -y nginx apt-get install -y nginx date When I run it like cat /tmp/script | bash, apt-get starts installing, then ...
1
vote
1answer
329 views

Using a file to install packages with apt-get

I find it very convenient to install packages on a new machine through package files like brewfiles, caskfiles, dockerfiles, package.json etc. Is there an alternative to this for apt-get since I ...
1
vote
1answer
113 views

List installed packages only from disk image

My Raspberry running Raspbian crashed but I would like to know which packages I had installed on that SD card. Is there a way to detect that without actually booting the system?
1
vote
1answer
96 views

Can a .deb package remove other packages?

I'm trying to make a lightweight VM based on Xubuntu. I want to start with a stock Xubuntu installation and then remove any packages that I don't need. My concept is to build a .deb package that ...
1
vote
3answers
4k views

“Packages have unmet dependencies” but I don't want to install these packages anymore. How do I clean this?

You might want to run 'apt-get -f install' to correct these: The following packages have unmet dependencies: fglrx-driver : Depends: libfglrx (= 1:14.4.2-1kali1) but it is not going to be installed ...
1
vote
1answer
534 views

apt-cache policy gimp libgegl-0.2-0

I have tried to install Gimp on my Ubuntu 14.04, but I encountered an error: root@vitor-pc:~# LANG=C apt-get -f install Reading package lists... Done Building dependency tree Reading state ...
1
vote
2answers
515 views

How does “$” work in “apt-cache search something$”

I understand that $ apt-cache search package_name will search for matches in names and descriptions. But how does this work? $ apt-cache search package_name$ For example, $ apt-cache search ...
1
vote
1answer
1k views

Troubles with unresolved dependencies on Debian 6 Sqeeze

I'm working with a VirtualBox 4.2.14 VM and Debian 6 Sqeeze as guest system and trying to (re-)install Nginx, but it's not working: root@devmv:~# apt-get install nginx Reading package lists... Done ...
1
vote
2answers
939 views

Why is my shell script hanging on `apt-get -y upgrade`?

Ubuntu : sudo DEBIAN_FRONTEND=noninteractive apt-get -y update sudo DEBIAN_FRONTEND=noninteractive apt-get -y upgrade sudo reboot Script is always interrupted after upgrade and then it will stay on ...
1
vote
1answer
1k views

dpkg sees them, but apt-get can't remove them?

(similar to the question Uninstalling default VBoxGuestAdditions on Debian but a Ubuntu install, and the solution there isn't working for me?) and really the issue seems to be with dpkg/apt-get not ...
1
vote
1answer
85 views

Does apt update manually installed packages

I'm trying to install bnx2 non free driver on Debian wheezy. The driver is in non free repositories. Since there is no network connectivity I should download .deb file and install it on the box. After ...
1
vote
2answers
149 views

Having Latest Versions of all Apps in Ubuntu 12.10

As we all know that Arch Linux repository is updated with all the latest releases of all the softwares. But in Ubuntu, The repo is not updated that often resulting in user using the older versions of ...
1
vote
3answers
11k views

packages have unmet dependencies - unable to install packages

I am trying to install passenger module with bellow command: sudo passenger-install-apache2-module And I am getting following output: * GNU C++ compiler... found at /usr/bin/g++ * Curl ...
1
vote
1answer
4k views

How to install LXDM instead of GDM3?

I'm running Debian Wheezy and my default Display Manager is GDM3, and I would like to replace it with LXDM. The problem is that I'm trying to run # apt-get install lxde and it's not working, what am I ...
1
vote
1answer
295 views

Getting the source for something that doesn't seem to have an associated package?

I recently just wanted to look at the source code for sha1sum. alec@ROOROO:~/tmp-source-study$ apt-get source sha1sum Reading package lists... Done Building dependency tree Reading state ...
1
vote
1answer
2k views

Where can I find which packages are on each Debian Squeeze CD?

I just installed Debian Squeeze on my E1505. In order to get my wireless card working, I'm trying to install network-manager-gnome (I already installed firmware-iwlwifi) My current question is, how ...
1
vote
1answer
34 views

Aptitude deleted a buttload of modules when I tried to install Imagemagick, how do I undo this?

Yesterday I tried to install Imagemagick, I used apt-get at first, which returned an error. I was already trying to install ImageMagick for hours, so I got impatient. A post on stackoverflow said that ...
1
vote
1answer
111 views

What's the best way to install apt packages from Debian Stretch on Raspbian Jessie?

I'm using Raspbian Jessie but there are a few packages I want that aren't available (but are in Debian Stretch repos). I want to temporarily use the Stretch repo to install them (and any ...
1
vote
1answer
36 views

How do I install LXDE offline into debian?

I am running the latest version of Debian, command line only. the PC is offline. Do not ask me to get it online because i can't. I want to install the desktop environment LXDE but I have no CD and no ...
1
vote
1answer
26 views

Is possible to obtain a list of debian packages that doesn't have a gui / run in X?

I'm interested into creating a script able to get my own iso of debian for offline working purposes, however I have no the need of any gui utility that are generally for desktop usage. For the ...
1
vote
1answer
43 views

Update apt-get cache only if it's older than certain time

I'm on debian. I would like to execute an apt-get update (and maybe something else) only if the time since last update is bigger or smaller than a certain amount with a straight command, no cron ...
1
vote
2answers
61 views

How can I detect when apt-get update fails due to no network connection?

I have a script which runs the command apt-get update but the script is unable to detect failure due to no internet. i.e. if apt-get is not run with root privileges it exits with code 100. so I can do ...
1
vote
2answers
70 views

Debian dependencies for ttyecho

Which dependencies should a Debian package have, which distributes the binary of ttyecho?
1
vote
1answer
105 views

apt-get update not working [closed]

I'm trying to install haproxy to my Debian Server. I have followed the instructions as below: create a new file called backports.list in /etc/apt/sources.list.d Add the follwing to the file: ...
1
vote
2answers
60 views

apt-get install local package even when outdated

In Debian, the dvd source contains packages that may not be already installed on the system. When these get updated, the dvd contains the outdated package. And when we try apt-get install ...
1
vote
1answer
73 views

Some packages cannot be installed using multi-arch (take two)

Note: This question has been previously asked on askubuntu.com but was rejected as off-topic, and instead, I was redirected to this site. Therefore I'm reposting it here. I'm trying to compile a ...
1
vote
1answer
302 views

How to install a newer version of mysql workbench than is available in my distro's repos

I'm guessing this will be a quick fix for you. I am trying to install a version of mysql workbench that is NEWER than what is available to me through the regular debian repos. I started by adding ...
1
vote
1answer
76 views

Debian 8 - kernel with vserver - apt can't find packages

apt-get install linux-image-2.6-vserver-686 apt-get nvidia-kernel-2.6-vserver-686 My apt can't find the above packages. What should I add to sources.list? I have tried to find information in Google, ...
1
vote
1answer
28 views

How to remove package-dir map and use a symlink instead?

I installed npm. After that I uninstalled it by: sudo apt-get remove npm sudo apt-get purge npm Now I added a symlink via a package downloaded manually by: lns /my_path/node However when I run ...
1
vote
1answer
422 views

mysql-server-5.5 unmet dependencies each time running apt-get

Each time I run "sudo apt-get install package-name", the following error happened, even if I tried to install other packages other than mysql ones: You might want to run 'apt-get -f install' to ...