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

learn more… | top users | synonyms (1)

0
votes
1answer
13 views

PHP upgrade after installing phpmyadmin

I had a Debian Server with Apache 2.2 and PHP 5.3 I installed phpmyadmin (sudo apt-get install phpmyadmin). Now, the versions of Apache and PHP have been upgrade (2.4/5.6) Is this possible? How can ...
10
votes
4answers
8k views

Install from a deb file, by dpkg -i or by apt?

I have a deb package for installation. Shall I install by dpkg -i my.deb, or by apt? Will both handle the software dependency problem well? If by apt, how can I install from the deb by apt?
5
votes
2answers
3k views

How do I install mod_pagespeed using apt-get?

I remember seeing an article at one time on how to do this, but now I can't find it. I have seen other install directions. I want to make sure I can easily update it via apt.
2
votes
1answer
37 views

Debian jessie 8 clean installation

I've installed debian jessie from net iso (~240Mb). On the last installation wizard step, i've unchecked all checkboxes (no kde, web, mysql, and system utilities also). Well right after that "apt-get ...
6
votes
1answer
4k 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. ...
3
votes
2answers
132 views

Is there a way to see why certain dependency of a package is needed?

I was about to install mysql-client-5.5 package which has debianutils package as a dependency. However, I first checked which binaries are installed with debianutils package. It installs nine ...
1
vote
2answers
31 views

Is it possible to “install” a hook that will be called before removal of a package?

Background: on Ubuntu I like to prevent sshd from creating a new ssh_host_ecdsa_key file when I remove it. There appears to be no configuration option in sshd_config to prevent this. Hence I use ...
0
votes
1answer
28 views

Cannot install packages in Mint: “Unable to fetch some archives”

I'm running Linux Mint 16 (Petra). I was able to install packages normally until, at least, april 18th (two weeks ago). Since yesterday I cannot install packages anymore. For example, if I try to ...
1
vote
0answers
12 views

Debian jessie mounted pendrive not trusted by apt

