Questions tagged [apt]

For questions about the use, design, function etc. of APT (Advanced Packaging Tool), the standard software package management system for Debian and its derivatives.

Filter by
Sorted by
Tagged with
0 votes
1 answer
21 views

Failing to install PyPi package gdown via py2dsp

On Debian-like/apt-based distributions, instead of installing Python packaged system-wide with pip install --system, we use APT packages. Here: Install a Python package on Debian/Devuan when apt has ...
einpoklum's user avatar
  • 9,207
0 votes
2 answers
40 views

Debian - `apt` showing out-of-date package for `stable` release

I'm running Debian 12 and noticed the following output: $ apt list --all-versions firefox-esr Listing... Done firefox-esr/unstable 115.5.0esr-1 amd64 firefox-esr/stable-security 115.5.0esr-1~deb12u1 ...
davewy's user avatar
  • 153
-2 votes
1 answer
143 views

How to upgrade Debian 11 to Debian 12?

This question might sound very simple, but I can't find the command to upgrade my Debian 11 to 12. I tried apt update and apt upgrade and apt dist-upgrade and apt full-upgrade and what not. None of ...
Saeed Neamati's user avatar
0 votes
1 answer
428 views

Repository [VSCode] changed its 'Origin' value from 'code stable' to 'Pulp 3' ..?

Today I received a rather disturbing message from VS Code repo while running my customized script, sorry I don't have it saved in the pure original form, but only later when tried to run as root: apt ...
Vlastimil Burián's user avatar
-6 votes
0 answers
66 views

I'm using kali and it's showing this notification after sudo apt update [duplicate]

Notification after sudo apt update N: Skipping acquire of configured file 'stable/binary-i386/Packages' as repository 'https://download.docker.com/linux/debian bullseye InRelease' doesn't support ...
Hsein Hussein's user avatar
0 votes
1 answer
59 views

Where should I add contrib and non-free in Debian Bookworm?

I had this Dockerfile in which I wanted to install translate-shell and for that reason I had to add the contrib non-free to the end of source lines in /etc/apt/source.list. FROM node:lts-bookworm-slim ...
Saeed Neamati's user avatar
0 votes
1 answer
19 views

libudev not found in pkg-config search path in GitHub actions ubuntu-latest environment

I'm setting up CI for a Rust application I'm developing that (indirectly) depends on the libudev-sys crate. Part of this CI means building my crate, which means also building libudev-sys. When the ...
Zoe's user avatar
  • 31
0 votes
1 answer
39 views

How to have R 4.1 on Debian 11? Debian 11 won't update

Debian 11 only updates to R 4.0.4. I have packages that require at least R 4.1.0 to be installed. I already tried adding the official R repository to the source list as the official website tells to ...
BsAxUbx5KoQDEpCAqSffwGy554PSah's user avatar
8 votes
2 answers
1k views

How do I determine the apt package name for a given PyPI package?

Suppose I want to install a Python package system-wide on a Debian/Devuan system. Some PyPI packages have DEB packages available via the repository's apt sources, with package names prefixed by ...
einpoklum's user avatar
  • 9,207
3 votes
1 answer
32 views

apt - install noarch package dependency from foreign architecture

Running Debian-11-amd64 on low-end devices I prefer installing the 32 bit version of the chromium browser to save some RAM (having called dpkg --add-architecture i386): apt install chromium:i386 ...
spawn's user avatar
  • 319
6 votes
2 answers
1k views

How can I uninstall part of a package?

I have installed the BSD games package. Many of the games are awful or broken, so I wish to uninstall some of them without uninstalling others. Is there an easy way to do that? Currently, I'm sudo ...
J. Mini's user avatar
  • 137
0 votes
2 answers
201 views

Unable to install any packages Ubuntu 23.10

All of a sudden, I am unable to install anything successfully with apt with the below error: The following packages will be upgraded: linux-headers-6.5.0-10-generic 1 upgraded, 0 newly installed, 0 ...
LtMuffin's user avatar
0 votes
1 answer
67 views

