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

learn more… | top users | synonyms (1)

1
vote
2answers
167 views
+50

apt-get keeps failing

Similar to this question, I cannot apt-get update my machine. I've tried everything I could Google: adding the bad key, deleting my /var/lists/thingy, apt-get clean, deleting Chrome. But I keep ...
2
votes
0answers
26 views

Boost: compile latest source or use add-apt-repository?

Boost: compile latest source or use add-apt-repository I’m at a junction should I go one way or another…? Boost 1.55 is part of Raspian Jessie stable, and the advice when installing Domoticz is to ...
3
votes
1answer
42 views

How to block non-free with apt preferences?

I want to block all packages from non-free, except for those that I name explicitly. Currently, I have: /etc/apt/sources.list : deb http://ftp.us.debian.org/debian stable main contrib non-free ...
1
vote
1answer
11 views

Update on reboot with init.d

I created a script to add a bunch of packages and update the system on a fresh install. Here's the relevant part of my init.d script that is giving me trouble: #!/bin/sh ### BEGIN INIT INFO # ...
2
votes
1answer
17 views

How do I know if I have “foreign” packages left in my Linux

I am on Mint 17.3 Rosa based on Ubuntu Trusty. I recently purged all PPAs which there were like 20+ of them. I'd like to check if there are any remnants of PPAs in general, because currently I have ...
1
vote
0answers
22 views

Apt-get error : Writing more data than expected (7643558 > 7643216)

I am getting some weird errors with an ubuntu docker container: "Writing more data than expected (7643558 > 7643216)" Retrying the operations succeeded. I got this several times. I am running the ...
0
votes
3answers
17 views

How to make python3 the default version on WING IDE

I'm new to python and I've been trying to update from python 2 to 3 by doing apt-get install python3 and it installed but when I type python --version on my terminal the version is 2.7.9. How can I ...
3
votes
4answers
6k views

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

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
1answer
68 views

Updating Nginx server to 1.10 on Debian 8.4

I just installed the latest Debian version (8.4) on a virtual machine, and everything went fine. I then installed nginx server from the Debian repos and I got version 1.6.2, while the latest version ...
2
votes
3answers
2k views

Can't install any packages with apt

I have big problem on my Debian 6 server. I can't install/uninstall any packages on my system. When I try install something I see this error: You might want to run 'apt-get -f install' to correct ...
0
votes
1answer
22 views

phpmyadmin held back, why and how to fix it?

Today I am doing maintenance of the server Debian 8.4, and I don't know why phpmyadmin package has been held back, well I haven't solved such situation yet, so any suggestions are welcome, thank you. ...
1
vote
1answer
21 views

Media change while installing apache2

I've got a fresh copy of Ubuntu Server 15.04 and installed it via "Easy Install" in VMWare WorkStation 12. After it installed,i've logged in to my account and tried to install apache2 with this ...
0
votes
1answer
1k views

Install older versions of google-chrome-stable, on ubuntu 14.10

I am able to do, sudo apt-get install google-chrome-stable This installs, chrome version 45 which does not support NPAPI plug-ins that is needed to run java inside browser. I am trying to move one ...
1
vote
1answer
70 views

Failed to fetch http://security.debian.org/dists/wheezy/updates/Release

I am trying to run a sudo apt-get update command, my current distro is Debian Wheezy, and I am getting this error when I try to run the command : W: Failed to fetch ...
1
vote
3answers
1k views

Ubunutu software-centre is not working, showing black screen

I am trying to open ubuntu software-center but it get paused and after that shows complete black and nothing is happening. Same thing has happened when I try to run from command line. This is the ...
3
votes
3answers
99 views

dpkg - how to install pre-dependency?

I need to install apt package on a Western Digital DL4100 NAS running a Linux DL4100 distribution where the only package system is dpkg. To do so, I have to install multiarch-support, it depends on ...
0
votes
2answers
2k 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 ...
6
votes
2answers
4k 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.
4
votes
2answers
8k views

Invalid signatures when running apt-get update

I'm new to linux and am trying to run an update, I get a lot of "Hit"'s and "Ign"'s but in the end I get these errors, does anybody know what they mean and how I can fix them? W: GPG error: ...
0
votes
2answers
202 views

APT repositories on Android

I am using a terminal emulator on Android called "Termux". It comes with the APT command installed. However, the repository is very limited. What I want to do, is to see if larger repositories like ...
0
votes
1answer
6k views

Sample /etc/apt/sources.list for Linux Mint 17

It seems my /etc/apt/sources.list file only has deb cdrom:[Linux Mint 17 Qiana - Release amd64 20140624]/ trusty contrib main non-free It might have got corrupted when I was trying to download ...
0
votes
1answer
48 views

DNS not working on Debian jessie

I have properly setup resolvconf, which properly sets up /etc/resolv.conf: # Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8) # DO NOT EDIT THIS FILE BY HAND -- YOUR ...
1
vote
0answers
24 views

Fuse errors when installing packages in Debian 8

I'm getting fuse errors when trying to install packages with apt-get. I've tried reinstalling it but it didn't help. This is output when I try to install something: Do you want to continue? [Y/n] y ...
-1
votes
1answer
1k views

Why install-recommends default is 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 ...
1
vote
0answers
36 views

Can't purge old kernels (dependency problems), but /boot is out of space

I'm running Ubuntu 14.04.4 LTS, and I'm trying to install a new package using apt-get. Unfortunately, whenever I try I get messages like: The following packages have unmet dependencies: ...
2
votes
1answer
38 views

Set apt-get options to tolerate harmless 'dpkg --force-conflicts' kludge?

