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
269 views

Debian - problems updating mysql 5.6

I just tried to update my dev database that runs on debian 7.8. Unfortunately it's now giving me the folllowing error: ... W: Failed to fetch http://repo.mysql.com/apt/debian/dists/wheezy/Release ...
3
votes
2answers
17k views

Every package “has no installation candidate”

While attempting to install openssh-server on Ubuntu 14.04 64-bit, I get the following error: Package openssh-server is not available but is referred to by another package. This may mean that the ...
1
vote
0answers
163 views

Error during ubuntu upgrade (errors were encountered while processing)

I am trying to upgrade my ubuntu from 11.10 to 14.10 but I got this error message when I ran sudo apt-get -f install errors were encountered while processing: ...
5
votes
3answers
241 views

How can I find the package that contains a program in Debian? [duplicate]

I am using a minimal Debian system which does not have the top program installed. I tried to install top with sudo apt-get install top, but top is not a package name. It seems that top is a part of ...
1
vote
3answers
78 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
0answers
19 views

Debian installs new, non depended on packages

I recently dist-upgraded my jessie box and several new packages were installed. It looks like there were no packages that depend on the new packages, as I could autoremove them flawlessly. An example ...
1
vote
1answer
246 views

Wireshark or MC installation wants to remove gnome and more

I want to install wireshark or mc (Midnight Commander) with apt-get or synaptic, but I get a message that "this installation will remove a lot of actually installed packages". There are for example ...
2
votes
1answer
43 views

Can apt upgrade a package but only if it's already installed?

Is there a way to use apt to apply a pending upgrade to a package, but do nothing if it's not installed? I have many Debian systems, all with different sets of packages, and I want to apply specific ...
1
vote
1answer
385 views

Backup and Restore list of installed packages and APT sources

I commonly reinstall Ubuntu and back up my APT stuff [sources, keys and installed package lists] using the tutorial at http://askubuntu.com/a/99151/371765. However I commonly also remove software such ...
2
votes
1answer
32 views

Is there a command that outputs ONLY the packages explicitly installed by the user? (ubuntu/debian)

I have tried searching for this but there seems to be no command that can output a list of packages (ideally in Ubuntu) that I have installed, not including any dependencies.
1
vote
1answer
248 views

Error while installing Apache; error is “E: Sub-process /usr/bin/dpkg returned an error code (1)”

I followed an online article to remove my Apache from my system. I removed Apache through these commands sudo apt-get purge apache2 apache2-utils sudo rm -rf /etc/apache2-bin sudo apt-get autoremove ...
0
votes
4answers
110 views

Is there a quick way to install packages if there is a prompt?

If I want to install a package, wlhunag: ~ $ pip install django The program 'pip' is currently not installed. You can install it by typing: sudo apt-get install python-pip wlhunag: ~ $ I wonder if ...
0
votes
0answers
162 views

Debian: Can't Install Anything (Package Cannot Be Installed)

So, I have a brand new Debian install. My sources.list looks like this: deb http://http.debian.net/debian wheezy main contrib nonfree deb-src http://http.debian.net/debian wheezy main contrib ...
4
votes
1answer
190 views

Get kernel source: apt-get install vs apt-get source

I'm looking forward to download a Linux Kernel to get to know how to modify it and how to compile it. I am using Debian distribution and I'm interested in the Debian-modified Linux Kernel rather than ...
2
votes
1answer
42 views

How to make private Debian Repo

I'm reading this tutorial for creating a local repo. Now, I want to make my repo private, so only if you provide a username/password then should you be able to access the Debian package. How do I ...
2
votes
3answers
94 views

How can I get recursively list an apt package's dependencies with their installed versions?

I would like to list the recursive dependencies of a given package, with the currently installed version of each dependency. I'd also like one entry on each line, so it's sortable and diffable. ...
11
votes
3answers
4k views

List (recursive) dependencies of the installed packages in APT

For each package I have installed I would like to know which packages would be installed if I uninstall it. An example of the output I need is (package: list of deps): abc: foo bar bcd: baz abc bdd: ...
0
votes
1answer
107 views

