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

learn more… | top users | synonyms (1)

1
vote
1answer
16 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 ...
0
votes
1answer
52 views

apt-get without sudo?

I am trying to install YouCompleteMe (YCM) on my user account on a Debian machine. The installation guide says we need python-dev for YCM to work: sudo apt-get install python-dev My question is: ...
0
votes
1answer
30 views

How to upgrade a package which has a newer version than the repository?

I've installed tmux from apt-get. I checked the version is 1.8. But when I directly go to tmux official site, I see the latest version is 2.0. How can I upgrade to 2.0? sudo apt-get install ...
1
vote
1answer
29 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
1answer
28 views

unstable apt-pinning set to -1 on stable Debian

This is how my /etc/apt/sources.list looks like on Debian 8.1: #### stable ######### deb http://httpredir.debian.org/debian stable main contrib non-free deb-src http://httpredir.debian.org/debian ...
0
votes
1answer
23 views

Why do some apt installation commands require confirmation?

Some apt installation commands, like apt-get install kate, prompt for confirmation, whilst others do not. Is there some reason for this?
0
votes
1answer
14 views

Cleaning the apt database

It seems that now upgrades and installs are taking a long time. This seems mostly to be happening when reading the database. Is there a way of restructuring the database to make it more efficient?
1
vote
2answers
14 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 ...
2
votes
1answer
31 views

Why is installing a 32bit package on a 64bit system warning about removing critical 64bit packages?

When I try to install a 32bit library apt-get install liblua5.2:i386 apt warns that is is going to uninstall a number of essential 64 bit packages. Some of them are being replaced with 32 bit versions ...
-1
votes
0answers
29 views

Sub-process /usr/bin/dpkg received a segmentation fault [closed]

I have corrupted either my /boot partition, dpkg, or both. I was trying to free up space on my /boot by removing old Linux images. Now my machine will not boot. when i try to reinstall Linux-images, ...
3
votes
2answers
37 views

apt - checking if a similar package has been installed

This question explains how to find out if a given Debian package has been installed, but it does not take into account "synonyms" when installing via apt-get. For instance, if I try apt-get install ...
0
votes
1answer
30 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 ...
0
votes
0answers
23 views

Unable to Boot After removing Old Kernels

I removed old linux-image and linux-header files to free up space in /boot. I did this first by purging them in terminal, and when I noticed some issues with how the the operating system performed, i ...
0
votes
0answers
94 views

Receiving “Unable to correct problems, you have held broken packages.” after trying to install python -setuptools and python-pip

I ran "sudo apt-get install python-setuptools python-pip" but I received: Reading package lists... Done Building dependency tree Reading state information... Done Some packages could not be ...
0
votes
0answers
54 views

Installing Scudcloud Elementary OS, broken packages

I'm having some difficulties installing Scudcloud. axel@axel:~$ sudo apt-get install scudcloud Reading package lists... Done Building dependency tree Reading state information... Done Some ...
1
vote
2answers
29 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
votes
1answer
18 views

Golang keeps old version in crypto/ssh/terminal.a

I'm currently trying to install version 1.4.2 of Go in my environment (Ubuntu 14.04, 64bit, Gnome, zsh). I'd like to run this program for checking http2-status of domains. I've installed the golang ...
3
votes
1answer
149 views

Which ports should I open for apt-get to work?

I installed Webmin, and then set up the firewall like this: INPUT SSH port ALLOWED Webmin port ALLOWED HTTP port (80) ALLOWED DROP EVERYTHING ELSE FORWARDING no rules OUTPUT no rules If I remove ...
4
votes
1answer
155 views

How to install Debian packages via internet instead of from a CD?

When I enter root to install sudo on Debian Testing I type this: apt-get install sudo Which returns this: Reading package lists... Done Building dependency tree Reading state information... ...
1
vote
2answers
37 views

How do I resolve package dependencies for a different target system?

(TL;DR: how do I determine the minimum set of packages to install, given an initial state and desired package list?) I'm creating an Ubuntu installer ISO for systems without access to distribution ...
0
votes
2answers
27 views

I need to install two different versions of a library on a Debian-based distro

Jessie comes with APR (apache runtime portable) as package libapr1 version 1.5.1-3. However, that is the only version that Jessie has (it is also the newest version). I am trying to build the UIMA ...
1
vote
1answer
39 views

