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

learn more… | top users | synonyms (1)

4
votes
1answer
79 views

How to find Debian packages that would free up the most space

Say I have a Debian machine where I would like to free up space on '/' by removing useless packages. To find good candidates of packages to review, I would like to focus my attention on the largest ...
0
votes
1answer
5k views

Unable to connect to source.repository.backtrack-linux.org

I have a BackTrack5 r3 installed on VMware. As you see below I have internet access in it : root@bt:~# ping www.google.com PING www.google.com (173.194.70.105) 56(84) bytes of data. 64 bytes from ...
1
vote
1answer
915 views

Apt-Get Install Unmet Dependencies

My debian computer will not install the new kernel. It says I have unmet dependencies, and those dependencies say they have unmet dependencies. Many of these dependencies are already installed ...
4
votes
1answer
585 views

apt-get install gives 404 not found, but URL works

I am trying to set up an apt repository. This repository is actually replacing one that already exists and is functioning fine. I can't manage to install a package from this repo. In my ...
0
votes
0answers
197 views

sudo apt-get fails

I am running linux mint but I broke apt (deleted a lock file and ...) When I try sudo apt-get update or sudo apt-get -V update nothing happens, it just returns the command prompt. The same thing with ...
6
votes
3answers
1k views

Get diff changes between original files installed with apt and current files

I installed php5-fpm package using apt; then I made some changes to the PHP configuration files. Now I would get the diffs between the original files versions (the ones of the package installed) and ...
4
votes
2answers
3k views

How to manually insert a repository in source.list?

I tried to add a new APT repository using this command: add-apt-repository ppa:atareao/atareao but I got a "command not found" error. I tried installing python-software-properties, but it's already ...
3
votes
2answers
42 views

Get package version of file

I've deleted a file in /etc provided by package packageA. Is there a way that I can reinstall only that file, provided I know where it is and which package provides it? I'm running Ubuntu 12.04 and ...
5
votes
2answers
267 views

Find out what 'apt-get install' did

This might be a really newbie question but here we go: How can I find out what commands a package ran to install the software with apt-get install <package>? For example, if I install a ...
1
vote
1answer
266 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 ...
0
votes
1answer
86 views

Why does this keep wanting to install Java 7? I don't want Java 7, can I somehow stop it from attempting?

Why does it keep wanting to install oracle-java7-installer? Is there some way I can prevent it from attempting to do this? home@home-Vostro-220s-Series:~$ sudo apt-get upgrade Reading package ...
17
votes
3answers
8k views

Should I use “apt-get remove” or “apt-get purge”?

For uninstalling an app (or package) should I use apt-get remove package-name or apt-get purge package-name? What is advantage of any of them to other one?
3
votes
3answers
4k views

Fixing broken packages in a Debian testing distribution

I'm playing around with Linux Mint Debian Edition (LMDE) in a VirtualBox instance to try it out and see if it'd be good for a main operating system for me. I'm pretty competent with most system ...
4
votes
2answers
274 views

How to prevent prompt that ask to restart services when installing libpq-dev

I want to install libpq-dev on my Vagrant machine. I install it with $ apt-get install -y libpq-dev During installation a prompt appears which asks if it's allowed to restart some services ...
8
votes
3answers
6k views

archive.ubuntu.com missing raring-updates

My Linux Mint 15 install on VirtualBox was working great up until about two days ago, when the updater started throwing a ton of errors and refuses to progress with any apt-get update, apt-get ...
1
vote
1answer
1k views

Installing php5-cURL on Backtrack leads to dependencies issues

I am trying to install a program called Glype on my computer for a proxy. I am using Backtrack 5 R3 and I have the latest version of Apache running on it. The problem I have is that Glype needs cURL ...
0
votes
2answers
4k views

Get errors when aptitude update

I get the following errors when aptitude update. These errors are after non-error updates. What do I do to fix this, but not remove the ppas, etc? Err http://ppa.launchpad.net Packages 404 Not ...
1
vote
2answers
383 views

Fix dependencies without updating package?

I updated my Debian installation at home and it updated chromium to the (IMO) awfull 35.0 version. I removed it by using apt-get remove chromium and apt-get autoremove. I went here and grabbed the ...
1
vote
1answer
27 views

