Skip to main content
Share Your Experience: Take the 2024 Developer Survey

Questions tagged [apt]

The Advanced Packaging Tool (APT) is a package management system for Debian, and a set of tools for manipulating that system.

Filter by
Sorted by
Tagged with
-3 votes
2 answers
88 views

sudo apt update not working on Ubuntu?

sudo apt update Get:1 file:/var/cuda-repo-ubuntu2004-11-6-local InRelease Ign:1 file:/var/cuda-repo-ubuntu2004-11-6-local InRelease Get:2 file:/var/cuda-repo-ubuntu2204-12-4-local InRelease [1572 ...
Shrijayan's user avatar
0 votes
1 answer
116 views

Debian unstable: can't install deborphan

When trying to install package deborphan on Debian unstable / sid I get the following error: usr@hst ~ [100]> sudo apt install deborphan Package deborphan is not available, but is referred to by ...
Marko Kocić's user avatar
0 votes
1 answer
61 views

How to configure network settings for apt on Raspberry Pi?

I picked up my raspberry pi for the first time since moving into a dorm, and apt has completely broken. It seems like maybe a firewall issue but I'm not entirely sure. I referred to this article but ...
Adan's user avatar
  • 3
0 votes
0 answers
103 views

Error on my proxmox console when i want to do a get-update

i wanted to do a get-update command but i get this error E: Failed to fetch https://enterprise.proxmox.com/debian/ceph-quincy/dists/bookworm/InRelease 401 Unauthorized [IP: 51.91.38.34 443] E: The ...
Dod's user avatar
  • 1
0 votes
1 answer
188 views

What's the difference between security.debian.org/debian-security and deb.debian.org/debian-security for Debian 12?

Continuing http://unix.stackexchange.com/questions/541569 (which refers to the outdated Debian 10 and is unspecific/unclear in other ways, and the only answer to which is around 4 years old and at ...
AlMa1r's user avatar
  • 123
1 vote
0 answers
2k views

`nvidia-driver` install failing due to kernel module build error

This wasn't something I did, but a bug in Debian. See this thread on the matter. The kernel update from 6.1.0-17 to 6.1.0-18 broke the nvidia kernel module. I must have coincidentally updated my ...
Devin Droddy's user avatar
0 votes
0 answers
83 views

Try to fix broken install - dictionaries-common

I am trying to fix a broken install and got this error : ➜ Downloads sudo apt --fix-broken install Reading package lists... Done Building dependency tree... Done Reading state information... Done ...
emilie zawadzki's user avatar
2 votes
0 answers
220 views

How to make `apt install` always ask to continue?

dnf install always asks if I really want to install something but apt install will do that only sometimes (usually if the package requires dependencies) but not always. Is there a way to have apt ...
user avatar
0 votes
1 answer
1k views

Encountering Errors with bookworm-security Package During 'apt-get update'

i couldn't post this on stack overflow since it said it was spam so here it goes Description: When executing sudo apt-get update, I'm encountering errors related to the 'bookworm-security' repository. ...
Dominik Wajda's user avatar
0 votes
1 answer
769 views

Remove package from apt update list

I'm fairly new to linux operations. In an effort to install mysql 8, I downloaded a package, and used dpkg -i to install, per a tutorial I was reviewing. Once complete, I did apt update and have ...
sqlt's user avatar
  • 1
0 votes
0 answers
326 views

Kernel Panic and Apt Failing to Update Kernel After

Host OS: macOS Sonoma 14.1 Hypervisor: Parallels 19.1.0 (54729) Guest OS: Kali 6.1.0 I have a Kali Linux VM that I run on Parallels that I use to do Hack The Box, CTFs, etc. Usually once a month, I ...
Matt's user avatar
  • 1
4 votes
2 answers
258 views

Are the Origin and Label changes for packages.microsoft.com/repos/vscode/dists/stable/InRelease suspicious?

While updating the apt repository indexes on Debian 12 bookworm, I was informed that the microsoft package repository for vscode had changed it's Origin and Label as shown below. This seems an ...
RidiculousRichard's user avatar
0 votes
0 answers
494 views

Cannot bypass GPG check to reinstall packages/update on Debian 7

I am trying to reinstall some packages on a debian 7.11 # lsb_release -a No LSB modules are available. Distributor ID: Debian Description: Debian GNU/Linux 7.11 (wheezy) Release: 7.11 Codename: ...
msacks's user avatar
  • 11
1 vote
0 answers
546 views

Unable to install any packages on Kali

Windows admin, Linux newbie trying to do some really basic stuff for a class I'm taking. I'm using the official VMWare appliance from Kali so I would think everything is configured to a point of basic ...
Kalas's user avatar
  • 11
0 votes
2 answers
107 views

Is this supposed to happen on a fresh install of ubuntu?

The servers screen (the output of what is happening) I don't think this is supposed to happen? It also gets stuck at a percentage (sudo apt upgrade && sudo apt update). This is the 3rd time I ...
Creeper39x's user avatar
0 votes
0 answers
107 views

Update Ubuntu under Parallels desktop

I'm trying to update my Ubuntu 20.04.2 ARM64 bits running using parallels using the common : sudo apt update and I'm getting the following error : Hit:1 http://ports.ubuntu.com/ubuntu-ports jammy ...
JDoe's user avatar
  • 1
0 votes
0 answers
83 views

apt unmet dependencies, but the package is there

I've made a deb package with debuild on Ubuntu a while back, now I want to use it on a new system. Three packages, actually: a library with an app and a configuration file installed as a package. ...
smsware's user avatar
  • 171
0 votes
0 answers
127 views

ansible automatic apt upgrade and all find modified configuration file

With ansible do an automatic apt upgrade from all our servers. That is no problem, but as a result we want to see only the "configuration file" which has kept, so we could check them ...
Maddin's user avatar
  • 1
0 votes
0 answers
27 views

How do I install many lines of packages with apt (from a script)? Does '\' work? [duplicate]

A part of my Bash script looks like this: apt install -y alsa-base alsa-utils apt-transport-https build-essential curl ffmpeg geany gcc \ gnome-screenshot gnome-terminal libfuse2 libreoffice-calc ...
John Smith's user avatar
1 vote
2 answers
216 views

Configure apt to delay update of specific packages

On Debian, in my apt sources I have put the source for opera-stable browser. opera is updated very often on their repo, almost daily or every other day. That's very frequent and every time a large ...
usilo's user avatar
  • 175
-1 votes
1 answer
478 views

E: Unable to parse package file /var/lib/apt/extended_states (1)

I have similar problem as https://unix.stackexchange.com/questions/139441/reading-package-lists...error! This question is found in many posts but I did the 2 solutions provided and same problem exists....
Hussien Mostafa Elkholy's user avatar
0 votes
1 answer
157 views

Can't run ffmpeg on OSMC

I have an OSMC system with Debian GNU/Linux 11 (bullseye). I can't run ffmpeg: osmc@osmc:~$ ffmpeg ffmpeg: error while loading shared libraries: libGL.so.1: cannot open shared object file: No such ...
steffen's user avatar
  • 150
0 votes
0 answers
53 views

Unable to install libjsonrpccpp-dev and other dependencies on Linux Mint 21.2

I cant install install libjsonrpccpp-dev on Linux Mint 21.2. I did sudo apt update first. $ sudo apt install -y libjsonrpccpp-dev ... The following additional packages will be installed: libcurl4-...
user avatar
1 vote
1 answer
1k views

Receiving "E: Sub-process /usr/bin/dpkg returned an error code (1)" when performing the command: "sudo apt upgrade" on Kali Linux

When I run sudo apt upgrade or other related commands, I receive an error E: Sub-process /usr/bin/dpkg returned an error code (1). The full command being executed can be shown below: sudo apt upgrade ...
adriangigliotti's user avatar
1 vote
0 answers
32 views

How come rebuilt packages are seen as a downgrade in Debian / APT based distros?

I wanted to look into building packages for Debian, but the process is not as straightforward as in other distributions it seems, when it comes to writing the instructions on how to build the package, ...
James Russell's user avatar
1 vote
1 answer
2k views

Debian 11 can't find packages

I recently installed Debian 11 and started messing around to the point where I can't find any packages with apt. For example, when I run sudo apt install ifconfig it returns: E: Unable to locate ...
Rikkerdt's user avatar
0 votes
0 answers
1k views

Why am I still getting package authentication warnings even after disabling validity check on Debian 8?

I'm still running Debian 8 "Jessy" on my outdated Banana Pi BPI-R1 hardware. But now, when I try to install a package, I get WARNING: The following packages cannot be authenticated! After ...
user7440925's user avatar
1 vote
0 answers
834 views

Is there a repo for php5-gd for debian 12?

I am planning an upgrade of a debian 11.7 server to debian 12. When asking for a full upgrade, Debian warns me about is to remove php5-gd The following packages will be REMOVED: libpng12-0 php5-gd ...
realtebo's user avatar
  • 600
1 vote
0 answers
664 views

Package version is showing in "apt list" but not in "apt-cache policy"

Using Ubuntu Focal, I have added a line to my /etc/apt/sources.list: deb https://cloud.r-project.org/bin/linux/ubuntu focal-cran40/ and run apt-get update. I would like to use this repository to ...
dash2's user avatar
  • 111
1 vote
0 answers
970 views

I have both python3.9 and 3.11 installed and apt is showing unmet dependencies error after I force install pycurl with dpkg

I have both python 3.9 and 3.11 installed, but most of the pip packages is installed in 3.9 and I don't want to move to 3.11 I have to install pycurl, but using pip install it failed to build, so I'm ...
Kaiziron's user avatar
0 votes
0 answers
54 views

Source list in mac m1?

I had a copy of source-list from my ubuntu machine and I double clicked it mistakenly ran it successfully in my m1 macbook machine. It may or may not affect my machine but I want to undo this action. ...
Bhojendra Rauniyar's user avatar
0 votes
0 answers
201 views

My package manager doesn't work after I upgrade

I don't know why my package manager is not fully working. halil@ubuntu:Downloads$ sudo apt upgrade Reading package lists... Done Building dependency tree... Done Reading state information... Done ...
FeXa's user avatar
  • 1
1 vote
3 answers
224 views

Could not read status of path (which was just about to install): Input/output error

I am using Debian bullseye without systemd (devuan) and today I wanted to upgrade my packages. So I typed sudo apt upgrade It didn't work because I got the following error (note that this error was ...
Mikke Mus's user avatar
  • 185
0 votes
1 answer
876 views

How does `apt full-upgrade` determine to remove a package in order to upgrade another package?

we have raspberry pi systems with debian installed, with sources from bullseye, bullseye-backports, raspberrypi, and finally our private repository. In our private repository we pre-compile zfs-...
Max-Julian Pogner's user avatar
2 votes
2 answers
3k views

Can't install Oracle's virtual box gpg key to apt on Ubuntu 22.10

Here's what I tried. Added their apt line, with distro "jammy", to the /etc/apt/sources.list.d directory. Downloaded their key from their download page. At this point, I tried several ...
Shachar Shemesh's user avatar
2 votes
1 answer
14k views

How to fix update error "Clearsigned file isn't valid, got 'NOSPLIT' (does the network require authentication?)"?

Suddenly sudo apt update is not working anymore on my Ubuntu 18.04.6 machine. I get the following error: Hit:1 https://download.docker.com/linux/ubuntu bionic InRelease Get:2 http://us.archive.ubuntu....
th3owner's user avatar
1 vote
0 answers
2k views

Kali apt-get update fails with "Clearsigned file isn't valid"

I'm trying to do apt-get update at in result i am getting these errors, tried various methods, couldnt resolve. i need help with this error. Get:1 http://http.kali.org/kali kali-rolling InRelease [18....
Ravi's user avatar
  • 11
0 votes
1 answer
872 views

Cannot upgrade linux kernel due to space, but cannot remove older ones

uname -r 5.15.0-60-generic My apt upgrade is failing with: Reading package lists... Done Building dependency tree Reading state information... Done Calculating upgrade... Done Get more ...
Nik's user avatar
  • 467
2 votes
1 answer
340 views

Debian source.list query

TLDR Is it okay to edit /etc/apt/sources.list and change the entry from deb http://ftp.gb.debian.org/debian/ bullseye-security main contrib non-free to deb http://deb.debian.org/debian-security/ ...
Xueshe's user avatar
  • 33
0 votes
1 answer
215 views

Debian: install newest (newer than default) version of single package (but don't break when default catches up)

I'm using debian bullseye. I want to install a newer version than default for a single package: python3. I do not want this behaviour for all packages. Also I do not want to install from a tar ball, ...
Asqiir's user avatar
  • 149
1 vote
0 answers
132 views

apt-offline to add custom .deb files to apt update list

I have .deb files that were manually generated. With apt-offline install I can synchronize them with apt cache. However if I try apt install <package-name> it doesn't find the synchronized deb ...
vinalti's user avatar
  • 153
4 votes
0 answers
11k views

How to fix E: Could not get lock /var/lib/apt/lists/lock. It is held by process 1044 (packagekitd)

Recently, I have bought a 64GB SD card for dual booting Ubuntu on my computer. It works at first, but when I try to run sudo apt upgrade It gives me this: E: Could not get lock /var/lib/apt/lists/...
Gyoza's user avatar
  • 41
0 votes
0 answers
771 views

Error installing anything on Ubuntu 22.10 with “sudo apt” command in the terminal: “The package code needs to be reinstalled.”

I cannot install anything with Sudo apt in terminal. I specifically tried installing java jdk and still got the error below. sudo apt install openjdk-11-jre-headless Reading package lists... Done ...
LydiaKip's user avatar
0 votes
0 answers
19 views

Problems with "apt update" in Xubuntu 20.04 -- how do I get the public key for cli.gitub.com [duplicate]

I see a problem when I try "apt update" -- here is the output root@camelot-j:/etc/ssh# apt update Ign:1 http://linux.dropbox.com/ubuntu disco InRelease Hit:2 http://linux.dropbox.com/ubuntu ...
4Dummies's user avatar
  • 183
2 votes
1 answer
8k views

How to install clonezilla on Ubuntu 22.04 LTS Live CD. "E: Unable to locate package clonezilla"

Normally I'd just use the clonezilla ISO and be done with it, but connecting to wifi with the command line only seemed far more trouble than it was worth. To avoid that, I decided to run clonezilla ...
Will Callender's user avatar
1 vote
1 answer
1k views

Linux/Debian: How to find out if a package has been installed via package manager (apt) or manually using dpkg?

I'm using a Debian cloud instance and am wondering how to list all of the packages that have been installed manually, e.g. by using dpkg on a .deb file, as opposed to via the package manager apt. I ...
Mac's user avatar
  • 11
8 votes
3 answers
26k views

Can't install neovim v0.8.0+ on Ubuntu

I can't intstall neovim 0.8.0+ on KDE neon (based on ubuntu). I need neovim 0.8+ for LunarVim. apt says the next: ➜ ~ LV_BRANCH='release-1.2/neovim-0.8' bash <(curl -s https://raw....
Vladyslav Rehan's user avatar
0 votes
1 answer
995 views

apt refuses to update version for some packages

To preface: some crazy breakage occurred on my debian 11 system. To fix I had to boot a live disc, mount my root partition, copy /usr/lib from the live medium to the root, chroot, and manually ...
ACK_stoverflow's user avatar
0 votes
0 answers
165 views

An error occured while download build-essential on Ubnutu 18.04 LTS

i'm using Ubuntu 18.04LTS on Windows. when i sudo apt-get install build-essential ,it tells me: Reading package lists... Done Building dependency tree Reading state information... Done Some packages ...
Danhui Xu's user avatar
0 votes
2 answers
17k views

Unable to run apt update: At least one invalid signature was encountered

My Linux Mint 20 installation suddenly stopped updating. Update Manger says "Your APT configuration is corrupt". Running apt update produces the following messages: Get:1 http://security....
Alex's user avatar
  • 3

1
2 3 4 5
10