The Advanced Packaging Tool (APT) is a package management system for Debian, and a set of tools for manipulating that system.

learn more… | top users | synonyms

0
votes
0answers
9 views

Why is this regex over /var/lib/dpkg/status showing non-installed packages

I have a script which is intended to list the largest installed packages on Ubuntu. I can't remember where I got it from and I don't understand it. sed -ne '/^Package: \(.*\)/{s//\1/;h;};/^Installed-...
1
vote
1answer
24 views

Apt install vs apt-get install. Does they do the same task?

If I want to install git (only a example) on ubuntu Xenial, I just do apt-get install git. But another option could be apt install git . After read this post I understand the differences between apt ...
1
vote
1answer
23 views

How to install Ruby 2.1 from package on Debian Jessie?

I'm trying to install Ruby 2.1 on Debian Jessie. As far as I know, 2.1 is the default version available to Debian Jessie. I ran sudo apt-get install ruby-dev and it seemed to install everything ...
1
vote
1answer
32 views

Why would a Linux computer with no Nvidia hardware get indigestion over an Nvidia kernel?

I'm running Debian Wheezy on a computer with ATI / AMD graphics and no Nvidia hardware. A week ago, with no obvious cause, apt decided that it needs to configure Nvidia graphics any time it runs, ...
1
vote
1answer
20 views

missing file in installed deb package (customized dockerized debian)

I need to achieve ldap + kerberos integration. The docker image I'm using for the ldap side is: https://github.com/osixia/docker-openldap Currently I'm following: https://help.ubuntu.com/lts/...
0
votes
1answer
58 views

How do I download a Debian ARM package from another computer

I am trying to use apt-get to install some packages on an offline system. I have a small ARM embedded system running Debian. It is not connected to the internet. I would like to download some Debian ...
1
vote
1answer
50 views

Lots of unwanted packets installed in ubuntu 12.04 with apt-get due to typing mistake. How to revert?

In my virtual ubuntu 12.04, I was installing ruby2.3 but by mistake, I have put space in between ruby and 2.3. sudo apt-get install ruby 2.3 It has installed more than 9 GB packages including ...
2
votes
2answers
108 views

Cannot install SSH server on Debian Jessie

I made a fresh install of Debian today and now I am trying to install the SSH server so i can connect to the machine remotely. When I do apt-get install ssh it shows me that packages cannot be ...
2
votes
1answer
39 views

Mark package as installed?

I've manually compiled openssl and ofcourse it works. Apt does not see the package as being installed. After that i've been trying to download stuff using wget. Everytime when i tried downloading ...
0
votes
1answer
22 views

List all packages from a repository

I have been looking how to list all packages from a repository and I couldn't find it. For example, I add a repository (sudo add-apt-repository ppa:noobslab/icons) and I want to list all its packages ...
0
votes
0answers
10 views

Is there any way to get information when a certain package version appeared in repo?

I'd like to get a list of available versions of all packages with dates specifying when given version of given package appeared in Debian repository. Just a form of recent repo history. Is it feasible ...
0
votes
1answer
26 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 ...
0
votes
1answer
14 views

Debian apt: is there a single command to install and mark as auto?

Sometimes it is useful to install an optional dependency in the following way: apt-get install foo apt-mark auto foo Is there a single apt command to do it in one shot?
0
votes
1answer
30 views

Why isn't the latest version installed from the PPA as advertised?

I have the ethereum PPAs enabled http://ppa.launchpad.net/ethereum/ethereum/ubuntu http://ppa.launchpad.net/ethereum/ethereum-dev/ubuntu http://ppa.launchpad.net/ethereum/ethereum-qt/ubuntu I have ...
9
votes
1answer
309 views

Since when apt install can be used over apt-get install?

I've find recently that we can use the more recent apt install, remove... over the ancestral apt-get install. I didn't know that before. Because I have some scripts that install packages accross wide ...
0
votes
0answers
23 views

Debian reinstall libjpeg62 without remove many packages

my package libjpeg62 is currently not working and if I want to reinstall, apt want to remove 539 packages : clement@pc2:~$ sudo apt install libjpeg62 --reinstall Lecture des listes de paquets... Fait ...
0
votes
1answer
35 views

Can 'apt search' display results as one-liners like 'apt-cache search' does?

I just recently discovered the shorthand versions of apt commands: apt install instead of apt-get install, apt update / apt-get update, apt search / apt-cache search. Is there a config setting to make ...
0
votes
0answers
17 views

