Quantcast
Channel: Ubuntu Forums - Installation & Upgrades
Viewing all 26379 articles
Browse latest View live

[ubuntu] snap upgrade cant upgrade in ubuntu software centre

$
0
0
Good afternoon,

Ubuntu snap store can't upgrade itself from ubuntu software centre.
As its open it just barfs at the prospect.. Please see screenshot.

# System Details Report
---

## Report details
- **Date generated:** 2024-09-30 15:58:10

## Hardware Information:
- **Hardware Model:** ZOOSTORM 9872-0187A
- **Memory:** 8.0 GiB
- **Processor:** Intel® Core™ i3-4170 × 4
- **Graphics:** Intel® HD Graphics 4400 (HSW GT2)
- **Disk Capacity:** 2.0 TB

## Software Information:
- **Firmware Version:** F4a UM
- **OS Name:** Ubuntu 24.04.1 LTS
- **OS Build:** (null)
- **OS Type:** 64-bit
- **GNOME Version:** 46
- **Windowing System:** Wayland
- **Kernel Version:** Linux 6.8.0-45-generic

Kind regards
Simon

Unable to boot after clean 24.04 install on Thinkpad

$
0
0
Hi, I was on 22.04 on my Lenovo Thinkpad T420 and then decided to upgrade to 24.04. For some reason the upgrade failed in the middle of the process and then when I tried to boot I was just taken to a command prompt.

After searching for solutions I gave up and tried a live USB stick which appeared to work so I went ahead with a clean install erasing the old installation. However, now I can’t boot - it’s as though there is nothing to boot from. When I insert the live USB stick it is able to boot from that. I’ve tried to search for a solution but frankly all this stuff about grub, UEFI etc is beyond me. Anyway, I managed to run boot-repair from the live USB and the pastebin is here https://paste.ubuntu.com/p/FRGzFK9pNR/

I would greatly appreciate any help.

SSH not available after Ubuntu 22.04 -> 24.04 upgrade

$
0
0
Hi all,

I recently upgraded a small dedicated server of mine from Ubuntu 22.04 to 24.04. I followed the instructions on this page:


The system successfully booted up after apt update/upgrade. And by successfully booted up I mean came up, I could login with SSH, and everything looked good. However, after do-release-upgrade, not so much. The system will not come up to the point that I can login via SSH.

However, I can boot it up in rescue mode and mount the filesystems. However, I am at a loss as to what logs to examine to figure out what is going on.

Any advice?

Thanks,
Paul Thompson

Install in new SSD

$
0
0
Good morning. I have replaced the SSD in my computer and I want to install Ubuntu 24.04.1 LTS on it. I prepared the disk image on a USB drive and tried to start from it.
When the installation got to the point "where do you want to install the system" it only showed partitions in my old HDD. It didn't show an option of installing it on the SSD. Do I need to do something with the SSD so that it shows as a target to install the system?

[ubuntu_studio] Cannot open a browser in fresh install of US 24.04.1

$
0
0
I've just made a clean install of 24.04.1 and edited fstab because my /home is on a separate hard drive. This has restored the essential of my desktop appearance but when I try to open Firefox, I just get a message that my profile cannot be found. (It is in ~/.Mozilla ....). I would have thought FF would then start with a new profile but it does not. Without a browser, life becomes a bit hard.

I suspect that 24.04.1 comes with Firefox as a snap. How can I open it? I would eventually like FF directly downloaded from Mozilla rather than as a snap but first I have to get the browser working. Can someone provide some simple steps to help me out here? Thanks.

[kubuntu] Upgraded from 22.04 LTS to 24.04 and grub bootloader disappeared

$
0
0
I upgraded from Kubuntu 22.04 LTS to Kubuntu 24.04 LTS and the grub screen no longer loads when I start my machine. I have Windows 10 on a separate drive that I boot occasionally (to play games) so this is more than a little annoying. To be clear, I ran the upgrade program and didn't do a fresh install. Any ideas on how to get my grub screen back???

All kinds of software problems after updating software / Kernal