apt-get 404'ing on update [closed]

I recently updated everything on my system to the testing branch of Debian because my laptop didn't like the 3.2.0-4 kernel. After updating, apt-get update stopped working for some reason I can't ...
0
votes
1answer
134 views

Duplicate sources.list entry

I received following error and then I tried apt-get update to correct it but that didn't work. W: Duplicate sources.list entry http://http.us.debian.org/debian/ wheezy/contrib i386 Packages ...
5
votes
3answers
2k views

Why there is no https transport for debian apt tool?

With all paranoia that has come with NSA revelations and everything, I'm wondering why debian package installation mechanism does not support HTTPS for its transport, let alone using it by default. I ...
0
votes
2answers
2k views

Related to apt-get update command

I am using Ubuntu12.04 and I installed lots of pkg. I want to update only one specific pkg. I tried using $apt-get update pkgname E: The update command takes no arguments so then I tried ...
0
votes
0answers
15 views

Why APT shows inaccurate “Need to download” values?

Sometimes if I Ctrl+C during apt-get upgrade/install *** in terminal, or cancel Software Update UI in Ubuntu and resuming them later I see something like this (regardless the actual package) I ...
5
votes
1answer
170 views

How do I know when I installed package FOO

I was wondering if I installed 'Tor' on my Ubuntu 14.04 or it was shipped as a default package since I hadn't remembered installation by myself. So what's the way to find out if a package is ...
39
votes
9answers
37k views

List available updates but do not install them

I want my cron-run reporting script to notify me in case there are updates for my packages. Is the a way to make apt-get give me the list of available updates but don't do anything more?
0
votes
1answer
9 views

How to use apt-get on BasilOS? [closed]

I have recently upgrade from BasilOS Trinity to BasilOS Quad. In Quad apt-get was integrated, I read some documentation on it, but I still do not fully understand if it is meant to be used with .deb ...
0
votes
1answer
246 views

How to remove unwanted desktop packages from debian without deleting everything?

I've just installed debian wheezy on an old laptop (using the xfce4 desktop environment via debian-live-7.7.0-amd64-xfce-desktop.iso). I don't intend to use it as an office machine, so I decided to ...
7
votes
4answers
1k views

Managing unofficial repositories on a Debian system

A few years ago I added this repository to my sources.list: http://www.deb-multimedia.org/ because it contained packages like acroread or flash player, which were either missing or out of date in ...
2
votes
1answer
114 views

How to get all the dependencies for a package

I'm trying to get all the dependencies for a package..for example apache2 I've tried to use apt-cache depends apache2 but it gives some dependencies but when I want to install apache2 on a live CD it ...
3
votes
2answers
2k views

apt-get build-dep is unable to find a source package

I have already followed this guide to disable middle mouse button paste on my Ubuntu 12.04. Works like a charm. Now I am trying to achieve the same on my Linux Mint 17. When I try to sudo apt-get ...
-2
votes
1answer
111 views

Linux : Very slow internet connections through proxy

I have changed to Linux recently. Here I am experiencing very slow Internet connections for applications like apt-get and Firefox browsing through proxy (download speed in Firefox is pretty normal). ...
1
vote
1answer
34 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 ...
0
votes
1answer
50 views

sudo dpkg -i error: libfuzzy-dev breaks ssdeep (<< 2.6)

I'm trying to install the libfuzzy-dev package on my host machine (Linux Debian 6.0.10 (2.6.32-5amd64 x86_64)). Installing it via sudo-apt get install shows no results. So I downloaded the .deb file ...
0
votes
1answer
509 views

Apt-get blocks because of broken dependencies (libc6, Linux Mint)

Currently, Apt-get completely blocks because of some unresolved dependencies, when I run an upgrade I get this error: sudo apt-get upgrade Reading package lists... Done ...
1
vote
1answer
162 views

Debian offline dist-upgrade in one step

Is there a way to perform a distribution upgrade on an offline Debian system by making only one return trip to an online machine? I've managed to perform the equivalent of apt-get update && ...
1
vote
1answer
68 views

