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
88 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
4k 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
68 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 ...
1
vote
1answer
454 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
50 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
648 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
3k views

Debian - install missing man pages?

I run RaspBMC - a distro based on Raspbian, that's a custom minimal Debian for the Raspberry Pi. If I recall correctly, the man utility is NOT installed by default with RaspBMC (although I may be ...
1
vote
2answers
775 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
110 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
1answer
42 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
349 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
170 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
88 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
58 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
59 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
90 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
31 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
53 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
220 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
230 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
84 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
38 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
176 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
97 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
73 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
422 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
402 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
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
148 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
10k 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
282 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
3answers
597 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
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
15 views

change cache location path for APT

When using apt, can I tell it to use other then /var/cache/apt location? I tried adding the following line in /etc/apt/apt.conf: % cat /etc/apt/apt.conf Dir::Cache /home/apt and re-run apt but it ...
1
vote
1answer
33 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
32 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
36 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
18 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
107 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
41 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
1answer
31 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
156 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
533 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
598 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
51 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
2answers
149 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 ...