$
0
0
I am currently using Ubuntu 22.04 LTS.
this morning I tried to update my system's software. I started by using the GUI (Ubuntu dialog that says "these updates are ready, do you want to install?"
This produced a black screen, and after some time, forced a restart by unplugging my machine. Upon restart, I entered straight into a GRUB prompt.
After some debugging, I realized I had to boot into an older kernal to get into the OS, then I was able to fix the new kernal.
Now that I can boot into the OS, Apps like Brave Browser, Sublime, and BitWarden are all unreesponsive. Google Chrome, VS Code, and Sublime merge seem to be working just fine.
I have no idea what SnapD is, or Apt, or gnome.... i'm guessing one or all of those are corrupt?
sudo apt update && sudo apt upgrade && sudo apt-get dist-upgrade all report everything is up to date.
attempting to restart snapd results in a hanging terminal (ref: Cannot communicate with server: Post http://localhost/v2/apps: dial unix /run/snapd.socket: connect: no such file or directory)
I then tried to just update to 24.04 (ref: https://www.cyberciti.biz/faq/how-to...ntu-24-04-lts/) but terminal stalls when trying to continue the upgrade (sudo do-release-upgrade)
Immediately I need my Apps like Brave Browser to work. I thought i had installed these apps via the snapd store but i really have no idea why there is snap and gnome and whatever the new one it :/

I have no idea how to go about diagnosing this. The only option I can think of is to put 24.04 on a bootable usb and hope that will fix everything. Still, this problem seems stupid and I'm curious to understand more and how to avoid this in the future

[ubuntu] Ubuntu command to download the .deb file of a package along with its dependencies.

$
0
0
I am trying to download the .deb files of a package that is already installed on my Ubuntu Server.
But I am in need of its .deb files along with all the dependencies packages that are required by that package to get installed with it as well.
For Example: We have the following command in SLES Linux OS to download the packages for lvm2 along with its dependencies packages.
"zypper install --download-only lvm2"
The output was the list of packages that was obtained for lvm2 along with the dependencies packages that are required for lvm2 to function without any issues.
So, I am looking for a similar command in Ubuntu as well to achieve the same task.

[lubuntu] Installing lubuntu with Windows 10 problem

$
0
0
I am trying to install lubuntu on a laptop (Dell Latitude) that has Windows 10. Wanting to dual boot with the current Windows 10 and lubuntu through Grub. I have hit the following problem. As I am loading from a USB thumb drive. The installation comes back "No partition found to install on" (or similar). KDE partition manager only shows the Thumb drive not the hard drive. After some searching I noticed this was due to it having SATA as Raid On not AHCI (please note Fast Startup was turned off). After changing this to AHCI (had not gone ahead with the installation) I tried to boot into Windows. It could not. Now the question is if I do change it to AHCI so to find the hard drive (which I do when I have AHCI set I find in KDE partition manager so presume install will) do I then install lubuntu and then change back to Raid On will I be able to access lubuntu. If not how do I overcome this problem to be able to dual boot via Grub for both indows 10 and lubuntu?

[ubuntu] google-osconfig-agent and google-cloud-ops-agent package download

$
0
0
I am looking to download the .deb file along with all its dependencies packages of the below 2 packages.
1. google-osconfig-agent
2. google-cloud-ops-agent

What is the best way to download its .deb files along with its dependencies packages .deb files?

[ubuntu] Upgraded from 22.04 LTS to 24.04 and now the GUI is not starting

$
0
0
I upgraded from Ubuntu 22.04 to 24.04 and am using a MSI delta 15 Notebook with an integrated and a dedicated AMD GPU.

After the upgrade, the GUI doesn`t start. I end up with a white screen and a message "... something went wrong... contact the administrator..."

I switch to tty2 ctrl + alt + F2 and run: $ sudo systemctl status display-manager.service

It`s active and running but gives me the following mesages, too:

...
gdm3 [1779]: Gdm: GdmDisplay: Session never registered, failing
gdm3 [1779]: Gdm: GdmDisplay: Child process -1826 was already dead
...

I followed all the instructions in forums related to gdm3 reinstallation and ... --fix-broken ..., sudo dpgk --configure -a ... to make sure, the upgrade is generally ok, and there were no issues.

I can only assume, that there`s a grafics driver problem?! Note: I have AMD ROCm installed which may have to be considered in this context.

How can I fix this issue so the GUI starts?

Does 24.04 Live USB do verification on startup?

$
0
0
I remember this being a thing in older usbs I made.
I'm trying to install 24.04, but there is no progress shown on screen, just purple and the USB flashing, and occasionally stopping.
I'm installing on a Legacy Bios laptop with USB 2.0.
Any idea what's wrong? Thank you.

[ubuntu] LVM with RAID1 for server

$
0
0
After years of using Ubuntu, I still find new things to do that make me realize that I don't know what I don't know, please forgive what may be a trivial question.

I am trying to build a server and want to use LVM. It has three drives and I would like to use the two of them (sda & sdb) as Logical Volumes configured as RAID1.

Do I need a linux swap partition on the boot drive? It looks like I set this up but not sure it is necessary.

The device nvme0n1 has about 700Gb that has not been partitioned and I would like to use this as a place to store backups. Would creating an EXT4 partition to do this be the best approach?

Once sda & sdb are part of an LVM RAID1 array, I would like to move some sub-directories from / to the array. Is that possible and if so how? Are there preferable sub-directories to move or leave behind to facilitate backup/restore?

Thanks in advance for suggestions.
scott
Code:

scott@scott-server:~$ sudo lsblk -o NAME,FSTYPE,SIZE,MOUNTPOINT -e7
NAME                      FSTYPE        SIZE MOUNTPOINT
sda                                  465.8G
└─sda1                    LVM2_member 465.8G
sdb                                  465.8G
└─sdb1                    LVM2_member 465.8G
sdc                                    14.9G
└─sdc1                    vfat        14.9G /media/scott/68C6-10F5
nvme0n1                              931.5G
├─nvme0n1p1                              1M
├─nvme0n1p2              ext4            2G /boot
├─nvme0n1p3              LVM2_member 197.1G
│ └─ubuntu--vg-ubuntu--lv ext4        189.5G /
└─nvme0n1p4              swap        31.3G

[SOLVED] Kubuntu 24.04.1 - install failed but now okay

$
0
0
Recently did a fresh installation of Kubuntu 24.04.1. Initially a msg - "Package manager error", Dolphin locked up, couldn't unload USB, other error messages. The user created was 'Kubuntu' not my name, when I tried to login it still had the "Install" option. I tired the 'Install" and there was no system created. Logged in, tried to change the language and it locked again. Several more attempts to install and te same problems occurred.

Then I did an install and selected the option "Download updates during the installation" ( or whatever the exact wording was ), and the installation went flawlessly.

So, .. make sure that box is checked.

Cannot make SSD boot on new MSI laptop (dual boot Ubuntu - Windows)

$
0
0
I'm currently trying to change my laptop computer. I'm switching from one MSI laptop to another :

the old laptop is a MSI GF63 8RC-290FR (around 5 years old), in which I have a 2TB Samsung SSD drive. Windows 11 (upgraded from a Win10 initially provided with the computer) and Ubuntu 22.04 in a dual boot with Grub2.

the new laptop is a MSI Thin 15 B13VE-226, initially provided with only a NVMe drive containing a Win11 install.

My hope was simply to insert my SSD in the new laptop and hoping it would simply "work"... So the "Bios" on the new computer (which is a modern thing with mouse support and no longer the blue/grey thing we're all used to. I think there is not option for any legacy thing.

But this bios is actually detecting my SSD quite well, I can even choose between the ubuntu or the Windows boot.

If I select Ubuntu, I get my usual grub menu, containing the same entries as I get on the old laptop. But if I choose Ubuntu, I am getting a "UUID not found" error, and the initramfs console opens. From there I cannot see any /dev/sd*, /dev/hd*. blkid shows nothing, no output, error code 2 (nothing identified according to the man page).

If I select Windows, I get a BSOD "NO_BOOT_MEDIA" at some point. But for now I don't really care about Windows.

I tried to boot from a Lubuntu live USB key on the new laptop. The SSD and its content can be easily mounted and accessed.

My guess is that maybe some module is missing from the initramfs image, but I cannot find out how to add just one module. It is currently configured with 'most' modules, which apparently should contain all hard disk drivers. But maybe it is created from the old laptop therefore not containing what is actually needed on the new one ?

#
# MODULES: [ most | netboot | dep | list ]
#
# most - Add most filesystem and all harddrive drivers.
#
# dep - Try and guess which modules to load.
#
# netboot - Add the base modules, network modules, but skip block devices.
#
# list - Only include modules from the 'additional modules' list
#

MODULES=most

[...]
"/etc/initramfs-tools/initramfs.conf" 69L, 1284B 1,1 Haut

When mounting the SSD on the new laptop with the live usb key, I can see the UUID from the grub configuration is correct. So it reaffirms the idea that it's 'only' a "driver(ish)" issue.

If entering the command line from grub by typing 'c', I can see the SSD files under (hd0) and all the partitions from (hd0,gpt1) to (hd0,gpt7). More specifically the boot files under (hd0,gpt6), which should be the one used by grub.

menuentry 'Ubuntu' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-9d5e61ed-15ce-4ef4-ba72-78d99a800737' {
recordfail
load_video
gfxmode $linux_gfx_mode
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_gpt
insmod ext2
set root='hd0,gpt6'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt6 --hint-efi=hd0,gpt6 --hint-baremetal=ahci0,gpt6 9d5e61ed-15ce-4ef4-ba72-78d99a800737
else
search --no-floppy --fs-uuid --set=root 9d5e61ed-15ce-4ef4-ba72-78d99a800737
fi
linux /boot/vmlinuz-5.15.0-122-generic root=UUID=9d5e61ed-15ce-4ef4-ba72-78d99a800737 ro quiet splash pcie_aspm=off pcie=noaer acpi_osi= $vt_handoff
initrd /boot/initrd.img-5.15.0-122-generic

I wanted to try to add ahci module in initramfs. I'm not even sure if that's a thing... Anyway, I can't figure out how, because I couldn't find how to list the actual modules contained in the existing initramfs, as lsinitramfs lists a lot of things presented as files with paths, not something I could consider as a "module name list" which is what is expected when configuring modules=list in the modules files of initramfs configuration.

I'm also wondering if this could be because the modern bios installed on the new laptop isn't referencing my ssd under SATA drives. SATA drives appears explicitly empty, and the ssd appears as a PCIe SSD.

I also tried to disable secure boot and trusted computing in the bios. No changes.

On the old laptop, the bios (blue/grey one), I can select some legacy/ahci parameter, but it is not on legacy.

What can I try from there ?

No choice between install alongside or instead of windows

$
0
0
I try to install ubuntu studio 24.04 on a windows 11 pc. When the question "How do you want to install Ubuntu Studio" appears, no choice of answer is displayed. I install from an usb key. In the bios, I disabled the secure boot option.

Screen Flickering When Booting Ubuntu

$
0
0
Hi everyone,


I recently installed Ubuntu 19.10 in a dual boot setup with Windows 10. Every time I select Ubuntu from the GRUB menu, I see a list of processes running, and the Ubuntu logo flickers continuously. This same issue occurs when I try to boot from a live USB for installation. I have looked for solutions but not been able to resolve it.
Has anyone else experienced this problem?

Upgraded a couple of machines to 24.04 - problems

$
0
0
I have been trying to install 24.04 into two machines. I am now setting them up but there are problems. This is about that.

I have functional other machines and I am trying to set up the two I just upgraded. One thing that I am doing is copying stuff from one that is functional to include in the two I just did. I am copying this stuff on a memory stick (31gb) and then putting that stick into the new ones to copy what I put on the memory stick. My problem is that, when I put the stick into the other machine, even when Discs sees the stick and logs it in properly, etc. I cannot get to the stick as files doesn't recognize it which means I can't do what I wanted to do and something is wrong. My files file, for instance, is a bit strange. It has, for instance, "desktop" with nothing in it. It has several other things which also have nothing in them and some do not exist. I have no idea what is going on.

Thoughts?

I have upgraded a machine to 24.04.1

$
0
0
I have upgraded a machine to 24.04 as its been a while and I figured it was now fine - its not. So, my question is what should I do now? Should I download 22 or, I noticed that they now have a 24.04.10 which is still in the work but it is available. So which one should I get?

Thoughts?

Ubuntu 22.04 Dualboot Windows 10 -> 11

$
0
0
Hi,
I running my Ubuntu 22.04 in dual boot with Windows 10 which tries to confince me to update to Windows 11.
I know that before it always was a problem to upgrade/install Windows on dual boot systems after a Linux distro is installed
because Windows tends to rigorously overwrite the boot loader and only place itself in it.
Does anyone know if this is still the case now with this upgrade?
I guess no one can say for sure but maybe someone already has experience with this particular upgrade.
luggie
Viewing all 26379 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>