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

learn more… | top users | synonyms (1)

0
votes
1answer
44 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 ...
2
votes
3answers
2k views

Installing latest r-base from r-project

I want to learn and use R, and so I need to install it. Unfortunately, Wheezy got only 2.15 version, while I need 3.1.1. I followed these instructions: http://cran.r-project.org/bin/linux/debian/ and ...
3
votes
1answer
610 views

Having some trouble authenticating via proxy in order to use apt-get successfully on a corporate network

Our server is on a corporate network, which requires corporate proxy authentication (e.g. enter corporate username and password). This is not an issue on the Windows machines on that network - when a ...
13
votes
2answers
336 views

Could Apt delete packages that are need by software that users have installed from source?

Apt handles dependencies among packages installed from its repositories or *.deb files. However, what about software that users have compiled and installed from source with ./configure && ...
4
votes
1answer
661 views

Consequences of setting up POSIX locales

Small background of the situation: We are using several UBUNTU servers having English as working language; however having en_US locale set in machines we encounter problems with apt-cacher-ng ...
2
votes
3answers
3k views

Reading package lists…Error!

When I run sudo apt-get update I get this error: Reading package lists... Error! E: Unable to parse package file /var/lib/dpkg/status (1) E: The package lists or status file could not be parsed or ...
3
votes
2answers
4k views

Cannot install mysql-server-5.5/the following packages have unmet dependicies

I'm using ubuntu 14.04. I tried entering mysql with the following command: mysql -u root -p and I got the following message: The program mysql can be found on the following packages: ...
15
votes
4answers
2k views

What does “are you root?” mean?

This is what I keep getting: ascendermedia@magic2tower:~$ sudo apt-get install flashplugin-installer bash: sudo: command not found ascendermedia@magic2tower:~$ sudo apt-get install ...
0
votes
1answer
22 views

Software updater waiting for “q” key press

A few days ago Ubuntu's Software updater awaits user input (q to Quit). I have attached a screenshot with the problem. I think this is related with fake sync from Debian. What does this mean and how ...
0
votes
1answer
791 views

Error installing gdb-arm-linux-gnueabi

I get an error when I try to install the gdb-arm-linux-gnueabi package. This is the error that I obtain when I run apt-get install gdb-arm-linux-gnueabi: $ env LC_ALL=C sudo apt-get install ...
1
vote
1answer
20 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 ...
35
votes
5answers
24k views

List packages by installation date

How can I list installed packages by installation date? I installed a lot of stuff to compile a certain piece of code, and I want to get a list of the required packages, which are the ones I installed ...
0
votes
1answer
73 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: ...
3
votes
1answer
5k views

How to deal with a package “not upgraded” using aptitude?

I'm (still) on Debian Squeeze. When I try to upgrade the system, here's what I get: [09:20]/root# aptitude upgrade No packages will be installed, upgraded, or removed. 0 packages upgraded, 0 newly ...
0
votes
1answer
31 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 ...
8
votes
2answers
83k views

Installing git “sudo: apt-get: command not found”

I am trying to install git. I run the following command: sudo apt-get install git-core git-gui git-doc But receive the following error: sudo: apt-get: command not found What should I do?
0
votes
1answer
16 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
1answer
39 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
39 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
24 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?
2
votes
1answer
43 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
vote
2answers
16 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
48 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 ...
1
vote
1answer
319 views

Synchronize software packages between different Linux distributions

Is there any way to synchronize software packages between different Linux distributions? There are several software packages that I need to synchronize between a Linux Mint installation and an Ubuntu ...
0
votes
1answer
61 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 ...
3
votes
2answers
45 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
0answers
207 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 ...
1
vote
1answer
69 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 ...
0
votes
1answer
2k views

Force download & reinstall of all deb packages

I have a Kali Linux installed recently, but due to its inflexible mirror selection, all deb packages are downloaded from a mirror that I don't trust. Is it possible to tell apt / dselect to ...
1
vote
2answers
35 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
2answers
140 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, ...
-1
votes
1answer
34 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
165 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
198 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
3answers
714 views

Can't install any packages with apt

I have big problem on my Debian 6 server. I can't install/uninstall any packages on my system. When I try install something I have error: You might want to run 'apt-get -f install' to correct these: ...
6
votes
1answer
946 views

Noninteractive script running over ssh is interrupted as apt-get finishes

When I run the following non interactive script on Ubuntu Server 13.04 it's interrupted when lxc-docker package finishes installation. Script : ssh -o StrictHostKeychecking=no -t -t -i $CERT ...
0
votes
2answers
31 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
104 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
68 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 ...
0
votes
2answers
52 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
24 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
43 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
102 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
24 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
56 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 ...
0
votes
1answer
95 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
77 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
186 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 ...
2
votes
1answer
30 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 ...
5
votes
4answers
100 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 ...