Questions tagged [package-management]
Questions about the management of software packages, in particular the APT and dpkg systems. Use this tag for general questions about package management, and also for questions that cover or compare different packaging systems. For specific package tools, use their own specific tag (like apt, dpkg, snap etc.).
10,521
questions
0
votes
1
answer
2k
views
I am unable to install wireshark
On running the command sudo apt install wireshark-qt:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may ...
0
votes
1
answer
835
views
dpkg: symbol lookup error: dpkg: undefined symbol: setexecfilecon
I am getting this error:
dpkg: symbol lookup error: dpkg: undefined symbol: setexecfilecon
When attempting to run dpkg or apt-get install -f to resolve dependency issues. The problem is that ...
0
votes
0
answers
1k
views
"dpkg: error processing package" and "dependency problems; leaving unconfigured" errors when I try to update [duplicate]
lurkingandjerking@rad-pad:~$ sudo apt-get install ubuntu-restricted-extras
[sudo] password for lurkingandjerking:
Reading package lists... Done
Building dependency tree
Reading state ...
0
votes
1
answer
4k
views
could not reslove 'packages.ros.org.ros'
I have recently installed Ubuntu version 16.04 and trying to install ROS kinetic on my laptop. However, I got stuck at this point where after running sudo apt-get update.
This is the result:
Err:1 ...
1
vote
1
answer
44
views
need help updating laptop [duplicate]
So I tried to install encryption third party software and I messed up. I keep getting this message when trying you sudo apt-get update
N: Ignoring file 'medibuntu.list.save.4' in directory '/etc/apt/...
0
votes
1
answer
486
views
Reproducible package install
Is there a way to keep track of packages you install on Ubuntu?
Like say "npm install blah" and then you can have blah both installed in the current dir and documented in your package.json. Short of ...
3
votes
0
answers
311
views
How can I list manually installed snaps and remove no longer needed automatically installed ones?
I know that with debian packages, packages can be marked as auto or manual. I can list manually installed packages and remove all automatically installed ones that that aren't depended on by manually ...
1
vote
0
answers
718
views
Ubuntu Upgrade Package Problem | libpq5_10.9-0ubuntu0.18.04.1_amd64.deb Not Found
Trying to upgrade the packages using command:
sudo apt-get dist-upgrade
But it says url not found. I also tried to check the url and it's 404 not found.
ubuntu@ubuntu-alienware17-r5:~$ sudo apt-...
0
votes
1
answer
11k
views
Installing from such repository can't be done securely [duplicate]
I just switched to Ubuntu 19.04 from Windows. Whenever I try to install anything from the terminal I get such error which says installing from such repository can't be done securely hence it is ...
0
votes
1
answer
323
views
During upgrade apt-listchanges crasht during sending E-Mail
Get:1 http://archive.ubuntu.com/ubuntu bionic-updates/main i386 libsqlite3-0 i386 3.22.0-1ubuntu0.1 [533 kB]
Get:2 http://archive.ubuntu.com/ubuntu bionic-updates/main i386 firefox i386 67.0.3+build1-...
0
votes
3
answers
8k
views
How to fix broken glibc packages
I am using Ubuntu 18.04 and I tried to upgrade libc6 from version 2.27 to 2.29 but I ended up breaking package system. I cannot fix because when I try to use fix commands, it always shows tons of ...
5
votes
3
answers
18k
views
uninstall broken cuda installation
I downloaded and installed an application that uses CUDA 10.
When I run it, it says:
./main: error while loading shared libraries: libcublas.so.10.0: cannot open shared object file: No such file or ...
2
votes
1
answer
59
views
How to see name of installed command using APT?
In the following, I install python3-pip for Python using APT. From the output, it is not obvious that the installed command is named pip3 and not python3-pip.
In general, how can I see the name of ...
1
vote
0
answers
8
views
Broken package dependencies [duplicate]
I have seen a lot of questions about similar situations, but no solution suggested have worked for me. I have broken my packages in 18.04 and now I can't uninstall anything to try and start over. I'll ...
3
votes
1
answer
12k
views
How to fix a package that is broken or not fully installed?
After running apt update && apt upgrade -y on an virtual machine,
I am getting the following error for libssl1.1:amd64.
dpkg --configure -a
Setting up libssl1.1:amd64 (1.1.1-1ubuntu2.1~18.04....
2
votes
0
answers
89
views
List all packages that synaptic calls "local or obsolete" using command line [duplicate]
I seek a command line solution to list all packages that synaptic displays as "local or obsolete".
This answer to this question gives the command aptitude search ~o which gives a partial list. I ...
0
votes
1
answer
4k
views
How to intall ungoogled-chromium on Ubuntu 18.04
I tried to install ungoogled-chromium from download page but I couldn't manage to install any package, and since I am not sure how it works, so I would like to have an instruction of how to install ...
1
vote
1
answer
314
views
How to fix "package is in very bad inconsistent state"? [duplicate]
The Synaptic Package Manager shows an error message whose details contain:
E: gnome-control-center-data: package is in a very bad inconsistent state; you should reinstall it before attempting ...
2
votes
1
answer
868
views
What happens if I tell Software Updater : [y] Restart services during package upgrade without asking?
Ubuntu Software Updater just offered me a checkbox while updating libssl1.1amd64:
Restart services during package upgrades without asking?
Is this permanent or per update session? And what are the ...
3
votes
1
answer
3k
views
Package version conflict when building network-manager-applet ubuntu package from source
I am using xubuntu 18.04, which has an XFCE user interface that uses several GNOME widgets, notably network-manager. network-manager has some limitations such as the lack of a way to prioritize ...
0
votes
1
answer
848
views
Power outage during apt-get upgrade broke apt-get commands
I have a server running Ubuntu 18.04 LTS. This morning I ran an apt upgrade and during it, the server lost power. Once it was restored, I logged in and noticed there were 2 packages "not fully ...
0
votes
2
answers
3k
views
broken package system after upgrade to 19.04
I performed 2 system in-box upgrades (18.04->18.10, then 18.10->19.04) yesterday.
Today, I've got a broken package system:
sudo apt --fix-broken install
Reading package lists... Done
Building ...
1
vote
1
answer
337
views
Unmet dependecies during OSM installation
I am following the instructions described here in order to install OSM. Specifically I run the commands:
wget https://osm-download.etsi.org/ftp/osm-5.0-five/install_osm.sh
chmod +x install_osm.sh
./...
1
vote
1
answer
1k
views
E: Version '2.48.2-0ubuntu4.1' for 'libglib2.0-0' was not found
I am doing mlperf.
///// update 2 /////
main page:
https://mlperf.org/
github and testing steps:
https://github.com/mlperf/training/tree/master/object_detection
Just follow the README.md, until ...
0
votes
1
answer
671
views
how to reinstall ubuntu 18.10 default desktop
due to an unknown reason my ubuntu desktop is gone, I have tried to re install it by issuing the command bellow:
sudo apt-get install ubuntu-gnome-desktop
surprisingly I got this error:
Reading ...
2
votes
1
answer
3k
views
How to convert LaTex to PDF using terminal?
I am trying to convert latex file (.tex) file into pdf format. I tried using pdflatex file_name.tex command from the terminal but terminal asks to enter file name again and again. The commands in the ...
1
vote
0
answers
582
views
Package Upgrade Fails After OS Upgrade
An OS upgrade to Ubuntu 16.04.6 by running do-release-upgrade seems to have had an error at some point as the packages can no longer be upgraded - we're seeing this error when running various commands:...
1
vote
1
answer
4k
views
OpenJDK - Installing JDK Debug Symbols manually
i have all OpenJDK8 files and its debugging symbols, i can get OpenJDK working but when i try to use something that is used to debug, i'm still getting errors related to the dbg files, i don't know ...
1
vote
3
answers
901
views
How to install packages that are normally downloaded during Ubuntu installation?
This is for Ubuntu 16.04. When going through the installation process, if the computer is connected to the internet, there's an option for selecting to download packages during installation itself. I ...
0
votes
2
answers
99
views
are there any way to find the true package which I want to uninstall on Ubuntu?
Uninstalling using the method:
dpkg --list
sudo apt-get remove “package-name”
sudo apt-get purge “package-name”
sudo apt-get autoremove
is a beautiful way, but the problem is in searching for the ...
0
votes
0
answers
326
views
How to trigger apt update after package install?
I created an apt-source package which add a couple of repository to the system and the corresponding GPG keys to APT keychain.
How can I automatically trigger apt update after this package is ...
1
vote
0
answers
176
views
Unable to update Nvidia drivers on my Ubuntu 18.0.4 machine
i have recently switched from windows to Linux(Ubuntu 18.0.4) for good and am having some trouble updating my GUI.
i have attempted various methods i have found online to no avail. i seem to be ...
0
votes
0
answers
343
views
get-distro-upgrade.py Failed to execute process
Every time I open the GNOME package updater on Ubuntu 18.04 (Cosmic), I receive the following message:
Spawn of helper '/usr/share/PackageKit/helpers/aptcc/get-distro-upgrade.py' failed: failed to ...
-1
votes
2
answers
878
views
Kubuntu refuses to upgrade "E: The repository 'http://ppa.launchpad.net/gezakovacs/ppa/ubuntu disco Release' does not have a Release file." [duplicate]
NOTE: I know this is a duplicate, but the guides I follow don't work nor make sense.
I've been having this problem for a while now.
Running sudo apt-get update && sudo apt-get dist-upgrade ...
1
vote
0
answers
148
views
How can I use checkinstall to replace multiple packages?
I'm building my own ffmpeg package using checkinstall, with all of the various ffmpeg libraries included. In the Ubuntu package repos these ffmpeg libraries are broken up into many separate packages. ...
1
vote
0
answers
106
views
GCC5.4.0 stdio.h: No such file or directory [duplicate]
A new Linux box was given to me with a Non-GUI version of Ubuntu 18.04.1 already installed, however, it seems to be stuck in a weird state that I've never encountered before...
I've tried compiling ...
1
vote
2
answers
9k
views
Errors were encountered while processing: initramfs-tools linux-firmware Ubuntu 18.04
Whenever i run
sudo dpkg --configure -a
i get this error
> Processing triggers for initramfs-tools (0.130ubuntu3.7) ...
update-initramfs: Generating /boot/initrd.img-4.15.0-46-generic
Warning: /...
1
vote
1
answer
1k
views
Unable to locate package 'file'
I have a Docker image and it used to work fine until now. But, when I try to rebuild, it cannot locate the package file anymore.
The Dockerfile is as follows:
FROM python:3.7-slim
...
RUN apt-get ...
0
votes
0
answers
115
views
Can't remove older version of libreoffice
I have both libreoffice 6.0 and 6.2 installed.in Ubuntu 18.04.2 LTS
When I look into synaptic installer I can't find the 6.2 version but it is definitively there.
In the ubuntu software I can find ...
1
vote
1
answer
2k
views
Ubuntu-desktop packages installation yields broken packages error [duplicate]
For some file sharing I had to install X2Go Client, which removed some packages. I think it also removed ubuntu-desktop packages, since I cannot find the file explorer and libre office anymore.
I'm ...
0
votes
1
answer
313
views
How do I block a package's dependencies from explicit apt-get remove?
I need to use
sudo apt-get -y --purge remove $manypackages
where $manypackages includes dependencies of a package that I don't want removed.
Is it possible to prevent apt-get from removing those ...
1
vote
1
answer
6k
views
Help installing steam [duplicate]
I'm brand new to Ubuntu and trying to install steam. I downloaded steam_latest.deb and installed it, but whenever I try to open it it gives me this:
Steam needs to install these additional packages: ...
1
vote
2
answers
6k
views
Install latest version of tree command
I installed the tree command today on Ubuntu 18.04 using:
$ sudo apt update
$ sudo apt install tree
The version that was installed is:
$ tree --version
tree v1.7.0 (c) 1996 - 2014
But I see from ...
1
vote
0
answers
168
views
E: Unable to find a source package for 'r-base' on Ubuntu 16.04 (aarch64) [duplicate]
I want to sudo apt build-dep r-base under Ubuntu 16.04 (running in Linux on DeX Beta). To this end, I followed this link and put
deb https://cloud.r-project.org/bin/linux/ubuntu xenial-cran35/
deb ...
1
vote
0
answers
65
views
problems with downloading Winehq on Ubuntu 16.04 [duplicate]
I was following the instructions on the https://wiki.winehq.org/Ubuntu for winehq installation. When I executed
sudo apt-add-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ xenial main'
a ...
2
votes
1
answer
5k
views
pyenv error installing Python 3.6.7 or 2.7.8 in Ubuntu 18.04.2 LTS
I am trying to install Python 2.7.8 and Python 3.6.7 using Pyenv but I have always the same problem:
ERROR: The Python ssl extension was not compiled. Missing the OpenSSL lib?
BUILD FAILED (Ubuntu ...
3
votes
3
answers
3k
views
What would be the advantages and disadvantages of using apt to install everything? [closed]
From my understanding, apt is a high level interface for the Debian package manager (correct/educate me with anything if I am wrong). It is a tool for me to avoid going to random sites to download my ...
2
votes
1
answer
3k
views
sudo apt upgrade not working after ubuntu update [duplicate]
I recently upgraded from Ubuntu 18.04 to Ubuntu 18.10 using the command line command sudo do-release-upgrade and after that, whenever I run sudo apt upgrade, all I see is the following: -
Reading ...
36
votes
8
answers
48k
views
Apt update fails at chrome stable main: "File has unexpected size (1103 != 1104). Mirror sync in progress?"
I'm getting an error that I've never seen before when running sudo apt update. The error happens after reaching http://dl.google.com/linux/chrome/deb stable/main amd64 Packages. I haven't done ...
0
votes
1
answer
64
views
redownload all documentation for a package with APT
I've recently installed a fingerprint system for kubuntu, of which part replaces a critical system component(I forget which, but it's important, so I can't use apt reinstall). I used to have one of my ...