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

learn more… | top users | synonyms (1)

3
votes
1answer
3k views

Debian squeeze (stable) broken packages after installing something from wheezy (testing)

root@server:/home/ante# apt-get install build-essential Reading package lists... Done Building dependency tree Reading state information... Done Some packages could not be installed. This may ...
3
votes
1answer
1k views

No installation candidate for compiz

I tried to install 3d effect on my Debian Wheezy using command $ apt-get install compiz compizconfig-settings-manager compiz-fusion-plugins-main compiz-gnome compiz-gtk But it gives the following ...
1
vote
2answers
207 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 ...
3
votes
3answers
300 views

List all software installed from particular component (non-free, contrib)

Is there a way to list all non-free and contrib software installed in Debian via apt? /etc/apt/sources.list is as follows deb http://ftp.us.debian.org/debian/ wheezy main non-free contrib deb-src ...
1
vote
2answers
524 views

What is the equivalent of apt-key in aptitude?

I'm trying to avoid apt-* commands and trying to use aptitude for all my Debian systems. In my documentations, there is a command written as sudo apt-key add key.asc. How do I convert apt-key add ...
1
vote
1answer
860 views

What does /etc/cron.daily/apt do?

Could someone explain what the apt script is doing in cron.daily please? I can't find any documentation on it. NOTE: I'm trying to investigate a server-server communications issue which frequently ...
4
votes
2answers
1k views

How does AptConf work in Debian Wheezy?

As far as I understand, the /etc/apt/apt.conf file of Squeeze has been broken into separate files within the /etc/apt/apt.conf.d/ directory in Wheezy. The debian wiki has not been updated yet and it ...
2
votes
1answer
1k views

How to regenerate /etc/apt/trustdb.gpg on Debian?

Suppose one deleted (or damaged) the following file. /etc/apt/trustdb.gpg How to regenerate it?
0
votes
2answers
39 views

Unable to apt-get after editing firewall settings

I am currently testing out the Tomcat on apache from turnkey Linux and I am unable to run any apt-get commands. The problem started when I edited the firewall settings from the webmin. How can I get ...
1
vote
5answers
8k views

How to install php5-memcached on Debian 7 with PHP 5.5?

My attempts to install the PHP 5 Memcached module on my Debian 7 VirtualBox VM failed: root@testvm:~# apt-get install php5-memcached Reading package lists... Done Building dependency tree ...
2
votes
1answer
5k views

Failed to fetch medibuntu Something wicked happened resolving (-5 - No address associated with hostname)

I'm using linux mint, and while executing apt-get install <some-package> i encounter some errors. The errors from install are: E: Encountered a section with no Package: header E: Problem with ...
0
votes
0answers
248 views

error when apt-get install nfs-kernel-server

I'm now using the command sudo apt-get install nfs-kernel-server to make my Ubuntu 12.04.2 LTS server support NFS. But it reports this error: Need to get 559 kB of archives. After this operation, ...
0
votes
1answer
395 views

Installing packages from LMDE on debian wheezy

I downloaded thunderbird from LMDE repo and tried to install it on my debian wheezy machine, using apt-get install I get a ton of this garbage output; Note, selecting 'iceape-l10n-cs' for regex '.' ...
0
votes
2answers
833 views

Debian 7 apt is upgrading my custom backported package with the “official” identical version!

and happy new year to you all.. Recently I've built nginx deb package v1.4.4 from debian backport source that of course I've added to the apt sources.list and things went great. I have run apt-get ...
4
votes
3answers
857 views

Can removed Debian packages have leftover files?

I noticed a weird thing in my /etc/init.d files and tried to look a bit what was going on. Here's my problem: # apt-file search /etc/init.d/minissdpd minissdpd: /etc/init.d/minissdpd # ...
4
votes
2answers
140 views

Debian: keep custom changes in initscript

