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

is there a way to use regexp with aptitude?

I use an alias to find new packages whenever I update the package index. [$] alias aptn aptn='aptitude search '\''~N'\' Now while this works, I also get a bunch of -dbgsym packages which come ...
4
votes
6answers
15k 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 ...
3
votes
4answers
6k views

Cannot install mysql-server-5.5/the following packages have unmet dependencies

I'm using Ubuntu 14.04. I tried entering mysql with the following command: mysql -u root -p and I got the following message: The program mysql can be found on the following packages: mysql-...
3
votes
4answers
5k views

Keep losing resolv.conf configurations

Every time I reboot raspi, the resolv.conf file is cleaned. i normally added to this file the openDNS IPs as shown below: # OpenDNS IPv4 nameservers nameserver 208.67.222.222 nameserver 208.67.220....
2
votes
1answer
73 views

List packages available for upgrade with APT?

After I run apt-get update, I would like to get a list of all packages that can be upgraded. With opkg I usually to this:: opkg list_upgradable How can I do this with APT?
0
votes
2answers
39 views

apt-get version of tmux is old

I used apt-get to install tmux and after doing so tmux -V returned 1.6, which is an older version. According to the tmux web site, the current version is 2.2. This is a problem because I would like to ...
-1
votes
1answer
15 views

I keep getting this error when trying to install apache2 in my deepin linux

sudo apt-get install apache2 apache2-doc apache2-utils and I keep getting this error: Reading package lists... Done Building dependency tree Reading state information... Done The following ...
0
votes
1answer
474 views

Ubuntu warning. W: Duplicate sources.list entry

After installing Oracle VirtualBox, when I do sudo apt-get update, I get the following warning W: Duplicate sources.list entry http://download.virtualbox.org/virtualbox/debian/ raring/contrib i386 ...
0
votes
1answer
1k views

Install older versions of google-chrome-stable, on ubuntu 14.10

I am able to do, sudo apt-get install google-chrome-stable This installs, chrome version 45 which does not support NPAPI plug-ins that is needed to run java inside browser. I am trying to move one ...
0
votes
1answer
20 views

apt - Command line option 'i' [from -info] is not understood in combination with the other options

I was making a shell script with that installs packages from a list. The code looks like this: apps="$(cat ./foo/bar/packages.txt)" apt install $apps But, I get the error E: Command line option ...
1
vote
2answers
385 views

How to run unattended-upgrades not daily but every few hours

By default unattended-upgrades runs with cron.daily, that is at most on a daily basis. This can be a lot of time for attackers. I'd like to run it every 4 hours, how can I do this?
0
votes
0answers
20 views

Installing kodi gives me the following error

Reading package lists... Done Building dependency tree Reading state information... Done Some packages could not be installed. This may mean that you have requested an impossible situation or ...
0
votes
0answers
17 views

Apt-get update/update manager downloading slow [on hold]

I am running Linux Mint 18 and my sudo apt-get update/update manager speeds were fine until today. Now they can't even get past 60 kiBs, I have tried changing servers but it was in vain, as all of the ...
1
vote
1answer
28 views

What do I need to have inside of my sources.list file?

I can't download a thing. When I run sudo apt-get for any program I get the error Package [insert name here] has no installation candidate. I've looked online and there are hundreds of ...
123
votes
9answers
69k views

Convince apt-get *not* to use IPv6 method

The ISP I work at is setting up an internal IPv6 network in preparation for eventually connecting to the IPv6 internet. As a result, several of the servers in this network now try to connect to ...
7
votes
2answers
684 views

Debian Jessie is installing too many backports

I have Debian Jessie and have added backports (according to these instructions): echo "deb http://http.debian.net/debian jessie-backports main contrib non-free" | sudo tee /etc/apt/sources.list.d/...
5
votes
3answers
1k views

if I upgrade from Debian Wheezy (7.x) to Jessie (8.x), will systemd run by default?

I am wary of systemd for various reasons which are irrelevant to this question. Now, I'm about to upgrade my Debian Wheezy to Debian Jessie. Will systemd be used by default after an apt-get dist-...
1
vote
0answers
16 views

How to reflect changes made to original LXC container on overlayFS snapshots?