APT pinning or faking the version number of my own package?

I'd like to create my own repository for personal use across a number of machines. Packages will be signed as usual and some of the packaged software will be the same as provided by the official ...
1
vote
1answer
144 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
1answer
107 views

How do I make apt pick a certain package from a specific source?

I tried pinning the debian_testing source, but it's not really working (I want to pick version 0.10.29): Package: nodejs Pin: release a=debian_testing Pin-Priority: 1000 Here's the apt-cache ...
1
vote
2answers
164 views

can I get a list of the debian packages I installed AFTER the OS installation?

Extending this question, I would like to ask, if there is a general term that groups all the packages that I have installed POST debian installation? Mind you that for clarity purposes, I refer to ...
6
votes
1answer
3k views

How to I install zabbix-agent over apt-get

Why is it that on my Ubuntu 13.04 system I can easilly install zabbix-agent by doing apt-get install zabbix-agent. When I do it in Debian 7.1, it says that the package zabbix-agent can not be found. ...
7
votes
2answers
5k views

Pacman option to assume “yes” to every question?

When installing software in debian systems we can put something like this: sudo apt-get install -y chromium-browser that way the installation occurs automatically, whitout asking to confirm ...
0
votes
1answer
344 views

Package installed as dependency is not removed with “apt-get autoremove”

I'm using LXDE and when I installed gnome-screensaver, it had a bunch of dependencies including pulseaudio. I then immediately uninstalled it with autoremove (no intermediate steps), but nothing of ...
-1
votes
1answer
133 views

Method bzip2 has died unexpectedly -Unable to update /upgrade /installl Ubuntu 14.04

Unable to update/upgrade/install Ubuntu 14.04, and it shows the below: Get:21 http://us.archive.ubuntu.com trusty/universe Translation-en [4,089 kB] E: Method bzip2 has died unexpectedly! E: ...
2
votes
2answers
861 views

Installing python gives dpkg error

Installing python gives a dpkg error. I have done these commands, output below $ sudo apt-get install python3.4 $ sudo dpkg -C $ sudo apt-get check $ apt-cache policy libglib2.0-dev $ sudo ...
-3
votes
4answers
382 views

How to install a downloaded deb file [closed]

I am new to Ubuntu and I am trying to install Compiz-Config-Manager, but it will not let me. This computer is not connected to the Internet, so I downloaded the .deb file onto a USB and transferred it ...
0
votes
1answer
1k views

Debian PowerBook G4 WiFi Driver

How do I get wifi to work on my powerbook g4 with xfce debian? I have tried sudo apt-get install bcm43xx-fwcutter but it comes up with E: Unable to locate package bcm43xx-fwcutter. What do I do?
0
votes
2answers
206 views

Can't install mintupdate 4.5.6-1 (Linux Mint 16)

I can't install mintupdate 4.5.6-1 under Linux Mint 16. When mintupdate tries to upgrade version 4.5.6 to version 4.5.6-1 the following error pops up: E: Could not open lock file ...
1
vote
2answers
5k views

MongoDB install errors / E: Sub-process /usr/bin/dpkg returned an error code (1)

I'm trying to install things in Linux (Crunchbang Linux - a derivation of Debian), and I'm getting errors which point towards mongodb-20gen. When I try to remove it using :- cometbill@Linuxn00b:~$ ...
1
vote
1answer
152 views

Unattended upgrades and modified configuration files

We have the unattended-upgrades package upgrading our servers with security upgrades every Monday and it works great. Today though, it upgraded all of our servers with a new version of PHP5. Because ...
4
votes
5answers
335 views

Correlating filename with package

Say, I'm given a filename like libasound.so.2. Is there a way to query the package manager to correlate the filename with its corresponding package? I'm interested to get answers for any package ...
1
vote
0answers
736 views

Crunchbang/Debian apt-preferences

So I did manage to set up apt-preferences but I'm not sure if I did it correctly. So basically what I want is, if I have the need I want to install packages from TESTING, UNSTABLE and DEB-MULTIMEDIA ...
0
votes
1answer
87 views

