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

learn more… | top users | synonyms (1)

2
votes
1answer
64 views

No dpkg or apt, no make or gcc. Need to install them all [closed]

I have a minimal Debian Linux based machine (i686) and need to get some .deb installed. This does not even have make or gcc installed. So I am unable to compile anything on this. So to get it ...
2
votes
1answer
35 views

Why version 5.* does not satisfy dependency on >= 4.*?

As shown below, package powertop depends on libstdc++6 (>= 4.4.0) and I have libstdc++6 version 5.2.1-23, which should satisfy that dependency. Note the option -t testing does not influence whether ...
3
votes
2answers
2k views

/etc/apt/sources.list won't accept URLs with https connection

In Debian Wheezy, my /etc/apt/sources.list file looks like this: deb https://mirrors.kernel.org/debian/ wheezy main contrib non-free deb-src https://mirrors.kernel.org/debian/ wheezy main contrib ...
1
vote
1answer
100 views

mysql-server-5.5 unmet dependencies each time running apt-get

Each time I run "sudo apt-get install package-name", the following error happened, even if I tried to install other packages other than mysql ones: You might want to run 'apt-get -f install' to ...
4
votes
1answer
1k views

What is the difference between the “jessie” and “jessie-updates” distributions in /etc/apt/sources.list?

The debian wiki page for the apt sources list gives this example file: deb http://httpredir.debian.org/debian jessie main deb-src http://httpredir.debian.org/debian jessie main deb ...
1
vote
1answer
57 views

How to resolve message '… system lacks support for snapshot feature'?

When I do "sudo apt-get update && sudo apt-get upgrade", I usually get this message in my terminal: Sorry, your system lacks support for the snapshot feature. How do I stop this message ...
0
votes
0answers
9 views

How to enable source package download for a section of private ubuntu repository

We have created a internal ubuntu repository. It has a few custom sections which has packages that were custom built. Currently, no source packages are provided for download for the repository users. ...
1
vote
1answer
34 views

apt-offline apt-get upgrade still trying to connect to online server for upgrade even though packages have been synced already

I have a server which can't go online because of some policy. So I have to update it using apt-offline. So far it has worked for me nicely on other servers, but this one doesn't really. I created ...
0
votes
1answer
25 views

Error updating, packages held

I'm trying to install nodejs package on my debian (or any other package). And I get this error. pablo@debian:~/Documents/clients/stock$ sudo apt-get install nodejs Reading package lists... Done ...
0
votes
1answer
210 views

sudo apt-get update is not working in 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
3answers
70 views

How to search for available software in repositories though CLI?

