[00:14] <oerheks> Kilroy, basicly, try to run apt update first, to get fresh lists, that could fix this loop
[00:16] <Kilroy> ok let me try that
[00:16] <Kilroy> I get the same error
[00:17] <Kilroy> after running apt upgrade
[00:18] <Kilroy> I also get it when I run apt upgrade
[00:21] <Kilroy> ok I know the issue 
[00:22] <Kilroy> some packages are installed, but need something that some how got removed and I can't install it back because ... (I have no clue at this poing)
[00:24] <sarnold> Kilroy: it depends on your goal. if you want webmin gone, apt purge webmin virtualmin-core webmin-virtual-server    would probably do the trick
[00:24] <Kilroy> I want it back
[00:24] <Kilroy> it accidntly got put in the autoremove list and I mised it until it was too late
[00:25] <sarnold> d'oh
[00:26] <sarnold> it's possible that the easiest way to having it installed is to follow through with the full removal process as I suggested above.. that might be annoying though. try just "apt install webmin" and see what happens
[00:27] <Kilroy> same error
[00:29] <Kilroy> https://zerobin.net/?e9f8a44d5907eaff#D7JYM5Wh/XBUd/BkqeQdkbv7YSaBdNSTWGxA9y/lBkc=
[00:30] <sarnold> dang; I think apt remove virtualmin-core webmin-virtualmin-git webmin-virtualmin-htpasswd webmin-virtualmin-nginx-ssl -- some of those might not be installed, and it'll throw an error about that, if that's the case, remove whatever it says isn't installed, and try again
[00:33] <Kilroy>  virtualmin-lemp-stack : Depends: webmin-virtualmin-nginx-ssl but it is not going to be installed
[00:33] <Kilroy> and apt remove virtualmin-lemp-stack gives the same error as before 
[00:40] <sarnold> the usual way to approach these is to keep adding package names to the command line
[00:41] <sarnold> you obviously don't want to remove anything *really* important like glibc, sudo, bash, etc :) but it's sometimes hard to know which exact ones are good to ask to remove in the course of solving these problems
[00:45] <Kilroy> HA I got something to install! \o/
[00:45] <Kilroy> and it failed /o\
[00:45] <Kilroy> sarnold what does This package cannot be installed unless the Debian version of Webmin mean?
[00:45] <Kilroy> *
[00:45] <Kilroy> sarnold what does This package cannot be installed unless the Debian version of Webmin is installed first. mean?
[00:47] <sarnold> Kilroy: I'm not sure ;( that feels like it's a message from the maintainer script of one of these packages..
[00:48] <Kilroy> I don't see anything from google
[00:49] <sarnold> how about: grep "cannot be installed" /var/lib/dpkg/info/*
[00:53] <Kilroy> just the same errors given
[00:53] <Kilroy> https://zerobin.net/?b33013ccf21ad19c#FRP30B9Gp9pDcfu/NWKcdqYvWm0VpTwgSl6lQIMywO0=
[00:54] <sarnold> nice, could you pastebin one of those files? that might suggest what they were looking for
[00:56] <Kilroy> https://zerobin.net/?2c49b7e1b478477e#cY6PLZ+pn+ysSzERjnt8+stXWWer1WMHV/FvmUaVeeU=
[01:01] <sarnold> man these are gross
[01:01] <sarnold> are you sure you actually want to use this software?
[01:02] <Kilroy> yes, I have used it before and it works very well, 
[01:04] <sarnold> I can't find any package that owns /etc/webmin/config in ubuntu focal, nor in any debian release (via https://www.debian.org/distrib/packages ) --- so I'm guessing they meant *their* webmin package. but that should be easy enough to have a Depends: line in their configuration..
[01:04] <Kilroy> https://webmin.com/
[01:05] <sarnold> Kilroy: I think I'd apt purge webmin webmin-virtualmin-git webmin-virtualmin-htpasswd webmin-virtualmin-nginx webmin-virtualmin-nginx-ssl  (and all the other packages from them) -- then do an apt update, apt install -f, and then try the apt install webmin again..
[01:06] <Kilroy> still get that error 
[01:06] <sarnold> :(
[01:06] <sarnold> dang
[01:08] <sarnold> Kilroy: I think I'd truncate those four maintainer scripts from https://zerobin.net/?b33013ccf21ad19c#FRP30B9Gp9pDcfu/NWKcdqYvWm0VpTwgSl6lQIMywO0=  -- bash makes it easy, but it's a bit awkward the first time you see it :)
[01:08] <sarnold> it's just:
[01:08] <sarnold> > /var/lib/dpkg/info/webmin-virtualmin-git.preinst
[01:08] <sarnold> I'd truncate all four of those, *then* try the purge..
[01:08] <Kilroy> ok
[01:09] <Kilroy> still same error
[01:10] <sarnold> *sigh* I had big hopes on that one.
[01:10] <sarnold> you'll probably have to head to the folks who publish this to ask for help
[01:12] <Kilroy> ok thank you for your help
[16:23] <oerheks> Leonard, fix your connection?
[18:43] <Kilroy> is there a better way to identify a drive then the uuid?
[18:45] <patdk-lap> drives don't have uuid
[18:45] <Kilroy> lsblk -f
[18:46] <patdk-lap> ya, I only see uuid for my mdadm partitions
[18:46] <patdk-lap> not for drives
[18:46] <patdk-lap> for drives you have model/serial for ata
[18:46] <patdk-lap> and for scsi the best is the wwn (like ethernet mac addresses)
[18:47] <patdk-lap> filesystems can have uuid though, but not drives
[18:47] <patdk-lap> I would love to see where that command gave you uuid for a drive
[18:48] <Kilroy> then what is this?
[18:48] <Kilroy> https://sturtz.cf/paste/paste.php?id=3
[18:48] <patdk-lap> that is the output
[18:48] <patdk-lap> I see no uuid for your drives
[18:48] <patdk-lap> line 1, no uuid
[18:48] <Kilroy> sdf            ext4              b197bc90-b57a-4040-af1e-1795d44de568
[18:48] <patdk-lap> that is the uuid of your ext4 filesystem, not drive
[18:49] <Kilroy> then how do none of the other ext4 filesystems have that uuid?
[18:49] <patdk-lap> heh? they all do
[18:49] <patdk-lap> no idea what your talking about
[18:50] <patdk-lap> a uuid is designed to be uniq
[18:50] <Kilroy> none of the other file systems have this exact uuid
[18:50] <Kilroy> b197bc90-b57a-4040-af1e-1795d44de568
[18:50] <patdk-lap> unless it's the same filesystem it should not have the same uuid
[18:50] <Kilroy> so then is it a good way to identify a drive in a script?
[18:50] <patdk-lap> did you dd the file system to a new drive
[18:50] <Kilroy> they all are ext4
[18:50] <patdk-lap> it is NOT a good way to id a drive
[18:50] <patdk-lap> it IS a good way to id a filesystem
[18:51] <Kilroy> in my case, I want to be able to check if a flash drive is plugged in, and do something if that is true, and do something else if that is false
[18:51] <patdk-lap> do you really care about if a specific flash drive is plugged in?
[18:52] <patdk-lap> or if it has a specific filesystem on it
[18:52] <patdk-lap> like say, if you reformatted that flash drive, do you care?
[18:52] <patdk-lap> reformatting it will give the filesystem a new uuid
[18:53] <Kilroy> yes, I would care if it got reformatted 
[18:53] <Kilroy> https://git.sturtz.cf/SturtzNetwork/checkdrive/src/master/check.sh 
[18:54] <patdk-lap> I would just use blkid though, much easier to parse
[18:55] <patdk-lap> blkid -U $uuid
[18:56] <Kilroy> so back to, in that exact script would just using the uuid work?
[18:57] <Kilroy> or is there a way to identify the drive even if it gets wiped
[22:11] <Kilroy> sarnold I think I fixed apt
[22:11] <Kilroy> I ran apt satisfy webmin and it is doing stuff