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.

Filter by
Sorted by
Tagged with
-2 votes
0 answers
16 views

Can I create a local redhat and debian repository on the same server?

Sorry in advance if this question has already been asked but I couldn't find it. I have a debian 9/10/11 and redhat 7/8 server farm I would like to create a server that would synchronize the official ...
Tazounet's user avatar
-1 votes
0 answers
19 views

Jfrog Artifactory - authorization issue (forbidden 403)

Environment: I am using the JFrog Artifactory managed solution (Pro Plan) for fetching Debian packages. Error Observed: I consistently receive a "Forbidden 403" error in the middle of the ...
Amir Benyamini's user avatar
0 votes
0 answers
26 views

I'm encountering an issue with apt-get on my Ubuntu system [closed]

I'm encountering an issue with apt-get on my Ubuntu system. When I try to install a package using the command: sudo apt-get install terminator I get rrror: E: Unable to locate package terminator I ...
Lanka S V S J Vikram Kumar's user avatar
0 votes
0 answers
49 views

dependency hell with python-apt

I am building a package which is dependent on two packages, which are difficult to handle. The two problematic packages are: python-apt (PyPI, Docs) python-pam (PyPI) What is the issue with those ...
MaKaNu's user avatar
  • 770
0 votes
0 answers
25 views

R packages in `/usr/` vs. `~/R/` , specifically within the `r2u` framework