What is the difference between the “jessie” and “jessie-updates” distributions in /etc/apt/sources.list?

The debian wiki page for the apt sources list gives this example file: deb http://httpredir.debian.org/debian jessie main deb-src http://httpredir.debian.org/debian jessie main deb ...
0
votes
1answer
43 views

apt-get update => could not open dpkg lock file (5: Input/output error)

If I run "sudo apt-get update" I get following error messages E: Could not open lock file /var/lib/dpkg/lock - open (5: Input/output error) E: Unable to lock the administration directory ...
1
vote
2answers
70 views

fglrx on Debian stretch

How do I install the fglrx driver on Debian stretch? The package tracker states that there is no package available right now, so I added Sid, pinned on 100. When I try to install fglrx-driver now, ...
0
votes
2answers
36 views

Installing perl modules

I was trying to install a perl module Future::Utils on my Ubuntu machine but didn't find the exact command. I tried this command but it didn't work: sudo apt-get install libfuture-utils-perl I have ...
0
votes
0answers
20 views

Private APT repository not upgrading

I am involved in developing a product based on Linux which was to be utilizing APT as an auto-update system. I've created 3 versions of the package in .deb format. They have the same package name ...
0
votes
0answers
27 views

Installing hostapd via apt-get and dpkg results in different boot behaviour

I am trying to set up a Wifi hotspot on Debian 7.6. After reading a few tutorials, I have managed to get the Wifi working by installing and configuring hostapd. I need to install and configure this ...
5
votes
1answer
92 views

apt-get doesn't recognize TeX as already installed

I tried installing TexLive by downloading the install-tl-unx.tar.gz file from here and extracting it, then doing sudo perl install-tl and I added the following to /etc/profile: ...
0
votes
1answer
18 views

Debian 7.8 and samba libwbclient0 conflic

I recently ran dist-upgrade on a server that did not see any updates for the past year. Now samba has stopped working. I have no idea what happened but it looks like samba somehow was uninstalled ...
2
votes
4answers
52 views

How can I get all `apt-get` commands that I've issued since I launched a Debian server?

I need to go back to basics on a VPS but I don't want to wipe it clean. I understand that Debian stores apt-get commands somewhere, but these are separated in to separate log files. Is it possible ...
3
votes
0answers
103 views

Cannot install wine and playonlinux

I am in elementary OS Freya. sudo apt-get install wine Reading package lists... Done Building dependency tree Reading state information... Done Some packages could not be installed. This may ...
0
votes
1answer
60 views

how to get 32 bit kernel headers in 64 bit debian jessie installation [duplicate]

aptitude search linux-headers provides this: p linux-headers-3.16.0-4-all - All header files for Linux 3.16 (meta-pack p linux-headers-3.16.0-4-all-amd6 - All header files for Linux 3.16 ...
1
vote
2answers
59 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 ...
0
votes
1answer
97 views

Mediatomb apt source on Debian Jessie

I would like to install Mediatomb on my Debian Jessie. I keep seeing everywhere that people install it as simple as sudo apt-get install mediatomb but apparently I don't have mediatomb in my ...
0
votes
0answers
27 views

Tasksel vs metapackages

Some debian applications are installed via tasksel, rather than the traditional apt tool. What is the benefits/differences between the methods, when we already have the option of meta-packages?
-1
votes
0answers
18 views

Apt-based distros: List all dependencies of a package [duplicate]

I'm extremely confused on how to track dependencies for a package in debian distributions. What I need to be able to do is list all the dependencies of a package. For example: Imagine package A. A ...
2
votes
1answer
29 views

Why does this command remove more packages than I want it to?

When I run the following command: # apt-get purge unity-scopes-m* I expect it to delete the following packages: unity-scope-manpages unity-scope-musicstores unity-scope-musique Instead, it wants ...
0
votes
1answer
33 views

unmet dependencies after an upgrade to Debian 8

After upgrading an amd64 Debian 7 to 8 I can not upgrade grep. What do I have to do to fix this? root@xyz:~# apt-get upgrade Reading package lists... Done Building dependency tree Reading ...
2
votes
1answer
47 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
71 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
79 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
36 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
52 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 ...
5
votes
4answers
94 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
39 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
20 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
17 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
126 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 ...
13
votes
3answers
2k 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' ...