Download apt get to a repo

is there a possibility to download all the packages i need to a specific repo which i could bring it to another offline linux system. I would need to download apt get packages in Linux mint and ...
0
votes
0answers
39 views

How to specify the latest major+minor version of apt package in Ansbile

I want an Ansible task that ensures the latest version of an apt package is present, while respecting the specified major and minor version. Specifically, I want the latest version of libpq-dev 9.4. ...
1
vote
1answer
133 views

dpkg-reconfigure on CentOS (for openssh_server)

Systems that use the apt packaging system have access to a command called dpkg-reconfigure which, depending on the package, re-runs some setup commands. At least on Ubuntu, it's possible to ...
0
votes
0answers
12 views

Transfer APT package choices from one computer to another

What are the export and import commands for the APT system? The dpkg tool has --get-selections and --set-selections, which are mnemonically-helpful UI for “export” and “import” of the dpkg database. ...
0
votes
1answer
564 views

Installing Skype on Debian stretch/sid 64 bit without breaking the system

I'm not able to install skype-debian_4.3.0.37-1_i386.deb on Debian stretch/sid amd64. I followed the guide in the Skype website for Debian 7+ at 64 bit, that states to: dpkg --add-architecture i386 ...
1
vote
1answer
33 views

How to list all removed but configured packages in Debian?

How to list all packages which remained configured on the system after apt-get remove a.k.a in the rc state? What is the easiest and reliable way to check, if the system has a package in an different ...
2
votes
5answers
5k views

Linux Mint “PPA does not support trusty”

ta to the repostitories list in Linux Mint 17.3 but cannot seem to get it to add! I get the error: 'This PPA does not support trusty' Cannot add PPA: ''This PPA does not support trusty' I have ...
0
votes
1answer
74 views

Apt not using proxy settings set in environment

I have the following system wide settings in my /etc/profile MY_PROXY_URL=http://192.168.128.251:3128 HTTP_PROXY=$MY_PROXY_URL HTTPS_PROXY=$MY_PROXY_URL FTP_PROXY=$MY_PROXY_URL http_proxy=$...
0
votes
2answers
991 views

Windows 10 Disk Usage at 100% but no corresponding process shows in task manager

Over the past month (possibly more), I have noticed that my laptop (running Windows 10) frequently becomes almost unusably slow, especially after many days of not having turned it on. I notice that ...
1
vote
1answer
88 views

How do I install a package from a different source, and let it update all dependencies as well?

I'm trying to install nvidia-driver from Debian experimental: $ sudo apt-get install nvidia-driver=352.63-1 But I'm getting a dependency error: Reading package lists... Done Building dependency ...
0
votes
0answers
11 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 have packages that were custom built. Currently, no source packages are provided for download for the repository users. ...
1
vote
2answers
2k views

“apt-get update” Fails? (Kali Linux with Virtual Box)

I just recently installed Kali Linux 2.0 (64-Bit) on Virtual Box with a Windows 7 (64-Bit) host. I have problem with apt-get, and the simple question here is, how can I fix it? Unfortunately running:"...
1
vote
0answers
632 views

How to upgrade kernel in Ubuntu 14.04?

I want to use Docker on my Linux server for which I need to upgrade the kernel to 3.10 or higher. So following this answer I was trying sudo apt-get install linux-generic-lts-trusty, which results in: ...
4
votes
1answer
2k views

AWS Ubuntu 14.04 upgrade Python to 2.7.10, how to deal with apt-get python-dev

Ubuntu 14.04 from AWS ships with python 2.7.6. Before doing anything else to the image, I do an upgrade to 2.7.10 by issuing sudo apt-get -y install build-essential checkinstall libreadline-gplv2-...
0
votes
1answer
498 views

APT repository for old debian squeeze ARM

I have ARM based board with debian squeeze with kernel 3.3.3. I have been using it with deb http://www.emdebian.org/grip squeeze main dev It stopped working couple months ago, so I switched to ...
0
votes
0answers
40 views

How to remove an incorrect package version from Ubuntu

An X86 XUbuntu system I work with has Java 8 installed via webupd8, and also a failed version for ARM. I want to remove the partially installed ARM version of Java. $ sudo apt-cache showpkg oracle-...
0
votes
0answers
9 views

Using an alternate sources.list file along with apt-mirror

