New answers tagged

0 votes

Disable proxy server for one apt repository

How can I do this in command line ? I can't touch to the /etc of my computer.
FloFlow's user avatar
0 votes

How to use `apt` to update different layers of an Ubuntu installation on a union filesystem

I'm going to try to answer this myself. Please feel free to comment and point out any errors or false assumptions that I make. I have enhanced the original question to provide background that might ...
Stephen Winnall's user avatar
0 votes

Seeing apt-get changelogs for to-be-upgraded packages

Oneliner for apt changelog $ALL $UPGRADABLE $PACKAGES: apt changelog $(apt list --upgradable 2>/dev/null | grep -v 'Listing' | cut -f1 -d"/") This will open a pager for each upgradable ...
Abdull's user avatar
  • 311
6 votes

How can I tell if an issue has been resolved via backporting?

These are common questions. "Released (2.4.52-1ubuntu2)" Which is the current version of Apache I show as installed. Does this mean this fix has been backported or not? It means that the ...
user535733's user avatar
  • 56.1k
1 vote

Where would Monero node or blockchain data be stored?

The blockchain is in a hidden folder in your home directory at: /home/username/.var/app/org.getmonero.Monero/.bitmonero/lmdb
Asimo's user avatar
  • 11
0 votes

How to use `apt` to update different layers of an Ubuntu installation on a union filesystem

It seems like you are using aufs and NFS to create and maintain diskless Ubuntu images with multiple layers. You're encountering issues with updating packages on the lower and upper layers without ...
Bruno Peixoto's user avatar
0 votes

How to install gimp-help locally on Ubuntu 22.04?

To view the help pages of GIMP on Ubuntu 22.04 with the snap version, you can install the necessary help files by following these steps: Open a terminal. Run the following command to install the help ...
Bruno Peixoto's user avatar
0 votes

How to install gimp-help locally on Ubuntu 22.04?

Switch from snap to apt for reinstalling GIMP 2.10.30 sudo apt update and sudo apt install gimp-help-common gimp-help-en Update the installed version of Firefox from 113 to 114. Here's how I got ...
bueycansao's user avatar
0 votes

How to install gimp-help locally on Ubuntu 22.04?

I can access gimp-help packages after installing gvfs-backends in Kubuntu 23.04. sudo apt install gvfs-backends Gimp is installed via APT.
Archisman Panigrahi's user avatar
0 votes

Any easy way to install Python3.9 (and python3.9-dev) now that Deadsnakes has removed support for it?

There really was no good solution to this. In the end I just installed everything from source for the time being while I work on replacing the server.
Whitewind617's user avatar
0 votes

Ubuntu 22.04 apt-upgrade fail (libperl5.34, perl5, perl-base_5.34.0 dpkg error)

Input/output error is the key information. Your storage device is not working properly. Look up how to run a SMART Test on your storage device to verify if it is failing or faulty. If it fails the ...
user535733's user avatar
  • 56.1k
0 votes

Ubuntu 22.04 apt-upgrade fail (libperl5.34, perl5, perl-base_5.34.0 dpkg error)

can you check if the disk still has some free space? $ df | egrep '^/'| grep -v loop "Input/output error" sounds like a disk/space problem. Kinds Regards maniac__
maniac_on_moon's user avatar
0 votes

[Jammy]: puppet-agent has no installation candidate despite following instructions

puppet6-release-jammy.deb does not contain puppet-agent but requires it. So download and install puppet-agent from where you got puppet6-release-jammy.deb The package is ONLY avaliable for 23.04 and ...
Rinzwind's user avatar
  • 292k
0 votes

Problem while installing cuda toolkit in ubuntu

Installing Aptitude is not a direct answer, but between apt, apt-get and synaptic, fixing dependency hell is quite difficult; aptitude is actually more user-friendly at it.
Michel Meyran's user avatar
0 votes

Are we blacklisted from Ubuntu repository?

The problem seems to be internal to our ISP. Hopefully Ubuntu hasn't blacklisted us. Thank you for those to try to help.
tasseb's user avatar
  • 61
-1 votes

What is the difference between apt-get update and upgrade?

Here is the order for apt users: sudo apt update sudo apt upgrade sudo apt autoremove. Don't fall for dist-upgrade or full-upgrade unless you know what you want to do exactly! Use the time tested ...
Ray's user avatar
  • 39
0 votes

Apt incorrectly guesses package names instead of giving an error

As of June 6, 2023, the workaround specified in the accepted answer will no longer be possible on Ubuntu 18 systems. https://github.com/deadsnakes/issues/issues/251 The maintainers of deadsnakes have ...
Jon's user avatar
  • 101
0 votes

How to install the libxcb-cursor.so.0 library?

