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
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 ...
2
votes
2answers
1k views

How to download Debian package's source code?

I want to read source code of some package in Debian, how can i do that?
0
votes
1answer
286 views

How does this command make a user a sudoer?

According to this DevStack guide, the following commands will give sudo privileges to the stack user: apt-get install sudo -y || yum install -y sudo echo "stack ALL=(ALL) NOPASSWD: ALL" >> ...
1
vote
2answers
220 views

What is the equivalent to yum-versionlock for ubuntu?

I need to install r-base 3.0.2 because a needed library isn't compatible with 3.0.3 yet (the latest). I can install the older version of R like so: sudo apt-get install r-base=3.0.2-1precise0 ...
1
vote
0answers
265 views

Debian partial Mirror - “debpartial-mirror” specific mirroring

I am using Debian 7.3 with debpartial-mirror in order to create and maintain an offline mirror. Since I need only the basic packages (packages needed for installation via PXEboot and maybe the most ...
2
votes
3answers
3k views

Installing extra packages of Debian Wheezy from terminal (after a net install) [duplicate]

I've installed the small image of Debian Wheezy from here but had to skip the mirror install of the extra packages. Now that I have the command line how do I get the rest of the stuff? When I tried ...
4
votes
1answer
205 views

What exactly does the --names-only option of apt-cache do?

According to the manual, it search regex... search performs a full text search on all available package lists for the POSIX regex pattern given, see regex(7). It searches the ...
3
votes
2answers
9k views

apt-get: hash sum mismatch

Running "sudo apt-get update" results in: W: Failed to fetch gzip:/var/lib/apt/lists/partial/security.ubuntu.com_ubuntu_dists_saucy-security_main_binary-i386_Packages Hash Sum mismatch W: ...
32
votes
3answers
30k 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?
1
vote
0answers
145 views

apt repository not showing in apt-cache policy, why?

I have a private mini-dinstall based repository. sources.list.d has an entry for it, like https://user:pass@my.host/repos/ tools/ I have installed apt-transport-https and I can happily install ...
0
votes
1answer
26k views

Trouble Installing APT on Centos 6 64 bit

Can someone help me get apt-get installed? I followed these instructions to try and install APT on Centos 6 64 bit: wget ...
3
votes
1answer
2k views

Unmet dependencies after using a backports repository

I have added a backport repository to apt's sources.list to get an application: deb http://ftp.uk.debian.org/debian/ wheezy-backports main Long story short: I did not manage to install the ...
2
votes
2answers
889 views

How to examine an apt repository?

I am trying to set up riak on Debian wheezy. I've followed their instructions to add the basho apt repositories... $> curl http://apt.basho.com/gpg/basho.apt.key | sudo apt-key add - $> sudo ...
2
votes
0answers
2k views

apt-get update could not resolve addresses [closed]

When I run apt-get update (on Ubuntu 12.04) I keep getting these errors: Err http://security.ubuntu.com precise-security Release.gpg Could not resolve 'false' Err https://get.docker.io docker/main ...
1
vote
1answer
339 views

netselect - how to get it installed on Mint?

I have been using Linux already for a couple of years, and got used with it. Most of distro I used are: Centos, Ubuntu, Fedora, etc. Recently I decided to put in one of my machines Mint and I must ...
10
votes
2answers
43k views

How do you fix apt-get update “Hash Sum mismatch”

I have an Ubuntu 12.04 virtual box vm that I instantiate using Vagrant. git clone https://github.com/spuder/puppet-gitlab vagrant up As soon as the vagrant box runs apt-get update, I get the ...
4
votes
5answers
4k views

How to free space on a completely full volume?

I am using Linux. And within an uncontrolled event, my 4GB system disk is full. When I try to uninstall some program by sudo apt-get purge program-name, it gives me this error: /usr/bin/mandb: can't ...
2
votes
1answer
4k views

“404 Not Found” when updating the package list using apt-get

Trying to update my Apt-based Sytems (Ubuntu 8.04.2 LTS (hardy)), I am getting this error any recommendations? # apt-get update Err http://packages.cloudkick.com intrepid Release.gpg Could not ...
7
votes
1answer
2k 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 ...
10
votes
2answers
440 views

unable to remount filesystem back to read-only after package upgrade

On my Debian system, I have my / on separate partition and mounted read-only. Only /home/, /var/ and /tmp/ are writable. I have also created a Pre-Invoke and Post-Invoke apt hook, so that apt can ...
1
vote
1answer
1k views

How to pull dependencies for package/testing from testing

Trying to install a newer version of libav-tools from testing to my otherwise debian-stable installation. I have testing in my sources.list and my preferences look like: Package: * Pin: release ...
3
votes
1answer
242 views

apt-file vs apt-cache

I've known about apt-cache for quite some time, but only yesterday stumbled on apt-file. My question is, given this kind of output from the two... ttsiod@avalon ~ $ apt-cache search setxkb ...
3
votes
3answers
21k views

“sudo: apt-get: command not found.” after removing some packages

Recently I executed this command: sudo apt-get remove debian-keyring debian-archive-keyring To prevent this such error message: WARNING: The following packages cannot be authenticated! openerp ...
0
votes
0answers
88 views

How to fix boot failure after update

I did a apt-get update on Debian. After reboot the system lost its mount point and failed to boot. How could be accomplished to fix the boot failure?
4
votes
1answer
4k views

How to add Debian Universe in etc/apt/sources.list?

In /etc/apt/sources.list I added universe to deb http://http.debian.net/debian wheezy main contrib non-free universe When I did aptitude update the log complained about: W: Failed to fetch ...
2
votes
1answer
107 views

How to search for Debian packages by tags?

At Debian's Packages page, one can search amongst the software available on Debian. In the package descriptions, they are categorized by tags, described here. For instance, the package [xterm][3] has ...
5
votes
1answer
65 views

What are the numbers after the version in the output of apt-cache policy?

This is the output of apt-cache policy firefox firefox: Installed: 26.0~linuxmint1+lmde Candidate: 26.0~linuxmint1+lmde Version table: *** 26.0~linuxmint1+lmde 0 500 ...
10
votes
1answer
4k views

How can I install more recent versions of software than what Debian provides?

Suppose I want a more recent version of software than is available for my current version of an operating system, what can I do? Cases to consider: There are semiofficial/official sources of ...
3
votes
1answer
47 views

Flag a package as being configured on Debian even if it's not

For various reasons, I have a package on my Debian system which cannot configure itself properly. I know why and I don't want to correct the problem right now. However, I want to avoid apt trying to ...
1
vote
1answer
46 views

Is there a way to monitor the Shareable Objects (.so) loaded on launch of a specific application?

I've been through dependency issues, but, finally, have my application running. The problem is I need to force install of some old libraries with dpkg to achieve this, which, in turn, breaks my ...
3
votes
4answers
2k views

Connect to the Internet on a VPN connected server without Internet

I've a remote server which is not connected to the internet, but I can connect from via SSH to it through a VPN tunnel. On this client I got internet. Is it possible 'get internet' from the client ...
1
vote
2answers
123 views

Searching for packages using apt-get

I'd like to search for repository packages using package name or package description. For example Search for Zend Search for Ze*d
1
vote
2answers
514 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 ...
5
votes
1answer
2k 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 ...
5
votes
3answers
889 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 ...
2
votes
2answers
842 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 ...
0
votes
1answer
625 views

How to upgrade TurnKey Linux 12.1 to 13.0

I have a Turnkey Linux 12.1 installation that I would like to upgrade to Turnkey Linux 13.0. The upgrade should transition from Squeeze 6.0.8 to Wheezy 7.x. I want to upgrade the Wheezy to utilize a ...
2
votes
1answer
2k 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 ...
3
votes
1answer
2k 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?
2
votes
1answer
6k views

Installing Citrix receiver on 64bit Debian Wheezy

I am trying to install Citrix receiver v. 13 on my 64 bit Debian Wheezy. I tried both amd64 as well as i386 packages (in multiarch), but I fail. i386 version first The installation looks like this: ...
0
votes
2answers
44 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
1answer
273 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 ...
0
votes
0answers
332 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
530 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 '.' ...
4
votes
2answers
188 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 ...
27
votes
3answers
25k views

How to install a single Jessie package on Wheezy?

I want to install a single package (and its dependencies, but only to the extent those are not satisfiable in Wheezy) from Debian Jessie onto my Wheezy system, without upgrading "everything and the ...
1
vote
2answers
692 views

Error Installing “ia32-libs” to run ADB and Fastboot Linux Mint 16 “Petra”

I have been trying to get adb, fastboot, avd and others to work with the latest version of Linux Mint (16 "Petra") I originally got this error when trying to run ADB: ➜ platform-tools ./adb ./adb: ...
4
votes
3answers
1k 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 # ...
1
vote
3answers
71 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 ...
1
vote
2answers
1k 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 ...