Nп/п : 59 из 100
 От   : Jonathan N. Little                  2:5075/128        11 сен 23 12:11:03
 К    : Paul                                                  11 сен 23 19:13:02
 Тема : Re: Ubuntu is fighting back!!
----------------------------------------------------------------------------------
                                                                                 
@MSGID: 1@dont-email.me> 4c30fe8b
@REPLY: 1@dont-email.me> 8322111b
@REPLYADDR Jonathan N. Little <lws4art@gmail.com>
@REPLYTO 2:5075/128 Jonathan N. Little
@CHRS: CP866 2
@RFC: 1 0
@RFC-Message-ID: 1@dont-email.me>
@RFC-References: 1@paganini.bofh.team>
<B92cnYbUzJC2x2X5nZ2dnZfqn_idnZ2d@giganews.com> 1@dont-email.me>
<O6OdnZ5bJfAXjmT5nZ2dnZfqnPqdnZ2d@giganews.com> m8Ke.58836@fx08.iad>
<GC6dnUc6pIPJn2b5nZ2dnZfqnPudnZ2d@giganews.com> JbKe.32158@fx04.iad>
<1V-dnR5e0vauEWb5nZ2dnZfqnPudnZ2d@giganews.com> <BJKcnVvmae_z0GH5nZ2dnZfqn_SdnZ2d@giganews.com> 1@dont-email.me>
<xpCdnWPq0YazRmH5nZ2dnZfqn_qdnZ2d@giganews.com> <km50s6F429dU3@mid.individual.net>
<1gudnUSi7O8iNGD5nZ2dnZfqn_udnZ2d@giganews.com> <km5somFl5arU1@mid.individual.net> 1@dont-email.me>
1@dont-email.me>
@TZUTC: -0400
@PID: Mozilla/5.0 (Windows NT 10.0; Win64; x64;
rv:91.0) Gecko/20100101 Firefox/91.0 SeaMonkey/2.53.17
@TID: FIDOGATE-5.12-ge4e8b94
Paul wrote:
> When I do

>    snap list

> I see a "gnome" entry. I see Firefox too. In the tree,
> Firefox is only available as a Snap, not as a .deb (whereas
> Firefox is a .deb on Mint and acquired directly from Mozilla
> in a brown paper bag).

> If I do this

>    sudo apt remove snapd

> then before and after I reboot the VM, the loop mounts are still there,
> and the Snap packages are still running. The loop mounts are on top of
> mount point /snap and thus the 4GB we see in the tree there, is all
> squashfs mounts on top of /snap.

> bullwinkle@SUPERFLY:~$ cat /etc/mtab
> ...
 > /dev/loop2 /snap/bare/5 squashfs
ro,nodev,relatime,errors=continue,threads=single 0 0
 > /dev/loop3 /snap/core22/607 squashfs
ro,nodev,relatime,errors=continue,threads=single 0 0
 > /dev/loop0 /snap/core22/858 squashfs
ro,nodev,relatime,errors=continue,threads=single 0 0

 > /dev/loop1 /snap/gnome-42-2204/126 squashfs
ro,nodev,relatime,errors=continue,threads=single 0 0 <=== Trouble ???
 > /dev/loop4 /snap/firefox/2517 squashfs
ro,nodev,relatime,errors=continue,threads=single 0 0 <=== Trouble ???

 > /dev/loop5 /snap/snapd-desktop-integration/83 squashfs
ro,nodev,relatime,errors=continue,threads=single 0 0
> /dev/sda2 /var/snap/firefox/common/host-hunspell ext4 ro,noexec,noatime 0 0
 > /dev/loop10 /snap/snapd/18933 squashfs
ro,nodev,relatime,errors=continue,threads=single 0 0
 > /dev/loop8 /snap/gtk-common-themes/1535 squashfs
ro,nodev,relatime,errors=continue,threads=single 0 0
 > /dev/loop7 /snap/gnome-42-2204/87 squashfs
ro,nodev,relatime,errors=continue,threads=single 0 0
 > /dev/loop6 /snap/snap-store/959 squashfs
ro,nodev,relatime,errors=continue,threads=single 0 0
 > /dev/loop9 /snap/snapd/19457 squashfs
ro,nodev,relatime,errors=continue,threads=single 0 0
> ...
> bullwinkle@SUPERFLY:~$

> However, with no snapd, this command no longer works.

>    snap list    # command not found

> Doing that seems to remove the management of it, at least.

> If, using Synaptic, I attempt the equivalent of

>    sudo apt install firefox

> then it includes as a dependency, the snapd package I have just removed.

