Results 1 to 5 of 5

Thread: All kinds of software problems after updating software / Kernal

  1. #1
    Join Date
    Oct 2024
    Beans
    2

    All kinds of software problems after updating software / Kernal

    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

  2. #2
    Join Date
    Oct 2024
    Beans
    2

    Re: All kinds of software problems after updating software / Kernal

    It seems the problem is that all of my apps inastalled with Snap were broken. i purged my snap installs with this command:

    sudo apt autoremove --purge snapd

    I had to rename the Firefox folder because it had some read-only files. After a couple attempts, I was able to empty out my snap folder and reinstall all my apps using apt

  3. #3
    Join Date
    Mar 2010
    Location
    undisclosed
    Beans
    712
    Distro
    Ubuntu Studio

    Re: All kinds of software problems after updating software / Kernal

    So ... its fixed now?
    If so, please mark thread as "solved".
    Thanks!

  4. #4
    Join Date
    Jun 2010
    Location
    London, England
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: All kinds of software problems after updating software / Kernal

    but i really have no idea why there is snap and gnome and whatever the new one it :/
    Please, let us not start an argument.

    Software has to be packaged. Ubuntu is built on Debian which uses the debian package format (deb). To install or remove installed deb packaged software we need a package manager. Ubuntu uses apt. Read about it.

    Code:
    man apt
    Gnome is an organisation that develops the gnome3 desktop environment and the gnome3 shell user interface. There are other kinds of desktop environment. But Ubuntu uses Gnome.

    For years now there have been moves to create package formats that are more secure than the Debian (deb) and the Redhat package formats (rpm). There are two available. Flatpak and Snap (which is developed by Ubuntu's sponsor - Canonical).

    Because Debian has software called SystemD (developed by Redhat) to start and stop processes, Ubuntu also has SystemD. To blend snap packaged applications into SystemD Ubuntu uses some software called snapd. Remove snapd and snap packaged applications cannot run. I am not sure if they can be installed.

    Flatpak applications cannot run on Ubuntu without the installation of special software. Why have software such as Flatpak and Snap?

    Software packaged in these formats is said to be confined. It cannot access system files. With the right additional software Flatpak and Snap can run on any Linux distribution. Debian package applications cannot run on Fedora. It runs rpm packaged applications. Likewise, rpm packaged applications cannot run on Debian based distributions. They use the deb package format. So, software developers see an advantage to having a package format that can run on any Linux distribution regardless of the original package format that the distribution used.

    Regards

    P.S. Yes, I do know about Appimage. I cannot confirm if these applications use confinement.

    https://appimage.org/
    Last edited by grahammechanical; October 4th, 2024 at 08:13 PM.
    It is a machine. It is more stupid than we are. It will not stop us from doing stupid things.
    Ubuntu user #33,200. Linux user #530,530


  5. #5
    Join Date
    May 2018
    Location
    Here and There
    Beans
    Hidden!
    Distro
    Xubuntu Development Release

    Re: All kinds of software problems after updating software / Kernal

    Just to fill in the Blanks

    AppImage features

    • Distribution agnostic: Can run on various different Linux distributions
    • No need of installing and compiling software: Just click and play
    • No need for root permission: System files are not touched
    • Portability: Can be run anywhere including live disks
    • Apps are in read-only mode
    • Software is removed just by deleting the AppImage file
    • Applications packaged in AppImage are not sandboxed by default.
    "When you practice gratefulness, there is a sense of respect toward others." >>Dalai Lama

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •