Questions tagged [apt]
The Advanced Packaging Tool (APT) is a package management system for Debian, and a set of tools for manipulating that system.
466
questions
0
votes
0
answers
15
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 ...
0
votes
0
answers
26
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. ...
0
votes
0
answers
48
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
...
1
vote
0
answers
16
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:
dpkg: error processing ...
0
votes
1
answer
88
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-...
0
votes
2
answers
343
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 ...
0
votes
0
answers
18
views
Cannot enable symfollow on ChromeOS
Commands will explain this more briefly than I can:
$ grep ' /t' /etc/mtab
tmpfs /tmp tmpfs rw,seclabel,nosuid,nodev,relatime,nosymfollow 0 0
$ sudo mount -o remount,symfollow /tmp
mount: /tmp: mount ...
1
vote
1
answer
2k
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....
1
vote
0
answers
363
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....
0
votes
0
answers
88
views
Vagrant: syncing folder /var/cache/apt: filesystem vboxsf not available
I use Windows as a host and Kali Linux as a guest. VirtualBox provider.
I routinely destroy and re-provision Kali.
I want to have a synced folder /var/cache/apt so that apt files aren't downloaded ...
0
votes
1
answer
471
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 ...
2
votes
1
answer
143
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/ ...
0
votes
0
answers
64
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, ...
1
vote
0
answers
50
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 ...
0
votes
0
answers
33
views
Cannot add GPG keys to an Ubuntu 22.04 VM Vagrant Box. What can I do to further debug this issue?
Let me preface by saying I don't know much about how OS behavior may change when virtualized in a type-2 hypervisor.
After trying to a bunch of different things to resolve issues related to this post:
...
0
votes
0
answers
49
views
How do I change where Grub wants to install?
My Ubuntu 20.04.1 server was running fine. After recently installing a new drive, when I run a simple sudo apt-get upgrade, I see that it's trying to install on the wrong partition. Here's the error:
...
0
votes
0
answers
1k
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/...
0
votes
0
answers
239
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
...
0
votes
0
answers
17
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 ...
1
vote
1
answer
1k
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 ...
0
votes
1
answer
70
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 ...
5
votes
3
answers
11k
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....
0
votes
1
answer
490
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 ...
0
votes
0
answers
179
views
How to install tesseract-ocr in Debian 10
tesseract-ocr installation in Debian 10 Buster throws 404 errors.
Tried:
apt install tesseract-ocr
Reading package lists... Done
Building dependency tree
Reading state information... Done
The ...
0
votes
0
answers
17
views
Why is apt-get putting my .deb files in my root folder?
Why is apt-get install storing the .deb files in my base folder "/" (not "/root")
Have I messed up some conf file somewhere?
0
votes
0
answers
81
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 ...
0
votes
2
answers
6k
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....
-7
votes
1
answer
342
views
How to downgrade wpasupplicant?
So, after 4 months of research, trying everything possible and impossible, looks like I finally found a solution to solve all my wifi problems on Ubuntu:
https://www.upv.es/contenidos/INFOACCESO/...
0
votes
0
answers
31
views
How do I turn off colorizing the output of apt list?
I'm in a Docker container (if that matters) running Debian 11. When I do apt list and capture the output to a file, it is colorized. Is there a way to turn that off? I can't find any mention of it ...
2
votes
0
answers
72
views
Best Way to Deny Packages from Foreign Architecture?
Question
What is the best way to block installation of packages from a foreign architecture on Ubuntu or Debian, or even better prevent adding that foreign architecture in the first place?
Context
I ...
0
votes
1
answer
2k
views
How to connect to Docker daemon if unix:///var/run/docker.sock is not available and docker is running
I had an issue with docker installed with snap, and I moved to apt. This was on a production server. In order to have a low downtime, I did the following:
Removed snap running containers
Removed /...
0
votes
0
answers
32
views
What's going on with aptitude and 49 installed versions ofdocker?
It appears I have 49 version of docker CE installed.
# aptitude show -v docker-ce | grep -e Version | wc -l
49
I'm investigating a docker issue (which I'll post in another question) and I found this. ...
0
votes
1
answer
249
views
How to install and run babeltrace2 on ubuntu 20.04?
I followed the instruction to build and install the babeltrace2 python3 bindings.
Then I got the babeltrace2 binary at: /usr/local/bin/babeltrace2
But when I tried to run it, it reports below error:
...
0
votes
0
answers
73
views
apt update warnings after installing teamviewer
hello i installed teamviewer using this website https://computingforgeeks.com/how-to-install-teamviewer-on-kali-linux/ but when i type apt update it shows these warnings this happened after i ...
0
votes
0
answers
193
views
motd-news does not start
I have been experiencing an error when try to run apt or dpkg --configure -a that freezes when i run that commands.
Researching further i found out that it gets stuck at deb-systemd-invoke restart ...
1
vote
1
answer
28
views
Does Debian apt-get upgrade has a way to specify the updates to make
Looking at the apg-get upgrade options, I do not see a way to specify up to what Debian version to apply updates. For example, if I have Debian 10.0 currently, is there a way to say; "I would ...
0
votes
1
answer
235
views
Can't bind proxy address to apt
I have installed proxy (Network settings). It's working.
Having run sudo apt update I "clashed" an error
E: The repository 'https://download.docker.com/sudo apt-get Release'
does not have a ...
0
votes
0
answers
187
views
Unable to locate package timeshift, deleted /var folder
I accidentally deleted my /var folder in ubuntu and now I am trying to back up and reinstall ubuntu, following this website's step-by-step: https://linuxconfig.org/ubuntu-20-04-system-backup-and-...
0
votes
0
answers
45
views
How do I reconcile my apt java location with my snap java location?
I'm trying to update the Java version used by my Ubuntu 22.04 LTS server from 17 to 18. After following a few guides, I came to the conclusion that my apt repositories did not include the openjdk-18 ...
0
votes
0
answers
103
views
Recover /usr/lib/x86_64-linux-gnu after misstakenly copying libraries into it
For some reason some libraries have been sudo copied directly into the '/usr/lib/x86_64-linux-gnu' on a computer with Ubuntu 20.04.4. When running apt install it complains that some libraries are not ...
16
votes
2
answers
4k
views
Pop OS 22.04 can't update gir1.2-mutter-10, libmutter-10-0
For like two weeks now I see that gir1.2-mutter-10 and libmutter-10-0 have updates that are held back, but any attempt to install them fails. Even more, when simply trying to install them, I get error ...
0
votes
1
answer
174
views
Albert repository GPG key issues on debian derivates
There are several problems (predominantly EXPKEYSIG) that can occur due to the keys published by OBS, which are valid only for about two years.
2
votes
3
answers
9k
views
E: Failed to fetch https://packages.sury.org/php/dists/stretch/InRelease 403 Forbidden [IP:x.x.x.x]
I am using Ubuntu1804.
When I do apt update, I got an error
E: Failed to fetch
https://packages.sury.org/php/dists/stretch/InRelease 403 Forbidden
[IP: x.x.x.x 443]
E: The repository
'https://...
4
votes
1
answer
9k
views
how to install qt5 in debian 11 stable?
I'm trying to play an NES emulator named punes, and on its github page, it says I need to configure and build manually. When I do ./configure, I get configure: error: Qt5 library not found. However, ...
-1
votes
1
answer
548
views
youtube-dl removed but still there
There's a ghost in the shell.
I tried to remove youtube-dl through brew uninstall youtube-dl:
-bash: brew: command not found
cool, that means I have not even installed brew.
I then checked if I could ...
0
votes
0
answers
553
views
Unable to start tomcat server with service start
I installed tomcat on ubuntu using the command: sudo apt install tomcat9
But I am unable to run it with any command like sudo service tomcat start
sudo service tomcat9 start It gives an error tomcat9:...
0
votes
1
answer
406
views
Logrotate not installed as a systemd service
I have installed via apt logrotate.
However I don't see any systemd service.
Does this requires a separate process for setting up logrotate as a systemd service?
root@myserver:~# apt install -y ...
0
votes
1
answer
939
views
Broken apt and python on ubuntu server: XXX ambiguity
A running Ubuntu server 20.04LTS with unattended-upgrades, appear to have broken python installation and subsequently broken apt.
That makes me unable to upgrade or install packages. It has also ...
0
votes
1
answer
450
views
opkg vs apt on openWrt
I am currently in the process of building a Raspberry Pi router which also runs an apache2 webserver and an FTP server.
Instead of apt, which I am used to, I have to use opkg. So I wondered, what are ...
0
votes
0
answers
195
views
Remove/Update Python3-dev
I am trying to install a wireless driver on Kali; however, when I try to update certain files I get the following error:
└─$ sudo apt-get purge --auto-remove python3.9-dev ...