New answers tagged package-management
0
votes
Can't go through "sudo update" because of GPG key error
Welcome Srecko to the forum.
I'm using Google translate to see this in English. Hopefully we can communicate okay like this.
Problem
The public key for the ProtonVPN repository is missing, causing ...
0
votes
How do I enable the "Universe" repository?
To use add-apt-repository, you will need the package software-properties-common:
sudo apt install software-properties-common
Then you can use add-apt-repository to add the needed repository:
sudo add-...
1
vote
apt-get update for gitlab-runner for Ubuntu 20.04.6 LTS failing with invalid signature
You can update your GitLab Runner signature by following the instructions below.
1. How to fix this.
The commands to be fixed are as follows
awk '/deb \[signed-by=/{
pubkey = $2;
sub(/\[signed-...
0
votes
geogebra-classic not found
Another option is to try GeoGebra Discovery (which is maintained by me) that may address some Linux related issues. It is based on GeoGebra 5.0.641.0 (the classic Java-based user interface). It can be ...
0
votes
Recommendations for a private deb package repository for Ubuntu servers
After some research, it looks like Aptly is the best good candidate, though I have not yet used it to implement a solution.
0
votes
sudo apt get update gives error - The package cache file is corrupted
I couldn't update or install any packages due to this:
Reading package lists... Error!
E: Unable to parse package file /var/lib/dpkg/status (1)
W: You may want to run apt-get update to correct these ...
0
votes
How do I remove Timekpr next from my system its Ubuntu? It says that cant remove virtual packages
From the Timekpr docs:
sudo apt-get remove --purge timekpr-next
1
vote
Accepted
apt-get update for gitlab-runner for Ubuntu 20.04.6 LTS failing with invalid signature
You can use the same step that is described in the installation script:
curl -fsSL "https://packages.gitlab.com/runner/gitlab-runner/gpgkey" | gpg --dearmor > /usr/share/keyrings/...
0
votes
"The following packages have been kept back:" Why and how do I solve it?
In my case, I got the message because I run sudo apt upgrade without first running sudo apt update.
$ sudo apt upgrade
Reading package lists... Done
Building dependency tree... Done
Reading state ...
1
vote
Why don't the Ubuntu repositories have the latest versions of software?
In addition to the other answers, it needs to be noted that an older version of software running on Ubuntu may be patched for known vulnerabilities.
You can search for particular CVEs on the Ubuntu ...
0
votes
I have more than one copy of the same app installed. How do I remove one specifically?
Try this command to see if it helps.
$ locate slack.desktop
/home/username/.var/app/com.slack.Slack/config/autostart/slack.desktop
/var/lib/flatpak/app/com.slack.Slack/x86_64/stable/...
4
votes
apt-get update for gitlab-runner for Ubuntu 20.04.6 LTS failing with invalid signature
Official answer for this problem (source of the text from the following link):
https://docs.gitlab.com/omnibus/update/package_signatures#update-keys-after-expiry-extension
Update keys after expiry ...
2
votes
apt-get update for gitlab-runner for Ubuntu 20.04.6 LTS failing with invalid signature
Note tested it in ubuntu jammy.
wget -qO- https://packages.gitlab.com/gpg.key | sudo gpg --dearmor -o /usr/share/keyrings/omnibus_gitlab_gpg.key
Move the old sources.list for this package sources
...
2
votes
Kubernetes installation failing - Ubuntu 16.04
For Amogh and Guru,
The reason this doesn't work anymore, as of January 31st 2024, is that K8s changed repo locations. See https://kubernetes.io/blog/2023/08/15/pkgs-k8s-io-introduction/#how-to-...
0
votes
Why does Canonical organize Launchpad as separate PPAs for each author, rather than as a single repository?
Missing technical point
PPA's allow override of any package from another repository.
Such feature will be complex in combined repository and there will be version racing of same package from ...
-1
votes
apt-get not working in ec2
You are using Amazon Linux instance. Launch new instance for ubuntu.
see snip
Accept the answer if worked
0
votes
How to repair corrupt package installation (mysql)
Check for any broken service link (/etc/systemd/system/mysql.service )
Remove any MariaDB stuff (sudo dpkg --get-selections | grep maria)
Additional notes at my blog
0
votes
I can't install anything on Ubuntu 20.10
Encountered similar issue recently and in my case mysql service link appears broken. Follow these steps:
Check for any broken service link (/etc/systemd/system/mysql.service )
Remove any MariaDB ...
1
vote
Synaptic error code Internal error opening cache (1). Please report
The error message says file not found. Since you are trying to delete the package, it doesn't matter what that file is so just create a blank file to satisfy the uninstall script so that it will run ...
0
votes
Synaptic error code Internal error opening cache (1). Please report
Had the same problem. I fixed mine using the following commands:
sudo rm -rf /opt/vdhcoapp/
sudo rm -i /var/lib/dpkg/info/net.downloadhelper.coapp.*
I could then reinstall it properly and/or remove ...
0
votes
What is the preferred way to install R packages in Ubuntu?
You can use pkg_install function in pak package. For get more information see this link.
0
votes
How to remove obsolete packages after failed release upgrade via do-release-upgrade on Ubuntu?
How to see all obsolete packages:
apt list '?obsolete'
How to remove all obsolete packages:
sudo apt -V remove '?obsolete'
0
votes
How can I restore my system after a failed install of held-back packages?
Be prepared to need a reinstall Ubuntu and backup stuff beforehand. Keep in mind that the conflict that caused this might need to be addressed before the packages will install again. You can always ...
0
votes
How to solve errors while installing PHP 8.x on Ubuntu 20
Finally found a solution
I had to run
sudo apt policy libpcre2-8-0
The output suggested this
libpcre2-8-0:
Installed: 10.34-7ubuntu0.1
Candidate: 10.34-7ubuntu0.1
Version table:
10.42-3+...
1
vote
Accepted
How do I check license of apt packages via command line BEFORE installing?
I've found a way to fetch the license for Ubuntu's repos in APT and for Flathub. Thanks to both of you for pointing me in the right direction! Of course, these won't handle every corner case, but it's ...
0
votes
How can a Debian package install Python modules from PyPI
Use dh-virtualenv which will package a pip project into a Debian package with virtualenv (packed with a all dependencies).
sudo apt install dh-make dh-virtualenv
You'll need a Python project with ...
1
vote
Accepted
Ubuntu CVE status interpretation, is the package really released?
I don't really understand your concern (or question) in complete detail, but here's my take on it:
The package gnupg2 is a "transitional package" that simply installs the package gnupg (...
0
votes
How do I remove Dolphin and all of its dependencies?
On my system (Liux Mint xfce with KDE added later), apt wants to also remove my desktop environment! That would be "sub-optimal" for me, so instead a terrible hack:
/usr/bin # mv dolphin ...
1
vote
How do I check license of apt packages via command line BEFORE installing?
This is one liner for official repository only as the one you mention in comments:
function lic() { apt-get download --print-uris $1 | sed "s/.*\(\/pool.*\)_.*.deb'.*/https:\/\/changelogs.ubuntu....
-1
votes
What is the preferred way to install R packages in Ubuntu?
is there something like ppa:c2d4u.team/c2d4u4.0+ for debian?
since 22.04 im not very happy with snaps breaking my containers.
1
vote
How do I check license of apt packages via command line BEFORE installing?
I may be tricky to check the license information of packages before installing them via apt or flatpak, there are some limitations based on how these package managers and their repositories provide ...
0
votes
Accepted
How can I upgrade a package to a specific version?
With nobody's helpful comment, pointing to apt-pinning, I was able to come up with the following solution:
You can pin a package to a specific version by creating a preference file for it (e. g. /etc/...
0
votes
Is there Ubuntu's analogue of snapshot.debian.org?
StableBuild (disclaimer: I'm involved in the company) has daily snapshots of the full Ubuntu (versions 18.04 and up) package repositories (and some popular PPAs) starting 6 September 2023. Docs and ...
0
votes
How to properly specify dependency package versions on a deb package
libssl1.0.2 is not the package libssl with version 1.0.2, but the package with name libssl1.0.2.
Your package depends on:
libssl1.0.2
But the package you have installed is:
libssl1.0.0
To make your ...
0
votes
Accepted
Intel ARC intel-i915-dkms dpkg error upgrading to HWE kernel 6.5
You are mixing the wrong kernel version (6.5 HWE vs 5.x non-HWE) and the intel-i915-dkms kernel module. It is only necessary and compatible with 5.x kernels.
sudo -i
dpkg --force-all -P intel-i915-...
-1
votes
how to create a local repo in ubuntu with specific packages that will serve update and installation request from client machines of all the distros
It is necessary to have the Apache server installed.
Assuming your ip address is 192.168.0.23
We verify that it is correctly installed by entering with the web browser, http://192.168.0.23
The Apache ...
1
vote
Install package into live environment
You just
sudo apt update
to let your system update your software repositories on what is available; then
sudo apt install
what you want... done.
You can also snap install too :)
0
votes
Unable to upgrade to 22.04 because `ubuntu-desktop' is broken after upgrade
sudo apt-get autoremove
will remove the unnecessary packages. Then update to latest version using do-release-upgrade command.
Top 50 recent answers are included
Related Tags
package-management × 10491apt × 5558
dpkg × 1770
dependencies × 1309
software-installation × 1210
updates × 1123
upgrade × 1018
python × 474
ppa × 414
16.04 × 391
14.04 × 366
20.04 × 362
18.04 × 359
repository × 347
command-line × 335
software-center × 307
kernel × 276
update-manager × 252
12.04 × 237
installation × 236
deb × 221
server × 210
wine × 189
mysql × 147
compiling × 144