New answers tagged

0 votes

File removed from .deb package

The only way to achieve that is to list the file in the conffiles file. All other files are deleted when the updated package is installed.
user2505780's user avatar
0 votes

Can't install anything with apt install in ubuntu

I just ran into the same error. I was able to solve it by doing: sudo rm -f /etc/alternatives/mpi* /var/lib/dpkg/alternatives/mpi* sudo rm /var/lib/dpkg/alternatives/mpi sudo apt install openmpi-bin ...
kristyna's user avatar
  • 101
0 votes
Accepted

How to accept EULA unattended for SteamCMD under debian-variants?

After a fresh install I have found out why debcon-show had no output It will not show until you run apt update after adding the non-free repo The following commands will install steamcmd without ...
Shodan's user avatar
  • 130
-1 votes

Unable to install NVIDIA drivers with apt-get

I had this kind of error too just yesterday, but it was my fault: I was running Ubuntu on a custom kernel version 6.6 realtime. I resolved by simply using the newer kernel 6.8, then sudo apt update ...
shishimaru's user avatar
0 votes

Service being disabled after package updates

I have this SAME problem. I use rundeck to automate my updates, so I just added a script to manually re-enable them before they reboot the hosts. This is bazar. I've never seen anything like this.
Jacob Sylvia's user avatar
1 vote

Install Microsoft Teams for Ubuntu 22.04 LTS

New Teams client: This one supports video conferencing and can be installed as a desktop app (see below). https://teams.cloud.microsoft Classic Teams client: Deprecated / Not recommended : https://...
Bastion's user avatar
  • 201
2 votes
Accepted

How do I install mysql-dev for server?

The default repositories in Ubuntu don't include the server development package for MySQL by default, but you can work around this limitation by installing the MySQL source code. Open the terminal and ...
karel's user avatar
  • 115k
-1 votes

How to display leaf packages

"top dependencies" does not have the same definition to me in this context. But leaf packages are usually all manually selected packages, the list can be long, but usually shorter. Try dpkg-...
Mathieu J.'s user avatar
  • 1,176
1 vote

Can't install software-properties-common on Ubuntu 20.04 docker image

This is the only thing I was able to get to work: RUN apt install -y -f software-properties-common || sudo dpkg --configure -a && apt install -y -f software-properties-common|| sudo dpkg --...
Brett Goldman's user avatar
0 votes

How do I install qemu on Ubuntu 23.10?

update: sudo apt update && upgrade install and enable the libvirt daemon that runs virtualization in the background sudo apt install libvirt-daemon sudo systemctl enable libvirtd sudo ...
Alex's user avatar
  • 128
0 votes

permission error when installing ttf-mscorefonts-installer/Can't drop privileges as file couldn't be accessed by user '_apt'

This simple thing worked for me; Copy the file to /_remove/package.deb apt-get -y install /_remove/package.deb I had the file downloaded as root and kept within the root's path previously.
Broken Arrow's user avatar
0 votes

how can I remove a dpkg installed repository?

Common Methods dpkg focuses on other tasks, and its source management is actually handled by the higher-level tool apt. So I think your repo sources should be managed by apt, and you can locate them ...
VOCALOID's user avatar
1 vote
Accepted

how can I remove a dpkg installed repository?

Unfortunately, dpkg only works to remove package files and not repository entries. You can find the location of the repository lists that contain the corresponding URL with this: cd /etc/apt &&...
Thomas Ward's user avatar
  • 74.9k
0 votes

how can I remove a dpkg installed repository?

dpkg provides two primary methods for uninstalling packages: dpkg -r <package_name>: removes the package and its associated files, but leaves configuration files. dpkg –purge <package_name&...
Bee's user avatar
  • 3
1 vote

libc6 dependency mismatch

The Kali version of the package is newer than the Ubuntu version, so apt upgrade thinks the Kali version is preferable. You need to tell APT to do a downgrade. The way to do that is through ...
Gilles 'SO- stop being evil''s user avatar
0 votes

libc6 dependency mismatch

You might want to take a look at what Kali has to say about using their repositories on a non-Kali system. The short version is "don't do it". I'd recommend taking their advice over that of ...
doneal24's user avatar
  • 347
0 votes

libc6 dependency mismatch

To install a specific older version of a package that's available in your configured repositories, you could specify version numbers in the format apt-get install package=version In your case, ...
johnandmegh's user avatar
-1 votes