A trivially conflicting package foo can be made to work with bar, by running dpkg --force-conflicts -i foo. But eventually it's time to upgrade, and 'apt-get' objects: % apt-get upgrade Reading ...
1
vote
1answer
1k views

Problem installing tor on Kali Linux

I'm trying to install tor on my Kali Linux 2016.1 (kali-rolling). When I type apt-get install tor in Terminal, this error appears: Reading package lists... Done Building dependency tree ...
0
votes
0answers
21 views

cron job quit working after latest apt-get upgrade

I've been running a cron job every 15 minutes for years, with few problems. Sometime in the last week, it quit running, I'm assuming after a apt-get upgrade && apt-get dist-upgrade. I was ...
0
votes
1answer
49 views

linux mint - invalid signature BADSIG 3EE67F3D0FF405B2 for extra.linuxmint.com repository

While trying to run apt-get update on linux mint 17.3 I am getting following error. W: GPG error: http://extra.linuxmint.com rosa Release: The following signatures were invalid: BADSIG ...
0
votes
0answers
92 views

Unable to find any package through apt-get or packages in kali linux

I am using lenovo thinkpad t400. I have been using kali linux old version and everything was working fine . But after installing kali linux version 2.0 , i can't find any package . It always show ...
0
votes
1answer
341 views

Dependency problem

On running apt upgrade or apt dist-upgrade, terminal is showing a error: Reading package lists... Done Building dependency tree Reading state information... Done Correcting dependencies... Done The ...
0
votes
2answers
41 views

Can we install a package through a shell script? [duplicate]

I'm trying to write a shell script so that when I reinstall my Ubuntu again. I could just run script and retain all the packages. And I'm planning to pass password in form of argument. My question ...
1
vote
2answers
164 views

libnss3 Update Downgrading Problem

I have downgraded libnss3 on my Ubuntu so I can install Upwork software. I have installed this software successfully. But after this downgrade, I am unable to install any other software on my system. ...
0
votes
1answer
12k views

E: Some index files failed to download. They have been ignored…” when tunning “sudo aptitude update”?

This is what the end of output after I run sudo apt-get update on Ubuntu 12.04: Ign http://apt.typesafe.com unicorn/main Translation-en 35% [Working]W: Failed to fetch ...
11
votes
4answers
6k 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 ...
1
vote
1answer
299 views

Mint 12 - Error updating MySQL (mysql-client-core-5.1)

I have MySQL 5.5 installed via packages.dotdeb.org. When trying to update 5.1, which is also installed, I get the following error: E: ...
2
votes
1answer
56 views

What is the difference between the error “not found” and the error “command not found” are they the same?

In this question the user is getting the error "not found". I realized that the error is "not found" instead of "command not found". Are these two errors different? I'm not sure if I've just never ...
2
votes
0answers
260 views

No candidate version found for sudo

When I tried to install sudo in Debian 8.2 via aptitude install sudo I got an error: No candidate version found for sudo. The source list is standart. Here is the Source list: deb ...
2
votes
1answer
115 views

Package installation : dpkg parse error

I need help with installation through the terminal. Any time I try to install any new packages using sudo apt-get install *package*, I get the following error: dpkg: parse error, in file ...
0
votes
1answer
78 views

broken dpkg, X after nvidia driver install on Debian

In following the Debian installation instructions for NVidia drivers for Debian 8 "Jessie", I hit a snag I can't figure out... # apt-get install linux-headers-$(uname -r|sed 's,[^-]*-[^-]*-,,') ...
0
votes
1answer
1k 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 ...
1
vote
1answer
585 views

Receiving “Unable to correct problems, you have held broken packages.” after trying to install python -setuptools and python-pip

I ran "sudo apt-get install python-setuptools python-pip" but I received: Reading package lists... Done Building dependency tree Reading state information... Done Some packages could not be ...
0
votes
2answers
6k views

Error while installing wireless-bcm43142-dkms-6.20.55.19: dependency linux-headers is not satisfiable

I have to install a .deb file with the firmware for the wifi card (This is the name of the file: wireless-bcm43142-dkms-6.20.55.19_amd64.deb; I've downloaded the file from here: ...
10
votes
1answer
1k views

apt-get fails: The method driver /usr/lib/apt/methods/https could not be found

I tried to update my OS Debian jessie using the terminal and i get an error : “E: The method driver /usr/lib/apt/methods/https could not be found.” error? My sources.list : deb ...
0
votes
1answer
793 views

Download yad with bash script

i'm building a simple deb package (single binary) for a little project i've been working on. Now I want to build a nice interface around it and used zenity for a couple of times, but this time I ...
2
votes
3answers
2k views

Increasing the size limit for /var/cache/apt/archives

I have 2 systems running Debian at home and I am trying to minimize the bandwidth use while upgrading the packages. How can I increase the size limit of the cache, so that I could just copy the ...
1
vote
2answers
68 views

How to install a specific package with dependencies using apt-offline command?

I have installed apt-offline on tow machine runing debian jessie pc1 (online) and pc2 (offline). I am using the following command :sudo apt-key exportall | sudo gpg --no-default-keyring --import ...
0
votes
1answer
62 views

Installing a package manually using apt-get

I'm trying to install a deb package offline using apt-get command. From what I understand, I can download a package manually from the internet. Put it in the local repository folder (which is usually ...
1
vote
0answers
34 views

apt-get failed to fork in UML (user mode Linux)

I'm running a user mode Linux (Linux-3.19.8) for development testing. I'd like to be able to edit files inside the UML. I have some experience with Vim, so I'd prefer that. But unfortunately when I ...
1
vote
1answer
10 views

Can apt_preferences track the priority of a package?

When I run apt show foo I see in the output a line that says "Priority:" and one of the values: required important standard optional extra Can I use the apt_preferences file to filter packages ...