Questions tagged [apt-get]

apt-get is a command-line interface to the Advanced Packaging Tool (apt) which is responsible for installing, removing, and upgrading packages.

Filter by
Sorted by
Tagged with
0
votes
0answers
14 views

What is the difference between apt-get install and apt-install? [duplicate]

I always wondered what is the difference between sudo apt-get install <package> and sudo apt install <package>
0
votes
0answers
11 views

Copying the sources.list

Just installed Linux on another machine, a laptop. It's the exact same distro and version on I have on my PC. Wouldn't it be possible to copy the /etc/apt/sources.list from the PC to the laptop so I ...
0
votes
1answer
10 views

Trouble updating G++ to version >5 using apt-get in Windows Subsystem for Linux

Context: I'm trying to run CMake as described here (under Linux-installing dependencies > Building OpenVDB). I'm in WSL. When I do so I get this error: CMake Deprecation Warning at CMakeLists.txt:...
1
vote
1answer
83 views

Couldn't to execute apt-get update on debian 10

I'm starting with Debian Linux 10 and I installed only a web server with Apache a few days ago. Today wanting to update packages, I use apt-get update but I get the following errors, which rebooting ...
0
votes
0answers
39 views

Installing google chrome beta on debian buster: Target Packages is configured multiple times

In ruby:2.4.1 docker image (it is build based on Debian 8 Jessie) I was installing google chrome beta the following way: # Dockerfile FROM ruby:2.4.1 RUN \ echo "deb http://dl.google.com/linux/...
0
votes
1answer
56 views

Does Debian's “apt-get install” command follow “recommends” links recursively?

Debian's apt-get install command is documented as following recommends links by default. It also follows depends links, presumably in a recursive fashion. However, I haven't been able to find out if ...
0
votes
1answer
114 views

Error in apt-get update - how to remove module - The following signatures couldn't be verified because the public key is not available

When running apt-get update I get the following error (Ubuntu): Hit:1 http://dk.archive.ubuntu.com/ubuntu eoan InRelease Hit:2 http://dk.archive.ubuntu.com/ubuntu eoan-updates InRelease Get:3 http://...
0
votes
1answer
175 views

Debian: “apt install build-essential” fails because of unmet dependencies

Using Debian Stretch v9.11. I try to install build-essential, but fails because of unmet dependencies: sudo apt install build-essential Reading package lists... Done Building dependency tree Reading ...
0
votes
1answer
79 views

broken debian package and fixing with apt-get -f

