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

learn more… | top users | synonyms (1)

1
vote
2answers
250 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
128 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
79 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
90 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
96 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
35 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
58 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
276 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
380 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
44 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
188 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
302 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
105 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
91 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
1answer
519 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
493 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
930 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
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
2answers
2k views

List installed meta packages in APT

Meta packages are packages that do not install anything by themselfs, but are dependent on other packages. How do I list the installed meta packages on my system?
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
32 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
82 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
33 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
38 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
52 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
67 views

Debian dependencies for ttyecho

Which dependencies should a Debian package have, which distributes the binary of ttyecho?
1
vote
1answer
89 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
51 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
64 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
251 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
72 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
23 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
346 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 ...
1
vote
1answer
91 views

No clisp in Debian's repository?

I want to install clisp. My /etc/apt/sources.list: deb http://security.debian.org/ testing/updates main contrib deb-src http://security.debian.org/ testing/updates main contrib deb ...
1
vote
2answers
338 views

sudo apt-get command not working in Linux Mint

I am trying to install a few programs such as git / fluxgui on my Linux Mint computer. However, every time I enter the following command with my password sudo apt-get install git or sudo apt-get ...
1
vote
1answer
39 views

Why does apt-cache list also packages which are NOT installed?

For example: sudo apt-get update sudo apt-cache pkgnames | less | sort > inst_pkgs.txt Output .... virtualbox virtualbox-4.3 virtualbox-5.0 virtualbox-dbg virtualbox-dkms ...
1
vote
1answer
226 views

Debian Jessie - dpkg / apt intall, update and uninstall broken

I have a problem with a Debian server that I use for multiple purposes. Yesterday I tried to upgrade my packages with a simple apt-get update / upgrade as usual and found everything to be broken : ...
1
vote
1answer
1k views

E: Unable to locate package libssl-dev when trying to download 32bit OpenSSL on 64bit system

I'm trying to compile multiarch project the right (means reproducible) way, so I decided to install all libraries through apt-get. But ever since the system noticed what I'm doing, it became hostile. ...
1
vote
1answer
807 views

apt-get doesn't work on kali linux v2.0 [closed]

For example, when i type apt-get install tor i get : Reading package lists... Done Building dependency tree Reading state information... Done You might want to run 'apt-get -f install' to ...
1
vote
2answers
71 views

apt-get upgrade stalls

I had an issue with list.sources file. Now that's resolved and I'm wondering how can I make sure that it's safe to apt-get upgrade and dist-upgrade the system? s2:/var# aptitude upgrade Resolving ...
1
vote
1answer
372 views

Add and Compile apt-get package manager for LFS

I'm trying to add apt-get package manager to LFS (LINUX FROM SCRATCH) system. I have found a solution explaining how to 'compile apt-get and dpkg' for LFS. But it's very old and unusable. I searched ...
1
vote
2answers
179 views

How can I install youtube-dl on BOSS linux?

I try to install youtube-dl on BOSS Linux by following commands. $ sudo add-apt-repository ppa:nilarimogard/webupd8 $ sudo apt-get update $ sudo apt-get install youtube-dl $ sudo pip install ...
1
vote
1answer
126 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 ...