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
497 views

Linux Mint: Can't install chrome, after uninstalling it

I just uninstalled Chrome via the software manager due to an annoying bug with the console in devtools - thinking that an uninstall and reinstall was worth a try to fix it. Trying to install it ...
3
votes
2answers
126 views

Install mdadm without postfix in ubuntu trusty

I want to build a RAID system on top of Ubuntu Trusty. When I do apt-get install mdadm A screen pop up asking me to configure postfix. Because I will run this installation in automation script. Is ...
1
vote
1answer
37 views

Aptitude deleted a buttload of modules when I tried to install Imagemagick, how do I undo this?

Yesterday I tried to install Imagemagick, I used apt-get at first, which returned an error. I was already trying to install ImageMagick for hours, so I got impatient. A post on stackoverflow said that ...
0
votes
1answer
44 views

How do I obtain the dependency fcitx-dbus?

When I run fcitx, I get the following errors. $ (INFO-3262 /build/buildd/fcitx-4.2.8.3/src/lib/fcitx/addon.c:151) Load Addon Config File:fcitx-dbus.conf (INFO-3262 /build/buildd/fcitx-4.2.8.3/src/lib/...
1
vote
1answer
103 views

apt-get wait for lock release

If you are running apt-get commands on terminal and want to install stuff on the software center, the center says it waits until apt-get finishes. I wanted to know if it is possible to do the same but ...
1
vote
2answers
59 views

How to reinstall configuration file [duplicate]

How do you revert or reinstall a configuration file in Debian/Ubuntu? I accidentally overwrote the file /etc/bluetooth/main.conf. Running dpkg -S /etc/bluetooth/main.conf shows that the package bluez ...
1
vote
1answer
183 views

Unresolved dependencies when installing AceStream

I'm using ''Debian GNU/Linux stretch/sid'', though my knowledge of the system is not yet broad enough to my liking. I'm trying to install AceStream, following these steps. But when I added this line ...
5
votes
1answer
4k views

how to install newest clang 3.8 by apt

here I have found instruction how to install clang3.8: http://llvm.org/apt/ so I executed: wget -O - http://llvm.org/apt/llvm-snapshot.gpg.key|sudo apt-key add - result: --2015-09-19 12:53:...
9
votes
2answers
941 views

Force apt-get to prompt yes/no

Is there a way to force apt-get to display yes/no prompt? A --force-yes option exists, but there seems to be no --force-prompt or similar option. If you attempt to install a package that has all ...
3
votes
4answers
88 views

How to upgrade Kali Linux

I've installed Kali Linux (normally I use ArchLinux, but I need Kali for work) and every time I want to upgrade, a few packages can't upgrade and are kept back. To force them to update I have to ...
4
votes
3answers
555 views

How to find out if a specific package is installed on Debian?

I'm working with a Raspberry Pi B+ and Raspbian 5/5/2015 and some guides that are a few years old. I've got an external NTFS HDD hooked up to the Pi. Due to the articles age(s), common practices ...
2
votes
2answers
460 views

How to disable warning message for Apt repositories using SHA1? [duplicate]

A recent update of apt (in Debian unstable) generates an warning message for repositories SHA1 signed. I get the idea you should privilege SHA2 signed repositories but I use some softwares which does ...
23
votes
7answers
8k views

Which installed software packages use the most disk space on Debian?

Disk space on my root partition is running low, so I want to delete some applications from the system. How can I see which software packages use the most disk space? Is it possible to view that from ...
2
votes
2answers
51 views

Why apt madison?

A short while ago I asked this question - Does "apt-get -s upgrade" or some other apt command have an option to list the repositories the packages will be downloaded from?, about how to list ...
0
votes
1answer
473 views

Upgrading mysql caused broken packages

I have Debian Jessie, and MySQL 5.6 from the MySQL Debian repository. This installation installes an apt sources.list.d entry that after sudo apt-get install mysql-community-server, it asks whether I ...
0
votes
0answers
21 views

Batch apt-get install from text file - help with grepping it [duplicate]

I've got a file called packages with a list of my installed packages, it looks like this: accountsservice install and so on. I know I can grep for them, but I'm not sure how to finish ...
2
votes
3answers
822 views

Can't find ubuntu-desktop package on ubuntu desktop iso

Trying to add a desktop environment to Ubuntu Server 13.10. The machine is offline and needs to stay that way for a while. I burned the Ubuntu Destop ISO (ubuntu-13.10-desktop-amd64.iso, nabbed here) ...
0
votes
2answers
131 views

Kali Linux 2.0: Can't install build-essential(s)

I recently installed Kali 2.0 minimal on a Virtual Machine. More specifically, 26 GiB Virtual HD, Macbook Air as the host of the VirtualBox. Immediately after installing, I went to install GCC, and ...
2
votes
2answers
49 views

How to install dategrep on Ubuntu?

I want to grep lines with date and time stamp. I came across this command called dategrep on internet. I am trying to install this on my 64 bit Ubuntu system. I downloaded a Debian package from ...
3
votes
1answer
50 views

How does APT choose which packages to install?

On my Debian Testing box, I have the following in /etc/apt/sources.list: deb http://ftp.us.debian.org/debian/ testing main contrib non-free deb-src http://ftp.us.debian.org/debian/ testing main ...
1
vote
1answer
34 views

CRON problem - an apt-get dist-upgrade job

This question is related to Debian 8.4. I applied the same updating mechanism to several desktop stations and one unused server. This problem appeared on the server but I suspect it will happen on ...
4
votes
2answers
1k views

Machine readable number of updates? Alternative to /usr/lib/update-notifier/apt-check?

/usr/lib/update-notifier/apt-check (from update-notifier-common package) was a fine tool. But it's going to be removed from Debian. /usr/lib/update-notifier/apt-check --human-readable 28 packages can ...
1
vote
4answers
660 views

Apt Unmet dependecies: libefl-bin

I am encountering an error when I run apt-get upgrade. It appears I have a package installed that has unmet dependencies. uname -a output: Linux kbu 3.19.0-56-generic #62~14.04.1-Ubuntu SMP Fri Mar ...
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
10k 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
81 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
63 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 ...
1
vote
1answer
156 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 otherwise-...
1
vote
2answers
50 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
426 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
38 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
19 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
12 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
45k 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 php5-...
2
votes
2answers
36 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
71 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 are:...
1
vote
1answer
38 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
47 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
2k 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
3k 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
27 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
24 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
14k 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
238 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 http://ftp.us.debian.org/debian/dists/jessie/...
3
votes
3answers
55 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: *...
1
vote
2answers
72 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
50 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 ...