I am relatively new to Linux (currently using Linux Mint 21.2). Looking at other SO posts, it seems common that the R command .libPaths() returns 1-3 paths, all sub-directories of /usr/ (namely, [2]-[...
542goweast's user avatar
0 votes
0 answers
23 views

Can't download lsd(lsdeluxe) using apt or snap commands in wsl [closed]

I'm newby and trying to understand wsl. I downloaded zsh and oh-my-zsh for my bash shell. When i call ls command i got highlighted folders with no access. I tried a lot of ways to solve this problem, ...
Diglerharibo's user avatar
0 votes
1 answer
62 views

Install more if not all r-cran-* packages

Currently trying to use streamlit for simple deployment. To install r packages I have a packages.txt file containing the packages e.g. r-base r-base-dev r-base-data.table r-cran-mlr3 When deploying ...
hud's user avatar
  • 1
0 votes
0 answers
12 views

Install ArangoDB3 ubuntu lxd (Qnap NAS) FATAL Error 132

Following the instructions to install ArangoDB 3.11.4-1 at Ubuntu 22 the package manager is running into a FATAL Error. Important: Ubuntu 22.04 installed as LXD-Container (ContainerStation 3 / QTS 5.0 ...
Danny's user avatar
  • 1,078
1 vote
1 answer
83 views

'https://deb.nodesource.com/node_20.x nodistro InRelease' doesn't support architecture 'i386'

I install nodejs using NodeSource repository, I followed instruction mention on deb.nodesource.com (on home page), after installing whenever I am running sudo apt update I am getting this warning at ...
Nitin C's user avatar
  • 13
0 votes
1 answer
67 views

Errors in script for updating multiple machines through ssh

First, please forgive me for my inexperience. I am trying to create a script that upgrades multiple machines through ssh, and I am receiving errors, primarily "upgrade-all.sh: 7: Bad substitution&...
Jacob Rawls's user avatar
0 votes
0 answers
20 views

Unmet dependencies in Ubuntu

While executing some apt install commands in Ubuntu I get the output: The following packages have unmet dependencies: libnvinfer-dev : Depends: libnvinfer-headers-dev (= 8.6.1.6-1+cuda11.8) but 8.6.1....
Ars ML's user avatar
  • 87
1 vote
1 answer
35 views

Inconsistant Docker Images [closed]

I have been using the python3.9-slim docker image, and as one of the build steps I install the 3.9 python headers, via RUN apt-get install python3-dev. This worked for years, and then apt has changed ...
freebie's user avatar
  • 2,273
0 votes
0 answers
24 views

available package versions using apt

Bit of a simple question but basically I need a specific version of a package to install inside a docker image. Issue is the default version that is downloading through apt is lower than I need. When ...
SkinnyBetas's user avatar
0 votes
0 answers
20 views

Cannot use sudo apt update due to realese file issues

Terminal of me trying to use sudo update Hi, I am new to linux and have recently migrated from linux mint to Ubuntu, I have been having lots of troubleshooting issues recently, mainly with these ...
Dinamitis's user avatar
1 vote
0 answers
73 views

Your perl and your Config.pm seem to have different ideas about the architecture they are running on

I am trying to install a perl-based program using my system perl and local::lib. The program has several dependencies, which I want to install with apt, e.g., libalien-wxwidgets-perl, libwx-perl,...
gannex's user avatar
  • 131
2 votes
0 answers
223 views

How to install ansible-pylibssh using apt instead of pip

I am using WSL2 to run Ansible on Debian 12.2. When I run a playbook that uses SSH to connect I get the following warning message: [WARNING]: ansible-pylibssh not installed, falling back to paramiko I ...
zeros111's user avatar
0 votes
1 answer
19 views

Apptainer build gets stuck at "Geographic area" selection

I tried to build an apptainer image from the following definition file: Bootstrap: docker From: pytorch/pytorch:2.0.1-cuda11.7-cudnn8-devel %files ./requirements.txt /src/requirements.txt %post ...
Knipser's user avatar
  • 347
0 votes
1 answer
60 views

mongodb Problem with apt update in ubuntu

I am facing this problem to update ubuntu and so far I tried different solutions to solve this problem but none of them could solve this problem. N: See apt-secure(8) manpage for repository creation ...
Yousef Keyghobadi's user avatar
0 votes
0 answers
5 views

facing issue with apache2 installation

`facing issue while building docker file content of my docker file: RUN echo "Starting first RUN block" \ && true \ && apt-get update -y \ && apt-get upgrade -...
Anshul Chopra's user avatar
0 votes
0 answers
42 views

I can't configure the libc6:armhf

I use a raspberry pi. I am a full newbie on raspberry pi and I decided to start learning. However, after an apt update, the system is over. It's a Raspbian GNU/Linux 9.4 (stretch). There is no longer ...
Student_in_computer_science's user avatar
0 votes
1 answer
235 views

Dockerfile from ubuntu:22.04 apt unable to locate package python3 [duplicate]

When I docker build this: FROM ubuntu:22.04 RUN apt-get install -y python3 I get Step 1/2 : FROM ubuntu:22.04 ---> c6b84b685f35 Step 2/2 : RUN apt-get install -y python3 ---> Running in ...
spraff's user avatar
  • 32.4k
0 votes
1 answer
134 views

How to install apt-get packages in an Azure Web App from GitHub YML

I deployed a Web App from GitHub to an Azure Web App, running Python and Linux. My app needs ffmpeg to work, so I go to the SSH and run apt-get install ffmpeg -y, and everything works fine. The ...
PC_User's user avatar
  • 49
0 votes
0 answers
115 views

Why is Ubuntu 22.04 specifically having an issue with 'trying to overwrite' a file while upgrading my package?

The error I'm getting when trying to update my own in house developed software package is: sos@sos1:~$ sudo apt-get upgrade sos sos-playlist-editor Reading package lists... Done Building dependency ...
user3930529's user avatar
0 votes
1 answer
838 views

Debian 12 (bookworm) how to get the security repositories list from sources.list

We have a python script that does the following: Runs on ubuntu/debian VMs to get the repos that has 'security' string in them and stores these lines in a new file (say /home/user/security.list) Uses ...
Sathish M's user avatar
2 votes
0 answers
115 views

php 8.1 access Microsoft SQL Server 2019 with freetds

What packages are needed to use pdo to connect to mssql-server 2019 through freetds I want to use php's pdo to access Microsoft's SQL-Server 2019 under ubuntu 22.04. Is it possible to use freetds? In ...
Avery's user avatar
  • 64
0 votes
1 answer
79 views

Apt update returning error code on container

Folks! I have used Slim Framework on a container based on this article: https://dev.to/cherif_b/using-docker-for-slim-4-application-development-environment-1opm I simply download the project from ...
MaLSan's user avatar
  • 11
1 vote
1 answer
137 views

Ansible apt-command failed with given virtual package

In my Ansible role I try to update the PHP version of all installed PHP packages. For this reason I read out all installed PHP packages into a list, manipulate the version number in every element in ...
Arny80Hexa's user avatar
0 votes
0 answers
12 views

How do apt or dnf package managers replace critical files?

I was trying to copy some libraries into my shared library path and I accidentally replaced libc.so with a newer version by cp command and the whole system froze. restarted it and it was fine again. ...
Askr Askr's user avatar
-1 votes
1 answer
122 views

Broken apt package: apt --fix-broken install fails, can't create symbolic link in /usr/lib

I have a Debian 10 server where I can't update apt packages any more because of dependency issues: # apt upgrade Reading package lists... Done Building dependency tree Reading state information....
Mutre's user avatar
  • 129
2 votes
0 answers
24 views

Serve APT repo with Aptly + Github Pages

I have created one APT repo using aptly The repo works well on my local. But I want to host this APT repo via Github Pages Say, My github repo is abc.xyz.io which is also my domain name My apt content ...
Keval Bhogayata's user avatar
-2 votes
1 answer
58 views

Annotation processor doesn't run

I wannna use annotation processor in my IDEA plugin, which will resolve classes and methods with 'TaskID' annotation. But I found that my processor can't run at all. I do wanna know what's wrong and ...
hill cxs's user avatar
0 votes
0 answers
51 views

VLC Convert/Save Not Working In Linux Mint 21.2

Self-explanatory title. I recently installed Mint Cinnamon 21.2 on a new PC, and when converting files from MP4 to MP3 with VLC, the output file is not saved. What I get is an "MP3" file ...
Harry Chittenden's user avatar
0 votes
0 answers
14 views

Package manager (yum, apt, ...) supporting IMA signatures

I'm trying to harden a Linux system by using IMA and want to apply digital signatures to binaries. I'm wondering if there is a package manager supporting the IMA signatures so that the binaries can be ...
k_o_'s user avatar
  • 5,430
1 vote
0 answers
54 views

Remove keys with apt_key gives "Invalid key_id" in Ansible task

I'm trying to use Ansible to purge all of the older apt keys that are in my /etc/apt/trustedb.key file. I have the task as part of a role to be run on my Ubuntu-like boxes because the old keys are ...
hydrian's user avatar
  • 105
0 votes
2 answers
247 views

ros Unable to correct problems, you have held broken packages. can not find any solution, try harder?

my ubuntu is 22.04.2lts when i download ros-neotic-full packages i met :Unable to correct problems, you have held broken packages.,there are many packages missing, so i run sudo apt install aptitude ...
贾鸿余's user avatar
0 votes
1 answer
52 views

libc6 package breaks existing packages on air gapped server

I'm running ubuntu 20.04 amd64 and trying to upgrade libc6 package on my air gapped server. I have my own apt repositories, where i store all the packages i download. I downloaded the latest version ...
dyurhhs zhru's user avatar
0 votes
1 answer
47 views

Unable to add signing key for R 4.0 (cran40's repo) on Ubuntu 20.04

Following the instructions in How To Install R on Ubuntu 20.04, I ran sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys E298A3A825C0D65DFD57CBB651716619E084DAB9 However, I got Executing: /...
Miles N.'s user avatar
  • 187
0 votes
0 answers
52 views

Install QGIS on Debian testing (Trixie)

Following the installation page of QGIS for Debian/Ubuntu, it appears that QGIS supports either the stable release of Debian (currently Debian 12 Bookworm), or the unstable branch of Debian (sid). But ...
BFlat's user avatar
  • 174
0 votes
1 answer
64 views

Can't install missing packages for firedrake

I'm trying to install firedrake (a Python package) on Ubuntu 20.04.6 LTS the command python3 firedrake-install. python3 firedrake-install Running firedrake-install Checking for presence of package ...
handraqui's user avatar
1 vote
0 answers
134 views

Why can't I successfully execute the apt-get install command inside a docker container?

I have successfully created a docker container for a python environment, logged in as root user and used console interaction. However, when I run the command "apt-get install -y netcat", it ...
lkttle's user avatar
  • 19
-1 votes
1 answer
4k views

Can't install php7.4-dev on Ubuntu 18.04 [duplicate]

Trying to install php7.4-dev extension, but I'm getting E: Unable to locate package php7.4-dev E: Couldn't find any package by glob 'php7.4-dev' E: Couldn't find any package by regex 'php7.4-dev' ...
Abdulah Abutouq's user avatar
0 votes
0 answers
22 views

An elegant means of installing APT packages within a Python Setuptools framework

I have created a custom PIP package, with the assistance of Setuptools. At one point in the code, my package does something like this: subprocess.run(["srm", path_to_file], check=True) The ...
Tom Hosker's user avatar
0 votes
1 answer
2k views

intalling mongodb on debian 12

I am trying to install mongodb on Debian 12, but it seems that the last supported version of debian is 11 (bullseye), so I can't add the repo correctly before installing mongodb. Is there anyway to ...
Xyz.WebDeveloper's user avatar
0 votes
0 answers
18 views

Why `irb` runs `/snap/bin/irb` eventhoug `which ruby` says `/usr/bin/irb`

I am trying to make Ruby works on POP OS. I installed via apt. which ruby returns /usr/bin/irb but when I runs irb it says bash: /snap/bin/irb: No such file or directory Why does irb has default in /...
Dr Linh Chi Nguyen's user avatar
0 votes
0 answers
74 views

What does "break" mean ? libpython2-stdlib : Breaks: libpython-stdlib (< 2.7.15-2) but 2.7.12-1~16.04 is to be installed

Env:python is 2.7.18,os is ubuntu 22.04 I use "apt-get install python-openssl", and error is below may I know that does "Breaks" mean here. the errors looks confusing about version ...
nathan's user avatar
  • 762
-1 votes
1 answer
3k views

apt: Debian repository does not have a Release file

Ok, so I just turned on my Pi4 and did my usual apt update, but I got a strange output: $ sudo apt update [etc, no errors above this...] Err:9 http://deb.debian.org/debian ...
WiiCoder4444's user avatar
4 votes
0 answers
789 views

Official or recommended way to install latest mongoDB server on non LTS Ubuntu versions

https://www.mongodb.com/docs/manual/tutorial/install-mongodb-on-ubuntu/ This page has official instructions to install the latest MongoDB server on Ubuntu. But this documentation covers only LTS ...
Alok's user avatar
  • 8,108
0 votes
0 answers
433 views

Package 'php-pear' has no installation candidate

I am trying to install apt install php-pear and I get this error message: Reading package lists... Done Building dependency tree Reading state information... Done Package php-pear is not ...
pickledchicken's user avatar
3 votes
1 answer
2k views

Debian 12, error while procesing initramfs-tools while updating

Every time I update the system (with sudo apt update && sudo apt upgrade) I get an error that ends in: Errors were encountered while processing: initramfs-tools Searching someone sugested to ...
Gerardo's user avatar
  • 93
1 vote
0 answers
89 views

Install Go 1.20 from source and mark as Build-Depends in debian/control file?

I build my Go service into binary and then pack into .deb file. Go version is 1.20 However currently Go 1.20 is not supported by Ubuntu 22.04 apt repository. And therefore using debian/control for the ...
armaka's user avatar
  • 239

1
2 3 4 5
30