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
593 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 ...
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 ...
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
73 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 ...
0
votes
2answers
20 views

Ubuntu: Installing programs into specific locations

I have software which is built using a makefile. This makefile also contains (relative) paths to different programs (such as gsoap, postgresql and others) which provide stuff that I need to include. ...
0
votes
1answer
272 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
91 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
34 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
33 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 ...
1
vote
1answer
85 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
51 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
105 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
3k 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 ...
8
votes
2answers
852 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
70 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
511 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
384 views

How to disable warning message for Apt repositories using SHA1?

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 ...
22
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
35 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
335 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
807 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
81 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
43 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
47 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
29 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
613 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
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
69 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
40 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
120 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
47 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
388 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
31 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
17 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
44k 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
61 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
45 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
34 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
38 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 ...