I have installed debian jessie from unetbootin pendrive and without network drivers. After booting from HDD, I have added mounted pendrive to apt sources (with file:// prefix). I have two problems. ...
1
vote
1answer
800 views

“except (IOError, OSError), e: SyntaxError: invalid syntax” when configuring python-lockfile

I am having trouble installing any new packages in Ubuntu because of python. I tried sudo apt-get install python3 python3-dev but I am getting the following output :: dpkg: error processing ...
0
votes
1answer
170 views

Cant seem to be able to install unetbootin in debian jessie [closed]

Can't seem to be able to install unetbootin in Debian Jessie after I have tried everything I found, adding new repositories trying to get it from a ppa I found, downloading it, nothing seems to work, ...
6
votes
2answers
35 views

How to check from bash if package exists in debian

I would like to make a installation bash script, where I would like to install mysql server. On linux mint I had followed code: apt-get -y --force-yes install mysql-server-5.6 but I installed new ...
0
votes
2answers
20 views

apt-get --option -> one time or permanent?

Does apt-get --option set the defined option permanently or is this a one-time action? I know I should try for myself but I have 1 (one) computer here and I really don't want to fumble with the ...
1
vote
1answer
37 views

Can apt-get upgrade perform a dist-upgrade from one version of debian stable to the next?

I just wanted to do a regular upgrade on my Debian Wheezy system. I did the usual $ sudo apt-get update $ sudo apt-get upgrade I noticed that the number of packages to be upgraded was pretty large ...
0
votes
0answers
31 views

/usr/bin/apt-get: cannot execute binary file [closed]

As per title my apt-get is broken. I was doing manual upgrade from 32bit to 64bit OS but my system crashed at one point and the upgrade was not completed. Now whatever i try to do with apt i get the ...
0
votes
0answers
16 views

rstudio-upstream-deb installation problem in AIMS-Desktop context [closed]

I'm using the PPA AIMS-Desktop to manage the scientific software in my Ubuntu 14.04 setup. Today apt-get upgrade surprised me with the notification that the package aims-science-standard could not be ...
0
votes
0answers
26 views

Debian stable and dependencies

I have a computer running Debian Jessie and am trying to install a version of the FEniCS library from the Sid repository. I've added an unstable.list file containing the repository info to the ...
0
votes
0answers
59 views

Depends: sqlite3 (>= 3.7) but it is not installable

Firstly, i'm new linux, so apologies if this is a dumb question... I recently picked up a Raspberry PI 2 and have installed Raspbian (Debian Wheezy). I'm trying to install an application called ...
3
votes
1answer
480 views

Consequences of setting up POSIX locales

Small background of the situation: We are using several UBUNTU servers having English as working language; however having en_US locale set in machines we encounter problems with apt-cacher-ng ...
1
vote
1answer
163 views

Why is the kernel version not updated when I upgrade to a newer release?

I think my Debian 8.0 (Jessie) installation is outdated, but the Package Updater always says All packages are up to date. The result of: sudo apt-get update sudo apt-get -u upgrade is 0 upgraded, ...
2
votes
1answer
24 views

Create a subset of debian repo

I need to create a subset of an existing repository that contains certain packages. The dependencies of these packages need to be satisfied. Now, I know how to create an Apt repository from a given ...
1
vote
1answer
30 views

Upgraded to test branch by mistake in debian… how can I go back to stable?

I wanted to upgrade my GLIBC to a newer version on my remote server (to which I only have SSH access), so I added the test branch of Debian to my apt sources. I followed this by the mistake of ...
1
vote
2answers
2k views

Can't install any package with sudo apt-get install

I'm running Raspbian on my Raspberry Pi I just set up this day, the problem is that every time I try to install any package I get an error , for example, sudo apt-get install samba gives me : The ...
0
votes
1answer
52 views

How to erase duplicate repository?

I'm having this problem a few times now when execute sudo apt-get install something... this is the part of the output which tells me there is a problem.. W: Duplicate sources.list entry ...
69
votes
8answers
36k views

Convince apt-get *not* to use IPv6 method

The ISP I work at is setting up an internal IPv6 network in preparation for eventually connecting to the IPv6 internet. As a result, several of the servers in this network now try to connect to ...
0
votes
1answer
78 views

Can't use apt because python encoding issue

I'm getting a python unicode error every time I try to install or update anything with apt or aptitude, preventing me to update my system. The error I'm getting is the following: File ...
1
vote
1answer
14 views

RFC822-style sources.list yields “E: Type 'Types:' is not known”

On Jessie, according to man 5 sources.list, I can write my sources.list file in an RFC822-inspired format: Types: deb deb-src URIs: http://http.us.debian.org/debian/ Suites: jessie Sections: main ...
3
votes
1answer
18 views

Bypass GPG signature checks only for a single repository

I have read the following article: How do I bypass/ignore the gpg signature checks of apt? It outlines how to configure apt to not check the signatures of packages at all. However, I'd like to limit ...
1
vote
2answers
321 views

Install Elixir lang on Linux Mint

I've followed the instructions on the Elixir site for Ubuntu by downloading and installing their erlang-solutions_1.0_all.deb but no install target is found when trying to install. $ sudo apt-get ...
0
votes
1answer
31 views

Uninstall Phusion Passenger and repair package database

Some time ago I installed Phusion Passenger with these instructions. I also have the debdeb.org repository in my sources.list. I now want to remove Passenger and install a clean nginx package from ...
3
votes
2answers
4k views

Cannot install mysql-server-5.5/the following packages have unmet dependicies

I'm using ubuntu 14.04. I tried entering mysql with the following command: mysql -u root -p and I got the following message: The program mysql can be found on the following packages: ...
3
votes
3answers
2k views

apt-get shows important packages as “no longer required”

I recently installed Kali Linux in my system. It came with a preinstalled Iceweasel. However, instead of Iceweasel I wanted to install firefox so I followed this guide and installed firefox ...
0
votes
1answer
31 views

build-essential tries to install unrelated package nautilus-dropbox

Whenever I try to install them through the Software Center it will remain at 0% for hours. I instead attempted to install the application I needed by compiling it from source. I needed the ...
1
vote
1answer
44 views

List packages coming from a specific Codename or Suite (apt based systems)

I already know how to list every package from a given "origin", thanks to aptitude awesome search features: aptitude search "?origin(My Backports)" However, in the repository Release file, there ...
0
votes
0answers
43 views

“sudo: apt-get: command not found.” after removing packages [duplicate]

I have a problem similar to the issue here: "sudo: apt-get: command not found." after removing some packages. Did the same stupid thing removing something: sudo apt-get remove gnupg ...
2
votes
3answers
13k 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 ...
6
votes
3answers
229 views

What provides /etc/exports and how do I find that out?

I have two Debian virtual machines that were built from the same netinstall iso, but probably have different packages installed. One of them has an /etc/exports file for nfs mounts but the other one ...
-1
votes
1answer
196 views

why is install-recommends default true? [duplicate]

In debian the default configuration for installing recommendations in apt is set to true. if you edit /etc/apt/apt.conf and add the line apt::install-recommends "false"; recommendations are ...
0
votes
1answer
45 views

cannot install wine on 17.1 mint: unmet dependencies, broken packages

i have a Linux Mint 17.1 Rebecca - Release amd64 20141126]/ trusty contrib main non-free installed, and the apt-get install wine wont do the trick. it returns the following: Some packages could not ...
6
votes
6answers
15k views

