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
0 answers
12 views

Upgrading bsdutils to 2.36.1 on Ubuntu 18.04

On a machine of mine I'm running Ubuntu 18.04 (I could potentially upgrade to 20.04 if that's any help) and want to use the SIGUSR1 feature of the script command (flushing on demand). However, this ...
user avatar
0 votes
1 answer
85 views

sudo to allow apt-get install of remote packages, but forbidding arbitrary commands

I'm looking for a way to allow a user to install (only remote) packages via apt-get (or another mechanism?) but not allow them to run arbitrary commands as root. I can get some of the way there via /...
user avatar
0 votes
1 answer
39 views

Iptables blocking apt-get on debian server

I'm configuring iptables on a new web dedicated server. The rules are really simple : Chain INPUT (policy DROP) target prot opt source destination ACCEPT all -- anywhere ...
user avatar
  • 1
0 votes
1 answer
358 views

How do I install (anything) on debian: 'apt is unknown instruction' in Dockerfile

How do I install (anything) on debian: 'apt is unknown instruction' in Dockerfile If I search: [how to install wget on debian] I set articles that say: $sudo apt install wget So I try to do that in ...
user avatar
0 votes
0 answers
66 views

Proxychains Works With SOCKS5 but Doesn't Work With HTTP For Apt-Get Update

I can't use proxycains with http HTTP_PROXY_IP PORT conf settings. When I change this to socks5 SOCKS5_PROXY_IP PORT it works. When I inspect wireshark, I see thet I get 403 status code. This is my ...
user avatar
0 votes
0 answers
116 views

Linux apt-get upgrade hangs at update-initramfs

Running apt-get upgrade hangs at update-initramfs: Generating /boot/initrd.img-4.9.0-7-amd64. It's been hung for at least five hours now. If I kill the process and try apt-get upgrade again, I get ...
user avatar
0 votes
0 answers
23 views

Is there "screen" cli util in Snap package manager?

screen, - is a beautiful CLI utility to protect terminal sessions from hanging/interrupting. I'm really used to it, I like executing some long-running tasks in it, without being worried about my ssh ...
user avatar
0 votes
0 answers
208 views

Unattended-upgrade order of packages update

I have system (PVE) with unattended-upgrade configured. On that system I have package drbd-dkms. Whenever I update kernel I also need to have updated headers in order for dkms to build this module for ...
user avatar
0 votes
1 answer
178 views

apt-get upgrade fails becuse of unmet dependencies

I've been kali linux for a while, but recently ive been unable to upgrade or install new software when i run apt-get update , the list is updated successfully, but on running apt-get upgrade i get the ...
user avatar
2 votes
1 answer
93 views

Debian VPS : can't apt-get update

I have debian on a VPS and when I do "sudo apt-get update" it failed like this : Reading package lists... Done W: Failed to fetch http://apt.pm2.io/ubuntu/dists/stable/InRelease Could not ...
user avatar
  • 141
0 votes
0 answers
1k views

Error when i use (sudo apt-get update)

When I try to update Raspberry Pi 4, this message appears, and don't know why occurred, please what happened. Please help me with this mistake sudo apt-get update Get:1 http://archive.raspberrypi.org/...
user avatar
-1 votes
1 answer
2k views

Ubuntu 20.04 apt-get update Release file not found

Trying to run sudo apt-get update or even just sudo apt update results in the following output for me: Hit:1 http://us.archive.ubuntu.com/ubuntu focal InRelease Hit:2 http://dl.google.com/linux/chrome/...
user avatar
2 votes
1 answer
291 views

How to install the package “ttf-devanagari-fonts”

The following command used to work earlier. I do not know since when it has stopped. Is there any database where I can find the "published" date or "end" date? Is there any other ...
user avatar
  • 2,593
1 vote
1 answer
75 views

prevent user from updating packages in Ubuntu

I have a TX2 that I'm using a custom carrier board with. The BSP for this board is flashed onto the TX2, rather than one directly from NVIDIA. There have been issues when user have attempted to do a ...
user avatar
  • 73
0 votes
1 answer
2k views

Kali linux update and package installation error

i installed anonsurf on Kali Linux in VMware and now i can't use apt-get install or apt-get update and i can't uninstall it or stop it i don't know why You might want to run 'apt --fix-broken ...
user avatar
0 votes
1 answer
152 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 ...
user avatar
  • 11
0 votes
1 answer
32 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:...
user avatar
2 votes
1 answer
3k 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 ...
user avatar
0 votes
1 answer
261 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 ...
user avatar
0 votes
1 answer
304 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://...
user avatar
0 votes
2 answers
2k 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 ...
user avatar
  • 149
1 vote
1 answer
223 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 ...
user avatar
  • 213
21 votes
2 answers
24k 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 ...
user avatar
0 votes
1 answer
1k 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/...
user avatar
-2 votes
1 answer
534 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 ...
user avatar
0 votes
1 answer
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 ...
user avatar
-1 votes
1 answer
528 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 ...
user avatar
0 votes
0 answers
43 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 ...
user avatar
0 votes
1 answer
1k 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 ...
user avatar
  • 103
0 votes
2 answers
5k 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 ...
user avatar
0 votes
1 answer
2k 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 ...
user avatar
33 votes
3 answers
36k 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 ...
user avatar
4 votes
2 answers
1k 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 -...
user avatar
  • 304
1 vote
0 answers
39 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....
user avatar
2 votes
2 answers
8k 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 ...
user avatar
0 votes
1 answer
281 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 ...
user avatar
0 votes
1 answer
376 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 ...
user avatar
  • 11.9k
0 votes
0 answers
128 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 ...
user avatar
0 votes
1 answer
1k 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 ...
user avatar
  • 113
1 vote
1 answer
3k 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 ...
user avatar
  • 13
1 vote
1 answer
4k 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 ...
user avatar
  • 410
3 votes
3 answers
41k 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 ...
user avatar
  • 143
0 votes
1 answer
449 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://...
user avatar
  • 173
0 votes
1 answer
491 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 ...
user avatar
  • 167
0 votes
1 answer
475 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 ...
user avatar
  • 1
1 vote
1 answer
54 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 /...
user avatar
  • 11
0 votes
1 answer
580 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 ...
user avatar
  • 131
2 votes
1 answer
7k 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 ...
user avatar
  • 305
0 votes
1 answer
5k 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 (...
user avatar
  • 410
0 votes
1 answer
653 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 &...
user avatar
  • 1

1
2 3 4 5
8