Results 1 to 6 of 6

Thread: Ubuntu 20.04; Should "dpkg -l" list Snap as a program installed?

  1. #1
    Join Date
    Jan 2021
    Location
    Anderson, SC, U.S., Earth
    Beans
    45
    Distro
    Ubuntu

    Ubuntu 20.04; Should "dpkg -l" list Snap as a program installed?

    I think I deleted Snap while high on crayons, not 100% sure because, well, I was high on crayons. I thought I just killed the Snap process; my goal was to reduce the RAM usage Snap process was using, which was a success, HOWEVER: the issue I now have is I can't find "Settings" section and I can't find out how to Suspend after, let's say, 2 hours of inactivity (and I swear I had a Settings section just days before).

    I remember reading something about "purge" in regards to removing Snap, but don't remember much more than that. Should "dpkg -l" list Snap as a program, or how do I go about finding if I have it installed?

    Bonus points: Am I missing my Settings section because I did in fact "purge" Snap from my Focal Fossa 20.04 Ubuntu?

    edit: I would expect to see "Snap Store" as a program listed, as Snap is not a program, I think.
    Last edited by Swan_DB; February 3rd, 2021 at 11:00 PM. Reason: clarification about title question; snap is not a program, snap-store is a program

  2. #2
    tea for one is offline Chocolate-Covered Ubuntu Beans
    Join Date
    May 2008
    Beans
    1,341
    Distro
    Ubuntu 20.04 Focal Fossa

    Re: Ubuntu 20.04; Should "dpkg -l" list Snap as a program installed?

    Open a terminal and enter:-
    Code:
    snap list
    Further info https://snapcraft.io/docs/getting-started

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

    Re: Ubuntu 20.04; Should "dpkg -l" list Snap as a program installed?

    snapd is the

    Background service that manages and maintains installed snaps
    https://snapcraft.io/install/snapd/ubuntu

    If we remove snapd we will not be able to install and run applications that are in the snap package format. So, the important question is: Is the settings utility a snap application? If it is not and the settings utility is no longer available, then there must be some other cause of the issue.

    If you think that you did remove snapd then these are to two commands to re-install snapd

    Code:
    sudo apt update
    sudo apt install snapd
    On my Ubuntu 20.04, which has been upgraded from 16.04 through 18.04, I have both a Snap Store which is a snap packaged application and Software which is Gnome Software and is a deb packaged application.

    P.S. I have just checked and on my 20.04 the Settings utility is in fact Gnome settings and it is not a snap package utility.

    Regards
    Last edited by grahammechanical; February 4th, 2021 at 12:55 AM.
    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


  4. #4
    Join Date
    Jan 2021
    Location
    Anderson, SC, U.S., Earth
    Beans
    45
    Distro
    Ubuntu

    Re: Loading Ubuntu onto a Compaq Presario CQ50 laptop; BIOS vs EFI vs UEFI; Noob.

    Quote Originally Posted by tea for one View Post
    Open a terminal and enter:-
    Code:
    snap list
    Further info https://snapcraft.io/docs/getting-started
    Shows this:

    Command 'snap' not found, but can be installed with:


    sudo apt install snapd

    But, I ran
    Code:
    dpkg -l
    and it shows a long list of programs, and 1 of them is snapd, which makes me think maybe I didn't "purge" Snap, but rather did
    Code:
    sudo apt-get remove snap
    ,but that's just a guess.

    Quote Originally Posted by grahammechanical View Post

    P.S. I have just checked and on my 20.04 the Settings utility is in fact Gnome settings and it is not a snap package utility.
    I think this is the direction I needed. Not looking to use the Snap Package Manager, just trying to get my Settings application to come back, so I can hopefully add a delay to Suspending/Shutdown.

    Thank you.

    I spent, well, I was gonna say an hour, but I guess it was closer to 4 hours searching...

    Best I got so far is my issue might have something to do with either gnome-control-center (haven't looked into this yet).

    Or a gnome-settings-daemon (or something like that, not too sure, my brain is fried), which I don't think is where my problem will be, or at least where I'll find it.

    Try again tomorrow : )

    Preface: might be a big thread as I need lots of help w/ a bunch of different questions, some basic, some not.
    Compaq Presario CQ50 - 1 core Pentium 4 CPU, 2 GB RAM. I looked for answers on my iPhone while out of the house, and found a great answer about BIOS VS UEFI and how to check GRUB2 and do the Boot Loader config file manually if necessary via grub.config (I think), but can't find that thread/post, it was on askubuntu.com; now that I'm back home and looking again on my PC I can't find the thread/post.... So.... --->

    I get a "boot error" message when loading from the USB w/ the ISO image, make me think the BIOS boot can't handle the ISO file? I also got a "operating system not found" at some point after that, after doing some stuff I don't exactly remember what, I think I double clicked the ISO file, and it opened up/mounted the Lubuntu files to the same USB stick? Not sure, but I could see a new mount point /media/username/"some-long-alpha-numeric-name-here", and also /media/username/"Lubuntu-something-here-.ISO", again, it was JUST the iso file until I double clicked the iso file, then it added the second mount (on the same USB stick, I believe) that contained what looked like the files needed to install Lubuntu. Was this a default Ubuntu 20.04 program that did that, like Unzipped/extraced the files, or something, from the iso file when I doulbe clicked it?

    Is it my boot loader that is busted/wrong? I *think* I have BIOS boot loading, and I *think* I need EFI or maybe UEFI, can someone explain the difference in layman's between these 3? I *think* BIOS is older and being... deprecated slowly/replaced by UEFI, is this correct?

    I tried Rufus.exe, but it didn't work, it worked before, coming from Windows and installing my first Linux OS, which makes me think Rufus is for Windows, especially with the .exe file? Maybe I can try a Linux version of Rufus that writes the ISO file to the USB in a format suitable for booting from BIOS or UEFI or EFI? I don't know, just a guess.

    I'd really like to get down into GRUB2 and manually add a "menuentry" into the grub.config file, but I can't find the post/thread that explained how to do that and *why* to do that. So I can't do it, at least until I find that post again.

    I just want to load Lubuntu onto my 4GB USB, then use that USB to "try" or "install" Lubuntu onto my laptop. I *did* manage to get it to work late last night, but was so tired I couldn't follow the "set up network" instructions and it also failed at "install system and software" stage, possibly because I didn't have the network setup, so it could downloaded needed files? But I would imagine the needed files *should* be included in the install folders? Idk...

    I just woke up and will likely edit this post in a few hours to simplify/clarify/and get the details correct. Thanks in advance for any input, it is appreciated.

    Quick Edit: I'm looking for a "where to start", if anyone can point me in a direction. Do I look into GRUB2? Do I look into BIOS vs EFI vs UEFI boot loading? Do I look into "if my laptop booting process is wrong/broken?

    You know what, I just thought about this, I downloaded the "alternative 64-bit" Lubuntu, could that be the issue? Should I have downloaded the "Desktop 64-bit" Lubuntu from here: https://lubuntu.me/downloads/
    Last edited by howefield; 4 Weeks Ago at 05:41 PM. Reason: posts merged.

  5. #5
    tea for one is offline Chocolate-Covered Ubuntu Beans
    Join Date
    May 2008
    Beans
    1,341
    Distro
    Ubuntu 20.04 Focal Fossa

    Re: Ubuntu 20.04; Should "dpkg -l" list Snap as a program installed?

    Are you still looking for Settings?

    Applications > Settings

    Or via terminal:-
    Code:
    gnome-control-center

  6. #6
    Join Date
    Jan 2021
    Location
    Anderson, SC, U.S., Earth
    Beans
    45
    Distro
    Ubuntu

    Talking Re: Ubuntu 20.04; Should "dpkg -l" list Snap as a program installed?

    Quote Originally Posted by tea for one View Post
    Are you still looking for Settings?

    Applications > Settings

    Or via terminal:-
    Code:
    gnome-control-center
    Just came to mark this [SOLVED!] as that is exactly what it was. All I had to do was install gnome-control-center via
    Code:
    sudo apt install gnome-control-center
    .

    Still not sure how I uninstalled it, or maybe it was a bug, idk. Thanks for the reply though : )

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
  •