How to work around “Release file expired” problem on a local mirror

I have a local mirror (created with debmirror), and when I run apt-get update after a few days, I get this: E: Release file expired, ignoring file:/home/wena/.repo_bin/dists/sid/Release (invalid ...
1
vote
1answer
2k views

How to use zypper in bash scripts for someone coming from apt-get?

I have a few questions about moving from apt-get to zypper in bash scripts. What is the equivalent of this? sudo apt-get install curl --assume-yes (where curl could be any package) I found the ...
2
votes
1answer
6k views

I can't install new packages and can't update and upgrade

I'm trying to install some program on Ubuntu, but when I try it I got the following error.- E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable) E: Unable to lock ...
1
vote
5answers
52 views

Change apt-get's installation path

I have a machine on which the root partition is running out of space. I have another disk on which there is plenty of free space. How do I configure apt-get to install packages on a different ...
1
vote
3answers
38 views

is there a system-wide “extension” to /etc/services that does not get replaced on package updates?

I know how to use /etc/services but if I change it and the inetd package is later updated via apt-get to a new default one, my changes are gone (happened to me on a apt-get dist-upgrade from Debian ...
0
votes
1answer
706 views

Error installing gdb-arm-linux-gnueabi

I get an error when I try to install the gdb-arm-linux-gnueabi package. This is the error that I obtain when I run apt-get install gdb-arm-linux-gnueabi: $ env LC_ALL=C sudo apt-get install ...
157
votes
10answers
52k views

What is the real difference between “apt-get” and “aptitude”? (How about “wajig”?)

I know that both apt-get and aptitude are command line package management interfaces on Debian derived Linux, with different options, but I'm still somewhat confused. Under the hood, aren't they ...
1
vote
1answer
37 views

Debhelper recursive dependency

Unfortunately, debhelper has a recursive dependency. When I try to install with apt-get source --compile debhelper, it says: Reading package lists... Done Building dependency tree Reading ...
2
votes
1answer
455 views

Why I was able to fix a broken package with aptitude but I could not with either apt-get or synaptic?

Yesterday I upgraded my Debian Testing and Audacious stopped to work. Troubleshooting I found that the problem was that it was updated to a recent version but the needed plugins were not. I tried to ...
2
votes
2answers
449 views

Hard drive partition and updating trouble

I'm new to linux and am using Linux Mint 15 Olivia. I am running it alongside windows 7 and I want to increase the size of my current linux hard drive partition. I read somewhere that I should install ...
0
votes
1answer
72 views

“apt-get install” ends with segmentation fault

I have a following minimalistic sources.list file: root@c:~# cat /etc/apt/sources.list deb http://ftp.fi.debian.org/debian/ wheezy main root@c:~# apt-get update Hit http://ftp.fi.debian.org wheezy ...