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
70 views

Strange “apt-get purge” behaviour with regEx

I'm running Debian (jessie) and following this question, I followed the first answer suggestion to install that packages running sudo apt-get install gtk2-engines-* gtk3-engines* That did not ...
1
vote
1answer
83 views

Why do I have so many unnecessary packages?

I was installing Prey through a .deb file donwloaded from the official website when, all of a sudden I realized that I have so many "unnecessary" installed packages in my Ubunu laptop. This has been ...
1
vote
2answers
176 views

How to install the previous version of a .deb package and pin it?

I am trying to install the latest version of subversion on Sid, and because it has a bug I receive a warning and I abort the installation. How do I get to locate the previous version version, install ...
1
vote
2answers
19 views

apt-cache - show future commands

Is there a way to find out which commands will be available, once a package has been installed via apt-get? Let's say I would like to run apt-get -y net-tools. Host> apt-cache show net-tools ...
1
vote
3answers
44 views

List explicitly removed packages (apt)

The question unix.SE/3595 asks how to list packages that I explicitly installed. By explicit it means, packages that I choose, not including anything installed by default, or pulled in by the ...
1
vote
1answer
108 views

How to apt-delete-repository? [duplicate]

I would like to run the reverse of this command to remove the non-compatible repository in Debian 8.1 sudo add-apt-repository -y ppa:nemh/systemback where the command add-apt-repository is in the ...
1
vote
2answers
363 views

How to restore packages removed by installing a program

I was trying to install the normal map plugin for gimp, and I tried installing the package gimp-normalmap:i386 from the Software Manager on Linux Mint. As I was installing it, I realized that it was ...
1
vote
2answers
117 views

How do I get size of (deb) file from download link/URL?

I use --print-uris of apt-get to get url (download-link) of debs I want to download and install on my Debian (Trisquel) GNU/Linux. --print-uris Instead of fetching the files to install ...
1
vote
1answer
613 views

Can't install debian because installer doesn't parse IP correctly?

I am trying to install debian on Virtual box using debian-7.8.0-amd64-netinst.iso When I insert my proxy server http://192.168.2.2:3128, it says the installer failed to access the mirror. However on ...
1
vote
2answers
56 views

Adding my software to Debian

How do you add a package to the official Debian APT repository? For example lets say I have a peice of software called quicktxtedit ,and I have a DEB file for it, and I want to add it to the offical ...
1
vote
2answers
725 views

Pruning the package tree with apt-get and yum

I love the Macports and Arch package managers, because I can generate a listing of all of the packages that I have manually installed, and "prune" the package tree every once in a while to keep my ...
1
vote
2answers
875 views

aptitude remove pkg_name* not working like apt-get

I have uninstalled (aptitude purge) the qt-sdk package but there is still a lot of qt4* and libqt* packages on my system. Is there a way to remove all these packages with aptitude remove/purge ...
1
vote
1answer
112 views

Why is this OR dependency not working as I expected

I tried to remove python2.6 from my Debian system: $ sudo apt-get purge python2.6 Reading package lists... Done Building dependency tree Reading state information... Done The following ...
1
vote
3answers
685 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
1answer
21 views

What happens when two apt packages depend on two different versions of the same package?

Say that MyPackage.deb depends on GTK 2.19, because it is based on functionality that was deprecated in 2.20. What happens when when I want to apt-get install TheirProgram or dpkg -i TheirProgram.deb ...
1
vote
2answers
106 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
37 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
3k 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
2k 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
20 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
69 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
436 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
333 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
164 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
91 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
121 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
62 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
297 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
453 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 disk/...
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
197 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 "date"...
1
vote
1answer
364 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
121 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
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
561 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
550 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
951 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
12k 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
299 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
35 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 ...