What exactly happens when we install a deb package that ends up as a broken installation, and how come apt-get -f remedies the situation (instead of this happening during the installation to begin ...
5
votes
1answer
3k views

sudo apt-get update couldn't create temporary file

Tried to do sudo apt-get update, get this response every time I run it: Get:1 http://repo.radeon.com/rocm/apt/debian xenial InRelease [1814 B] Get:2 http://security.ubuntu.com/ubuntu bionic-security ...
0
votes
1answer
834 views

Mongodb 2.6 Packages Removed from Mongo Repo?

I am attempting to build Mongodb 2.6.7 from the Mongo repos and am now unable to download them, as I was able to last week... root@591d529e0497:/# echo 'deb http://downloads-distro.mongodb.org/repo/...
0
votes
0answers
131 views

Ubuntu Software Center fails under Ubuntu 14.04: “Package system is broken”

I would like to install a new software via Ubuntu Software Center which says: "Package system is broken." and further details: "Check if you are using third party repositories. If so disable them, ...
0
votes
0answers
109 views

I am getting the following error on running sudo apt-get update in Ubuntu 18.04

E: The repository 'http://ppa.launchpad.net/jonathonf/pepperflashplugin-nonfree/ubuntu bionic Release' does not have a Release file. N: Updating from such a repository can't be done securely, and is ...
0
votes
0answers
119 views

Python or pip uninstall or config issue

I tried to installing or reinstall python or pip but I'm getting the following error all the time: $ sudo apt-get remove python-pip python-dev Reading package lists... Done Building dependency tree ...
-2
votes
1answer
85 views

Error while using apt-get update

Problem executing scripts APT::Update::Post-Invoke-Success 'if /usr/bin/test -w /var/lib/command-not-found/ -a -e /usr/lib/cnf-update-db; then /usr/lib/cnf-update-db > /dev/null; fi' This is the ...
0
votes
0answers
48 views

Ubuntu docker 16.04. apt-get 408 Request Timeout

we are trying to build a Docker image, starting from "ubuntu:16.04". The Dockerfile looks like this: FROM ubuntu:16.04 ENV http_proxy "http://...:8080" ENV https_proxy "http://...:8080" # get ...
0
votes
1answer
1k views

Repository does not have a release file (Kubuntu)

I have attached a screenshot of the message I get when using sudo apt-get update. I attempted to use the repositories in the past but did not succeed. I now wish to get rid of these messages. Any ...
-1
votes
1answer
402 views

PHP 7.0 package not foung in ppa:ondrej/php

I'm having some trouble installing PHP 7.2 on my Ubuntu box. The Ubuntu disribution i use is Ubuntu 14.04.6 LTS / trusty which I installed using Vagrant. As written on nearly every website, I've ...
0
votes
0answers
32 views

Upgrade from ubuntu 17.04 to some new supported version

As you can tell, I'm a bit of a Linux noob. I haven't upgraded my ubuntu 17.04 and this is causing me a painful headache. I can't use apt-get at all. I imagine the reason behind this is the lack of ...
0
votes
1answer
607 views

apt-get issue with BeagleBoneBlack and Debian 8

When updating my BeagleBone Black running Debian 8, I get this here: root@bbb-one:~# apt-get update Hit http://security.debian.org jessie/updates InRelease Hit http://repos.rcn-ee.com jessie ...
-1
votes
1answer
3k views

Cannot update Raspberry PI (apt-get)

I cannot update my Raspberry PI (Raspberry PI 1 Model B with Raspbian Stretch) anymore. sudo apt-get update tells me that there are some problems with package files. I don't know much about apt-get ...
0
votes
1answer
943 views

How to get debian apt to find packages correctly to install sudo

I've just installed debian 9 using the full disc image (debian-9.8.0-amd64-xfce-CD-1) to install on VirtualBox in a 64bit environment from a Windows 10 host. During the installation I unchecked the ...
32
votes
3answers
26k views

apt-get update is failing in debian

cat /etc/apt/sources.list deb http://deb.debian.org/debian jessie main deb http://deb.debian.org/debian jessie-updates main deb http://security.debian.org jessie/updates main then apt-get update is ...
3
votes
2answers
148 views

Why does 'apt' do not store downloaded packages anymore?

I was used to apt storing downloaded packages in /var/cache/apt/archives/, but it does not do it anymore and I can't figure out why. Configuration is set accordingly IMHO: # apt-config dump | grep -...
1
vote
0answers
27 views

Grouping apt packages in Debian

I was wondering (and searching all over the place, sorry if I missed an obvious one) if, in Debian, there is any equivalent flag or option to the --virtual of Alpine Linux when installing apt packages....
2
votes
2answers
6k views

How to install R 3.5.1 on Ubuntu 16 with apt-get?

I installed R on Ubuntu 16 using the command sudo apt-get install r-base However, the version of R installed is 3.2.3, which is quite old now. I was wondering if there is a way to tune apt-get to ...
0
votes
0answers
136 views

apt-mirror always wants to download

apt-mirror is always trying to download ~430MB (every day). Downloading 4 dep11 files using 4 threads... Begin time: Wed Jan 16 09:04:43 2019 [4]... [3]... [2]... [1]... [0]... End time: Wed Jan 16 ...
0
votes
1answer
114 views

Using apt why do I get file 'network_proxy.conf' in directory '/etc/apt/preferences.d/' as it has an invalid filename extension

I get the following warning when I try to install packages. N: Ignoring file 'network_proxy.conf' in directory '/etc/apt/preferences.d/' as it has an invalid filename extension Using apt why do I ...
0
votes
0answers
92 views

Run agt-get install imagemagick on raspberry pi using docker file

I am new to docker in rasppberry pi. I have installed docker on my raspi, and I wanted to create a docker image. This docker image when pulled into another raspi with docker should install imagemagick ...
0
votes
1answer
912 views

No recent Ubuntu 18 updates?

Seems I would normally see something in a week, but now, nothing in 2. When I run sudo apt-get update, what I get is: sudo apt-get update Ign:1 http://download.webmin.com/download/repository sarge ...
1
vote
1answer
2k views

Bad OpenVPN Uninstall

On my Ubuntu 18.04 machine I installed OpenVPN and then later tried to uninstall. Now whenever I try to install anything or do pretty much anything with apt-get I get an error and the package doesnt ...
1
vote
1answer
3k views

Can not uninstall redis-server in Ubuntu?

I was trying to install Redis on Ubuntu using: sudo apt install redis-server The process partially installed and timed-out and the redis-service was not installed. After that I tried to remove the ...
3
votes
3answers
30k views

sudo: apt-get: command not found

I am trying to run the following command to install some libraries. sudo apt-get install graphviz libgraphviz-dev pkg-config It is however returning the following error. sudo: apt-get: command not ...
0
votes
1answer
316 views

apt-get broken trust chain while updating

This morning I restarted my server and discovered an issue while doing apt-get update: Err:1 http://hwraid.le-vert.net/ubuntu xenial InRelease Could not resolve 'hwraid.le-vert.net' Err:2 http://...
0
votes
1answer
372 views

Debian Wheezy, apt-get have unmet dependencies

Pretty much any comand that I try that involves apt-get gives me an error that tells me I should run apt-get -f install, but that gives me this error: root@vps148794:~# apt-get -f install Reading ...
0
votes
1answer
165 views

I am using Darwin OS on terminal but cannot use apt-get, yum command(only brew is usable)

I am using terminal on Darwin OS but cannot use apt-get and yum commands (only brew is usable). Sometime, I need to use apt-get (ex. to install linux essential header) But my terminal says command ...
1
vote
1answer
50 views

Unable to remove programs

I need to remove some programs in my Deepin distro but I get this error: amr@amr-PC:~$ sudo apt-get autoremove Virtual Network Editor [sudo] Mot de passe de amr :  E: Impossible d'obtenir le verrou /...
0
votes
1answer
390 views

apt-get upgrade not working after upgrade from stable to testing: error cycle with libc-bin package

I upgraded from debian stable to debian testing, and now I am not able to do apt-get upgrade anymore. When I do that I get this error: Processing triggers for libc-bin (2.27-6) ... dpkg: cycle found ...
2
votes
1answer
2k views

apt-get “Unable to locate package” with a glob

I'm trying to uninstall the Pantheon desktop. I use a star glob to uninstall all packages with a name that starts with "pantheon-". rolf@DRGMC01:~$ sudo apt-get remove pantheon-* Reading package ...
0
votes
1answer
470 views

How to copy all installed libraries to another Linux machine?

I am developing C++ on my Linux (Ubuntu) machine and I have installed many libraries both by using apt-get and installing from source. Lets say I would like to recreate my environment on another (...
0
votes
1answer
465 views

Cannot install latest version of Grafana with apt-get

I am having problems installing Grafana with apt-get. I am following these instructions: http://docs.grafana.org/installation/debian/#apt-repository I added the repository, and ran apt-get update &...
0
votes
1answer
124 views

Why `apt-get purge` keeps trying to install things for me?

I try to purge the Oracle Java 8 JDK on Raspbian Stretch: sudo apt-get purge oracle-java8-jdk But it keeps trying to install replacements for me. For example, it keeps telling me "the following NEW ...
2
votes
1answer
7k views

debian apt update doesn't allow DVD's

i really start to pull my hair out. I have a debian 9 system without internet access and try to do an apt update. But i always receive the same error message (see below). I tried severall options to ...
1
vote
1answer
7k views

Failed to fetch error on apt-get update

I'm having an issue when running sudo apt-get update. I always get this error: Err:1 https://deb.packager.io/gh/opf/openproject-ce xenial InRelease Could not resolve host: deb.packager.io Hit:2 ...
0
votes
2answers
1k views

console-setup causes apt-get update to hang

I want to automatically install apache2 on my EC2 instance during first load. I am using the base Ubuntu 16.04 LTS image: ubuntu/images/hvm-ssd/ubuntu-xenial-16.04-amd64-server-20180522 (ami-...
1
vote
1answer
30 views

Set an ubuntu package for later upgrade

When running 'sudo apt-get upgrade', there are sometimes kernel files that 'have been kept back' so they are not upgraded automatically. Is there a way to mark other packages so they get into this ...
0
votes
1answer
346 views

pf firewall blocks raspbian apt-get update

I am connecting my raspberry pi 3(raspbian stretch) to my Macpro(10.13.2; High Sierra) to 802.3 ethernet port which is a part of bridged adapter (bridge100) using Internet Share feature. Internet ...
0
votes
1answer
297 views

Failure installing `linux-cloud-tools-common` on Ubuntu 14.04

I'm trying to set up Certbot on an Ubuntu machine but getting the following error when trying to run apt-get install software-properties-common: Setting up linux-cloud-tools-common (3.13.0-46.77) ... ...
0
votes
1answer
273 views

sudo is broken or not fully installed

Yeah... I'm getting this error when using apt-get anything on a digitalocean droplet: E: The package sudo needs to be reinstalled, but I can't find an archive for it. So according to this answer, I ...
4
votes
4answers
24k views

What is the step-by-step procedure to fix the “The following packages have unmet dependencies”?

I tried everything but made no progress. Can a smart soul help out? Of course just sudo apt-get -f install does not work, same error. $ sudo apt-get install arping [sudo] password for dloo: Reading ...

1
2 3 4 5
8