Questions tagged [apt]
Debian's Advanced Packaging Tool whose main binary is apt-get. Most questions about APT are off topic for Stack Overflow, unless it is clearly related to a programming tool.
1,346
questions
0
votes
1
answer
12
views
How do I enable passwordless sudo for all options for a command?
I'd like to enable passwordless sudo for sudo apt update, and also have passwordless sudo work for the apt update command when I run it with options like sudo apt update -q and sudo apt update -qq.
I ...
-1
votes
1
answer
24
views
Building a docker container on top of another image... "permission denied"?
I am trying to build an extension of an existing image with FROM and then apt install additional packages on top and do own customizations. I get permission denied and "are you root" ...
0
votes
0
answers
32
views
Problems installing MySQL on Ubuntu 22.04.1
I am trying to install MySQL in Ubuntu server 22.04.1 whit but I keep geting this error:
Job for mysql.service failed because the control process exited with error code.
See "systemctl status ...
-1
votes
0
answers
11
views
apt/apt-get can't find hhvm in Ubuntu 22.04
The thing it's simple.
Was trying to install Hack language in Ubuntu 'cause i wanna give it a try. Everything it's fine until want to actually install everything.
Output:
❯ sudo apt-get install hhvm
...
0
votes
0
answers
18
views
Getting error installing mongodb on ubuntu 22.x
The following packages have unmet dependencies:
mongodb-org-mongos : Depends: libssl1.1 (>= 1.1.1) but it is not installable
mongodb-org-server : Depends: libssl1.1 (>= 1.1.1) but it is not ...
0
votes
1
answer
26
views
Problem installing Turi Create on WSL on Windows 10
I have installed Ubuntu on WSL for Turi Create, but when I start with:
sudo apt install python3-pip
... I get the error:
Package python3-pip is not available, but is referred to by another package.
...
-2
votes
0
answers
18
views
ubuntu18 install soft error caused by tbb version [closed]
I want to install cutecom in ubuntu 18, but it does not work.
Here is my information
sudo apt install cutecom
Reading package lists... Done
Building dependency tree
Reading state information......
-1
votes
1
answer
29
views
Invalid twilio 4.0.1-1 package for Linux
From https://www.twilio.com/docs/voice/sip/quickstart (Linux instructions)
The latest twilio package (4.0.1-1) has a bad size in the repository:
apt install twilio
<snip>
Get:1 https://twilio-...
1
vote
0
answers
562
views
Ubuntu Server 21.04 Update Error On apt update [closed]
I was trying to install a deb package which refused to run because of dependencies, after failed attempt to install the dependencies or OS updates i uninstalled the deb package. since there were a ...
0
votes
2
answers
171
views
NO_PUBKEY "4EB27DB2A3B88B8B" for Dart apt repo
A while ago I installed the Dart SDK using apt-get, but I noticed recently that apt update was showing an error NO_PUBKEY "4EB27DB2A3B88B8B" and I was unable to update Dart.
0
votes
0
answers
54
views
How to force retry when an apt install has failed ? APT::Acquire::Retries does not seem to work
I am working with a corporate repository mirroring canonical repository. I suspect that this corporate repository is not reliable, because I have sporadic failures such as:
Failed to fetch ... 502 ...
0
votes
0
answers
39
views
How to get gcc compiler 5.4.0 on Debian Bullseye
So I'm not entirely new to Linux, but still struggle with its very many quirks and oddities.
I have an installation document for a complicated piece of software that I need to install on a Debian ...
0
votes
1
answer
36
views
How to install a specific version of chromium for puppeteer?
I use puppeteer for my project. I always installed both puppeteer library and the browser itself with the npm i puppeteer command. Now I want to install the browser separately.
The puppeteer version I ...
-1
votes
1
answer
101
views
Install *.deb file with "apt install"
What's the difference between installing a *.deb file with dpkg vs. apt?
I've been installing *.deb packages that I download (like Zoom) using "sudo apt install ./zoom-file.deb". It seems to ...
1
vote
1
answer
15
views
APT-OFFLINE is there a way to bypass the initial menu?
I'm trying to automate system updates on some offline Ubuntu systems with a bash script using the APT-OFFLINE tool. When running (for example) apt-offline install bundle.zip it first presents the ...
0
votes
0
answers
41
views
apt can't fix libc6 related dependency issue (Unable to correct dependencies)
I tried to install some C-related dependencies of RStudio on Ubuntu but it didn't work out and now apt is showing errors and unable to install new packages. I'm ready to give up on RStudio but nothing ...
0
votes
0
answers
44
views
Is there any workaround for installing packages ? (deepspeed error)
i was trying to use deepspeed, but when i run the training it shows an error. I have to install mpi4py using pip. However if I try to install mpi4py i get an error.
From that error i found out that to ...
1
vote
0
answers
39
views
How to install apt or pkg in Pydroid 3
I want to install apt or pkg package manager and Termux repositories (main-repo, root-repo, x11-repo) on Pydroid 3. How can I do this? Help me please!
-1
votes
0
answers
19
views
On Ubuntu 22 apt-cache policy shows Candidate focal instead of Jammy
When I run:
$apt-cache policy docker-ce
I get:
Installed(none)
Candidate: 5.20.10.17~ubuntu-focal
But as I am on Ubuntu 22 it should be Jammy instead of Focal (see here: https://wiki.ubuntu.com/...
-1
votes
1
answer
26
views
how to check if APT is already exist in ubuntu [duplicate]
I'm creating a bash script to for installing docker compose. and first i want to check first if the docker already in the sources.list so i will not append again. how can i achieve this?
0
votes
1
answer
55
views
Termux: pkg update shows "Waiting for cache lock" and it doesn't seem to stop
I just downloaded Termux and used the 'pkg upgrade' command, then it showed me showed some options:
Y or () | Upgrade... (I can'tremember what)
N or () | Keep current version
D | Show differences
()
()...
0
votes
2
answers
39
views
How to make apt-get upgrade -y not interactive
I am trying to write a script to provision a new server. It is important that all the commands in the script do not require user interaction. I want to run the command: apt-get upgrade -y. I have ...
0
votes
0
answers
29
views
Issue updating packages to update OS - Raspian
Running a pihole on a currently unsupported OS (Raspian 9). I attempted to run a distro upgrade:
apt dist-upgrade -y
However it told me there was an issue with two dependencies:
The following ...
0
votes
0
answers
40
views
How to interact with Yum Python API in Python 3
I have a task to interact with Linux package managers from Python application. I decided to start with Yum, since our standard server OS is CentOS 7. A brief online search showed that some kind of ...
0
votes
0
answers
21
views
ERROR: '~mosquitto-dev' user or team does not exist
I am trying to add mosquitto ppa repository in Ubuntu 20.04.4 LTS and I am getting below error:
$ sudo apt-add-repository ppa:mosquitto-dev/mosquitto-ppa
Cannot add PPA: 'ppa:~mosquitto-dev/ubuntu/...
1
vote
0
answers
35
views
Upgrading PostgreSQL packages after Ubuntu upgrade
I just upgraded Ubuntu from 18.04 to 20.04 and then to 22.04, but my PostgreSQL packages seem did not upgrade properly.
root@postgres:~# apt list --installed | grep postgresql
WARNING: apt does not ...
-1
votes
2
answers
105
views
Unable to install latest version of nodejs. I try to install nodejs 17.x
I m trying to install nodejs 17.x but I end up installing nodejs 10.19. | OS : Ubuntu 20.04.4 LTS x86_64
| shell : fish shell
plz help... I need to install latest version of npm for my project but ...
0
votes
0
answers
18
views
Docker gets an error with apt-get and proxy
I have a simple docker file like below
FROM ubuntu:16.04
RUN apt-get update && apt-get install -y
But when I run it with the following command, I get the following error
docker build -t ...
0
votes
1
answer
37
views
Add signed APT repo using Puppet
I want to install Telegraf using Puppet 6, and I'm finding it really difficult to do so by using the apt module. I'm using the module so I can import the GPG key and add the corresponding source.
My ...
1
vote
2
answers
126
views
WSL2 VSCode Will Not Load After Ubuntu upgrade - Worked fine for 1 year
Running Windows 11, WSL2, Ubuntu 20.04. Been developing with VSCode over a year. I regularly run apt update and apt upgrade without any problem. Today after running apt upgrade I can no longer open ...
0
votes
0
answers
71
views
Installed mysql in ubuntu docker container, error on checking mysql version
I input these commands on linux machine with docker installed:
(this approach is not what most people choose to run mysql in docker)
docker container run -it -d --restart always -p 4100:80 --name ...
0
votes
1
answer
16
views
How can I roll out updates to an installed APT package
I have created an APT package, my APT repo is hosted on an S3 bucket.
The /etc/apt/sources.list.d/<my-package>.list entry also points to my S3.
deb [arch=all signed-by=<PUBLIC_KEY>] http://...
0
votes
0
answers
12
views
Not able to install locally created APT package
I created a Rust application, which I would like to distribute as an installable package.
So, I followed this guide
https://earthly.dev/blog/creating-and-hosting-your-own-deb-packages-and-apt-repo/
...
0
votes
1
answer
246
views
How do i fix the issue bellow during "sudo apt update"
Err:15 https://ppa.launchpadcontent.net/bhdouglass/indicator-remindor/ubuntu jammy Release
404 Not Found [IP: 185.125.190.52 443]
Reading package lists... Done
N: Skipping acquire of configured file '...
1
vote
1
answer
454
views
Git Bash | bash: sudo: command not found (and others)
Goal: get Poetry working.
Using Git Bash on Windows 10 with WSL 2.
I have Anaconda3 and Git working.
pip install bash worked but did not help.
Git Bash:
(base)
HDS+dabell@PF2DCSXD MINGW64 ~
$ sudo -s
...
0
votes
0
answers
8
views
Unable to run apt-get update due to invalid signature and no release files
I was recently given this kind of error on my server.
Has anyone experienced this kind of behavior? I am unable to install new packages because of not being up to date. All the errors can be seen in ...
0
votes
0
answers
93
views
apt update: Target Packages is configured multiple times
When running sudo apt update I got the following warning :
W: Target Packages (Packages) is configured multiple times in /etc/apt/sources.list:54 and /etc/apt/sources.list.d/cuda-ubuntu1804-x86_64....
0
votes
1
answer
17
views
How to make my ruby gem install native apt packages automatically during its installation?
I'm building my own ruby gem, let's call it my-gem, which depends on some system package, for example gpsbabel. It expects to be able to call gpsbabel command using the shell.
On Ubuntu, before ...
0
votes
2
answers
112
views
Docker unable to locate package (wkhtmltopdf) while building
EDIT
While troubleshooting I'm getting different errors:
...
Err:1 http://deb.debian.org/debian bullseye InRelease
Temporary failure resolving 'deb.debian.org'
...
I'm guessing it has something to ...
-1
votes
1
answer
28
views
OBS Silent install on Ubuntu [closed]
Is there a way to skip the menu and just install it with sudo apt-get install -qq -y obs-studio? I've added the -qq flag after following the guide, but I'm not sure if that'd work yet. I've seen ...
0
votes
0
answers
42
views
Apt pretends to be fully updated, but libxml2 will not update past 2.9.10, even though the latest version is 2.9.14?
I am updating a Raspberry Pi running Debian 10. Specifically, I need to update the package libxml2 from version 2.9.4 (very old!) to 2.9.14, in order to protect myself against CVE-2022-23308. To do ...
0
votes
0
answers
133
views
How do I install v8@3.15 on ubuntu?
I am new to Linux and I am trying to setup a ruby on rails app from work. Now, the Gemfile wants to install therubyracer.
Upon running bundle install, it fails:
Fetching therubyracer 0.12.3
Installing ...
0
votes
0
answers
55
views
Ubuntu, apt-get install from within deb package
I am installing a .deb package in Ubuntu 20.04 and I have a pre-installation script i.e. preinst where I am running sudo apt-get install -y cuda and several other sudo apt-get install commands.
When ...
0
votes
0
answers
102
views
No APT Packages on Ubuntu 20.04.04 LTS (ARM64) (Focal Fossa) Raspberry Pi 4
i'm trying to update my ARM64 Raspberry Pi4 on Ubuntu 20.04.4.
sudo apt update
Hit:1 http://ports.ubuntu.com/ubuntu-ports focal InRelease
Hit:2 http://archive.canonical.com/ubuntu focal InRelease
Hit:...
0
votes
1
answer
274
views
'E: Unable to locate package chromium-chromedriver' on rpi
I can't install chromium-chromedriver on my raspberry pi 4.
$ sudo apt-get install chromium-chromedriver
Reading package lists... Done
Building dependency tree... Done
Reading state information... ...
2
votes
1
answer
49
views
How to edit files in a docker container when you don't have any text editor and you're not root?
I'm stuck at the login screen of Jenkins because I don't remember the username and the password to log in. I read in this article https://www.serverlab.ca/tutorials/linux/administration-linux/how-to-...
-1
votes
1
answer
619
views
How to fix apt cmd when it doesn't work on ubuntu [closed]
I am an ubuntu user and after several hazard additions of external sources to my etc/apt/sources.list the software repositories files seem to be corrupted. I can no longer update without errors. I ...
0
votes
0
answers
17
views
What does the "./" after repo url mean in the source.list entry of Heroku CLI in Ubuntu
The corresponding source.list file of Heroku CLI, created after running the installation script of heroku, thus /etc/apt/sources.list.d/heroku.list, contains the following line:
deb https://cli-assets....
3
votes
1
answer
4k
views
dpkg-dep error: paste subprocess was killed by signal(Broken Pipe) Ubuntu WSL2
Hello I am using ubunutu on wsl2 on a windows 10(21h2) machine.
I was updating my apt packages.
then when I put the upgrade command the error in the title. happened.
sasenp@DESKTOP-0NSS9RI:~$ sudo apt ...
0
votes
0
answers
208
views
E: The repository 'http://ppa.launchpad.net/bashtop-monitor/bashtop/ubuntu jammy Release' does not have a Release file
Tried to to do the command sudo apt-get update but kept running into this error:
E: The repository 'http://ppa.launchpad.net/bashtop-monitor/bashtop/ubuntu jammy Release' does not have a Release file.
...