How to install latest node inside a docker container

# Base OS FROM ubuntu:latest # Node installation RUN apt -y install nodejs npm # Node package manager RUN npm install -g n # Upgrade to latest stable version RUN n stable
momo2047's user avatar
  • 194
1 vote

How does the Ubuntu package manager determine which repository to search for when a user requests to install a package?

After conducting some research, I've come to understand how the package manager determines which repository to select for installing a package. Let's take the example of the htop package. When we ...
Umar Nazir's user avatar
0 votes

apt-get mass install packages from a file?

Without the need to handle the plain text file, sysdep, is a standalone and simple tool that reads dependencies from a toml file instead of a plain text file. This could mass install apt dependencies ...
Benjamin Tan's user avatar
1 vote
Accepted

packages reinstall after xz-utils restore

Noble is not even beta yet. The dependencies (especially for KDE packages) are now totally messed up. Don't use development versions of Ubuntu in production environments. To fix without reinstalling: ...
Archisman Panigrahi's user avatar
1 vote

How do I mass install apt packages conditionally from a file?

Recently I just wrote a tool, sysdep, just for this exact purpose. It is a simple tool (standalone binary) that reads from a toml file instead of a plain text file. Without the need to handle the ...
Benjamin Tan's user avatar
0 votes

apt install no longer works for kubernetes. snap install also fails

This individual, @ognjen011, recently left a comment that was more of a casual greeting than a constructive response. Apologies for the detour, but I'm encountering a similar issue. It appears that ...
scaleTillDust's user avatar
0 votes

I am not able to uninstall emacs from ubuntu using the terminal?

It is important to know what method to install Emacs you used. There are several methods to install Emacs on Ubuntu. apt install emacs snap install emacs --classic flatpak install flathub org.gnu....
Thomas Aichinger's user avatar
0 votes

Pregenerating ConTeXt MarkIV format. This may take some time... takes forever

Just to start with, some motivation on why I wanted to install LaTex. I have a University document which was written with the ".tex" extension, and I want to view it. I found this nice ...
Stephen Elliott's user avatar
0 votes

Unmet dependencies trying to install samba, Ubuntu 22.04-2

I hacked the post-inst script inside the package, basically disabling all functionality and repackaged into a separate .deb file. I then installed this fixed .deb with dpkg and the rest of my upgrades ...
SSB's user avatar
  • 113
8 votes

Pregenerating ConTeXt MarkIV format. This may take some time... takes forever

Whenever at any step. Just press Enter and keep holding it until it gets unstuck. It did work out for me. Try this method first before moving to any harsh steps like other answers are mentioning. ...
Yogesh Aggarwal's user avatar
0 votes

apt commands won't upgrade my packages kept back

Packages may be held back for two reasons: The item is being released in a phased manner, so not everyone at once gets it. Simply wait and the item should eventually get delivered. Check the status ...
ubfan1's user avatar
  • 17.8k
1 vote

apt commands won't upgrade my packages kept back

It is a fairly recent thing related to phased updates. There no need for any action. It usually takes a few days to make sure the updated packages are safe.
mikewhatever's user avatar
  • 32.6k
0 votes

Ubuntu 22.04 Kubernetes setup - failed to pull image

You are probably missing proxy settings for kubeadm i would try setting proxy in the bash: export HTTP_PROXY=http://proxy.example.com:port export HTTPS_PROXY=http://proxy.example.com:port export ...
ognjen011's user avatar
  • 1,319
0 votes

"Conflicting values set for option Signed-By regarding source"

These conflicts are typically caused by having multiple entries spreading in one or many .list files. It's a tough exercise, but, do the following: Locate the .list files in your system: sudo find / -...
Farlon Souto's user avatar
0 votes

VirtualBox 7 fails on installation process at Ubuntu Desktop 22.04

Looking at gcc-12: not found makes me suggest you do: sudo apt install build-essential. That will install the compiler and friends that you need.
waltinator's user avatar
  • 36.5k
-1 votes

Install newest tbb (thread building-blocks) on Ubuntu 18.04

If your apt update tbb failed, you can update manually. Download it from here.
minzhao's user avatar
1 vote

apt-get update for gitlab-runner for Ubuntu 20.04.6 LTS failing with invalid signature

