New answers tagged package-management
0
votes
Apt/Synaptic needs to reinstall package but can't find the archive for it
run the following commond on the terminal
1)sudo cp /var/lib/dpkg/status status.bkp
2)sudo gedit /var/lib/dpkg/status
3)then Search for the package name that appears in the error.
Note that, in our ...
0
votes
dpkg: error processing package libc-bin (--configure)
I had to run sudo rm /var/cache/ldconfig/aux-cache and sudo /sbin/ldconfig.real on WSL Ubuntu 20.04 .
1
vote
Ubuntu 20.04 won't let deb files to update applications
Snap packages are updated automatically in the background or by running sudo snap refresh Visual Studio Code and Git Kraken are packaged as snap packages in all currently supported versions of Ubuntu. ...
0
votes
I accidentally installed MySQL + MariaDB-- MySQL is now unremovable, and dpkg/apt does not work
Sorry, didn't read the question as careful as I should.
The apt-get autoremove does not try to remove mysql-server-8.0. After it found nothing to remove, it tries to configure the packages in state &...
0
votes
Can I install PHP 5.3.5 on Ubuntu Server 18.04 LTS?
Yes it's possible but you need to compile php manually. In addition to the above comment, ./configure make (you'll need to include what modules that you wish to add to the compilation)
0
votes
How to install Firefox as a traditional deb package (without snap) in Ubuntu 22.04 (jammy)
You can install the latest official .deb builds working with Ubuntu 22.04 LTS (Jammy) here:
https://launchpad.net/~phd/+archive/ubuntu/firefox/
This is a PPA repository with official Ubuntu packages ...
0
votes
Getting error each time I run catkin_make
You are getting the No module named 'catkin_pkg' error message because you do not have the catkin_pkg module installed. To install it in all currently supported versions of Ubuntu open the terminal ...
0
votes
Accepted
Are there common scripts one can use in its postinst, postrm, etc.?
After some additional research about the Deb Helpers, I found a package named dh-sysuser and it does exactly what I.
First, install that extension:
sudo apt-get install dh-sysuser
Then in your debian/...
0
votes
How do I install Windscribe VPN if their repository is forbidden in the country?
This might not be the mind-blowingly smart answer you'd expect and it obviously doesn't work for downloads via the terminal, but you can use a vpn in the form of a browser extension (Windscribe has ...
4
votes
Understanding what happens during apt-get update
apt-get update doesn't install anything.
It updates package lists. So it is expected. After you updated the list, you can see available packages.
1
vote
Accepted
Update Python with APT
The reason the installation of the two Python 3.10 versions from the Deadsnakes PPA fails is because there's conflicts in the packaging that should never happen. Unfortunately, that's something the ...
0
votes
Installing docker, getting: `PreDepends: init-system-helpers (>= 1.54~) but 1.51 is to be installed`
After some googling around, this solution proved useful:
wget http://ftp.kr.debian.org/debian/pool/main/i/init-system-helpers/init-system-helpers_1.60_all.deb
sudo apt install ./init-system-helpers_1....
5
votes
Accepted
Problem with apt autoremove, distro wants to remove nvidia related packages and detected theme useless
It looks like many of those packages were installed as dependencies and are no longer needed. You can manually install the packages you want to keep.
For example:
sudo apt update
sudo apt install ...
-1
votes
apt-get is inconsistent on cluster, can't always find package (libmysqlclient21)
I had success by putting
sudo apt clean && sudo apt update --fix-missing -y && sudo apt install -y libmysqlclient21
before trying to install gdal and it seems to be working now....
2
votes
Accepted
Can not run apt-get update because of RethinkDB
You have some repository https://download.rethinkdb.com/repository/ubuntu-focal mentioned it your sources list. Probably there is a file in /etc/apt/sources.list.d directory that has a reference to ...
0
votes
Ubuntu 22.04 - Prevent Firefox from .deb file Installation version to Automatic updating Snap file installation!
To prevent the command sudo apt get firefox from installing the snap version of Firefox, add an APT preference that prohibits installation of the default firefox package of Ubuntu:
cat <<EOF | ...
5
votes
Accepted
build deb package that uninstall another package in case of remove or purge
How its possible to purge another package, as soon as my package is removed or purged.
It does not work that way. Suppose, your package (A), depends on another package (B), which would be ...
1
vote
apt-get is inconsistent on cluster, can't always find package (libmysqlclient21)
Coming from the other thread, https://stackoverflow.com/questions/69767441/issues-installing-gdal-bin-libmysqlclient21-dependency-on-20-04-3-databricks, where I had the same problem.
The issue become ...
1
vote
apt-get is inconsistent on cluster, can't always find package (libmysqlclient21)
I had exactly the same issue.
Put:
sudo apt-get update -y --fix-missing;
sudo apt-get install -y libmysqlclient21=8.0.29-0ubuntu0.20.04.3;
At the very beggining of my script worked for me.
I use a ...
0
votes
"But is referred to by another package." - Finding that package
You can run this command to see all the reverse dependencies of a package (replacing PACKAGENAME with the package name):
apt-cache showpkg PACKAGENAME
What's a reverse dependency? If package X ...
7
votes
Accepted
unable to locate package libdc1394-22-dev
The libdc1394-22-dev package was removed in Debian and Ubuntu after 21.10. This is because the source package it was from - libdc1394-22 - was superseded by a different package.
The package was ...
0
votes
Install older release of tensorflow-model-server via APT
As a previous comment stated, it is perfectly working to download the version through WGET and installing it locally:
wget 'http://storage.googleapis.com/tensorflow-serving-apt/pool/tensorflow-model-...
0
votes
APT always suggests removing NVIDIA driver
I have been affected by a very similar issue after a fresh install of XUbuntu 22.04 on a PC with an NVidia card. I selected to install proprietary drivers during install; After the installation ...
-1
votes
GLib-Error when using apt-get update
I had the same exact issue as stated above. my fix was simple go to /etc/apt/ and review the sources.list file. Ensure that there are no repos in there which are "experimental". Also go ...
4
votes
Remove software - general way?
There is no general way to remove software, because it depends on how software has been installed: you need to patiently find all the jdownlader versions installed on your system and uninstall them ...
4
votes
Accepted
Remove software - general way?
There is no general way to remove software. How software is removed, depends on how it is installed. And Linux in general knows many different ways to install software.
In its simplest way, "...
0
votes
Accepted
How can I fix "Unable to locate package libvtk5-qt4-dev" on Ubuntu 20.04
This is a GPG Error. This error happens when you try to install a package from an unknown source.when you receive this error, you will not be able to update your repository.To fix this error you ...
0
votes
Fixing broken apt **without** destroying my system via "apt autoremove"
I fixed the problem.
After reinstalling xubuntu-desktop and xubuntu-core, my problem persisted. Therefore, I assume that the problem is not due to simply one missing installation at the top of the ...
0
votes
apt-offline "path for keyring is invalid" error using trusted.gpg not trusted.gpg.d
I too had this problem with Ubuntu 20.04. Now that 22.04 is available, I discovered that the problem is solved.
So, I visited https://packages.ubuntu.com/jammy/all/apt-offline/download and downloaded ...
0
votes
How do I get rid of all of these duplicates?
Try installing the menulibre package using Synaptic, Ubuntu Software or via command line:
$ sudo apt install menulibre
It provides a nice graphical interface, checks for broken launchers and allows ...
1
vote
Accepted
Apt-removing Viber - 385 GB will be removed
Ok, so after accidently finding this article: https://linuxx.info/version-viber-for-gnu-linux-requires-320-gb-of-free-space/.
I have simply ran apt remove viber:
sudo apt remove viber
Reading package ...
1
vote
Ubuntu 18.04 Can't upgrade because of libpython3.6 version conflicts
I had the same problem:
the log(sorry for portuguese):
Os pacotes a seguir têm dependências desencontradas:
libpython3.6 : Depende: libpython3.6-stdlib (= 3.6.15-1+focal3) mas 3.6.15-1+focal2 está ...
1
vote
Accepted
ubuntu 22.04 jammy oibaf broken package
There seem to be a dependency issue in the PPA right now. It doesn't distribute libgl1-amber-dri, but one of its packages recommends it, but there's a conflicting file. Anyway, the following should ...
6
votes
Accepted
Firefox Not Updating Because snapd not present
Firefox is no longer part of Canonical's apt repositories, as the goal is to have people using the Snap version to ensure security updates are rolled out in a timely manner. That said, if you would ...
5
votes
Accepted
How to prevent installation of package with newer version than requested?
This is not a version issue. These are actually two different packages, not two different versions of the same package. It appears that nvhpc-22-3 is a dependency of nvhpc-22-2.
For whatever reason, ...
0
votes
22-04 : Howto install python-gtk2 and python-glade-2 for fslint
Although this is not as elegant, we now have fslint-unofficial snap in Ubuntu Software center
7
votes
Accepted
How do I get rid of all of these duplicates?
I guess a good tool for you would be the Synaptic Package Manager. You can install it in most Ubuntu distros with:
sudo add-apt-repository universe
sudo apt update
sudo apt install synaptic
Synaptic ...
0
votes
Unmet Dependencies issue, not able to install/remove anything
Try the following method as a last resort if nothing works -
$ sudo apt-get update
$ sudo apt-get upgrade
The second command will output the package-name having unmet dependencies followed by their ...
5
votes
Running Software Updater got libpython3.7 umet dependencies error
I had the same issue while trying to upgrade Ansible from the ppa.
I removed python using the advice in this issue:
The following packages have unmet dependencies python 3.7
sudo apt --fix-missing ...
0
votes
Where on earth is the Postman application on my 20.04 desktop?
Downloaded package v. 9.14.0, linux-5.13.0-40-generic was installed to home/user/Postman and home/user/.config/Postman.How to neatly uninstall app on Linux?
2
votes
firmware-sof-signed was in 21.10 impish but is not found in 22.04 LTS jammy
Learned something new: Checking the packages list I found that it had been moved from [multiverse] in 21.10 impish to [restricted] in 22.04 LTS jammy. Using sudo add-apt-repository restricted in the ...
0
votes
dpkg: error processing archive /var/cache/apt/archives/libmono-corlib4.5-cil_6.12.0.122-0xamarin1+ubuntu1804b1_all.deb (--unpack)
Use aptitude and run aptitude install. It should detect your package conflicts and give you choices to resolve it.
If you don't have it installed, you may have to manually download it since you ...
1
vote
20.04.04 libmysqlclient21 breaks wine
The builds have been fixed and the missing package libmysqlclient21_8.0.28-0ubuntu0.20.04.4_i386.deb is now available: https://launchpad.net/ubuntu/focal/i386/libmysqlclient21/8.0.28-0ubuntu0.20.04.4
5
votes
The following packages have unmet dependencies python 3.7
Diagnosing:
See what sudo apt upgrade says:
myself@box:~$ sudo apt upgrade
[sudo] password for myself:
Reading package lists... Done
Building dependency tree
Reading state information... Done
...
0
votes
"Unable to locate package" while trying to install packages with APT
you must supply either full path or relative path to reach the xxx.deb file
sudo apt-get install google-chrome-stable_current_amd64.deb # bad way
sudo apt-get install ./google-chrome-...
0
votes
Why deb files are sometimes immediately gone from /var/cache/apt/archives/ after installation?
You have probably upgraded to a version of apt that does not keep installed packages by default, you can check by running:
apt-config dump | grep 'Keep-Downloaded-Packages'
and you will likely see:
...
13
votes
Accepted
How to install Firefox as a traditional deb package (without snap) in Ubuntu 22.04 (jammy)
The other answer by Organic Marble is for Firefox-ESR, and the answer by eddygeek is for the beta version.
This answer is for the latest stable version of Firefox. You can use the Firefox PPA ...
-3
votes
How do I tell which package manager I used to install a program?
Lazy method: Search your shell history for the line that actually installed the package.
0
votes
Accepted
After updating to Ubuntu 22.04, I am no longer able to access Jupyter Notebook
UPDATE: I am able to access the notebook now by using the URL printed to the console. (just copy and paste it into the Firefox browser)
I would still like to figure out how to get it to open with just ...
15
votes
Accepted
How do I tell which package manager I used to install a program?
You could try the following to give you clues on which package manager was used:
snap list
pip list
apt list --installed
In the case of apt or apt-get, the list may be very long, so you could use grep ...
Top 50 recent answers are included
Related Tags
package-management × 9644apt × 4983
dpkg × 1620
dependencies × 1214
updates × 967
software-installation × 876
upgrade × 868
python × 428
16.04 × 392
ppa × 374
14.04 × 364
18.04 × 349
command-line × 310
repository × 306
20.04 × 300
software-center × 293
installation × 238
kernel × 237
12.04 × 235
uninstall × 212
update-manager × 212
deb × 210
server × 199
wine × 184
mysql × 138