I had to modify the initscript for Postfix /etc/init.d/postfix to customize it for my special needs. Now I want to ensure, that in case of the postfix package being updated in the future (I am running ...
1
vote
2answers
55 views

How to search for available software in repositories though CLI?

I want to be able to search all available software like one would using "Synaptic Package manager" or "Ubuntu Software Center" through Command Line.` I want a better way than pressing Tab after ...
10
votes
4answers
960 views

How can I know if a virtual package is “installed” on a Debian system?

Some packages, have a Provides: header. For example, the package postfix on Debian Wheezy has Provides: mail-transport-agent. The package mail-transport-agent which doesn't exist physically is ...
0
votes
1answer
105 views

Is there a map of package names across the different package management systems? [duplicate]

I have amassed a small collection of *nix boxes (Fedora, Ubuntu, CentOS and Puppy) and there are a couple of projects I'm considering that I need to install additional libraries. Specifically, this ...
3
votes
3answers
5k views

uninstalling iceweasel with apt-get autoremove

When I try to uninstall iceweasel it wants to uninstall dependencies like 'gnome' and 'gnome-core', which of course I don't want. I tried to follow several instructions in apt-get - autoremove wants ...
1
vote
1answer
73 views

is it possible to determine installed packages on a secondary mounted drive?

I'm "upgrading" to a new distro (from Linux Mint 15 -> 16) by performing a fresh installation to a new drive, and referencing my original drive as needed. I've currently booted to my new installation ...
1
vote
2answers
537 views

Installing OpenJDK 7 (JRE) but only policytools found in ./jre/bin

I'm trying to install Java 7 onto my Ubuntu machine through apt-get. I'm issuing the to install using apt-get: sudo apt-get openjdk-7-jre apt-get claims a successful install, but I cannot appear to ...
10
votes
1answer
3k views

apt-get install without debconf prompt

I would like to install chef via apt non-interactively, but by default, apt installation brings up this prompt: Is there a way to skip this step during installation or pass a value to apt install? ...
0
votes
1answer
110 views

Kernel panic on “apt-get upgrade” with DWA-160

I'm running on a minimal Ubuntu server 12.04.3 install and I installed a d-link DWA-160 usb wifi adapter as per the instructions shown in this page. After successfully connecting using these ...
6
votes
1answer
70 views

apt: install packages downloaded previously

On Debian, I can download a package plus its dependent packages with apt-get install my_desired_package --download-only This will not install the packages, but only download them to ...
0
votes
4answers
6k views

Cannot install openssh-server

root@abacus-desktop:~# apt-get install openssh-server Reading package lists... Done Building dependency tree Reading state information... Done You might want to run `apt-get -f install' to correct ...
3
votes
1answer
796 views

Machine readable number of updates? Alternative to /usr/lib/update-notifier/apt-check?

/usr/lib/update-notifier/apt-check (from update-notifier-common package) was a fine tool. But it's going to be removed from Debian. /usr/lib/update-notifier/apt-check --human-readable 28 packages can ...
1
vote
2answers
646 views

When removing a Debian package, how can I also remove Python *.pyc files?

I have a Debian package say XYZ.deb which copies some file on installation. As per Debian package policy on package uninstallation only those files will be removed which were copied during ...
1
vote
1answer
45 views

Reinstall software without re-downloading from software center?

Forgive me if this is an extremely noob question, I am new to Linux. I have installed FlightGear, a flight simulator. Some of the game's main files have been tampered with by a third-party app and ...
4
votes
1answer
47 views

track down executables installer

I have a freshly installed debian system It has vim installed using apt-get install vim Now I have the command xxd installed on the system. I know that this had to have come from the vim ...
4
votes
4answers
4k views

Is it necessary to reboot after a kernel upgrade (via APT)?

I have been wondering this for quite a while. Let's say that you have a Debian server that you keep updated via APT. Usually (every 1-2 months) there are some kernel updates, which will update the ...
8
votes
2answers
219 views

Re-installing apps after a fresh install?

I'm on Debian and I want to re-partition my drive and reinstall. Is there an easy way to restore all currently installed packages after a fresh installation? I'm thinking of doing it by making a ...
1
vote
0answers
122 views

Keep private key for remote reprepro package archive local

Currently I am using reprepro and inoticoming to maintain a Debian package archive on a remote machine. The repo is configured with this distributions file: Origin: ... Label: ... Codename: squeeze ...
1
vote
1answer
260 views

Ubuntu LTS : best practice for installing gems

Ubuntu 12.04 LTS Server I'm relatively new to Unix/Ubuntu. I need to install the ruby gem libopenssl-ruby. I know that Ubuntu LTS versions maintain lists of authorized package versions. apt-get ...
1
vote
0answers
232 views

Aptitude installing jre

I am trying to install jre on my debian 7 kali box, but I keep getting these faulty errors. I tried installing it through aptitude and it fails at the end. The result is: dpkg: error processing ...
2
votes
1answer
2k views

Why doesn't build-dep work even when I have URIs in my sources list already?

So I tried to install a package called RGL for the R statistics language. sudo apt-get build-dep r-cran-rgl [sudo] password for user: Reading package lists... Done Building dependency tree ...
2
votes
1answer
706 views

sources.list - Understanding syntax & structure in Debian

I have generated a sources.list file from http://debgen.simplylinux.ch/ with the following parameters: Country: New Zealand Release: Stable (Wheezy) Architecture: 64 bits Sources: Main + Security + ...
2
votes
2answers
73 views

Debian's no more needed packages

I'm using Crunchbang Linux on my laptop. I noticed a strange behavior of the package manager: when installing a package from the official repo (libdirectfb-extra in my case) apt told me that a bunch ...
3
votes
2answers
148 views

Recently installed applications missing from $PATH

When I install apps using apt-get or NVM or NPM on Ubuntu, I can type the command and it works. Then I log out of the shell and log back in. Now none of the things I installed work when I ask for ...
3
votes
2answers
156 views

Naming conventions / translation between dpkg and apt packages?

I've been trying to figure out package management in debian a little better. I figured out that you can list all the packages on your system by using the "apt-cache pkgnames" command: ...
2
votes
6answers
5k views

Why can't I upgrade Linux Mint 15 from Cinnamon 1.8.8 to Cinnamon 2.0, and how do I fix it?

So Cinnamon 2.0 is out, and I've followed the steps people have given for upgrading. sudo add-apt-repository ppa:gwendal-lebihan-dev/cinnamon-stable sudo apt-get update sudo apt-get dist-upgrade ...
3
votes
1answer
842 views

Can I upgrade to a newer Ubuntu version on a Ubuntu-based distribution?

I'm currently running elementary OS Luna, which is based on Ubuntu 12.04. Can I upgrade my installation to have a Ubuntu 13.04 base, but still use elementary OS's desktop environment and applications? ...
0
votes
1answer
55 views

Host freeware API over apt-get [closed]

I am new to Linux and Unix environment. I have built a Pro*C API for C++ and Oracle interaction, which much more easy to use than the conventional Pro*C technology. If you are using Pro*C then you ...
-2
votes
2answers
641 views

dpkg / apt-get wants to install and overwrite different package

I want to install Pound. Doing this: apt-get install pound produces this: root@myhost:~# apt-get install pound Reading package lists... Done Building dependency tree Reading state information... ...
1
vote
0answers
22 views

Pin or hold? What's the proper way to tell apt-get dist-upgrade that I want to keep a particular package over another? [duplicate]

At the moment, when I do apt-get dist-upgrade on my Raspbian it prompts me to throw out upstart again and install sysvinit. I don't get the same with apt-get upgrade. However, I find the behavior of ...
10
votes
4answers
1k views

How can I reliably “hold” a package in Debian?

I have a package in Debian that has been manually patched (not ideal, I know) that I must hold at its current version so upgrades don't overwrite the patched changes (I will manually inspect and apply ...
0
votes
1answer
2k views

Can't install any packages

Can't install any packages on Debian 7.2 through the apt-get root@sandbox:~# apt-get install curl Reading package lists... Done Building dependency tree Reading state information... Done Some ...
0
votes
0answers
54 views

PulseAudio conflict with ia32-libs?

When I was ready to install the PulseAudio server, APT reminded me that this package is conflict with these packages: amarok browser-plugin-gnash browser-plugin-vlc gimp gnash gnash-common goldendict ...
1
vote
1answer
672 views

Apt-get dist-upgrade fails

I'm trying to upgrade from Mint 13 to Mint 15, but receive the following error: Calculating upgrade... Failed The following packages have unmet dependencies: mate-media : Depends: ...
17
votes
2answers
1k views

Is there an online/web interface to search and list apt-get packages and see summaries and recommendations?

I'm looking for sort of an 'app-store' or Google Play store type functionality for apt-get packages. What I'd really like to do is select a category, like 'Music' or 'Internet' and see the list of ...