Maybe I was just downloading the wrong feather wallet file: nicholas@mordor:~/Downloads/monero$ nicholas@mordor:~/Downloads/monero$ wget https://featherwallet.org/files/releases/linux-appimage/...
Nicholas Saunders's user avatar
1 vote

how to install "/Downloads/code_1.78.2-1683731010_amd64.deb" file getting this error

The command that you ran has wrong syntax. You are already in the home directory so You can directly access Downloads from there; So its not sudo apt install ./home/birjendra/Downloads/code_1.78.2-...
Arjun K Shibu's user avatar
-1 votes

Errors with amdgpu-dmks on Ubuntu 22.04

Simply removing the amdgpu-dkms package would do the same thing, yet, that's not a fix... but a band-aid to ignore the real problem. But, here is the command line to do so: sudo apt remove amdgpu-dkms ...
CherryCoke's user avatar
1 vote

The value 'jammy' is invalid for APT::Default-Release

although the original question was written as a trial to downgrade the version, I received the same output when I tried to upgrade also I've succeeded in solving this problem with the assistance of ai ...
ahm22004's user avatar
1 vote
Accepted

Why am I getting errors in apt after I deleted and then re-created `/tmp`, `/var/tmp`, and `/var/log`?

/tmp/ needs to be drwxrwxrwt 20 root root 4096 jun 5 21:03 tmp /var/tmp and /var/log need to be: drwxrwxr-x 13 root syslog 4096 jun 4 00:00 log drwxrwxrwt 13 root root 4096 jun 5 ...
Rinzwind's user avatar
  • 292k
0 votes

using apt-get install in old versions

As @Ray noted in the comments, the online repository mentioned in the error message was still accessible via browser, so i could reach for it in there. I had some weird network connection problem ...
Marco Montevechi Filho's user avatar
0 votes

Emacs installation fails on Ubuntu 20.04

For thus, who wondering like me, now you should download not libotf0, but libotf1. so correct way is First did sudo apt purge emacs. I then reinstalled libotf1 and libm17n-0, using: sudo apt install --...
Дмитрий О's user avatar
0 votes

MESA bug-fix update delayed by 12 days on Kubuntu 22.04 LTS

22.2.5-0ubuntu0.1~22.04.2 was deleted from the jammy updates pocket and 22.2.5-0ubuntu0.1~22.04.1 restored, as the .2 caused a significant regression for users. See: https://bugs.launchpad.net/ubuntu/+...
Rik Mills's user avatar
  • 400
0 votes

add-apt-repository command is suddenly very slow

my problem was ip6tables input policy set to DROP without allowing local traffic. these need to be there: ip6tables -A INPUT -i lo -j ACCEPT ip6tables -A INPUT -m conntrack --ctstate RELATED,...
Sunny's user avatar
  • 1
0 votes
Accepted

How to include apt in sudoers without password

Ok, i have found a solution to my own question. Usually $ sudo apt (...) or just $ apt (...) need a password to be executed, as well as apt-get, aptitude and apt-fast (the latter a download ...
Daniel's user avatar
  • 11
0 votes

How to put sudo operations (apt-get) on a shell script?

A similar question was answered here . To summerise, you should not be using sudo inside a shell script, rather run the whole script with sudo privilage. sudo ./script.sh Otherwise, if you still want,...
Kumar Utsav's user avatar
1 vote

The value 'jammy' is invalid for APT::Default-Release

You can only upgrade to Ubuntu 23.04 from Ubuntu 22.10. Going backwards from Ubuntu 22.10 to Ubuntu 22.04 (jammy) is not upgrading, it's downgrading. That's why you got this error message: The value '...
karel's user avatar
  • 109k
0 votes

apt update fails. Says key not available

Seems like you're missing the pub key? You can try pulling Debian keys from the Ubuntu Keyserver like such: apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 76F1A20FF987672F
Dylan Rucker's user avatar
3 votes
Accepted

"ttf-mscorefonts-installer" Dependency Question

Some answers are readily available in the changelog. Others you can find by browsing the patches, which are documented. Generally, Ubuntu patches are created in response to bugs. The patches are ...
user535733's user avatar
  • 56.1k
0 votes

What commands (exactly) should replace the deprecated apt-key?

If you have the *.asc file you can just --dearmor it curl https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > microsoft.gpg install -o root -g root -m 644 microsoft.gpg /etc/apt/...
MortenB's user avatar
  • 111
0 votes

Not able to update a package

"I have been told that the newest package 1.8.2 is available" You have perhaps misunderstood. A new upstream release of that software, 1.8.2, has indeed occurred. But it's not a package. ...
user535733's user avatar
  • 56.1k
0 votes

Manually add key? The following signatures couldn't be verified because the public key is not available: NO_PUBKEY

I encountered a similar problem when building an image based on ubuntu:22.04 on Raspberry Pi (armhf). The problem was the host's libseccomp library. The solution is documented here: https://docs....
Jinyang Li's user avatar
5 votes
Accepted

What is the best way to ensure proper installation of programs?

In my experience, most new Ubuntu users that appear here with packaging and installation problems have caused a number of self-inflicted problems. However, it's not always easy as a beginner to ...
Artur Meinild's user avatar
2 votes

What is the safest and most efficient way to remove multiple applications installed by 'sudo apt install gnome-*'?

Review the list of the packages that were actually installed. Find that list at /var/log/apt/history.log. Remove only the packages on that list.
user535733's user avatar
  • 56.1k
1 vote

What is the safest and most efficient way to remove multiple applications installed by 'sudo apt install gnome-*'?

sudo apt remove gnome-* will remove all packages that does match that, also the ones that were install prior to your "mishap". Now, what follows has not been tried, beware ;-) Do $ dpkg --...
Hannu's user avatar
  • 4,772