Debian (and ubuntu) having throubles in downloading apt-get updates if I use https

As stated in the previous question: How can i force apt-get or apt to use only https connections deb https://deb.debian.org/debian bookworm main deb https://security.debian.org/debian-security ...
user3450548's user avatar
  • 2,816
0 votes
0 answers
53 views

Trouble using apt with kali linux system wide proxy

Hello I apologize in advance, I am very new to Linux: To preface, I am using PdaNet+ to use a wifi hotspot which requires me to use a proxy. I'm easily able to configure it into Firefox but I'm unable ...
Tye's user avatar
  • 1
0 votes
0 answers
133 views

How to configure Termux APT repositories in Debian?

I'm interested to configure the Termux repositories on a Debian system. However I got stuck on some point. Any help would be appreciated. Premise My scenario is as follows. I have an Android device ...
Krokomot's user avatar
  • 101
4 votes
4 answers
2k views

If I have two versions of python3 installed on my machine (ie: 3.11.2 and 3.12), how do I set the default version to use when running python scripts?

I installed the earlier version (3.11.2) normally using apt package manager and the later version (3.12) manually from source. When I execute python scripts like so: ./python_script.py The script ...
siralbert's user avatar
0 votes
1 answer
52 views

Ubuntu's default Firefox does not play videos on after Ubuntu upgrade