In order to make updates easier and limit there size, I created a base LXC container, let's say c1, where i installed and configure a few default packages (using apt) which are common to all my ...
3
votes
2answers
28 views

What does the apt-get message “held broken packages” mean?

I recently ran a command to install a package on Ubuntu 16.04 with apt-get % sudo apt-get install <package> apt-get was unable to install, it printed some status messages, with the last line ...
1
vote
1answer
60 views

E: Package '<any package>' has no installation candidate

I am unable to apt-get install any packages because E: Package '<package name>' has no installation candidate. Unlike the other similarly named questions, I am using debian and I have not been ...
3
votes
1answer
40 views

How can I completely reinstall Perl on Debian without having functional Perl?

Long story short: I made a pretty ridiculous stupid error when trying to configure CPAN that resulted in me having two half-versions of Perl, both of which are missing important packages. In ...
0
votes
2answers
3k views

how to fix “E:Unable to locate package firefox-mozilla-build”

I'm new member of this forum and a very very beginner Kali Linux user so... I wanted to install fire fox and after the typing these commands in terminal apt-get remove iceweasel echo -e "\ndeb http://...
0
votes
0answers
18 views

Make deepmind project work in arch [closed]

This code sets up some machine-learning program for debian. Can I get the same result for an arch distribution? #!/usr/bin/env bash ###################################################################...
0
votes
0answers
24 views

Removed Nylas N1 Mail client from terminal. But its data exist

I recently uninstalled Nylas N1 an open source Mail client from my Ubuntu 14.04. I wanted to removed it completely (including data & Dependencies). So I ran following commands: sudo apt-get purge ...
1
vote
2answers
79 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 ...
2
votes
1answer
296 views

When removing a package via “apt-get remove”, why do you have to (sometimes) upgrade other packages in the process?

I could give a specific example, but I do think this is a common process and simply do not understand why it is done. Please comment if I should give a specific example when this is happening. Edit: ...
0
votes
1answer
50 views

apt-get remove removes unexpected packages

I'm confused as to why apt-get behaves like this? I'm trying to uninstall vlc for example. Here is what it says should be removed. nope@turtle:~> sudo apt-get remove vlc [sudo] password for nope: ...
1
vote
1answer
26 views

Restore part of a package that was accidentally deleted

In the process of trying to fix an issue, I accidentally deleted /sbin/sysctl when I was intending to delete /etc/sysctl.conf. When I run sysctl I get the error that says The program 'sysctl' is ...
0
votes
2answers
34 views

“Sudo apt-get install -f” will not fix dependencies

I'm trying to install some packages with apt-get but it seems to be stuck in some sort of dependency loop. I have read similar questions/answers but none of the solutions given work. This is the ...
1
vote
0answers
20 views

The packages to be newly installed are the same as the packages that should be autoremoved!

I am noticing a very peculiar thing just after shifting to Debian-based distros. root@Am-I-Helpful:~# uname -a Linux Am-I-Helpful 4.3.0-kali1-amd64 #1 SMP Debian 4.3.3-5kali4 (2016-01-13) x86_64 GNU/...
1
vote
1answer
110 views

Installing docker hangs at “setting up docker-engine” on ubuntu xenial

I'm trying to install docker on ubuntu xenial and am following this tutorial: https://docs.docker.com/engine/installation/linux/ubuntulinux/. So far it's gone without a hitch except for there ...
2
votes
0answers
16 views

Debian Jessie: When will packages with status “id” be deleted?

I removed some packages I no longer need with aptitude. I was surprised that none of their dependancies were also autoremoved (as I thought aptitude did that by default unlike apt-get), so I checked ...
0
votes
1answer
13 views

How can I install Nginx 1.8.0 on SMP Debian 7 (3.2.81-1)

Hope you can help I have spent all day trying to do this. I am using a cloudserver. I installed Debian 7 (minimal) from the hosting company's image. Logged in as root. I have added the following to ...
1
vote
1answer
88 views

Set apt-get options to tolerate harmless 'dpkg --force-conflicts' kludge?

A trivially conflicting package foo can be made to work with bar, by running dpkg --force-conflicts -i foo. But eventually it's time to upgrade, and 'apt-get' objects: % apt-get upgrade Reading ...
0
votes
1answer
15 views

