Questions tagged [package-management]
Questions about the management of software packages, in particular the APT and dpkg systems.
10,212
questions
0
votes
0
answers
23
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....
0
votes
0
answers
13
views
.NET 6 installation Ubuntu 22.04 WSL 2 not working
I have installed dotnet6 via the guide here https://learn.microsoft.com/en-us/dotnet/core/install/linux-ubuntu-2204
SDK
sudo apt-get update && sudo apt-get install -y dotnet-sdk-6.0
Runtime
...
0
votes
1
answer
32
views
apt update looks for source not listed in sources.list or sources.list.d or anywhere in /etc/apt/
In Ubuntu Studio 22.10 and 22.04.1 LTS Every time I run apt, especially apt update I find it has looked for a source that does not exist anywhere in /etc/apt/ directories or files therein.
At first ...
-3
votes
1
answer
40
views
Can use sudo apt update [duplicate]
himanshu_chhatwal@Himanshu:~$ sudo apt update
Hit:1 http://archive.ubuntu.com/ubuntu focal InRelease
Hit:2 http://archive.ubuntu.com/ubuntu focal-updates InRelease ...
0
votes
0
answers
22
views
black screen on Ubuntu 20.04 after login
Problem: After typing in my credentials I am greeted by a black screen with a cursor. My desktop environment does not load although the folder names are present they don't work at all and the terminal ...
0
votes
1
answer
37
views
Reset Ubuntu back to ubuntu-server pristine?
I've got an Ubuntu box that was running Ubuntu Desktop, and has been upgraded from 18.04 to 20.04 to 22.04.
I want to convert it into an Ubuntu Server.
What commands can I run to reset it (package-...
0
votes
0
answers
20
views
unpacking path tar gz [duplicate]
today I tried to install postman. but the site provides a tar archive.gz, which contains a ready-made application. I need to know if there is some standard for unpacking tar gz ? maybe there is some ...
-1
votes
0
answers
22
views
Boot to live-usb when screen won't wake up
My system was interrupted during an update and now, though the machine turns on, I can't ssh into it or get the screen to wake up. I want to boot from a usb and try to fix whatever went wrong with the ...
-3
votes
2
answers
40
views
Failed to fetch http://ppa.launchpad.net/morphis/anbox-support/ubuntu/dists/focal/InRelease 403 Forbidden [duplicate]
This is not a duplicate of How can I fix a 404 Error when using a PPA or updating my package lists?
When I run sudo apt update I got error:
Hit:1 https://linux.teamviewer.com/deb stable InRelease
...
...
0
votes
1
answer
43
views
Apache2 not installing necessary modules
Upon removing apache2 via sudo apt-get remove --purge apache2 and sudo apt-get autoremove and reinstalling it via sudo apt-get update and sudo apt-get install apache2, it does not install mods it ...
0
votes
0
answers
13
views
How to install debug packages for glib2, gtk3, and gimp?
I reported a bug with GIMP3, and I was asked,
Please install or compile debug packages for glib2, gtk3, and gimp, and provide a stacktrace with debug symbols.
Which all packages are these?
How to ...
-1
votes
0
answers
23
views
Missing Dependancies [duplicate]
I have a system that was running 20.04. I was trying to get a PHP library installed and found information online that had me change the sources for my install.
I ended up changing my sources and ...
0
votes
0
answers
23
views
Error while installing wine at the termination with apt [duplicate]
I was trying to install wine in my system but I removed it and installed it again because I had too much files and directories ant then I got this error when I install it using apt.
ninjmango@...
0
votes
1
answer
38
views
I need only to purge apt packages, but no names and after purge remains there [duplicate]
After sudo apt update detected bugs, so, I want to PURGE the packages... But what the package name? how to purge it?
I try remove the listed bugs (final below), but:
sudo apt purge pgadmin4, no ...
0
votes
0
answers
74
views
Cannot run ls /dev/serial/by-id/ - No such file or directory (5.15.102-1-pve) [closed]
I am running a Proxmox VE installed by iso image based on version 7.3 (https://www.proxmox.com/de/downloads/item/proxmox-ve-7-3-iso-installer).
uname -r
5.15.102-1-pve
I need to passthrough an USB ...
0
votes
1
answer
122
views
what is the best way to install python 3.10.10 (which is the current version of 3.10) on a 22.04 machine where the systems python version is 3.10.6
I have done the following on a clean install of a 22.04 machine:
sudo apt update
sudo apt upgrade
sudo apt autoremove
sudo add-apt-repository ppa:deadsnakes/ppa
sudo apt update
sudo apt install ...
0
votes
0
answers
24
views
apt install --only-upgrade silently marks packages as manually installed
I just realized that since I upgraded to Ubuntu 22.04, running apt install --only-upgrade some-package sometimes silently marks packages as manually installed. I find this really odd and annoying. As ...
1
vote
0
answers
20
views
synaptic package manager error
Having upgraded to 20.04 I get an error message when reloading in synaptic package manager.
W: http://gb.archive.ubuntu.com/ubuntu/dists/bionic/InRelease: Key is stored in legacy trusted.gpg keyring (/...
0
votes
1
answer
67
views
Can't install nala in ubuntu 18.04. What's the matter?
I was trying to install it and no results of it. But I'm using apt to do it.
ninjmango@lenovothinkpadt400:~$ sudo apt install nala
Reading package lists... Done
Building dependency tree
Reading ...
-1
votes
0
answers
33
views
Dual boot seems to have broken Ubuntu 22.04 [duplicate]
I dual booted my system with Kali everything went fine apart from a small issue i had the other day. Kali updates fine runs as expected but when i switch back to Ubuntu 22.04 every time i try to ...
0
votes
1
answer
50
views
Get a list of packages installed additionally after Ubuntu installation
I know I can get a list of all installed packages with apt list --installed.
How can I get a list of packages that were additionally installed after the installation?
Background: I want to automate ...
2
votes
1
answer
116
views
error: cannot stat file '/etc/alternatives/my.cnf': Invalid argument
When running apt upgrade on my Ubuntu 22.04.1 server I get an error that prevents all upgrades. After a few weeks of googling I'm at a loss. Does anyone else recognize the cause?
Do you want to ...
0
votes
0
answers
32
views
change apt repository distrubtion
I am very new to apt-repository.
current context is in docker, we use "reprepro includedeb xenial $pkg" to add new package .
my goal is to create a new dist for jammy so that "reprepro ...
1
vote
1
answer
50
views
Error when I want to install something via pip: "Therefore support for pip in cryptography is deprecated"
When I want to install youtube-dl python3 -m pip install --upgrade youtube-dl I get this error message:
/usr/lib/python3/dist-packages/secretstorage/dhcrypto.py:15: CryptographyDeprecationWarning: ...
3
votes
1
answer
192
views
What does "No apt package "yt-dlp", but there is a snap with that name" mean?
I just wanted to install yt-dlp with: sudo apt install yt-dlp. But I get this message:
Reading package lists... Done
Building dependency tree
Reading state information... Done
No apt package &...
0
votes
1
answer
41
views
Is it common practice for an apt-get repository to take down files (giving 404 for them) for old versions of packages?
Today I ran apt-get update on a slightly old system but it failed due to a 404 error. Surely it worked in the past. It looks like one of the URLs that apt-get tried to fetch was taken down from the ...
0
votes
0
answers
18
views
Update from 18.04 fix loop
I am trying to fix an update problem. I have tried apt-get upgrade and there are unmet dependencies with My-sql I can seem to fix.
root@odroid2:~# version
version: command not found
root@...
1
vote
0
answers
23
views
Interactive Install of a deb file using software installer(snap-store) is not asking for the debconf options and uses default values in 20.04 & 22.04
I am trying to install a software with deb file using software installer(snap-store) from the GUI and it has some options to be selected during installing which uses debconf. While installing using ...
0
votes
0
answers
93
views
Getting an error when trying to install libcurl4-openssl-dev on Ubuntu 20.04
I am currently trying to run some R code on Databricks. Some R packages require that I install libcurl4-openssl-dev. I am getting the following error while trying to install libcurl4-openssl-dev:
Ign:...
0
votes
0
answers
30
views
Including shared libraries in a .deb package
I have a binary file that is dependent on a few shared libraries, I am trying to package this binary with the required libraries and install them alongside my app.
The libraries were built by myself, ...
0
votes
1
answer
33
views
Outdated and broken libpam-radius-auth package version in Ubuntu 22.04.x [duplicate]
The Ubuntu 22.04.x version of libpam is not working correctly for me. It does not allow user authentication with an active directory.
I have installed the package in its latest version, downloading ...
0
votes
1
answer
90
views
Unable to upgrade to the next version (22.04) Due to Dependency issue(s)
Before I layout the problem, this is my current system info.
➜ ~ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 20.04.5 LTS
Release: 20.04
...
0
votes
1
answer
36
views
How to install the proper package to access tool?
In the Ubuntu manpage I found the zlib utility:
https://manpages.ubuntu.com/manpages/jammy/man3/zlib.3tcl.html
However, it is not clear what apt-get install command I need to access this utility. What ...
0
votes
0
answers
41
views
Since my root directory is getting bigger, can I install deb packages using home directory? [duplicate]
I am getting the root directory bigger and bigger, here are some evidences for my 25G root directory.
I feel like there are some folders I can delete or move to Home directory but I do not know how to....
0
votes
0
answers
27
views
Problem updating Xubuntu 22.04 [duplicate]
I don't know if it matter but I use xubuntu 22.04
user@-HP-PAVILION-ULTRABOOK-14-B060BR:~$ sudo apt update
[sudo] password for user:
Hit:1 http://br.archive.ubuntu.com/ubuntu jammy InRelease
Get:2 ...
9
votes
3
answers
631
views
How to tell which packages are held back due to phased updates
I have been hunting for an answer to this for a long time, and although I've seen proposed solutions, none of them works.
I can see all packages ready for update with this command:
apt list --...
1
vote
2
answers
97
views
apt-check / python-apt regression?
Since beginning of February I keep seeing error messages of this kind:
E: Unknown Error: '<class 'KeyError'>' ("The cache has no package named 'linux-headers-5.4.0-144-generic:amd64'")
...
0
votes
1
answer
42
views
Package installs to a different path from existing packages
DPDK installs via pkg-config manager. I used these commands to build from source:
git clone https://github.com/DPDK/dpdk.git
cd dpdk
meson setup build
cd build
ninja
ninja install
ldconfig
https://...
1
vote
1
answer
116
views
Update failed now cant update
My PC got stopped while updating. Now whenever I am giving the command "sudo apt upgrade" I am getting the below mentioned error. I can not even open the GUI based software update. Can ...
0
votes
0
answers
99
views
Why I got error after Python upgrade? /usr/lib/cnf-update-db: not found
I tried everything,I still have the error
sudo apt update
shows
sh: 1: /usr/lib/cnf-update-db: not found
Reading package lists... Done
E: Problem executing scripts APT::Update::Post-Invoke-Success '...
0
votes
0
answers
28
views
How to check if the are app's dependencies on platform (feedesktop, gnome, kde) from Flathub in order to remove them safely?
The place taken by flathub/flatpak repo (/var/lib/flatpak/repo) is insane, this issue is known.
I already uninstalled applications unused or replaced by snap repo equivalent when they exist. ...
0
votes
0
answers
20
views
Will a running process always be restarted when its package is upgraded?
I have a host that's running a bunch of processes inside a tmux session. For one of those processes, the binary executable belongs to a package that I've installed by adding a PPA. The command line is ...
0
votes
0
answers
39
views
E: Sub-process /usr/bin/dpkg returned an error code (1)--cuda-11-0
I am trying to install cudo-11-0 from here but in the last step: sudo apt-get -y install cuda. I got this error:
$ sudo apt-get -y install cuda
Reading package lists... Done
Building dependency tree ...
0
votes
0
answers
9
views
freeradius-mysql package not available [duplicate]
I execute:
apt -y install freeradius freeradius-mysql freeradius-utils
I have the error:
the freeradius-mysql is not available.
root@server:~$ lsb_release -a No LSB modules are available. Distributor ...
0
votes
1
answer
93
views
How to remove a PubKey
I'm getting the error:
GPG error: file:/var/cudnn-local-repo-ubuntu2004-8.8.0.121 InRelease:
The following signatures couldn't be verified because the public key is not available:
NO_PUBKEY ...
0
votes
0
answers
9
views
My terminal crashes with this error "ln: failed to create symbolic link '/usr/bin/python': File exists" [duplicate]
I'm not sure why it's happening.
tried to add more symbolic links or change it but it is not happening, it's giving another error that there are too many symbolic links.
some more issues I'm running ...
0
votes
2
answers
77
views
'/etc/apt/sources.list.d/' as it has an invalid filename extension [duplicate]
'/etc/apt/sources.list.d/' as it has an invalid filename extension
What did I do and how do I fix it?
haroldbarnes@ToeJobBob:~$ sudo apt-get update
N: Ignoring file 'signal-xenial.list.save.1' in ...
0
votes
0
answers
29
views
What happens when you attempt to install a package without updating first? [duplicate]
Does sudo apt install <package> succeed or fail if the package version in the repository has changed since I last executed sudo apt update?
I'm sure in the past I have executed sudo apt upgrade ...
0
votes
1
answer
164
views
ModuleNotFoundError: No module named 'softwareproperties.SoftwareProperties'
I have removed and installed python3 on Ubuntu 20.04, and now I'm getting this error:
Traceback (most recent call last):
File "/usr/bin/add-apt-repository", line 12, in <module>
...
1
vote
1
answer
188
views
Why does apt-mark showhold show two packages which are up-to-date
On an Ubuntu server with these specs:
user@server:~$ uname -mor
5.4.0-139-generic x86_64 GNU/Linux
user@server:~$ cat /etc/os-release
NAME="Ubuntu"
VERSION="18.04.6 LTS (Bionic ...