A few days ago Ubuntu (22.04 LTS) showed me a message saying I can upgrade my OS (or something along those lines). I click on agree (any button that would let me proceed) and the upgrade took place (...
Amir's user avatar
  • 949
0 votes
0 answers
90 views

dnscrypt-proxy is missing from debian 12, going to install it via sid?

Given this discussion: https://github.com/DNSCrypt/dnscrypt-proxy/discussions/2410 It seems that dnscrypt-proxy has a dependency called powerman used only for testing and not useful in the main ...
user3450548's user avatar
  • 2,816
0 votes
1 answer
137 views

Is curlftpfs missing in debian 12?

Tried to install curlftpfs in debian 12 says that the package is missing. While I understand that the package is still not active developed I use often curlftpfs inside some virtual machines transfer ...
user3450548's user avatar
  • 2,816
2 votes
1 answer
67 views

Debian : any downsides of totally replacing /etc/apt/sources.list by /etc/apt/sources.list.d/some_equivalent_files.list?

We have set up an local apt repository cache server, we thus have began to automate the setup of the /etc/apt/sources.list file and /etc/apt/sources.list.d/our_custom_files.list of our Debian 10+11+12 ...
Nec's user avatar
  • 23
0 votes
0 answers
45 views

Blacklisting a specific packages from updating using UnattendedUpgrades in Debian

I am trying to prevent updates of few packages from updating automatically by unattended upgrades in Debian 12: The part of /etc/apt/apt.conf.d/50unattended-upgrades for blacklisting by default is ...
rocky_alpine's user avatar
0 votes
0 answers
165 views

zlib not available error in spite of the package already installed

I am trying to install pip through - python3 get-pip.py but it is giving zlib not available error. I have tried following commands - sudo apt install zlib1g-dev [OUTPUT: zlib1g-dev is already the ...
Reet Nayan's user avatar
0 votes
1 answer
43 views

apt: why install older version of a package when newer is available via sources.list?

I did a reperformance. With clean boot of liveISO. It showed that removing entry from file in /etc/apt/preferences.d: Package: * Pin: release o=linuxmint,c=upstream Pin-Priority: 700 changes the ...
Martian2020's user avatar
  • 1,137
1 vote
1 answer
57 views

Debian Multi-Version Sources - Why not?

On debian (or raspbian), sometimes "testing" has missing packages or dependencies as its still in development, unlike "stable" where usually everything is super compatible/stable. ...
user82375897897928347's user avatar
1 vote
0 answers
47 views

Why suddenly apt-get output became colored?

I'm trying to get wine. I've been doing instructions from https://wiki.winehq.org/Ubuntu and on sudo apt update I've seen "E: The repository 'cdrom ..." with red "E". Just several ...
Martian2020's user avatar
  • 1,137
1 vote
1 answer
80 views

Unable to locate package pdk on debian

I am trying to install the external package pdk on debian bullseye. Following the official instructions I executed the following: wget https://apt.puppet.com/puppet-tools-release-bullseye.deb dpkg -i ...
pascalre's user avatar
  • 113
2 votes
1 answer
747 views

What exactly does "apt purge ?config-files" do?

I read this command in a posting about Raspberry. With a web search, I found several Ask Ubuntu answers, but I don't know the details of this command. apt purge ?config-files What does this do, ...
Sybil's user avatar
  • 1,717
0 votes
1 answer
147 views

I have 2 versions of Emacs installed in Debian. How do I remove one of them?

This is a (self contained) follow up query to this query: Location of Emacs 29 in a Debian 12 system I am on Debian 12. First I installed the emacs in Debian 12 which defaults to emacs 28.2. Then I ...
user2338823's user avatar
0 votes
0 answers
96 views

Unplanned Debian Upgrade

I would guess this question has been answered before. If so, please point me to the link to that topic I have a computer system purchased from Zareason before they closed their doors. It originally ...
david.a's user avatar
0 votes
1 answer
84 views

Yet another dependency problem during wine install on Devuan 5

Using Devuan 5, trying to install wine-staging using the WineHQ repositories gives a dependency error : winehq-staging needs wine-staging. (if you really need the precise error when running sudo apt ...
Niout8's user avatar
  • 3
0 votes
1 answer
30 views

For Google Cloud's debian repository, which distribution corresponds to Debian Testing (currently, Trixie)?

On Debian Testing (currently called Trixie), I would like to install the google-cloud-cli and google-cloud-sdk-gke-gcloud-auth-plugin packages that Google Cloud offers through its debian (package ...
yheilanop's user avatar
0 votes
1 answer
26 views

Debian: How to mirror a minor version that is not the current one

I use Debians apt-mirror to create a local mirror. Here's the entry in /etc/apt/mirror.list for getting lastest Debian 11 - that is 11.7. deb http://ftp.at.debian.org/debian bullseye main What to do ...
chris01's user avatar
  • 549
1 vote
0 answers
27 views

Gnome installation on Debian 12 fails [duplicate]

When i start the PC the graphical desktop ( gnome ) does not start. If run startx the PC crash and i need to reboot it. Looking at the apt log i found that something have uninstalled my gnome package: ...
DanieleGrassini's user avatar
1 vote
1 answer
49 views

Debian apt, gpg keys and constant overwriting of signed-by

The apt-key has been depreciated. E.g. here they describe how to migrate to gpg keys. Great but it works for a month or so until the sources.list file gets overwritten. Why or how it gets overwritten, ...
atapaka's user avatar
  • 521
0 votes
2 answers
180 views

Problems with installing pycryptodome

I have modified my thinkpad's BIOS to remove the wifi whitelist and plan to flash the modified bios back to the eeprom. To do that I have to use a tool called thinkpad-uefi-sign which signs the image ...
witherslayer's user avatar
1 vote
1 answer
111 views

Unattended-Upgrades configuration for custom repo only

OS: LMDE 5 (based on Debian 11 Bullseye) To keep the system tidy, I use separate files to overrides the original distribution/developer configuration files wherever possible. This also prevents ...
DarekH's user avatar
  • 37
0 votes
1 answer
15 views

harfbuzz downgrade issues

My system crashed due to a harfbuzz related incompatibility. So I tried to downgrade the harfbuzz packages to version 2.7.4-1, and I got a strange result! More than 500 packages will be deleted with ...
Soheil's user avatar
  • 13
0 votes
1 answer
1k views

Unable to upgrade from Ubuntu 22.10 - packages have been kept back: libgd-dev libgd3 libgd3:i386

I'm a layman when it comes to using Linux/Ubuntu. I'm on Ubuntu 22.10 unable to uprade. I tried all that I could find on internet: apt update apt upgrade apt full-upgrade Here is the log: hp@hp-...
claws's user avatar
  • 113
1 vote
0 answers
202 views

GPG key could not be added by apt-key on Ubuntu 20.04

I can not add the gpg key for apt repository into keychain. But I can add it through the gpg --import When I try to add it with apt-key add, it just doesn't appear there, and I get no obvious error: ...
VmeansVendetta's user avatar
0 votes
1 answer
148 views

Debian+Gnome Remove Libreoffice

Is there no way to remove libreoffice* without removing gnome? If i type sudo apt purge libreoffice* It automatically also wants to remove gnome Is there a solution to this?
user82375897897928347's user avatar
0 votes
0 answers
26 views

Error 404 appears when running apt-get update. Debian [duplicate]

When I run the docker-compose build command, the Dockerfile does not build and I get the following error: [app 2/21] RUN apt-get update && apt-get install -y zlib1g-dev libzip-dev libonig-dev ...
BloodyCayman's user avatar
2 votes
1 answer
405 views

Debian apt issue (not found and deb12u1)

I wanted to install texmaker the other day but I ran into an issue : it downloaded 500mb but it told me it could not find a few dependencies, for instance Err : 4 http://deb.debian.org/debian/pool/...
themathsdude's user avatar
1 vote
1 answer
758 views

`apt upgrade` or 'apt full-upgrade'?

In a fresh installed Ubuntu, which command (apt upgrade or apt full-upgrade after apt update) can make my Ubuntu more safe from hackers or install more security patches? The security is more important ...
auzyveyauzyvey's user avatar
-1 votes
1 answer
67 views

libc-bin post install script failing with error code 135

I am running ParrotOS on a bootable USB drive. I ran apt update and it failed with the output: $sudo apt upgrade APT on Parrot behaves differently than Debian. apt upgrade is equivalent to apt full-...
Benedict Orlich's user avatar
0 votes
0 answers
12 views

Getting list of user-modified system files within subtree

Say that I know, that I updated some files in /etc/pam.d Can someone recommend command to get list of all files which differs from their last repository version? I used to have it, but cannot find it ...
Martin Mucha's user avatar
-1 votes
2 answers
1k views

Kali Linux Purple: Unable to install 'libgconf-2-4' package

I am attempting to install Spotify and Discord on my Kali Linux (Purple Edition) using apt install <package name/deb file>. However i ran into dependency issues. Typically, Kali would install ...
edenfrey's user avatar
0 votes
1 answer
925 views

Problem with apt public keys in docker image building

I have problem after upgrading PHP image from 8.0 to PHP image 8.1 and on stackoverflow they sent me there this is my dockerfile: FROM php:8.1-apache AS apache RUN a2enmod rewrite WORKDIR /bin ...
Andrzej Olearka's user avatar
1 vote
1 answer
61 views

Feed input to apt install

I'm trying to install python3.9 in a Dockerfile based on ubuntu:20.04. When I run apt -y install python3.9 manually, it prompts me for the geographic area and the city corresponding to my time zone. ...
Daniel Walker's user avatar
0 votes
0 answers
48 views

Reinstalling dpkg and apt on Debian 12 [duplicate]

How to completely reinstall dpkg and its apt front-end? I tried to run sudo apt remove virtualbox , and my output was: Reading list of packages ... done Dependencies tree generation ... done Reading ...
Tux's user avatar
  • 3
-2 votes
2 answers
139 views

How to unistalled Go tools in Linux using command line?

I installed cf using go get github.com/xalanq/cf-tool cd $GOPATH/src/github.com/xalanq/cf-tool go build -ldflags "-s -w" cf.go cf --version output: Codeforces Tool (cf) v1.0.0 I tried to ...
MdNihal05's user avatar

1
2 3 4 5
66