I want to be able to search all available software like one would using "Synaptic Package manager" or "Ubuntu Software Center" through Command Line.` I want a better way than pressing Tab after ...
4
votes
2answers
251 views

How to list all aptitude user tags or the user tags for a package?

I'm in a bit of a pickle. Following my own counsel I started using user-tags when working on projects, but now I don't remember how I called some of these tags and this cancels their usefulness. Is ...
1
vote
0answers
18 views

Encrypt output of apt-listchanges prior to sending email

Consider the following scenario: apt-get update && apt-get upgrade I am prompted by apt-get wether to accept and install the pending updates. First, since I have apt-listchanges installed, ...
1
vote
1answer
68 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 ...
6
votes
2answers
2k 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 ...
1
vote
0answers
66 views

Java Process hangs with .exec and ssh

EDIT: I believe the issue is that the ssh connection is creating background connections that are still open (cf. http://superuser.com/a/617670). I would run ssh with the -f flag, but I need to be sure ...
1
vote
1answer
47 views

How is the “apt” command different from “apt-get” and “aptitude”?

I just found out that there is a third command for installing packages available on my Debian GNU/linux distribution. I found that I can install packages by simply entering: apt install sl ...
10
votes
2answers
110k views

Installing git “sudo: apt-get: command not found”

I am trying to install git. I run the following command: sudo apt-get install git-core git-gui git-doc But receive the following error: sudo: apt-get: command not found What should I do?
0
votes
1answer
1k views

Add repositories in Kali Linux 2.0 [closed]

How do I add repositories in Kali Linux 2.0, and what, if any are the repercussions of doing so?
4
votes
4answers
2k views

What are pros/cons of dselect and apt-get?

I hardly ever hear anyone mention dselect, a deprecated package management front-end for Debian. Considering that it still exists as part of dpkg source, it must still have its uses. What are those? ...
2
votes
2answers
39 views

send message to log file after package installed

How can i send a message to a log file (not the apt log) after the installation of a package. I simple want to log which package (package name) was installed. ie. "links installed successfully"
1
vote
0answers
26 views

I've deleted my /var/lib/dpkg/status and status old files

I run Deepin, I've been trying to install the necessary compenents to run a LAMP server on my machine for web development. As the title says I've somehow deleted my status files. I'm not sure how, I'm ...
0
votes
1answer
42 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 ...
1
vote
1answer
40 views

No clisp in Debian's repository?

I want to install clisp. My /etc/apt/sources.list: deb http://security.debian.org/ testing/updates main contrib deb-src http://security.debian.org/ testing/updates main contrib deb ...
1
vote
0answers
101 views

Broken KDE Plasma desktop after adding sid repository under Debian

I have Debian 8.2 installed on a VirtualBox VM and I added the unstable (sid) repository to /etc/apt/sources.list without removing any other repositories and afterwards I ran apt-get update && ...
216
votes
4answers
240k 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?
2
votes
1answer
578 views

Installing packages by importing the list with dpkg --set-selections

I've tested this using two virtual machines running Lubutu. On the first I Installed a couple of programmes (VIM and cowsay) then ran : sudo apt-get update sudo apt-get upgrade sudo dpkg ...
0
votes
0answers
34 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 ...
2
votes
1answer
53 views

How can I install git-svn given this weird apt-cache status?

How can I install git-svn given this apt-get error and seemingly-weird apt-cache status: $ sudo apt-get install git-svn Reading package lists... Done Building dependency tree Reading state ...
0
votes
1answer
70 views

What is the proper syntax for pinning a debian package to a repository and a version?

I am trying to install a previous version of subversion from snapshot.debian.org, as described in How to install the previous version of a .deb package and pin it?. I have setup the repository and the ...
1
vote
2answers
60 views

reset system file permissions, owners and groups

Mac has a utility that checks permissions of files installed on your system to make sure they have the correct permissions as per an installation. Is there something like that with LinuxMint. I am not ...
0
votes
0answers
238 views

Trouble installing Unity8-LXC on Mint

(I originally posed this on askubuntu but was told it should be here instead.) I want to install unity8-lxc on Linux Mint so I can check out Unity8 without installing it. Mint 17.3 (Rafaela) of ...
6
votes
1answer
1k views

Download package via apt for another architecture

I am currently in a architecture amd64, so when I try apt-get download vlc, it downloaded the appropriate architecture for my system, but how can I download the i386 version via apt? It's for ...
0
votes
0answers
40 views

Problem installing lyx - held broken pacagkes error

I am trying to install lyx on Linux Mint 17.2 sudo apt-get install lyx gave the following output: The following packages have unmet dependencies: lyx : Depends: lyx-common (= 2.0.8.1-0ubuntu1) ...
4
votes
3answers
860 views

How to select packages start with “mate-” but not end with “-dev”?

I want to install all MATE packages, $ sudo apt-get install '^mate' However, it selects too many packages, and some packages are conflicted with some installed ones. Now, I want to exclude them. ...
0
votes
0answers
9 views

Prompts to upgrade 361 and install 363 new packages when trying to get perl-doc

I have a new kali distribution installed 3.18.0-kali1-686-pae #1 SMP Debian 3.18.3-1~kali4 i686 GNU/Linux and the only thing I want it's to instatall perl-doc package. apt-get install ...
1
vote
1answer
59 views

Why does Linux (Mint 17.2,Ubuntu 14.04 based. KDE) automatically remove certain packages while installing others?

For example Atom text editor. When I run: sudo apt-get install imagemagick # http://www.imagemagick.org/script/index.php gives: you might want to run 'apt-get -f install' to correct these: The ...
24
votes
5answers
10k views

What does “The following packages have been kept back” mean?

When doing an apt-get upgrade I sometimes get a message saying "The following packages have been kept back". For example: $ sudo apt-get upgrade ...
1
vote
1answer
19 views

Logging into my desktop from SSH says I have no updates, but I do

When I SSH into my Ubuntu Desktop, I get some output saying: 0 packages can be updated. 0 updates are security updates. However, running sudo apt-get upgrade tells me that a package ...
1
vote
0answers
53 views

Errors in Linux Mint update manager

Linux Mint's (I'm using Linux Mint Mate edition, 17.2 32 bit) update manager gives me: I tried this from the terminal: sudo rm -r /var/lib/apt/lists sudo mkdir -p /var/lib/apt/lists/partial sudo ...
0
votes
1answer
420 views

Debian jessie GPG error Clearsigned file isn't valid

This is what I get when running apt-get update: /root$ sudo apt-get update Get:1 http://security.debian.org jessie/updates InRelease [1,507 B] Get:2 http://cdn.debian.net jessie InRelease [1,507 B] ...
0
votes
1answer
27 views

Keeps trying to update from the already deleted repository

I'm using a Kali Linux distribution, here is a uname -a output: Linux kali 3.18.0-kali3-686-pae #1 SMP Debian 3.18.6-1~kali2 (2015-03-02) i686 GNU/Linux Each time when I'm trying to update the ...
2
votes
1answer
16 views

How to tell from which source the update is coming from (apt-get)

As usual, every time I update I'm getting a list with which programs received an update. I also have a few PPA sources that are active. I would like to know which update came from which source. I'm ...
1
vote
0answers
132 views

Kali Linux disable automatic package updates

I'm using Kali Linux, latest edition and in the last two weeks it has auto-updated packages. I wasn't aware of this until I saw a notification bubble and when I checked out the GNOME PackageKit ...
4
votes
6answers
899 views

Why do I constantly have to update my apt cache?

When I want to install a new package, I'm usually greeted with a response like: oliver@cloud:~$ sudo apt-get install unison Reading package lists... Done Building dependency tree Reading state ...
3
votes
2answers
327 views

Apt-get hangs on “Setting up mysql-server-5.5 (5.5.44-0+deb8u1)”

I'm on Debian 8 (stable) (Linux zenbook 3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt11-1 (2015-05-24) x86_64 GNU/Linux) and tried to apt-get update && apt-get upgrade yesterday. There was an ...
2
votes
1answer
1k views

Depends: gcc but it is not installable

I think I mistakenly deleted a gcc package from the system (Ubuntu 14.04). and now can't install anything on my system. Below is a sample output when I try apt-get -f install. Please Help! ...
1
vote
1answer
111 views

How can I build fdupes from source on Ubuntu?

I would like to make a few changes to the fdupes code. I know I can grab the source code from the website - but is there a better way on Ubuntu / Debian? After getting the source this way where is ...
0
votes
1answer
74 views

vncserver-x11 binary not found!

In which package I can find vncserver-x11 binary? I installed x11vnc and I found only x11vnc binary.I don't have any package named vncserver-x11 in repository. $uname -a Linux 3.2.0-67-generic ...
1
vote
2answers
426 views

reinstall removed core packages

I have accidentally deleted some Linux Mint Cinnamon default packages. (I have run `remove evolution-*' to remove Evolution related packages, but it includes some core packages). So now I don't have ...