How to remove unmet dependecies Debian 7 Wheezy

I'm trying to install different packages but it's showing unmet dependencies in most of them even after sudo apt-get -f install. Below is my /etc/apt/sources.list file: # # deb-src cdrom:[Debian ...
1
vote
0answers
189 views

PostgreSQL installation error in debian

I'm trying to install PgSql in the system with following specs: Distributor ID: Debian Description: Debian GNU/Linux 7.1 Release: 7.1 x86_64 But I am getting an error like this The ...
0
votes
1answer
16 views

Finding the latest version of package which doesn't require upgrading libc (on Debian)

When I try to upgrade packages using aptitude -t wheezy-backports, they often require newer libc than is installed. Proposed solutions remove hundreds of packages. Is there a way to request only the ...
4
votes
2answers
5k views

Failure to startx on Ubuntu 14.04 after security update - missing libXfont.so.1

I had Ubuntu 14.04 running perfectly on my system and then it underwent a recommended security update. I let it update while I was at work and when I returned I found a black screen stating, "No init ...
0
votes
1answer
1k views

Unable to install a package, newer libc6 required

I was trying to install openvasv6 using instructions given here. I am using Debian Wheezy (amd64). $ sudo apt-get -y install greenbone-security-assistant openvas-cli openvas-manager openvas-scanner ...
1
vote
1answer
53 views

After apt-get update and upgrade, do I need to recompile and re-install software that I did not install via apt-get install?

In particular, I noticed that my OpenSSL has been upgraded after a system update via sudo apt-get update and sudo apt-get upgrade. As I installed my Squid server by manually compiling, configuring ...
3
votes
1answer
501 views

Why can I only use apt-get when I use “su”?

Not sure what info you need here, if any. Just let me know. I have a proxy that bypasses the corporate net set in my profile file for both su and normal user. When I do a sudo or regular apt-get ...
1
vote
0answers
735 views

Apache 2.2, PHP 5.3 and MySQLl 5.5 on Linux Mint 17?

Our stack consists of Apache 2.2, PHP 5.3 and MySQL 5.5. I've installed Linux Mint 17 Giana. If I install apache2 via apt, it will install Apache 2.4 which is not required for me. Is there any way ...
0
votes
0answers
18 views

Failed packages list

I am planning to write a script to get the list of upgrades available on Ubuntu server and upgrade them. I can get the list of upgrades with "apt-get -s upgrade". But how to get a report on list of ...
4
votes
1answer
53 views

Issue installing OpenVPN via apt

Pastebin I wanted to install OpenVPN on my Debian Wheezy server at home, so I could create a tunnel with my phone or tablet from outside my home. We use OpenVPN at work, so I figured it would be easy ...
1
vote
1answer
135 views

Installing courier-mta causes sendmail to be installed instead

My Debian workstation will not install courier-mta. The command aptitude install courier-mta appears to complete without error, but actually installs sendmail instead. What I did I'll start without ...
9
votes
1answer
2k views

How to quickly create a local apt repository for random packages using a Debian based linux distribution?

Some situations call for manually installing a local package using dpkg -i <packagename>. Sometimes it may be further useful to leverage the functionality of apt with that package so the ...
2
votes
1answer
771 views

apt-get without installing recommendations for a certain package

I can edit /etc/apt/apt.conf and add the line: apt::install-recommends "false"; But that will always skip recommendations. How can I do this only once for the installation to a certain package ...
4
votes
1answer
99 views

Package management without the need of root permission

Am looking for a way to install packages in home folder. This thread suggests using apt-get source ./configure --prefix=$HOME However, it doesn't provide a way to manage dependencies like apt-get ...
2
votes
1answer
330 views

Why did this command delete every package?

I was trying to get a Windows program to run on PlayOnLinux and after it didn't work I went to remove Wine with this command: sudo apt-get remove --purge wine* and without thinking I agreed ...
5
votes
1answer
495 views

Download package via apt for another architecture

I am currently in a architecture amd64, so when I try apt-get download vlc, it downloaded the appropriate architecture for my system, but how can I download the i386 version via apt? It's for ...