The reason these keys expire is for security - as Gitlab employees workstations are very high value targets it is preferred to generate new keys after about 2-4 years - taking into consideration that ...
fmueller's user avatar
0 votes
Accepted

Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages, specific package can not be removed

Fixed it. Removed the partially installed smartmontools package, installed lsb-base package, then downloaded sysvinit-utils_3.01-1ubuntu1_amd64.deb, installed it and back to normal. I can update/...
Niels Sommer's user avatar
1 vote

What languages installed with APT on Ubuntu come with graphical features straight out of the box?

You can easily produce graphics with Python. If you want to create graphs for scientific computing, check out matplotlib. sudo apt install python3-matplotlib To create graphical apps with python, ...
Archisman Panigrahi's user avatar
0 votes

How can I update my nodeJS to the latest version?

NVM (Node Version Manager) I found NVM is the simplest way to install and manage multiple versions of Node.js on Ubuntu. The command nvm list-remote lists all the available versions. You can install ...
Bhuvan's user avatar
  • 128
0 votes

E: Could not get lock /var/lib/dpkg/lock-frontend - open (11: Resource temporarily unavailable)

For me this works most of the times, with the caveat that any of the above solutions might break the update or upgrade process and might need fixing afterwards sudo killall apt apt-get dpkg The above ...
Eduard Florinescu's user avatar
0 votes

How can i replace apt progress bar. I want to Put some special characters to make it look more like a progress bar

if you don't mind using a third party client you can use nala because nala is a commandline frontend for the APT package manager using sudo nala upgrade we can see that it looks better then apt, you ...
killertofus's user avatar
-1 votes

Virtualbox error when updating my computer

remove that repo, Open the Software & Updates application Other Software then press remove, because virtualbox is in the native repos since focal
killertofus's user avatar
0 votes

Failed upgrade: troubleshooting 'sudo apt ugrade'

try changing your mirrors, don't use the esm repos if you don't have a subscription with ubuntu, change the repos to the defaults Open the Software & Updates application, then click on the “...
killertofus's user avatar
2 votes
Accepted

apt upgrade - connection reset by peer

In the Software Updater app, under Settings... you can choose between known repositories/mirrors. Choose another repository than the one you are using now, t.ex. the Ubuntu main repo., but any one ...
Soren A's user avatar
  • 6,799
-1 votes

Unable to install wine => Depends: wine1.6-amd64

on Ubuntu 22.04 solved this issue by installing wine32 and wine64 packages
Oleg Kokorin's user avatar
-2 votes

How to install OpenSSH 8.7 or later on 20.04.6 LTS

For anyone looking at this, I just updated Ubuntu 22.04.
Xaphann's user avatar
  • 95
0 votes
Accepted

How do I install clang 18 on Ubuntu?

Using this guide you can install Clang 18. In brief, there are 3 steps: Download the Automatic Installation Script using the Terminal - wget https://apt.llvm.org/llvm.sh After Downloading, add ...
graham's user avatar
  • 10.5k
1 vote

apt-get update for gitlab-runner for Ubuntu 20.04.6 LTS failing with invalid signature

To resolve this situation in 2024, especially on old installs, first we need to remove already added gitlab apt gpg key. Run the command: sudo apt-key del "F640 3F65 44A3 8863 DAA0 B6E0 3F01 618A ...
Arunas Bart's user avatar
0 votes

apt-get update fails due to NO_PUBKEY in FIPS mode

Depending on which version of Ubuntu you are running, you need the ESM GPG keys installed first before doing apt updates. https://esm.ubuntu.com/fips-updates/ubuntu/dists/ Index of /fips-updates/...
Brian Collins's user avatar
0 votes

error while loading shared libraries: libpng12.so.0

Often time researchers use older versions of FreeSurfer (and similar tools like AFNI which rely on since deprecated packages, see here for a related issue with libXp.so.6). To solve on Ubuntu 22.04 ...
Etienne Jacquot's user avatar
0 votes

apt-get install -f

It's exactly what it says in the error message: there is a process called aptd that has reserved exclusive access to the local package database, so the apt command you started cannot get access. The ...
Simon Richter's user avatar
15 votes
Accepted

ppa:mozillateam/ppa gone?

ppa.launchpad.net is currently down according to the Canonical Status Page. This should be a temporary issue that should be resolved soon(ish).
man0xff's user avatar
  • 166

Top 50 recent answers are included