Reopen apt-get upgrade file compare dialog

I was doing an apt-get upgrade thought kitty, after getting the new php5 package it showed a set of choices to deal with the differences in the php.ini I had and the one it was going to add. One of ...
1
vote
0answers
28 views

APT-Pinning Kernel

My plan is, that my kernel is updated from the testing-repository of Debian. So that if I do a dist-upgrade, the kernel will be automatically upgraded. My Problem is, that the dependencis aren't ...
2
votes
0answers
28 views

Why can't I install multiple both x86 and x86_64 versions of a library side by side?

Edited output: # apt-get install librados2:amd64 librados2:i386 The following packages have unmet dependencies: librados2:amd64 : Conflicts: librados2 but 0.80.7-2+deb8u1 is to be installed ...
1
vote
0answers
99 views

How do I install an older version of GNU make using apt on Ubuntu 16.04?

The installed version is 4.1 and need to downgrade to 3.81. I searched apt for make 3.81, but I couldn't find it.
3
votes
2answers
63 views

How to get prompted before restarting services after packages upgrades?

I have VPS instances from three different providers, and those from two providers will prompt for a restart of affected services when running apt-get upgrade. VPS instances from one provider do NOT ...
4
votes
1answer
2k views

Consequences of setting up POSIX locales

We are using several Ubuntu servers having English as working language; however having en_US locale set in machines we encounter problems with apt-cacher-ng downloading translation files. One solution ...
4
votes
2answers
247 views

Logging apt/dpkg activity to syslog

My goal is to log apt/dpkg activity using syslog (rsyslog), so that log entries are sent to central syslog server. dpkg writes to /var/log/dpkg.log, apt writes to /var/log/apt directory. I did some ...
1
vote
1answer
25 views

avoiding caching twice with apt-cacher

I have installed apt-cacher, but am worried that when I install a package on the machine that is running apt-cacher, that it will cache twice. Once with apt-cacher, and once with apt. How do I ...
1
vote
2answers
591 views

apt-cache policy gimp libgegl-0.2-0

I have tried to install Gimp on my Ubuntu 14.04, but I encountered an error: root@vitor-pc:~# LANG=C apt-get -f install Reading package lists... Done Building dependency tree Reading state ...
-1
votes
1answer
37 views

Problem with Installing Wi-Fi Driver on Debian

I am new to Linux and I have just downloaded Debian Live onto my USB. Currently, I am unable to connect to the internet in Debian. I am trying to install the driver for my Broadcom BCM4360 chip ...
18
votes
3answers
13k views

Pacman option to assume “yes” to every question?

When installing software in debian systems we can put something like this: sudo apt-get install -y chromium-browser that way the installation occurs automatically, whitout asking to confirm ...
0
votes
1answer
860 views

Download yad with bash script

i'm building a simple deb package (single binary) for a little project i've been working on. Now I want to build a nice interface around it and used zenity for a couple of times, but this time I ...
-2
votes
1answer
176 views

I had installed program, but when i want to upgrade, it could not find him

I had installed youtube-dl : # youtube-dl Usage: youtube-dl [OPTIONS] URL [URL...] youtube-dl: error: You must provide at least one URL. Type youtube-dl --help to see a list of all options. But ...
0
votes
1answer
1k views

Error installing gdb-arm-linux-gnueabi

I get an error when I try to install the gdb-arm-linux-gnueabi package. This is the error that I obtain when I run apt-get install gdb-arm-linux-gnueabi: $ env LC_ALL=C sudo apt-get install gdb-arm-...
1
vote
1answer
53 views

Error: Wrong architecture 'amd64' & Unable to locate package libc6-dev-i386 [Install libc6-dev-i386]

I'm trying to install the Redox-OS files via curl -sf https://raw.githubusercontent.com/redox-os/redox/master/bootstrap.sh -o bootstrap.sh && bash -e bootstrap.sh (as referenced in the Book) ...
0
votes
0answers
24 views

proxy authentication failed but for selected packages only

I have recently installed Ubuntu 14.0.1 version on my machine. I use a proxy server to access internet and for this I have to provide the necessary IP address of the proxy server, port number and my ...