I have my sources.list file pointing to my APT-mirror to fetch packages. Is there a way I could instruct apt-get to use the original sources.list file which points to ubuntu servers if it fails to ...
0
votes
0answers
44 views

Is it safe to remove unstable from sources.list after the system has been dist-upgrade'd?

I added unstable to my apt sources to perform some testing (QEMU and chroot environments). I also perform apt-get dist-upgrade regularly. I'm now finished with the testing. Is it safe to remove ...
0
votes
0answers
19 views

Default yes to apt-get/aptitude install unless uninstall

There's a lot of answers how to remove the need to type Y when using apt-get install (hint: use -y or --yes) and this works great until you run into dependency issues and the suggested action is to ...
-1
votes
1answer
65 views

how can i clear the previous dependency check in debian terminal

i was trying to install few tools under my debian-linux but whenever i tried to install new one with dependency it remembers the old one Background : Yesterday i tried to install master pdf editor ...
2
votes
1answer
962 views

wget throws a 'missing url' when trying to install a repository signature key

I am installing INetSim on Ubuntu and when running this command to install the signature key for the program: sudo wget -O - http://www.inetsim.org/inetsim.org-archive-signing-key.asc | apt-key add - ...
0
votes
2answers
95 views

Add Ubuntu official repository keys to Debian

I'd like to compile Ubuntu source packages on Debian. I've added a relevant deb-src line to /etc/apt/sources.list: liori:~% grep ubuntu /etc/apt/sources.list deb-src http://archive.ubuntu.com/ubuntu ...
0
votes
1answer
603 views

apt-cyg can't connect to download mirror

Each time apt-cyg tries to connect to its server, it just can't get response and gets stuck with connecting to it. Since I'm there via SSH, how do I change the download mirror without using graphical ...
1
vote
1answer
111 views

Package not getting installed by apt-get

I am running sudo apt-get install libgtkmm-2.4. I would expect this command to install the library, as there is no such library to be found when running pkg-config --list-all | grep gtkmm. However, ...
1
vote
0answers
116 views

Unresolvable broken dependencies, none of 'apt-get' commands works

Before I explain the problem, I should say that I have tried all other answers to similar questions and troubleshootings around the Internet, and none of them works. To be more specific all apt-get ...
0
votes
1answer
586 views

ubuntu 14.04 cannot “apt-get update or install” ok

I am running ubuntu 14.04. Recently I am not able to update the apt source. When I typed "sudo apt-get update", the process is very very slow, in hours that not proceed. And the result is all "Ign" or ...
0
votes
1answer
14 views

Using a apt repository to install packages but not auto-update them

I had some problems with Linux, probably caused by a bug in the kernel or some drivers. Old distriutions such as Ubuntu 12.10 work, and that's what I use. However this release is old and isn't ...
0
votes
0answers
32 views

How to reinstall <alt>-<tab> after loss of it in Debian Wheezy linux?

After installing of a package (octave) with synaptic on Debian Wheezy I can not switch the tasks behind one window --- how can I change it to the original? Moreover together with that install synaptic ...
2
votes
1answer
271 views

Installing libsdl2-dev on Kali 3.18.0 amd64

I'm trying to wrap my head around how to install the libsdl2-dev package on Kali 3.18.0 amd64. I can see that the package is available in the standard Kali repository here: http://http.kali.org/kali/...
2
votes
2answers
256 views

Script answer to apt-get request “To continue type in the phrase 'Yes, do as I say!'” in bash

My script is replacing sysvinit with systemd inside a chroot while building a debian image with debootstrap. Since this is a "dangerous" action, apt-get will ask a silly question: "To continue type ...
2
votes
1answer
2k views

There is no public key available for the following key IDs: 7638D0442B90D010

I try to add the debian sid source on ubuntu 12.04 LTS. I have already installed debian-keyring debian-archive-keyring. $ apt-cache search keyring | grep debian debian-archive-keyring - GnuPG archive ...
0
votes
0answers
49 views

Replace an installed program with a newer version

I have GCC 4.6 on my Raspbian installation, but I'd like to use GCC 4.9. I can of course do sudo apt-get install gcc-4.9 but then I have to use gcc-4.9 in order to use the newer version of GCC. I can ...
0
votes
3answers
191 views

Update current stable Debian Wheezy system to Debian Jessie?

Debian Jessie just came out as stable. Is a apt-get dist-upgrade enough? Or do I need to do something more, or even use a script like Ubuntu uses?