News for hackers. Stuff that matters.
Re:Linux Mint drops Ubuntu Snap packages by danudey on Wednesday July 08, 2020 @02:55PM (#23773084)
From an IT perspective:

I can set up an internal APT mirror for my users, servers, test systems, etc., but I can't set up an internal snap mirror as far as I can tell. This means that despite having an internal repo that I can whitelist, some package installations will now arbitrarily require internet access. I can no longer install chromium on a system without access to the internet, and package installation will fail as a result.

I'd rather have an older version than a snap version, personally, but better would be two packages which Provides: the same chromium-browser, chromium and chromium-snap.

The most irritating thing here is that they're using a package distribution system which handles dependencies and updates flawlessly, and has for decades, and using it to install things using a package system which does not solve those problems, and instead ships multiple copies of multiple libraries and applications, which run slower, ignoring any settings I have in APT.

So far, it's a maintenance nightmare, and I loathe it.

Re:Linux Mint drops Ubuntu Snap packages by foxylad on Wednesday July 08, 2020 @09:55PM (#23776240)
There is a big user issue on top of the philosophical and maintenance issues - snaps are SLOOOOOOW. I've only experienced them with two applications, and both took forever to startup compared to the apt-get installed versions I quickly replaced them with.

OK, "forever" is hyperbole - it was probably about 5 seconds. But it was enough of an annoyance for me to figure out how to install a deb packaged version. And every user having to wait an extra 5 seconds every time they open an app aggregates to a lot more time than Canonical saves maintaining packages.

That doesn't sit right with me, so my next OS upgrade will be Mint or pure Debian. I've been with Ubuntu since Dapper Drake, and I'd like to thank Canonical for making great distros all that time. But I'm not going to follow you down the snap-only path, time for me to move on.

Re:Linux Mint drops Ubuntu Snap packages by dcow on Thursday July 09, 2020 @12:37AM (#23776981)
Sending some encouragement your way: try Debian. I bet money you won't even notice it's not Ubuntu. Or you will, because your software will launch when you ask it to. I'm super happy with Debian lately. I know it used to be the old neck beard slow and steady distro, but honestly these days packages get updates rather timely and it doesn't feel like the Debian of 10 years ago. And you can always run Debian testing with almost no overhead if you want the shinnies. That's what I do and have only had to deal with gnome not starting after a reboot once XD
Re:Linux Mint drops Ubuntu Snap packages by lorenzhs on Thursday July 09, 2020 @05:15AM (#23778342)
I've been using Debian unstable with apt-listbugs for many years with barely a problem. Testing has issues of its own which one should be aware of before choosing it over unstable (see https://www.debian.org/doc/manuals/debian-faq/choosing.en.ht..., "Testing has more up-to-date software than Stable, and it breaks less often than Unstable. But when it breaks, it might take a long time for things to get rectified. Sometimes this could be days and it could be months at times. It also does not have permanent security support.")
Re:Linux Mint drops Ubuntu Snap packages by mekster on Friday July 10, 2020 @07:41PM (#23797936)
Lately I tried fedora and surprised they have many up to date packages including exa (ls alternative) and other new shiny rust tools. I've switched to using it for one of my personal server and quite happy.
Re:Linux Mint drops Ubuntu Snap packages by amelius on Thursday July 09, 2020 @08:26AM (#23779421)
One problem I have with Debian (that is not Debian's fault) is that NVidia does not officially support it. It probably works just fine, but it's just another thing you might run into.
Re:Linux Mint drops Ubuntu Snap packages by bayindirh on Friday July 10, 2020 @05:56AM (#23789792)
There are .deb packages in the non-free repo and it just works as long as the driver has no bugs regarding to card installed on the system.
Re:Linux Mint drops Ubuntu Snap packages by caro_douglos on Thursday July 09, 2020 @02:33AM (#23777547)
Made the switch 4 years ago after running raspian with no problems on the pi?.

If someone is debating just setup rasp with headless ssh and have at it.

Re:Linux Mint drops Ubuntu Snap packages by mekster on Friday July 10, 2020 @07:38PM (#23797905)
Does unattended-upgades also work on Debian to install security updates aromatically?
Re:Linux Mint drops Ubuntu Snap packages by streb-lo on Thursday July 09, 2020 @12:46PM (#23782094)
Debian is nice if you don't mind the glacial pace of updates -i.e. you're running a server. After using Arch I don't think I can give up rolling releases.
Re:Linux Mint drops Ubuntu Snap packages by dcow on Saturday July 11, 2020 @02:11AM (#23799985)
That’s why people are recommending unstable (sid) which is Debian’s rolling updates channel.
Re:Linux Mint drops Ubuntu Snap packages by flukus on Wednesday July 08, 2020 @11:24PM (#23776659)
A little while ago I discovered snaps can be slow even when you're not using them. I had the fun of trying to log into an online job interview and couldn't because snapd was hogging the CPU doing god knows what. Restarted and the same happened, the machine became usable about 20 minutes later. Little "surprises" like that are infuriating.

> so my next OS upgrade will be Mint or pure Debian

I've moved one machine to debian stable and haven't looked back. There are a few teething issues like /usr/sbin not being in the default path, some sudo issues, the installer isn't as grandma friendly, but it's rock solid and doesn't nag me about updating 137 packages of things I've never heard of needing an update.

Re:Linux Mint drops Ubuntu Snap packages by nightowl_games on Thursday July 09, 2020 @02:28AM (#23777526)
Im here to push you towards Mint. mint is cleaner ubuntu. the wifi drivers work. the UI is really good. it just works.
Re:Linux Mint drops Ubuntu Snap packages by xorcist on Thursday July 09, 2020 @05:41AM (#23778485)
Just make sure you know what you are doing. It's not one of the major distros.

For the longest time you couldn't dist-upgrade it, at all. The functionality wasn't there. When their web servers got hacked, they cleaned them, and got hacked again.

From a Debian user's perspective it is unclear why these small distros can't just be a Debian derivative or a Fedora spin. It's not scalable that every small distro invents their own infrastructure.

Re:Linux Mint drops Ubuntu Snap packages by blaser-waffle on Thursday July 09, 2020 @09:42AM (#23780063)
Because pure Debian never worked with my wifi drivers, and Ubuntu didn't come with video codecs and other small lifestyle tweaks by default. If Debian came with those OOTB -- and they won't, since some of those codec ain't FOSS -- then I'd agree with you.

Like, I ain't crazy about what's happening with Mint and all of their hacks -- trust status: eradicated -- but I certainty get why they exist as a distro.

Re:Linux Mint drops Ubuntu Snap packages by gradstudent on Thursday July 09, 2020 @05:09AM (#23778310)
Except when it doesn't? I had all kinds of frustrations with Mint on a 2019 X1 Carbon which had some newfangled digital microphone. Ubuntu 20.04 worked out of the box. There were a bunch of other frustrations too. Bluetooth never worked right. The resolution kept resetting to the display native 4k mode instead of the 1080p I set it to which caused all other kinds of display bugs when switching back

I can see that Mint could be nice though. On a desktop, running hardware a few years old.

Re:Linux Mint drops Ubuntu Snap packages by nix23 on Thursday July 09, 2020 @05:18AM (#23778357)
Im here to push you away from secondhand distros use:

ArchLinux NOT Manjaro

Debian NOT Ubuntu etc

And so on, the 'originals' work always better in the long run.

Re:Linux Mint drops Ubuntu Snap packages by franga2000 on Thursday July 09, 2020 @07:00AM (#23778852)
> the 'originals' work always better in the long run

Except that normal people can actually install Manjaro and it doesn't make you use AUR for pretty basic things. Except that Ubuntu actually doesn't shit itself almost every time you add a 3rd party package/repo and comes with reasonable defaults. Also, have you used Pop OS?

Your statement is quite simply untrue.

Re:Linux Mint drops Ubuntu Snap packages by bayindirh on Friday July 10, 2020 @05:58AM (#23789809)
> Except that Ubuntu actually doesn't shit itself almost every time you add a 3rd party package/repo and comes with reasonable defaults.

I'm using debian testing for more than 15 years and it never shit itself for a 3rd party repo.

Debian comes with whathever the original software developers set as the default sans the wallpaper. For sensible default you can bug the software developer in question, not debian.

Re:Linux Mint drops Ubuntu Snap packages by franga2000 on Friday July 10, 2020 @05:02PM (#23796413)
Maybe the situation is different on the server side or I've just been extremely unlucky, but I keep getting my packages broken. Just a few days ago I was installing Wireguard on a Stretch system (added unstable repo, lowest priority, pinned packages) and APT got tangled up to the point where I couldn't install almost anything because one package was too new, but trying to remove it went down the dependency tree all the way to `util-linux` and I had to do surgery with `dpkg -r --force-depends` to fix it.
Re:Linux Mint drops Ubuntu Snap packages by bayindirh on Monday July 13, 2020 @04:57AM (#23818671)
On the server side, I only use stable (due to security updates and other critical stuff). Using testing in three desktop systems (two at office, one at home) currently, all workstations which see regular, heavy usage.

To add unstable packages to a stable system with repo pinning and using apt directly is not the best practice though.

If I'm going to add stuff from unstable, I use aptitude. Its dependency resolution and solution suggestions are better and more manageable than ordinary apt. It allows you what's going to happen before actually pulling the trigger.

The only package I get from unstable is firefox. I add the repo, update the package and remove the repo afterwards because unstable and experimental are highly chaotic realms and not suitable to use continuously due to high rate of uncontrolled change. Also unstable and experimental are not guaranteed to not to break. Testing and stable are implicitly (testing) and explicitly (stable) is guaranteed to work.

With this recipe, I only had to re-install a Debian system once; to migrate it from 32 to 64 bits since a very big disk cache with very small files was triggering a bug causing disks to trash and system slow down to a crawl. There were no procedures to migrate a 32 bit system to a 64 one in a reliable manner so, I just reinstalled it.

Re:Linux Mint drops Ubuntu Snap packages by imtringued on Friday July 10, 2020 @03:43AM (#23789125)
I've had a friend struggle with half a dozen Linux distributions. Then I told him about Arch Linux. One day later he told me he had a fully functioning Linux desktop.

I was impressed because usually when I install Arch Linux I forget to boot the flash drive with UEFI enabled so I get stuck because I get errors during bootloader installation. I also love to do pointless things like install Arch Linux (not the iso) on a 32GB flash drive.

Re:Linux Mint drops Ubuntu Snap packages by nix23 on Thursday July 09, 2020 @07:07PM (#23786320)
>Except that normal people can actually install Manjaro

And when 'normal' people try to fix a problem with a rolling distro then they have a problem.

>Except that Ubuntu actually doesn't shit itself

As if that's a problem in Debian, or are you talking about snap's?

>Also, have you used Pop OS

No thanks, using OpenSuse Tumbleweed, FreeBSD, Debian and CentOS is perfectly fine for me.

Re:Linux Mint drops Ubuntu Snap packages by michaelmrose on Saturday July 11, 2020 @01:23PM (#23803810)
Manjaro exists because people want a freaking installer.
Re:Linux Mint drops Ubuntu Snap packages by nix23 on Saturday July 11, 2020 @07:28PM (#23807131)
Oh so make an installer for ArchLinux and call it Manjaro..no need for another Distro :)
Re:Linux Mint drops Ubuntu Snap packages by hedora on Thursday July 09, 2020 @11:09PM (#23787776)
I’ve had good luck with Devuan (Debian - systemd), though they tend to run a bit behind Debian Stable.

For me, the stability of it working (well) as it has for the last few decades is worth missing a few of the latest updates.

Re:Linux Mint drops Ubuntu Snap packages by loopz on Wednesday July 08, 2020 @04:30PM (#23773907)
Snap can't seem to access my mounts. They're not very special mounts, but it happens in linux that you mount something, but snap just won't access. That made "no-go" a no-brainer.
Re:Linux Mint drops Ubuntu Snap packages by personalcompute on Wednesday July 08, 2020 @08:08PM (#23775672)
I have the same problem. Snaps are confined to only files within $HOME. I keep almost all data under /media/ and this caused snaps to be mostly unusable for me, at least unusable for productivity apps where I need to process data. Some apps though are self contained, e.g. Spotify, for example, works fine for me as a snap.

The limitation stems from a design problem, details at https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/1643706.

Re:Linux Mint drops Ubuntu Snap packages by lokedhs on Thursday July 09, 2020 @06:12AM (#23778606)
There is also a problem where snapd fails if your home directory isn't called /home/username (i.e. if it's located in a different path).

At this point snap sounds like a bad joke to me. Especially when Flatpak already exists.

https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/1662552

Re:Linux Mint drops Ubuntu Snap packages by silon42 on Thursday July 09, 2020 @03:19AM (#23777764)
Yup. There needs to be considerable work to integrate snaps from completely sandboxed (no access to file system/network/hardware), to giving them controlled access to some resources, managed/monitored by root and/or user.
Re:Linux Mint drops Ubuntu Snap packages by totetsu on Wednesday July 08, 2020 @08:16PM (#23775723)
For the longest time Snap chromium couldn't access files it had downloaded. So I would click to open a pdf when it was completed and get an error. I had to go whitelist my home dir in some config somewhere ..
Re:Linux Mint drops Ubuntu Snap packages by tankenmate on Wednesday July 08, 2020 @04:52PM (#23774109)
You might want to look at ungoogled-chromium,[0] there are downloads for most non Windows platforms. Also packages are available in repos for apt/deb, yum/rpm, etc.

[0] https://github.com/Eloston/ungoogled-chromium

Re:Linux Mint drops Ubuntu Snap packages by waon on Wednesday July 08, 2020 @09:13PM (#23776043)
That wouldn't solve the root of the problem, though. The real solution would be to use other distros.

Besides, there are quality concerns with browser forks maintained by an understaffed project. The fact that ungoogled-chromium asks for internet randos to provide its own binary releases doesn't inspire confidence either. If someone desperately needs to use Ubuntu, they'd be better off using Firefox.