New answers tagged

2 votes

Can't Upgrade from 22.04 to 22.10?

Take a look and see if you can locate the problem. You're running a 22.04 ("jammy") system You have a source that says https://cloud.r-project.org/bin/linux/ubuntu focal-cran40/ See it? &...
  • 51.5k
1 vote

upgrading to ubuntu pro. Where is the token?

Your account at https://ubuntu.com/pro is where you see your subscriptions and your tokens.
  • 51.5k
0 votes

Initramfs unpacking failed: invalid magic at start of compressed archive -> Kernel panic

I think* this may be an issue with the 5.4.0-89-generic kernel. I got into the Grub menu, via the BIOS on my computer - holding down SHIFT wasn't doing anything, and booted an older kernel to try ...
  • 175
1 vote

How do you efficiently/correctly extract data from a tarball into a new Ubuntu distribution?

[Partial answer] Regarding the extraction of desired files, you can install Midnight Commander (apt install mc), a console file manager simple but with many functions. You can open the tar file in one ...
  • 300
1 vote

Service restarted at every apt upgrade

This was due to java archives (jar) files in the wildfly temporary deployment folder. This can be seen by running needrestart in verbose mode: sudo needrestart -b -v Since my custom service does not ...
  • 160
0 votes
Accepted

Gnome's Software ignores apt's "kept-back" package status

As posted in the comment, after getting capable to correctly use the GUI of GNOME's Software, it turns out that its announced “OS Updates” are the same packages which are kept back by apt. As @...
  • 11
3 votes

How do get my system to use the latest installed kernel?

A comment from ubfan1 correctly identified to problem--probably obvious to someone with more experience with Linux, but I'll post it here in case other neophytes are struggling with the same issue. ...
-1 votes

Updating Ubuntu 20.04 from 18.04 error

I translated the unfamiliar language into something a normal human can understand and found out that it indicates that there are duplicate entries in your /etc/apt/sources.list file. This can happen ...
  • 166
0 votes

Can't use opencv in upgraded Python3

Don't change the installed version of Python3. Doing so breaks your system, as you have discovered to your sorrow. Repair your system by restoring the original version of Python3. You can have ...
  • 51.5k
0 votes

Libreoffice help fails to open

I had this problem and seem not to have it anymore - maybe you can tell me why. My Ubuntu Studio 22.04 lts was a clean install to my existing drive from a downloaded ISO and then I copied some of my ...
0 votes

Upgraded from 18.X to 20.04 LTS: Characters in terminal appear as non recognized - Unicode/machine code

