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

learn more… | top users | synonyms (1)

2
votes
2answers
161 views

Prevent apt-get from using a specific mirror

I am using Cubian X1, a customized Debian wheezy distro, on my Cubietruck ARM board. Running apt-get update fails, as it tries to connect to mirror.isoc.org.il mirror which is filtered inside Iran, ...
1
vote
0answers
31 views

How to resolve message '… system lacks support for snapshot feature'?

When I do "sudo apt-get update && sudo apt-get upgrade", I usually get this message in my terminal: Sorry, your system lacks support for the snapshot feature. How do I stop this message ...
7
votes
4answers
1k views

Differences in package management between Debian and Arch

A discussion from this post made me curious of differences between Debian and Arch package management. Also, people tend to say that Arch is very light-weight, so I wonder what that has to do with ...
148
votes
5answers
19k views

What's the story behind Super Cow Powers?

As we know, apt-get has Super Cow Powers and aptitude does not: $ apt-get --help | grep -i cow This APT has Super Cow Powers. $ aptitude --help | grep -i cow ...
2
votes
1answer
31 views

Can I check which repositories were used for a previous apt-get update?

I stupidly included a Kali repo on my Debian machine and ran apt-get update. I need to check what packages were updated from the Kali repo and if need be replace/remove if needed. I'm not sure if ...
0
votes
1answer
240 views

Debian E: unable to locate package [duplicate]

I am attempting to install the lxdm package for debian (wheezy). Running apt-get update does not yield any errors, and my sources.list file is as follows: deb http://ftp.us.debian.org/debian/ wheezy ...
3
votes
4answers
468 views

debian: what is “/var/log/apt/term.log” good for

My system is Debian Wheezy. I have noticed that when I run apt-get, additionally to /var/log/apt/history.log another log file gets created /var/log/apt/term.log. It seems to me that term.log contains ...
3
votes
0answers
52 views

Logging apt/dpkg activity to syslog

My goal is to log apt/dpkg activity using syslog (rsyslog), so that log entries are sent to central syslog server. dpkg writes to /var/log/dpkg.log, apt writes to /var/log/apt directory. I did some ...
1
vote
2answers
59 views

Any serious risk if Mint 17 thinks it is Ubuntu?

Running Mint 17, just ran apt-get upgrade for the first time in a while, with 350MB download. It stops halfway to tell me /etc/issue is not the package maintainers versions. Ditto for issue.net and ...
1
vote
1answer
80 views

Problem with apt-get and locales (inappropriate # in .deb package name)

First of all, I'm running Raspbian, any extra needed info, I will post it here, just ask for it. EDIT: Output of locales -a: C C.UTF-8 en_GB.utf8 POSIX I configured en_GB.utf8, about the others, ...
1
vote
1answer
210 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
16k 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
134 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
220 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
77 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
240 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
41 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
262 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
31 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
204 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
102 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
126 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
162 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
41 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
89 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
3k 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
93 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
119 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 ...
4
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
164 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 ...
38
votes
9answers
35k 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
8 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
191 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
100 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
99 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
32 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
47 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
436 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
145 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
63 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
157 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
458 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
55 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
30 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
288 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 ?