New answers tagged apt
0
votes
What is the difference for installing Nginx with the official repository and Ubuntu repository?
before install on production server try first to install nginx in virtual machine with similar OS if the test is ok then apply it in your server.
I recommend for you to install nginx from its official ...
0
votes
Unable install aptdaemon-data package now
That´s rare. umm. Did u tried first sudo apt-get install -f and the sudo apt update again, and sudo apt upgrade to sudo apt dist-upgrade
Or download the .deb file. The aptdaemon .deb
See what happens!...
0
votes
Accepted
apt: what directories should I back up in order to protect my "apt" configuration?
I discovered that /var/lib/dpkg is probably the directory tree that I should back up and restore.
But that's specifically for apt and dpkg, and it doesn't necessarily contain everything that aptitude ...
4
votes
Creating a PPA for my app
This assumes you are creating the packaging. You can't just take an already-built .deb and upload it to a PPA.
reprepo is not something you need to worry about for a PPA. That is for building your own ...
1
vote
Ubuntu Kernel has version 5.4.0-120, but linux-tools has version 4.15.0
You are using a HWE kernel, but installed linux-tools for a standard kernel.
You can install proper linux-tools by
sudo apt install linux-tools-generic-hwe-18.04
0
votes
Cannot apt remove/purge, but showing in "apt list"
Your output of apt list | grep audacity is as follows:
audacity-data/focal,focal 2.3.3-1build1 all
audacity/focal 2.3.3-1build1 amd64
The above results show that the audacity apt package is not ...
0
votes
Installing libsystemd headers
For me I manually searched for libsystemd in apt cache using sudo apt search libsystemd which returned libsystemd-dev which is libsystemd development files, libsystemd0 which are utility libraries for ...
0
votes
dpkg: error processing package libc-bin (--configure)
With rm aux-cache i got
/lib/x86_64-linux-gnu:
Aborted (core dumped)
and only https://askubuntu.com/a/1411267/1423238 helps
0
votes
Issue with upgrading package. | sudo apt list --upgradable empty, but shows 3 not upgraded
From man apt-get:
-u, --show-upgraded Show upgraded packages; print out a list of all packages that are to be upgraded. Configuration Item:
APT::Get::Show-Upgraded.
so try running either:
sudo ...
0
votes
Apt Update : NO_PUBKEY 76F1A20FF987672F (wine)
I was facing the same issue.
I tryed to solve using the Program Update interface, but it doesn't worked.
So I found this: (below the link for the complete article)
1. Identify problematic repositories:...
0
votes
Cannot install wine7 ubuntu 22.04
Well I have now used virtual box for my windows apps so I think my problem is resolved. (kind of)
0
votes
apt: what directories should I back up in order to protect my "apt" configuration?
I have part of the answer. Install TimeShift
It takes snapshot of your system and lets you restore to previous state. I like it cause you can create a daily schedule and set how many days of restore ...
0
votes
apt-get - Segmentation fault: Error Processing package libc-bin
This works for me:
sudo mv /var/lib/dpkg/info/libc-bin.* /tmp/
sudo dpkg --remove --force-remove-reinstreq libc-bin
sudo dpkg --purge libc-bin
sudo apt install libc-bin
sudo mv /tmp/libc-bin.* /var/...
-1
votes
can't install wine on ubuntu 20.04 focal
Installing wine is never that hard.
You only have to make sure that you have enabled multiarch that’d allow us to install the application for both 64-bit and 32-bit architecture then you have to ...
0
votes
Apt-key errors. Unsure how to proceed
You could try migrating the key from apt-key to /etc/apt/trusted.gpg.d/ by e.g.
fingerprint='871920D1991BC93C'
key='packages.ubuntu.gpg'
apt-key export $fingerprint | gpg --dearmor > $key
sudo apt-...
1
vote
Accepted
apt packages gnome-shell switched to now and does not update
Remain calm.
Looks like plain old Phased Updates to me. Simply be patient for a couple days, and phasing will catch up to your Desktop.
How to verify that it's Phased Updates: Run apt-cache policy &...
1
vote
When an application installed via apt depends on a Python package, is that package installed with apt or pip?
Apt Python dependencies are always installed from deb packages.
A deb package that uses pip to install a dependency does not meet Debian packaging standards and won't be included in Ubuntu. Apt has no ...
1
vote
libssl-dev version dependency conflict with installed libssl1.0.0
I solved my problem with libssl3:
Problem:
The following packages have unmet dependencies:
libssl-dev : Depends: libssl3 (= 3.0.2-0ubuntu1.1) but 3.0.2-0ubuntu1.2 is to be installed
E: Unable to ...
0
votes
Unmet dependencies python3.9
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 update to latest release
Given that resolving version conflicts would have taken me down a giant rabbit hole (4 packages turned into at least 50 as the dependencies needed different versions as well), and I didn't want to ...
3
votes
Accepted
libssl3 >= 3.0.2-0ubuntu1.2 required but only 3.0.2-0ubuntu1.1 is available on the internet and installed
I encountered this exact problem, but for libssl-dev (depending on libssl3), and this is on a fresh system which does nothing other than apt-get update && apt-get dist-upgrade && apt-...
0
votes
Why are the file permissions after apt install different from dpkg -c
In order to view the posi-install script used by transmission-daemon, run:
apt download transmission-daemon
transmission-daemon_3.00-2ubuntu2_amd64.deb will be downloaded.
(Your version number may ...
0
votes
Apt-cache has no candidate for PulseAudio
I had a similar issue trying to install php8.1-* packages on buster and bullseye docker containers and indeed found a pin under /etc/apt/preferences.d/no-debian-php and after removing it, I managed to ...
0
votes
Cannot update/remove/reinstall postgresql 14
There was a script called /var/lib/dpkg/info/postgresql-14.postinst:
#!/bin/sh
set -e
VERSION=${DPKG_MAINTSCRIPT_PACKAGE##*-}
if [ "$1" = configure ]; then
. /usr/share/postgresql-...
0
votes
Cannot update/remove/reinstall postgresql 14
Firstly
If you haven't updated your system in a while, you would, first, need to run:
sudo apt update
an up to date package database is equally needed for installs as well as removals of packages.
...
1
vote
Accepted
Unable to locate the package librrd-simple-perl in Ubuntu 20.04
According to here you need to install the following packages
sudo apt update
sudo apt install rrdtool librrdp-perl php-gd php-xml
Although, you should probably install these extra packages for good ...
0
votes
Accepted
I'm getting errors that I don't understand installing NodeJS on a freshly installed Ubuntu that is otherwise blank
From the nodejs version you are trying to install (16.15) it appears that you are not installing nodejs from the Ubuntu 22.04 distribution, where 12.22 is current.
Unless you have a specific reason to ...
0
votes
Accepted
apt-key is deprecated plex on a raspberry pi 3b
This has been covered several times, as per the duplicate link above.
However, for that particular scenario, these commands might help you.
To install the key:
curl https://downloads.plex.tv/plex-keys/...
3
votes
Accepted
How To Install Killsnoop on Ubuntu 20.04 server
The correct command seems to be
killsnoop-bpfcc
You can check it by
dpkg -L bpfcc-tools
I filed a bug report to Launchpad regarding the man page.
-1
votes
Ubuntu Software not opening
hi i also faced similar issue seems to be issue with snap feature,
i updated snap-store package via command line and it resolved the issue.
end all snap process before update.
no need to uninstall or ...
0
votes
run apt update and get E: Failed to fetch File has unexpected size (2572288 != 2581052). Mirror sync in progress
It turns out that the mirror server run out of disk and stuck at some packages, I expand the root directory and run "nohup sudo apt-mirror &", after apt-mirror sync completed, then run &...
0
votes
Accepted
Docker installation failed and has left a broken, irremovable apt package
I know this question wasn't on-topic in the first place, but this answer might reasonably be useful to an ubuntu user:
The problem wasn't with any individual file i had downloaded, it was that the ...
0
votes
"The list of sources could not be read" error running apt-get update
It looks like you have multiple copies of the file llamaret.list in your sources.list.d directory. You should delete all but the one ending in .list, and the format of that file might not be right ...
0
votes
Accepted
dpkg: error processing package php8.1-common
Check out this line from the error messages:
/usr/bin/ucf: line 569: awk: command not found. This means that your PC needed awk, a text processing tool, in order to configure the PHP packages, but ...
0
votes
Ansible playbook error
You're checking for python-apt in the controller machine, not in the controlled machine. Install the package from the controller into the controlled machine using the following command:
ansible ...
0
votes
How do I satisfy the missing `gtk+-2.0` package when installing Leafpad?
The libgtk2.0-dev package resolved this issue. So, use
sudo apt install libgtk2.0-dev
to install the necessary dependencies. The configure script was successful for me after doing this.
2
votes
Accepted
dpkg -l shows only a few installed packages after crash
The neat part
If there is no way to restore the list of packages, I could recreate
the list of installed packages by reinstalling them all.
There are multiple copies/backups(automatic) of the dpkg ...
0
votes
How to uninstall brackets from Ubuntu 18.04?
depending on how you have installed it in the first place, maybe you should try the following,
sudo snap remove cprov-brackets
1
vote
Unable to correct problems, you have held broken packages when trying to install PHP
After installing the add-apt-repository ppa:ondrej/php PPA and updating the repositories (sudo apt update), I was not able to install PHP 8.1 on Ubuntu 20.04.4 LTS:
The following packages have unmet ...
6
votes
How do i uninstall all the default games on ubuntu 22.04LTS
A distribution comes with a default selection of software. If there is software you want to remove, feel free to remove it.
In "Ubuntu Software", head to the "Installed" tab. This ...
11
votes
Accepted
How do i uninstall all the default games on ubuntu 22.04LTS
Run
sudo apt purge gnome-games
sudo apt autoremove
Ok so a bit of background I was looking at the package page for ubuntu-desktop found nothing about games and then for the fun of it looked up gnome-...
1
vote
How do i uninstall all the default games on ubuntu 22.04LTS
There are many ways to do that.
First of all, you I strongly suggest you install the Synaptic Package Manager with
sudo apt-get install synaptic
The Synaptic Package Manager will allow you to manage ...
1
vote
can not update system
You need to close all applications using apt, or wait while unattended upgrades finish.
If you are using Ubuntu, you can't login as root.
1
vote
How upgrade Ubuntu 20.10 after its EOL?
2022 Update: Now that 20.10 is EOL, you do need to modify your sources.list. Fortunately this is very easy.
Add these 3 lines to /etc/apt/sources.list with your favorite terminal editor (i.e. sudo ...
1
vote
Accepted
What's the difference between `apt search <package-name>` and `apt-cache search <package-name>`?
apt is a more recent tool, combining functionality of the older tools apt-get, apt-cache, etc., and is aimed to be more optimized for interactive use.
Both apt search and apt-cache search serve to ...
1
vote
Upgrading to Ubuntu 22.04 causes libcrypto errors, apt/dpkg broken
The origin of the problem for me was that I lost grub-customizer when upgrading to 22.04. If you had the same issue, this solution might be better (credit goes to vachaj11 from https://ubuntuforums....
0
votes
apt update docker.com Release 404 not found
If you are using Parrot Os, You have to Change parrtos in /etc/apt/sources.list.d/docker.list to the current debian release of your os version (bullseye, buster and so on).
sudo nano /etc/apt/sources....
0
votes
Problems with offline apt-get package repository, file not found: Packages
I've been searching for a similar problem. Unfortunately you were just silently downvoted and left with no response. Hopefully some activity will at least illicit a link to an answer instead of the ...
1
vote
Using apt install --ignore-depends causes apt to stop working and insist on running --fix-broken install
Apparently support for libssl1.1 got deprecated here the package page because of security reasons.
First, ask the devs of easytether to switch to libssl3.
But in the meantime someone made a back port ...
0
votes
apt not working: installed libc-bin package post-installation script subprocess returned error exit status 134
This worked for me on WSL Ubuntu 20.04 to fix a coredump
for PROBDIR in "" "/usr" "/usr/local"; do find "${PROBDIR}/lib/x86_64-linux-gnu" -type f -ls; done;
...
Top 50 recent answers are included
Related Tags
apt × 15922package-management × 5026
dpkg × 2314
updates × 2190
upgrade × 1607
software-installation × 1315
dependencies × 1285
16.04 × 795
14.04 × 758
ppa × 740
18.04 × 646
command-line × 610
repository × 601
20.04 × 548
server × 544
kernel × 541
python × 538
update-manager × 420
12.04 × 406
software-center × 361
mysql × 272
uninstall × 271
installation × 260
wine × 231
software-sources × 228