> So not only will I have to switch over my Firefox, before doing
> additional damage, I`ll need to find Gnome DE too, as a .deb .
> Ubuntu Studio might have different dependencies, similar to those.

> *******

> I gave it a try, and Ubuntu 23.04 survived the removal of its nads.

>     sudo apt remove snapd

> Then, boot the DVD and do a bit more work.

>     sudo mount /dev/sda2 /mnt
>     cd /mnt/snap
>     sudo rm -Rf *
>     cd ..
 > sudo chattr +i snap # This keeps the naughty munchkins from
mounting stuff in here
>     sudo umount /mnt

> On a reboot, it still works. There is a "gnome" entry in Synaptic,
> so maybe a .deb version there awaits.

>    [Picture]

>     https://i.postimg.cc/FHKCK8Ss/ub2304-unsnapped.gif

Firstly IIRC he was using 22.04 LTS, and my example was for 22.04 LTS.
Non-LTS can be a crapshoot. I have a HP EliteBook that has 23.04 but I
haven`t bothered to remove the snap version of Firefox because I was
testing the claim that they improved the snap load times and it seems
that they have.

Now before you can remove snapd you do have to change the repository
priority of Firefox to the deb, else after an update the snap version
will be reinstalled. But, at least with 22.04, after doing the previous
steps nothing breaks when your remove snapd.

snapd:
  Installed: (none)
  Candidate: 2.58+22.04.1
  Version table:
     2.58+22.04.1 500
        500 http://us.archive.ubuntu.com/ubuntu jammy-updates/main amd64
Packages
        500 http://security.ubuntu.com/ubuntu jammy-security/main amd64
Packages
     2.55.3+22.04 500
        500 http://us.archive.ubuntu.com/ubuntu jammy/main amd64 Packages

No snapd.

sysfs /sys sysfs rw,nosuid,nodev,noexec,relatime 0 0
proc /proc proc rw,nosuid,nodev,noexec,relatime 0 0
udev /dev devtmpfs
rw,nosuid,relatime,size=3805692k,nr_inodes=951423,mode=755,inode64 0 0
devpts /dev/pts devpts
rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000 0 0
tmpfs /run tmpfs
rw,nosuid,nodev,noexec,relatime,size=769476k,mode=755,inode64 0 0
/dev/sda1 / ext4 rw,relatime,errors=remount-ro 0 0
securityfs /sys/kernel/security securityfs
rw,nosuid,nodev,noexec,relatime 0 0
tmpfs /dev/shm tmpfs rw,nosuid,nodev,inode64 0 0
tmpfs /run/lock tmpfs rw,nosuid,nodev,noexec,relatime,size=5120k,inode64 0 0
cgroup2 /sys/fs/cgroup cgroup2
rw,nosuid,nodev,noexec,relatime,nsdelegate,memory_recursiveprot 0 0
pstore /sys/fs/pstore pstore rw,nosuid,nodev,noexec,relatime 0 0
bpf /sys/fs/bpf bpf rw,nosuid,nodev,noexec,relatime,mode=700 0 0
systemd-1 /proc/sys/fs/binfmt_misc autofs
rw,relatime,fd=29,pgrp=1,timeout=0,minproto=5,maxproto=5,direct,pipe_ino=18610
0 0
mqueue /dev/mqueue mqueue rw,nosuid,nodev,noexec,relatime 0 0
hugetlbfs /dev/hugepages hugetlbfs rw,relatime,pagesize=2M 0 0
debugfs /sys/kernel/debug debugfs rw,nosuid,nodev,noexec,relatime 0 0
tracefs /sys/kernel/tracing tracefs rw,nosuid,nodev,noexec,relatime 0 0
ramfs /run/credentials/systemd-sysusers.service ramfs
ro,nosuid,nodev,noexec,relatime,mode=700 0 0
configfs /sys/kernel/config configfs rw,nosuid,nodev,noexec,relatime 0 0
fusectl /sys/fs/fuse/connections fusectl rw,nosuid,nodev,noexec,relatime 0 0
/dev/sdb1 /mnt/extra ext4 rw,relatime 0 0
/dev/sda5 /home ext4 rw,relatime 0 0
binfmt_misc /proc/sys/fs/binfmt_misc binfmt_misc
rw,nosuid,nodev,noexec,relatime 0 0
sunrpc /run/rpc_pipefs rpc_pipefs rw,relatime 0 0
tmpfs /run/user/1000 tmpfs
rw,nosuid,nodev,relatime,size=769472k,nr_inodes=192368,mode=700,uid=1000,gid=100
0,inode64
0 0
gvfsd-fuse /run/user/1000/gvfs fuse.gvfsd-fuse
rw,nosuid,nodev,relatime,user_id=1000,group_id=1000 0 0
portal /run/user/1000/doc fuse.portal
rw,nosuid,nodev,relatime,user_id=1000,group_id=1000 0 0

No snap virtual mounts...no broken GNOME.


-- 
Take care,

Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com
 --- Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101
Firefox/91.0 SeaMonkey/2.53.17
 * Origin: LITTLE WORKS STUDIO (2:5075/128)
SEEN-BY: 5001/100 5005/49 5015/255 5019/40 5020/715
848 1042 4441 12000
SEEN-BY: 5030/49 1081 5058/104 5075/128
@PATH: 5075/128 5020/1042 4441



   GoldED+ VK   │                                                 │   09:55:30    
                                                                                
В этой области больше нет сообщений.

Остаться здесь
Перейти к списку сообщений
Перейти к списку эх