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

learn more… | top users | synonyms (1)

2
votes
3answers
6k 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 ...
2
votes
1answer
9k views

Fixing a broken packet system (apt-get)

After I made a system upgrade (apt-get upgrade) on a debian box, I get an error everytime i tries to use apt-get. Example: # apt-get -f install Reading package lists... Done Building dependency tree ...
0
votes
0answers
54 views

Can't install anything cause “printer-driver- … unmet dependencies”

I'm trying to install GNU screen: sudo apt-get install screen I receive following: Reading package lists... Done Building dependency tree Reading state information... Done You might want to ...
0
votes
0answers
32 views

Failed to fetch packet

I would like to install php5-mysql on my webserver. apt-get install php5-mysql The output is the following: root@webserver:~# apt-get install php5-mysql Reading package lists... Done Building ...
0
votes
0answers
16 views

How to set up OpenVPN? [duplicate]

I'm trying to use OpenVPN on my debian system. I'm using Debian for the first time. Version: Debian GNU/Linux 8 (jessie) 64-bit. When I try to run this: root@debian:~# apt-get install openvpn I ...
0
votes
1answer
208 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 ...
1
vote
1answer
75 views

What's the best way to install apt packages from Debian Stretch on Raspbian Jessie?

I'm using Raspbian Jessie but there are a few packages I want that aren't available (but are in Debian Stretch repos). I want to temporarily use the Stretch repo to install them (and any ...
1
vote
2answers
43 views

Is it safe to set a cron job for apt-get upgrade? [closed]

Is it a good idea to create a cron job for apt-get update; apt-get upgrade for my webserver? So not apt-get dist-upgrade.
0
votes
1answer
354 views

sudo apt-get update doesn't work on Linux Mint 17.1

I am trying to update my Linux Mint 17.1. But if I give this commands, sudo apt-get update it is giving the following error. E: Could not get lock /var/lib/apt/lists/lock - open (11: Resource ...
1
vote
1answer
22 views

Difference between apt command and sudo apt command in Linux Mint terminal?

I am new to Linux and I was wondering what the difference was between the two because both of them seem to work when doing stuff. Command is a placeholder name for upgrade, update or install or ...
0
votes
2answers
15 views

How to understand “Replaces” field in output of “apt-cache depends”?

When I run apt-cache depends tar under my Debian 8.3 installation, then it says that it will replace cpio: # apt-cache depends tar tar PreDepends: libacl1 PreDepends: libc6 PreDepends: ...
0
votes
1answer
11 views

Syncing AIDE and apt-get

I would like to run AIDE from a stick on a system. However there is a major difficulty. Apt-get will modify files in particular with commands update, install, remove/purge which will muck up the AIDE ...
10
votes
2answers
42k 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 ...
0
votes
2answers
2k 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 ...
3
votes
2answers
45 views

Can't perform apt-get because of dependencies

I'm trying to install some packages on my server (Debian8) and for some of they, I always have dependencies problems. For example, I have executed this command: apt-get install jetty9 And It ...
2
votes
2answers
33 views

Install the latest version of a package that would not require updating dependencies

Mainly on a debian/apt-get based system (but answers for others like Arch would be nice too). Doing apt-get install package installs the latest version of "package" available and (if necessary) ...
1
vote
1answer
34 views

apt looking for i386 files, even though architecture is amd64

I am trying to use a file repository for updating linux/ubuntu on a non-connected machine. The architecture for this machine (uname -a): x86_64 GNU/Linux The results of dpkg --printarchitecture ...
1
vote
1answer
25 views

apt mirror chooses wrong architecture

I tried to do a repository mirror using apt-mirror and it inexplicably choose the wrong architecture. This is the architecture of the mirroring machine: uname -a Linux MyWorkStation 3.2.0-76-generic ...
0
votes
0answers
18 views

Ubuntu upgrades blocked due to insufficient disk space for linux-image [duplicate]

I am running Ubuntu Server 14.04 LTS on a desktop at my home that I was intending to turn into a server, but I never really did much on it. I then decided to turn it into a send-only SMPT server, but ...
1
vote
1answer
30 views

How do I install LXDE offline into debian?

I am running the latest version of Debian, command line only. the PC is offline. Do not ask me to get it online because i can't. I want to install the desktop environment LXDE but I have no CD and no ...
0
votes
2answers
1k views

Getting 403 forbidden error in sudo apt-get update

I want to upgrade version 13.10 to 14.04. This is output that I get: W: Failed to fetch http://old-releases.ubuntu.com/ubuntu/dists/saucy-security/universe/binary-i386/Packages 403 Forbidden W: ...
1
vote
1answer
1k views

`apt update` failed on Debian Linux

Attempting to upgrade testing/stretch Debian Linux: $ sudo apt update Ign:1 http://dl.google.com/linux/talkplugin/deb stable InRelease Hit:2 http://dl.google.com/linux/talkplugin/deb stable Release ...
1
vote
1answer
26 views

Is possible to obtain a list of debian packages that doesn't have a gui / run in X?

I'm interested into creating a script able to get my own iso of debian for offline working purposes, however I have no the need of any gui utility that are generally for desktop usage. For the ...
0
votes
0answers
23 views

Upgrade package Ubuntu 15.10

I would like to upgrade systemd to it's most recent version 229( currently I have 225) but when I try to do it via command line I get systemd is already the newest version. I suspect 225 is the ...
4
votes
6answers
12k views

How to recreate /var/lib/dpkg/status?

I have deleted some files around /var/lib/dpkg/, namely: /var/lib/dpkg/status /var/lib/dpkg/available /var/lib/dpkg/info/* I understand Debian uses these files to keep some information about ...
0
votes
1answer
89 views

My debian mirror is not working… Could not resolve 'ftp.us.debian.org'

I was trying to use the command $sudo apt-get update but I got the errors: Err http://ftp.us.debian.org etc. and things like: W: Failed to fetch ...
3
votes
3answers
39 views

apt pinning priority restricted

I need to downgrade some apt packages, that I had previously pinned to testing, having stable as default. This is the preferences file: Package: * Pin: release a=stable Pin-Priority: 1001 Package: ...
0
votes
0answers
70 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 ...
1
vote
2answers
46 views

Strange “apt-get purge” behaviour with regEx

I'm running Debian (jessie) and following this question, I followed the first answer suggestion to install that packages running sudo apt-get install gtk2-engines-* gtk3-engines* That did not ...
1
vote
1answer
32 views

Update apt-get cache only if it's older than certain time

I'm on debian. I would like to execute an apt-get update (and maybe something else) only if the time since last update is bigger or smaller than a certain amount with a straight command, no cron ...
0
votes
1answer
28 views

Retrieve apt-get package in differing distros

I have ROS Indigo installed in Ubuntu 14.04 on a macbook pro. I can find and install the package ros-indigo-openni-launch. $ sudo apt-get install ros-indigo-openni-launch [sudo] password for jackson: ...
0
votes
1answer
65 views

Access from unknown IP tracks to non-existent website

Just had a warning that my Gmail's been accessed from the following IP: 151.230.107.114 which routes to something called htc_frisbee.com , which doesn't appear to be a real website. Could this just be ...
0
votes
0answers
32 views

Installing npm on Mint 17 without using curl or the GUI file-manager

I'm trying to install npm in a Mint VM running on Windows 10 on which I can only use sudo to install and modify directories and have no ability to create directories via the visual file manager. I ...
2
votes
1answer
24 views

Why apt-get is unable to locate jigdo-file or jigdo-lite?

There is something I'm not getting right with the debian package system, I'm pretty confident that the jigdo program is contained in the Debian repository system ...
2
votes
2answers
82 views

How is `apt` the new-and-improved `apt-get`? [closed]

So in Debian 8, we now have apt as well as apt-get. Can somebody explain to me how apt is better than apt-get? A quote from the Debian Administrator's Handbook: APT is a vast project, whose ...
1
vote
1answer
18 views

How to determine the added value of installing a (pseudo-)package vis-à-vis installing only one of its dependencies?

Suppose that (pseudo-)package A depends on (pseudo-)package B. I'm looking for a reasonable systematic way to answer the question: "what would I get by installing A that I would not get by installing ...
235
votes
4answers
265k views

Check package version using apt-get/aptitude?

Before I install a package I'd like to know what version i would get. How do I check the version before installing using apt-get or aptitude on debian or ubuntu?
0
votes
2answers
97 views

virtualbox-5.0 won't install on ubuntu-server 14.04.4

I can't get virtualbox to install. I recently reinstalled my entire system with ubuntu-server 14.04.4. I added the virtualbox repository as recommended on their website: I added deb ...
0
votes
0answers
63 views

Cannot install some packages using apt-get or aptitude

It seems all the problems started when I used katoolin (a setup script for installing kali pentesting tools on ubuntu). Since using it and installing a few packages from it, I have gotten these errors ...
9
votes
1answer
13k views

dpkg cannot find ldconfig/start-stop-daemon in the PATH variable

I was trying to install bsd-mailx utility the package got installed however I am wondering about the error. This is the error I get: Preconfiguring packages ... dpkg: warning: 'ldconfig' not found ...
2
votes
1answer
1k views

Apt broken after upgrading python on 14.04 - No module named 'lsb_release'

I recently needed an updated version of Python3 for a project, so I built it from source; and I believe I made a bit of a mess. All apt based operations now end in an error here: (Reading database ...
0
votes
0answers
25 views

Uninstall package from command line in unbootable system

I messed up my Raspbian Jessie system by installing upstart, and now it gets hung up while booting. Now I'm trying to get back to a bootable system by uninstalling it. I used these directions to get ...
2
votes
3answers
105 views

The following packages have been kept back

The following packages have been kept back: click click-dev gir1.2-click-0.4 libclick-0.4-0 0 BUT It's clear that all of these packages are either on hold somewhere, or are in some kind of ...
0
votes
0answers
18 views

sources.list.d files are automatically configured: how can I change them persistently? [duplicate]

Google recently discontinued support for 32-bit Chrome repositories on Linux. That's fine; I don't care: I'm on 64-bit. No problem. Unfortunately, it causes apt update to fail because it fails to ...
2
votes
2answers
9k views

Force download & reinstall of all deb packages

I have a Kali Linux installed recently, but due to its inflexible mirror selection, all deb packages are downloaded from a mirror that I don't trust. Is it possible to tell apt / dselect to ...
3
votes
2answers
117 views

installing virtualbox apt-get wants to download gcc-4.8 --> replacing gcc-4.9?

I'm trying to install virtuabox on Debian 8.3 using the contrib repos. When I use apt-get install virtualbox it wants to install gcc-4.8, but I already have gcc version 4.9.2 installed. What am I ...
0
votes
0answers
27 views

Can't permanently modify google-chrome.list [duplicate]

I have been modifying the file /etc/apt/sources.list.d/google-chrome.list to correct this error. And it which works well the first time. The problem is that the next time I turn on the computer the ...
0
votes
0answers
41 views

Cannot find installed application - failed to fetch deb (404 not found)

I tried installing glade on Kali using sudo apt-get install glade command, but I get this error: Failed to fetch http://http.kali.org/kali/pool/main/m/mesa/libegl1-mesa-dev_11.1.1-2_i386.deb 404 ...
0
votes
2answers
563 views

Can't find source package with apt-get source on Debian Squeeze

I have an old server running Debian Squeeze. I'm trying to download the source of some package so that I can patch it manually. However, apt-get source fails for every package I try. An example: ...
1
vote
1answer
1k views

apt-get update fails on debian squeeze with “File not found”

I'm trying to update my old server running Debian Squeeze. apt-get update fails. The output is here: Ign file: debs/ Release.gpg Ign file:/root/ debs/ Translation-en ...