0 votes

Wireless adapter unclaimed after update and reboot

If you have a dual boot with Windows, you might want to disable the Fast Startup in Windows. See: https://wireless.wiki.kernel.org/en/users/drivers/iwlwifi#about_dual-boot_with_windows_and_fast-...
EasonL's user avatar
  • 101
0 votes

"GPG error:The following signatures were invalid: KEYEXPIRED"

When tried to apply this solution, it failed, but at least it returned the right KEYS apt-key adv --keyserver hkps://keyserver.ubuntu.com --refresh-keys And with the right KEYS I could update them ...
rodrigobb's user avatar
  • 131
1 vote

How to remove kernel updates from upgrade stream?

Sure it can. Easily. However, there's a big drawback: No more automatic security patches. When you roll your own kernel, mitigating CVE's is now on your shoulders. If that's okay with you, then ...
user535733's user avatar
  • 56.1k
0 votes

Getting an error every time I install something with apt

Dou you need xtrx-dkms package? xtrx kernel module needs to be built for all kernels that you have installed. If you do not need it remove it with apt remove xtrx-dkms. Then you should be able to use ...
nobody's user avatar
  • 4,312
0 votes

cannot install mysql-server in ubuntu16.0.4

I was getting below error while installing mysql server on ubuntu and I previously I had installed mariadb. Error : I solved this problem, Simple Steps mentioned below. Edit APT source list file ...
Subhash Sautiyals's user avatar
0 votes

dpkg-deb: error: paste subprocess was killed by signal (Broken pipe) Trying to Install a specific version of NodeJS on Ubuntu 22.04.2 LTS

Solution When installing node I highly recommend, installing it with nvm (Node version manager). This makes it easy to install a certain version from node with the associated npm. It also makes ...
Jan's user avatar
  • 1
0 votes

Problem with update-manager: No module named 'apt_pkg' in Ubuntu 13.10, having installed Python 3.4 on /usr/local/lib

Running Ubuntu 22.10 with Python 3.10.7 my apt package manager stopped working as well with apt reporting that the apt_pkg was not installed. What worked for me was the following: cd /usr/lib/python3/...
gh0st's user avatar
  • 21
0 votes

I maybe have 2 versions of Firefox, and i want to get rid of one of them

At Ubuntu 22.04.2 LTS version, sudo apt install firefox installs snap version of firefox. I think this is causing that issue. You can better to remove firefox with both sudo apt remove firefox and ...
NJT145's user avatar
  • 1
3 votes
Accepted

Brave browser has a user interface problem

At least on several of the machines we tested, the problem can be bypassed by removing each affected user's GPUCache: ~/.config/BraveSoftware/Brave-Browser/Default/GPUCache$ I.E.: ~/.config/...
Danilson Nunes's user avatar
4 votes
Accepted

Where is the meaning of "--fix-broken" of "apt install --fix-broken" documented

apt is a front-end/handler/alternative for apt-get as stated in man apt: apt provides a high-level commandline interface for the package management system. It is intended as an end user interface and ...
Raffa's user avatar
  • 22.3k
0 votes

Error upgrading grub-efi-amd64-signed - special device [old SSD] does not exist

We had a ~100 freshly imaged machines displaying this error so we wanted a quick scriptable solution. Quick Fix: Run the following as root echo PURGE | debconf-communicate grub-common echo PURGE | ...
Bastion's user avatar
  • 141
1 vote

Ubuntu 22.04 only boots up to a terminal, gui not opening

This worked for me: (a) Check the setting sudo systemctl get-default (b) Reset if it does not report 'graphical.target' sudo systemctl set-default graphical Then reboot and it should boot into the ...
Codenosticer's user avatar
1 vote

Having trouble opening a virtual environment in python3.9

Just installing python isn't enough. You have to to multiple steps: sudo apt install python3.9 sudo apt install python3.9-distutils sudo apt install python3.9-venv Hopefully, after that everything ...
ponir's user avatar
  • 143

Top 50 recent answers are included