Quick update: Terminal > Preferences>Un named>Text> Custom font(combo)> This was changed to a non null font and so, with this, the problem no longer occurs. (English letters appear in ...
  • 1
0 votes

Shutdown/Restart takes forever after upgrading to 22.04

In my case, I upgraded my Kubuntu OS to use Ubuntu 22.04. At the shutdown, I observed a never-ending black screen without the machine being powered off. Here's what worked in my case: I used the ...
0 votes

Jammy not responding

I was having this same issue because I had a package source in /etc/apt/sources.list/ that no longer exists. After I removed the invalid source using sudo vi I was able to get past this message.
4 votes
Accepted

How do you efficiently/correctly extract data from a tarball into a new Ubuntu distribution?

First, an answer to the question itself (but see below for a potentially better option) I would start by doing a wsl --import into a new (temporary) distribution. Similar to my other answer, start in ...
  • 11.5k
2 votes

How do you efficiently/correctly extract data from a tarball into a new Ubuntu distribution?

"The relevant files for python and java projects and any config files" might all be in your home directory, but that depends on how you used your system. Config files should be compared with ...
  • 312
1 vote

What's the default Python version in Ubuntu 22.04?

https://packages.ubuntu.com will readily provide current package version information for all supported releases of Ubuntu. For example, here's a search of that website for the python3 package in jammy ...
  • 51.5k
0 votes

Gnome's Software ignores apt's "kept-back" package status

I had a very similar problem, some packages the very same as you, although with some differences (for example alsa-ucm-conf was 80% phased for me) and I solved (reiterating) following this: sudo apt ...
  • 521
0 votes
Accepted

What are some aspects to consider when one needs to commit to a strategy, regarding LTS and non-LTS versions?

In my experience, upgrading to 22.10 might not fix driver issues (rather it might cause some). You could try installing xanmod kernel, I found it is a lesser sacrifice that fixes my bugs and perhaps ...
1 vote

What are some aspects to consider when one needs to commit to a strategy, regarding LTS and non-LTS versions?

It's already been mentioned in the answers to other questions that upgrading frequently to the latest version of Ubuntu provides the user with access to the latest security updates and new ...
  • 106k
2 votes
Accepted

Mismatch between my terminal/VS code/wsl.exe Ubuntu version (18.04), and /etc/lsb-release (22.04.01) after running sudo do-release-upgrade?

Ok, I think I know what's happening now after the updates. Ubuntu-18.04 is the distribution name. This name doesn't change; it's tied to the Store installer that was used originally to install it. ...
  • 11.5k
0 votes
Accepted

Black screen at normal boot; login loop at terminal boot - after upgrading 20.04 to 22.04:

After an insanely time consuming journey, I found out that the login loop at terminal was being caused by some permission issues - which I never altered myself. Anyway, the solution was to reestablish ...
  • 101
1 vote

Need gcc and g++ 4.8 in Ubuntu 22.04.1

The gcc-4.8 and g++-4.8 packages have been discontinued in the Ubuntu 20.04 and later default repositories, but they are still available in the Ubuntu 18.04 default repositories. To install the gcc-4....
  • 106k
0 votes

Stuck on upgrading from Ubuntu 20.04 to 22.04 LTS

Before removing mesa-opencl-icd run a simulation of what removing this package would do without actually removing anything. Note that this command should not be run as root or prefaced with sudo ...
  • 106k
1 vote

Upgrade from Ubuntu 16.04 to 18.04 - improper use of do-release-upgrade

I see no problems with what you did. With your commands you installed regular updates for 16.04. Then you cancelled a release upgrade. Now you can run do-release-upgrade.
  • 85.7k
0 votes
Accepted

Stuck at `sudo apt upgrade`, and can't get over `E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).`

I managed to solve the issue. I deleted the ppas from the Software & Updates > Other Software app. sudo apt update sudo apt upgrade Followed by removing any remnants individually. Ending it ...
  • 129
-1 votes

Permanently solve “GRUB was previously installed to a disk that is no longer present”

I got the same error message on my system running Ubuntu 20.04.1. In my case /boot/efi is on its own partition. The following procedure solved the problem: Before apt-get update unmount /boot/efi. ...
  • 1
0 votes

two finger scrolling and tap to click stopped working in Ubuntu 22.04 Jammy Jellyfish

If the issue started after adding touchegg then reinstall using following $ sudo apt remove touchegg $ sudo apt install touchegg if the issue didn't happned due to adding touchegg even then you may ...
2 votes

Cannot edit update-manager-core even after having sudo permissions. Need it essentially in order to upgrade from Ubuntu 22.04.1 to 22.10!

If you are using a desktop OS, you don't have to edit anything manually. You can go to Software & Updates application and choose to upgrade to a non-LTS Ubuntu version. But for a very new user it ...
  • 85.7k
3 votes
Accepted

Cannot edit update-manager-core even after having sudo permissions. Need it essentially in order to upgrade from Ubuntu 22.04.1 to 22.10!

Try: sudo nano /etc/update-manager/release-upgrades Explanation: you have to use some text editor in root mode.
0 votes

ubuntu suspend does not work well after ram upgrade

Issue solved by updating the motherboard BIOS. Do it carefully as it may break the motherboard. In my case I have a Gigabyte Z690 motherboard and failed when upgrading from 16 GB (2x8) to 48 GB (2x16 +...
  • 1
4 votes
Accepted

What is the meaning of the term "archives" in apt? Why would apt download "archives"?

The term 'archive' in a Debian-based system (like Ubuntu) typically refers to deb packages or to the repository providing those deb packages. Need to get 124 MB of archives. In this particular usage, ...
  • 51.5k
0 votes
Accepted

How to install KDE Gear 22.12 in Kubuntu 22.10?

NOTE: Upgrading to daily versions of the OS will most probably leave you with a very buggy system. I keep this answer for reference, but I advise against putting it into practice. (That small new ...
  • 2,788
0 votes

After upgrade, computer won't boot

Try to reinstall desktop. Go in single user mode by pressing CTRL+ALT+F4. Run sudo apt install ubuntu-desktop If it fixes issue, then fine, otherwise try sudo service lightdm restart see if it ...
  • 106
2 votes
Accepted

Firefox mouseover errors after upgrade to Ubuntu 22.04

I had the same issue since few weeks on my Ubuntu 22.04.1 and Firefox 108. Today I tried different version of Firefox and on the latest beta (109.0-1) the issue still occurs, but surprisingly it seems ...
  • 86
0 votes

Updating TOR screwed up my client : "Download Error: 404"

Same thing on Mint 21.5 Removed the following folders: ~/.cache/torbrowser ~/.local/share/torbrowser ~/.config/torbrowser As Fellipe Weno said on his post if you have a working Tor Browser ...
1 vote
Accepted

How do you keep your Ubuntu Desktop machine updated with the last stable upgrades? (OS version, kernel, packages)

The recommended way of keeping your system up-to-date is to install upgrades suggested by the system. If you want to do it using CLI sudo apt update && sudo apt upgrade is sufficient. You are ...
  • 85.7k
2 votes
Accepted

Can't upgrade from ubuntu 20.04 to 22.04

This is usually a bug with a display manager (ly, sddm, lightdm, or w/e) not setting the XDG environment variables before they boot up the window manager. I know for a fact that this problem exists in ...
  • 426
1 vote

ModuleNotFoundError: No module named 'distutils.cmd'

I got the same error when setting up a project that is expecting Python 3.8 on Ubuntu 22.04. Since I had installed Python 3.8 using the deadsnakes PPA already, simply issuing sudo apt install python3....
  • 10.8k
0 votes

"Data Dictionary upgrade from MySQL 5.7 in progress" takes forever for some small databases

Simplest solution to get your server running smoothly again without losing data: sudo apt purge mysql-* (but don't delete the mysql data folder) and then install mariadb sudo apt install mariadb-...
9 votes
Accepted

Future LTS upgrade from 22.10

The next LTS will be 24.04, to be released on April 2024. You can upgrade from 22.10->23.04->23.10->24.04 (each of the interim releases will be supported for nine months). If you don't want ...
8 votes
Accepted

How to upgrade from Ubuntu 22.04 to 22.04.1 via command line?

You don't need special commands to upgrade a 22.04 system, the normal sudo apt update to update your software lists; ie. so your system knows what upgraded packages are available for install, then ...
  • 26.7k

Top 50 recent answers are included