Find source of all installed packages on Debian based systems

I am trying to find a good method to find the repository for each package that was stored on my system that can be easily parsed. Backstory: I have Debian wheezy systems and have setup the ...
2
votes
2answers
163 views

How to verify that package-installed files match originals?

Let's say I have an installed, working and up-to-date system, and want to verify that all package-installed files on it are the same as those packaged by the respective package maintainer. In effect, ...
0
votes
1answer
561 views

Can't finish php5-cli update

I get the following error after doing sudo apt-get upgrade: Setting up php5-cli (5.5.9+dfsg-1ubuntu4.6) ... ucfr: Attempt from package php5-cli to take /etc/php5/cli/php.ini away from package ...
0
votes
2answers
57 views

How can I let people install my package by apt-get?

I have a set of binary packages that I want the user to be able to install from command line via apt-get or yum without having to host it myself on a server. I have heard of reprepro and pushing it to ...
0
votes
2answers
31 views

Package availability in 32 bit Debian 7 (Wheezy)

I am building a new production environment and I have been thinking wether I should use 32bit or 64bit Debian 7. All the servers will have less than 4Gb of memory so I thought I could save some memory ...
3
votes
5answers
300 views

Get package sources and repository link

Is there any way (dpkg, apt?) to get a package's sources and URL to repository, if available, in Debian ?
4
votes
1answer
82 views

Generating a list of alternative packages with apt tools

Given a package how can I list all possible packages that are alternatives to this package? In the alternate, how can I tell if a package or one of it's alternates is installed? Using something in ...
1
vote
0answers
32 views

How can I upgrade an application from new source?

I am runnign debian wheezy. I have PHP 5.4 installed from default repos. And now I have added these to sources list to upgrade to PHP 5.6 deb http://packages.dotdeb.org wheezy all deb-src ...
4
votes
3answers
6k views

On Debian Testing: How to get a recent Iceweasel Release (non-ESR) version without updating to Unstable?

I'm on Debian Jessie / testing. It currently has Iceweasel 17, but I would rather like to use a more recent release (Mozilla "Release" or "Firefox" 'channel' - currently Iceweasel 25). ...
0
votes
1answer
369 views

how to fix “E:Unable to locate package firefox-mozilla-build”

I'm new member of this forum and a very very beginner Kali Linux user so... I wanted to install fire fox and after the typing these commands in terminal apt-get remove iceweasel echo -e "\ndeb ...
1
vote
1answer
2k views

E: Unable to locate package tlp

I an trying to install tlp as explained in the website by addin ppa as follows in Linux Mint 15 sudo add-apt-repository ppa:linrunner/tlp sudo apt-get update and then sudo apt-get update ...
1
vote
4answers
93 views

How do I list installed packages with source URI, distribution and section in Debian?

Pretty much like the title says. I have a set of (source) URIs, distributions and sections enabled in my Debian Wheezy apt configuration. Now I want a list of all installed packages, and for each of ...
2
votes
1answer
47 views

How to update all Debian packages from source code?

For building packages from source code, there is apt-get source --compile pkg-name. But for it to work, one has to run apt-get build-dep pkg-name beforehand, which downloads binary packages. Is it ...
0
votes
1answer
15 views

Is it possible to see which components were uninstalled (last time or as back in time as possible)?

I am running Elementary OS Freya beta2 which being beta may run into trouble. One error that may appear is a message in terminal saying that certain components that are in fact useful and even vital ...
1
vote
4answers
8k views

The command to upgrade to a new kernel from Ubuntu repositories

In the distro I'm most familiar with -- ALTLinux, a command like apt-get install kernel-image-std-def#3.0.... would install another kernel, and update the initramfs and the bootloader config ...
2
votes
2answers
594 views

/etc/apt/sources.list won't accept URLs with https connection

In Debian Wheezy, my /etc/apt/sources.list file looks like this: deb https://mirrors.kernel.org/debian/ wheezy main contrib non-free deb-src https://mirrors.kernel.org/debian/ wheezy main contrib ...