=== humberto1 is now known as humbertowoody [00:46] how do I permit my 'circleci' snap package to access my host machine's docker? [00:53] quazimodo: maybe you can connect a snap interface; I don't know how you can find out which interfaces each snap supports, though [00:54] I see that I can install both docker & circleci snaps & connect them, that's in the instruction set but I already have a functioning system docker [00:54] is it possible to connect a snap to host 'stuff' in the first place? [00:56] yes, sortof; something like the system-observable interface is very powerful, and allows interacting with a bunch of host stuff [00:57] but the interface has to already exist, and the snap has to be written with using it in mind; I don't think you can just connect any interface to any snap [00:57] ok so if the circleci snap wants to connect specifically to the docker snap then i'm basically out of luck? [00:58] probably; you could email the snap author and ask if it's possible [01:05] this hurts me :( [01:05] and when you hurt, it hurts me too. === jgrout_ is now known as jgrout [02:47] I have a laptop from way back. It still has the bug of "mouse doesn't work after suspend" [02:48] I've tried psmouse and i2c_hid but those don't seem to work [02:48] moving the mouse seems to register as a scroll [02:48] sometimes [02:48] the pointer jiggles a bit [02:51] it is working again. So it looks like I have to rmmod twice === M4he is now known as mahe === gacuxz1 is now known as gacuxz [04:44] \msg sav === ravan_ is now known as ravan [05:29] i'm going to try rmmod psmouse before hitting suspend [05:35] hah! I think that worked === Daniel is now known as toolz === Ricardus_ is now known as Ricardus [07:46] hi === diskin is now known as Guest6098 === diskin_ is now known as diskin [09:21] Hi all! Question about the focal cloud image: it defaults to netplan config with a match: statement. That is causing issues in Openstack if you do a interface deattach/attach i.e to move an instance to a new network. After a reboot, the new interface will have no config since it got a new MAC [09:21] So.. I guess my question is.. why is this the default? :P [09:52] hex [09:53] du schwanz [09:53] du nigga [09:54] !ops [09:54] Help! Channel emergency! (ONLY use this trigger in emergencies) - Pici, Myrtti, jrib, Amaranth, tonyyarusso, Nalioth, lamont, CarlK, elky, mneptok, Tm_T, jpds, ikonia, Flannel, wgrant, stdin, h00k, IdleOne, Jordan_U, popey, Corey, ocean, cprofitt, djones, Madpilot, gnomefreak, lhavelund, phunyguy, chu [09:54] shut the fuck zup [09:54] ich machen so auto machen so unfall [09:54] bith [09:55] ich m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yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy [09:56] !ops [09:56] Help! Channel emergency! (ONLY use this trigger in emergencies) - Pici, Myrtti, jrib, Amaranth, tonyyarusso, Nalioth, lamont, CarlK, elky, mneptok, Tm_T, jpds, ikonia, Flannel, wgrant, stdin, h00k, IdleOne, Jordan_U, popey, Corey, ocean, cprofitt, djones, Madpilot, gnomefreak, lhavelund, phunyguy, chu [09:56] yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy [09:56] eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee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yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy [09:59] yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy [09:59] fuck you all [09:59] fucß you [09:59] no [10:00] w is this in scool or wat [10:00] school [10:00] k [10:07] proper ubuntu spam [10:33] Hey there folks.Anybody hoppin on here for a quick qs? [10:34] ask away WickedDekciw [10:35] I've got a problem driving me crazy. I'm trying to get into the internal partition table of Android full system image (mmcblk0.img) in order to process a particular partition with photorec for recovery. I've tried what amounts to everything under the sun to no avail. Any ideas? [10:38] WickedDekciw: I would convert your img file (or better, a copy therof) to ISO -- see https://www.maketecheasier.com/convert-img-to-iso-linux/ -- mount it and work with it as a normal filesystem [10:38] WickedDekciw: tablets & phones are usualy encrypted, photorec recovery doesnt work straight forward to them [10:39] the data on sd cards on phones or tablets can be recovered [10:39] or what SteelRose says indeed [10:40] lotuspsychje, this particular one wasn't encrypted [10:41] steelrose, I did try mounting with kpartx, which is supposed to directly mount partitions from there, /dev/mapper and all, but no dice [10:41] WickedDekciw: try converting it to ISO first... ISO makes life much easier than IMG, IMHO [10:42] SteelRose, And then what? [10:42] use the ro option, sudo mount -o ro v.img somefolder [10:42] WickedDekciw: then something similar to what oerheks said: moung -o ro your.iso /mnt ... [10:42] s/moung/mount [10:44] SteelRose, I see but am not sure how that helps considering I don't know the fs to begin with? [10:45] WickedDekciw: you do... you have a IMG that you will convert to an ISO... so the -t is iso9660 [10:47] android images are just ext4 [10:47] oerheks: much easier then [10:48] Aha! [10:53] oerheks, They are, but not standard-ly it seems [10:53] which sucks [10:54] well, it's google. standard dont apply to them [10:54] *standards [10:54] That is why RO is needed? === Nokaji_ is now known as Nokaji [10:58] KBar, tried finding thru parted to double check for ext4, says GPT tables are corrupted or whatever weirdness, what the heck [11:04] WickedDekciw: i wonder if a virtual machine could help you also [11:04] WickedDekciw: a bit like the wat you can run androidx86 from virtualbox, run your image and collect the data you wanted [11:05] lotuspsychje, that's quite interesting, never thought about the overkill solution that way, but if nothing works this might as a last resort [11:06] Hello everyone I hope I'm gonna find help here with my problem. Basically I'm trying to bootsrap debian with debootstrap focal distro for arm to be precise. When trying to run second stage on > 21.00 version of Ubuntu. Executing /debootstrap/debootstrap --second-stage will fail with /bin/sh: 0: Illegal option --. No idea what's going on but it seems like shell ignores parameters passed to [11:06] executables [11:06] whole process worked on LTS 20.04 [11:06] but that's like last resort style stuff [11:06] why mix debian and ubuntu iso's? [11:07] because why not [11:07] arm v7 or armv8 ?? [11:08] I'm bootstrapping armhf on amd64 machine [11:10] chrishhh: you mentioned debian, i assume this was by accident? we only support ubuntu here, and the debootstrap package on those can and likely will differ. also, when using debootstrap, make sure you are using the very latest code form the latest release. the cause of this very error message is, however, (or so i think) using the /bin/sh shell rather than bash or dash. [11:11] actually dash would be a problem, bash would work [11:12] debootstrap is building focal distro so ubuntu, I used most recent vvversion available, /bin/sh in new root filesystem is linked against dash [11:12] $ /bin/dash --foo [11:12] /bin/dash: 0: Illegal option -- [11:15] chrishhh: so let me repeat my two relevant points: (1) you're using dash, but debootstrap is incompatible to dash. use bash (other shells may or may not work). (2) where you get debootstrap from, and which version it is, can matter. [11:16] i changed /bin/sh to point to bash and this time it thrown usage options for bash [11:17] First I used debootstrap from the ubuntu repo, later on from here https://salsa.debian.org/installer-team/debootstrap [11:19] what's this system and system version you're using debootstrap on? how was it installed? whats the full command you're running, what's the full output? use a pastebin. [11:23] https://pastebin.com/jc5AQr4n [11:24] here is the link, it's 21.10 most recent ubuntu [11:26] It's also completly fresh install I'm running on VM to test this problem [11:30] chrishhh: try this: sudo chroot armhf-fs /bin/bash -c '/debootstrap/debootstrap --second-stage' [11:30] --arch=armhf [11:34] ##/bin/bash: /debootstrap/debootstrap --second-stage: No such file or directory [11:34] of course /debootstrap/debootrap alone does something and is present [11:35] how about sudo chroot armhf-fs /bin/bash -c /debootstrap/debootstrap --second-stage # i.e. without the ticks [11:38] forget my question from earlier. that netplan config is created by cloud-init with the network metadata it receives from openstack.. So not "ubuntus fault" I guess [11:39] hmm but it still "breaks" though. I wonder how they intended this to work [11:44] LarsErikP: if something seems to be wrong or unexplicable about ubuntu cloud images, i'd ask in #ubuntu-server [11:46] tomreyn: thanks ;) Will do! [11:49] tomreyn: I got a bit further but still without a success, there were some errors regarding /proc and /run/systemd/container, I mounted proc but it didn't go any further. Anwyays I remember having those errors anyway and it worked regardless [11:53] chrishhh: i've not used debootstrap cross architecture for years, can't really help more, sorry. [11:53] sure thank you for help anwyay [12:08] tomreyn: qemu was the problem qemu-user-static was updated today and fixed the issue [12:08] ah nice [12:08] thanks for help [12:10] you're welcome === dbristow_ is now known as dbristow [13:10] Greetings! Could someone tell what one can do to troubleshoot a Gnome Shell, which acts up sometimes? A few times a day it freezes to the point, where icons in the dock do not work correctly (not pressable). Also, whenever I open Applications, it can freeze at that point as well. I am on an v.5.14rc2 kernel and am building v5.14 now in hopes of fixing this as well getting a more stable kernel. [13:10] if you want to test a higher kernel, use mainline [13:11] !mainline [13:11] The kernel team supply continuous mainline kernel builds which can be useful for tracking down issues or testing recent changes in the Linux kernel. More information is available at https://wiki.ubuntu.com/Kernel/MainlineBuilds [13:11] https://kernel.ubuntu.com/~kernel-ppa/mainline/ [13:11] testing rc starts at 5.16-rc1 [13:12] and.. you are on your own, but you can file a bugreport [13:12] oerheks: I was a bit hesitant since I didn't want an unstable version. Are you saying I should build v5.15 instead? [13:13] you could.. and all these are 'unstable' until release [13:18] manwhowouldbekin: pulling in the Ubuntu kernel builds from the mainline repo is a good comparison - and quicker than a self-build, for testing [13:19] TJ- +1, without telling what hardware is troubling you [13:23] having said that, I build and use latests kernel every day! [13:39] Hope somebody can help with this issue as I'm afraid to mess stuff up. Have a working fine external USB drive with a corrupted GPT table. How can I fix it without losing data? Have already tried nftsfix but the drive is 2 partitions, 1 nfts and 1 exfat === gacuxz1 is now known as gacuxz [13:42] Any idea folks? Afraid to do something stupid and accidentally erase data and stuff. [13:43] use Gdisk fot gpt devices [13:43] WickedDekciw: GPT stores a secondary/backup GPT at end of the device [13:43] !ingo gdisk [13:43] WickedDekciw: you should check if that is OK and if so use it to recover the primary GPT [13:44] !info gdisk [13:44] gdisk (1.0.8-1, impish): GPT fdisk text-mode partitioning tool. In component main, is extra. Built by gdisk. Size 224 kB / 726 kB [13:44] https://askubuntu.com/a/386802 [13:44] TJ-, How can I restore that one? I tested some stuff but they were going to overwrite existing data which is a big no no (gdisk) [13:46] WickedDekciw: there is an important detail here: in well written partitioning tools, the partition table is "just a table", changing it does not change anything else. [13:46] WickedDekciw: in particular changing the partition table in 'gdisk' does not change the content of the rest of the risk in any way (unless you answer "yes" to some obvious prompts) [13:47] Walex, gdisk -w (write table to disk and exit) has a clear all caps warning About to write GPT data. THIS WILL OVERWRITE EXISTING [13:47] PARTITIONS!! [13:47] That's why I asked [13:47] use gdisk -v ?? [13:47] WickedDekciw: it will overwrite the partition definitions, not the contents. [13:48] WickedDekciw: unless you say yes to the questions about "magic numbers" and existing filesystems. [13:48] WickedDekciw: use "gdisk" then 'r' Recovery and Transformation menu then 'b' use Backup GPT header (rebuildng main) [13:48] WickedDekciw: so first do as "TJ-" suggests, to use the backup header. [13:49] WickedDekciw: on the Recovery menu, use 'v' to Verify first [13:49] TJ-, No problems found. 6077 free sectors (3.0 MiB) available in 2 [13:49] segments, the largest of which is 4062 (2.0 MiB) in size. [13:50] WickedDekciw: let's go back to basics. Earlier you said "with a corrupted GPT table" - how did you determine it is corrupted? [13:50] sudo apt-get build-dep emacs <- I did this. But now I want to find out all the packages installed by this command and remove them. How can I do this? [13:50] Walex, I did -v, then -r, then -b, you mean I should then -p (print the table) ? [13:51] TJ-, I accidentally unmounted the USB disk from Natalius during an ongoing simply copy operation which led to GPT problems [13:52] sudo apt remove build-dep emacs [13:52] Hash, look for the apt journal located at /var/log/apt/history.log [13:52] Hash, it will show the command and the list of packages that were installed alongside. [13:52] If you search for it, of course. [13:52] WickedDekciw: ouch! so there could be file-system damage too? [13:53] hi [13:53] OK; writing new GUID partition table (GPT) to /dev/sdc. [13:53] The operation has completed successfully. [13:53] Ubuntu wants to add an on/off switch for connectivity check in GNOME Control Center  - have it been implemented? [13:53] TJ-, Problem opening /dev/sdc/ for reading! Error is 20. [13:54] Did I just eff it up? [13:55] TJ-: Hi, good to hear from you :-) Are you saying that I should pull the latest code and try to compile it to see if the bug in question goes away? Is that the way? I have not compiled many kernels. [13:55] WickedDekciw: maybe the device itself got damaged ? [13:55] KBar: I was hoping for something better than https://bpa.st/DHBQ a list like this [13:55] TJ-, It's 100% health and fine thankfully [13:55] Perhaps where I can easil feed it into apt-get remove [13:55] There's just this weird issue with GPT [13:55] manwhowouldbekin: no, I'm saying it is quicker to download the kernel files from the Ubuntu mainline builds archive [13:56] !info mainline | manwhowouldbekin [13:56] manwhowouldbekin: Package mainline does not exist in impish [13:56] !mainline | manwhowouldbekin [13:56] manwhowouldbekin: The kernel team supply continuous mainline kernel builds which can be useful for tracking down issues or testing recent changes in the Linux kernel. More information is available at https://wiki.ubuntu.com/Kernel/MainlineBuilds [13:56] guest yes, gnome settings > privacy https://vitux.com/disable-connectivity-checking-on-ubuntu-for-public-wifi-captive-portals/ [13:57] that article gives the old theming, but the same info [13:57] TJ-, It's kinda confusing actually because gdisk isn't reading it as a directory [13:57] https://regex101.com/r/F7mb9D/1 is the best I guess you can do with that file/list [13:58] though I guess the :amd64 bit doesn't matter [13:58] oerheks it is off by default? [13:58] guest check yourself? [13:58] hehe not enough ram to spin a vm [13:58] WickedDekciw: any kernel I/O errors being reported? "journalctl -k -n 30" [13:58] error 20 and stuff [13:59] download more ram :-D === gacuxz1 is now known as gacuxz [13:59] Looks like I'm having hard times reading this issue, am I tired? : https://wyz.fr/5N-GE (on 18.0.4) [14:00] TJ-, https://pastebin.com/BbW1CzRN [14:01] mdk, what linux is this? [14:01] WickedDekciw: most recent messages look fine, the device and 2 partitions found [14:02] oerheks: Ubuntu bionic on Linux 4.15 x86_64 [14:02] TJ-, Weird then why fdisk doesn't mount them [14:03] oerheks: I should say that I installed it using debootstrap, not the installer, so it may be "a bit different", but not much? [14:03] did you run proper updates before this action? apt update && apt dist-upgrade [14:03] yes, but let me double check this [14:03] TJ-, Mounted through gnome-disk, thanks for your help brother! [14:03] When the user searches her own local files for a string using the Ubuntu desktop, Ubuntu sends that string to one of Canonical's servers - why would ubuntu do that? [14:04] guest, it does not. [14:04] !fud [14:04] Please do not fall prey to, or spread FUD (fear, uncertainty, and doubt) - it is not welcome here! Please see http://en.wikipedia.org/wiki/Fear,_uncertainty_and_doubt [14:04] https://www.gnu.org/philosophy/ubuntu-spyware.html [14:04] Yes it's freshly full-upgraded, I ran a full-upgrade right now just to check [14:04] TJ-, One more if I'm not bothering you, I've been trying for ages to mount an Android full system image (mmcblk0.img) to see what's inside, for the purposes of recovery with photorec. I have no need to recover the entire image, only sub-partitions within it. I know it's a special Android sauce fs and it isn't something regular [14:04] WickedDekciw: mount operates on the file-systems, not the device [14:05] TJ-, It isn't a device, it's an image of one [14:05] But the fs is unknown whatsoever [14:05] Guest39: it literally tells you in the very first sentence that Ubuntu no longer does that. Do you have an Ubuntu support question? [14:05] Photorec works fine on it but works on partitions I have no use for, and would have completed in weeks rather than days TJ- [14:05] WickedDekciw: "sudo losetup -f --show -P mmcblk0.img" then when it tells you which loop device it has used, "grep loopX /proc/partitions" (replace loopX with the actual loopdev name) [14:06] mdk weird, https://packages.ubuntu.com/bionic-updates/libwayland-egl1-mesa gives libwayland-egl1-mesa (20.0.8-0ubuntu1~18.04.1) [14:06] not that rc version [14:06] WickedDekciw: then you can try "sudo lsblk /dev/loopX*" [14:06] TJ-, /dev/loop8 [14:06] losetup: mmcblk0.img: Warning: file does not fit into a 512-byte sector; the end of the file will be ignored. [14:06] ubuntu@ubuntu:/media/ubuntu/WD Ele [14:06] WickedDekciw: ignore the warning [14:07] oerheks: so my issue is simple, my /etc/apt/source.list is probably not good, due to the fact I installed from debootstrap, I have `deb http://archive.ubuntu.com/ubuntu bionic main universe` in here, it probably should be something else? (Sorry I don't really know Ubuntu) [14:09] i don't run bionic anymore, too old [14:09] 'Morning folks [14:09] oerheks: It's for BBB, I have sadly no choice :D [14:09] looks like adding bionic-updates helped [14:10] oerheks: yes it looks to work, thanks, you have helped :) [14:10] oerheks: (the error message was weird, but from an old version it's forgivable: )) [14:13] TJ-, https://pastebin.com/BEfvkyrn [14:14] WickedDekciw: no partitions? is the file compressed by any chance? if so you may need to decompress it first [14:14] WickedDekciw: "file mmcblk0.img" should tell you something useful about it [14:14] WickedDekciw, is that the android img ? [14:15] oerheks, Yes, Android 10. I've been trying to specifically mount the partitions *within* said image, closest I got was just mounting it wholesale. It isn't a regular partition that fdisk knows about rather weirdo Android magic. [14:16] TJ-, mmcblk0.img: DOS/MBR boot sector; partition 1 : ID=0xee, start-CHS (0x0,0,1), end-CHS (0x3ff,255,63), startsector 1, 4294967295 sectors, extended partition table (last) [14:17] WickedDekciw: OK, so it does have partitions, so the "-P" in the losetup command should have created those so you'd have /dev/loop8p1, /dev/loop8p2 etc (or alternatively it may have created /dev/mapper/loop8p1, /dev/mapper/loop8p2 etc) [14:18] WickedDekciw: so "sudo fdisk -l /dev/loop8" should show you the partition table too [14:23] Hash, you can then try to look at /var/log/dpkg.log | grep " install " [14:24] Hash pipe it to `cut --delimiter=' ' --fields=4` [14:25] Hash, before piping it to cut, use any text editor to cut unneeded parts, i.e. the beginning and end [14:25] KBar: regex was easier to do. [14:26] just cat the file with sed regex s/\(([^\)]+)\),//g and copy paste the output. [14:29] (1.4.4-2ubuntu2, automatic), <- gets rid of stuff like this. Then you just copy paste the output into apt-get remove. No need to use text editors or something. === mh3f_ is now known as mh3f [14:36] TJ-, https://pastebin.com/d77Bbpdv [14:37] WickedDekciw: interesting, that is a protective MBR for a GPT partitioning scheme! [14:38] WickedDekciw: try with "sudo gdisk -l /dev/loop8" instead [14:38] WickedDekciw: is that file really 2TB !? [14:42] TJ-, It's 125GB, not 2TB at all [14:43] fdisk doesn't read Android partitions (encoded with unknown Android magic) [14:43] It claims to be MBR but isn't [14:44] https://pastebin.com/2QNUBXki [14:45] It [14:45] It's reading some stuff as EiB which is most certainly impossible [14:45] ahahaha [14:45] ouch!! [14:47] The thing is it doesn't seem to be any particular regular fs, I thought about f2fs/etx4/exfat, doesn't seem likely? === cacti is now known as madmax [15:13] TJ-, sorry but was busy and missed channel log [15:13] did you mention anything? [15:16] WickedDekciw: no, but I have something saved up for you. Apparently those android images may be 'sparse images' and there's a tool simg2img to 'uncompress' them [15:17] !info android-sdk-libsparse-utils | WickedDekciw [15:17] WickedDekciw: android-sdk-libsparse-utils (1:10.0.0+r36-7, impish): Android sparse image creation tool. In component universe, is optional. Built by android-platform-system-core. Size 14 kB / 92 kB [15:19] TJ-, what command exactly from that? [15:19] WickedDekciw: apparently simg2img ... see if there is a man-page for it [15:21] TJ-, does that come with the sdk utils tho [15:21] It's in the package I named [15:22] TJ-, Invalid sparse file format at header magic [15:22] Failed to read sparse file [15:22] apt-file search simg2img => android-sdk-libsparse-utils: /usr/bin/simg2img [15:23] WickedDekciw: in which case you need to figure out how exactly that .img file was created [15:24] TJ-, Just simply dd through twrp on Android (adb exec out) [15:25] WickedDekciw: very weird then [15:25] WickedDekciw: have you tried running 'binwalk' against it ? [15:33] I oops and my /etc/fstab got zeroed out.  I can ssh into the box (it's headless) but once I'm there, it's RO and I have no space on /tmp etc.  How do I recreate the original LVM-based ubuntu /etc/fstab? [15:43] jeffr47: "mount -o remount,rw /" to make it writable [15:46] Thanks, I got it writable.  Although with no free space, it's not super useable.  How to I figure out what the right fstab entries are?  IIRC there were two...? [15:47] Quick qs. Backing up drive with ddrescue, how can I during that process temporarily open a specific partition with Nautilus and copy 1 smallish folder? I'm getting an eror when mounting with gnome-disks GUI [15:49] jeffr47: "sudo blkid" to identify the various file-systems initially [15:51] OK I see one that has no type listed, one type=ext4 (pretty sure that's /boot) and one LVM2_member. [15:52] WickedDekciw, during????? [15:52] * oerheks facepalms [15:55] WickedDekciw: you could do 'sudo mount -o ro /dev/sdxY /mnt' and get the file, that way it mounts readonly so you dont actually modify anything important in the fs [15:56] EriC^^, he is trying to fix an Android image.. [15:57] hmm he said drive === Bilge- is now known as Bilge [15:59] hello guys ... my pc after the boot frequently start to froze and I have to shutdown and re-boot . after all everything works perfectly I'm from a new 20.04 [15:59] can someone help me to detect and fix the problem ? may be hardware problem or nvidia driver ? [16:01] my configuration : https://imgur.com/a/PIzf4Qs [16:05] EriC^^, drive issue and android issue are separate [16:07] so any help? === Bencraft5 is now known as Bencraft [16:53] EriC^^, is there any way I can expand the live cd's partiton (data space like casper) while it's running? [16:54] mkusb can make a free space during copying, not in live mode [16:54] !info mkusb [16:54] Package mkusb does not exist in impish [16:55] https://help.ubuntu.com/community/mkusb [16:59] Thanks! === genii-core is now known as genii === jje_ is now known as jje [18:27] question: if I install a .deb from a site (but later I want to remove it) can I safelly erase the .deb or will I later when uninstalling will be in trouble? [18:28] LuckyMan, can you rephrase ? [18:29] ioria, I have a .deb file from a program I installed. Can I safelly delete it? [18:29] or will I need it to uninstall the program? [18:30] LuckyMan, you unistall it ; what you mean with 'erase' ? [18:30] you can delete it [18:30] great! thanks! [18:30] maybe he means also the uninstall of the program? [18:30] ioria: they're asking about the .deb file, not the installed package [18:30] oh, i see [18:31] so dpkg will uninstall a program even if no package is present? [18:32] the files of the pkg, have been copied in the system ,yes; but you cannot reinstall if needed [18:33] ioria, oh no problem, I can download it again [18:33] ok [18:33] I just want to clean my downloads folder [18:36] LuckyMan: you can delete them. They are not needed to remove the package afterwards [18:43] A few months ago, I built a 5.14rc2 kernel and built NVIDIA drivers (#470.53) via DKNS with the help of this chat. Today I built 5.15.0. Having recalled that I may need to go through the DKNS step for NVidia, I checked the following directory /usr/src/ and found a newer driver in it (470.53 and 470.82). Where did the new one come from? Could it be from 'sudo upgrade-all'? Also, after compiling the kernel, I had [18:43] difficulties running the DKNS step. After the reboot, I have been getting this: https://pastebin.com/HsPr7NDd Does this mean that driver was already built into 5.15? [18:45] the dkms package builds the driver, reboot, and it works, so you do not have to do this manually [18:47] oerheks: Is it fully automatic when building a kernel? In the past we had to do it manually, for some reason. [18:52] There is also this info: https://pastebin.com/E0brejjH . My understanding is that somehow the newest driver was automatically picked up for a rebuild by DKMS. I have no idea why or how as I didn't set that up. [18:57] dkms does that, building the driver, dunno why you had to start this manually [19:08] oerheks, is badblocks enough to route a workaround for weak/bad sectors or is there a tool that does further analysis? [20:30] Anyone who can help me out with a "cannot access '.': Permission denied (os error 13)" Error. I have it chown to my user and has rw acces, It is accesable in thunar, but not in terminal [20:31] Asatru: what if you 'su - user' and then try? [20:32] same [20:32] so what's the command you're running? [20:33] what folder exactly? [20:33] just "ls" [20:33] folder /games [20:34] ive a error on the /share too, but that is justr permission denied, chown to nobody:nogroup and 777 [20:34] you shouldn't use nobody or nogroup for anything, those are for NFS use [20:35] you shouldn't use 777 for anything, that's just never going to be the solution for anything. 1777 is *sometimes* a solution, but basically only /tmp [20:35] the /share dir is for nfs [20:35] in 21.10 your home folder is no longer 777 [20:36] you shouldn't use nfs, honestly, it's crap [20:36] nfs is fine [20:36] so is crapping [20:37] oh, if this is an nfs mount, are you trying to use root? is root_squash in use? do you have identical uids and gids on all machines participating? [20:38] there are two dirs, /share is nfs, /games is a SSD [20:39] the nfs (/share is just only onm defaults) === Ricardus_ is now known as Ricardus [20:41] the userID is the same on a other machine [20:43] Asatru: you said /games/ has rw access, but does it have Traverse access (X) ? [20:43] also [20:43] TJ-, i'M getting the same old gpt error again, forgot what it was with gdisk to sort it out? [20:44] WickedDekciw: how are you causing it!? [20:44] Also when i list root /, it doesnt show both directories [20:44] yes rwx [20:44] TJ-, the real issue seems to be not gpt, rather mount not showing up in nautilus [20:44] which is weird [20:45] WickedDekciw: doesn't sound weird to me; if the partition table is corrupt the file-systems won't be found [20:45] WickedDekciw: sounds to me like the device is faulty if it keeps happening [20:45] TJ-, nah, it works from /mnt/, but it doesn't display normally in Nautilus [20:45] on the sidebar [20:46] WickedDekciw: Gnome uses gvfs and udisks to do user mounts and they get put at /media/$USER/$FS_LABEL [20:47] Aha [20:47] so how do i give it a name [20:48] if the file-system doesn't have a label udisk will use the UUID [20:53] my screwed up, then I forcably shut it down. When I rebooted it on got a bunch of disk error, I had to fix them with fsck. Now I'm "/dev/sda3: clean number/number files, number/number blocks" on boot. I get to the terminal with crtl +alt + f2. [20:53] what do I do now? [20:54] SO nobody has a solution? [20:56] Asatru: you didn't answer if you were trying to use root and if root_squash is in use [20:56] Asatru: those are my guesses [20:58] I said it had only defaults [20:58] on my manjaro laptop it works fine (the share) [20:59] (rw,sync,no_subtree_check) [21:02] I got it working [21:08] TJ-, gotcha. im however always getting a dpkg error despite forcing -f in apt [21:08] dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem. [21:08] which I did [21:08] no dice [21:08] dpkg: error: failed to write status database record about 'adduser' to '/var/lib/dpkg/status': No space left on device [21:09] uhoh [21:10] fixing out of disk space errors can be hard [21:10] ncdu may help you spot big things to remove [21:12] sarnold, no space to install ncdu ahahaha [21:12] I was afraid of that :( [21:13] it's actually a live USB, I wanted to expand the writable partition to avoid this but couldn't find exactly how so [21:13] WickedDekciw: depending upon what device is full, you might get some easy space by removing some or all the files from /var/cache/apt/archives/ -- apt leaves those behind so you can do some troubleshooting if you need to [21:15] sarnold, yeah, issue is how to resize in-place as am running [21:16] WickedDekciw: is it a tmpfs? if so, you might be able to mount -oremount,something=something / kind of thing to change the size [21:18] sarnold, it's a writable (used to be casper before v 20) [21:18] would have mkusb but no space for that either [21:18] oh. rats. I know less of those :( [21:21] dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem. [21:21] same crap all over [21:22] yeah, you'll probably have to apt install -f once you're done with that step [21:23] then you can get ncdu installed, and go find more things to delete :) [21:23] *then* you can return to your work.. [21:29] i go try a frsh install of ubuntu [21:39] Asatru has left, it seems. This is what I have for the nfs export : /srv (rw,sync,crossmnt,no_subtree_check) . On Ubuntu 20.04, I have in the /etc/fstab: :/srv /mnt/nfs nfs4 _netdev,user,exec,nofail,noatime,nolock,tcp,actimeo=1800,x-gvfs-show 0 0 === ledeni__ is now known as ledeni [21:51] sarnold, https://pastebin.com/sVMFkKR9 [21:53] heh, 'c'? I can't recall what that is.. it's been ages since I've seen the list of types, but I thought linux was 0x80 or 0x83 or something [21:54] I looked around, all I got was Type-C cables [21:54] AHAHA [21:56] hah [21:59] Hi, Can anybody please help me to find a ubuntu distro of 32-bit as light as possible for an old machine? Thank you ! [22:03] Back to my topic, the problem caused of usage of a snap version of "lsd" [22:03] by*+ [22:03] Asatru: OH! [22:03] Asatru: ugh :( ew. [22:03] i got so used to it, i forgot it was lsd i was using [22:05] maikel_: maybe https://releases.ubuntu.com/16.04.7/ ? 18.04 didn't come with 32-bit x86 install images.. I don't know if you can upgrade 16.04 to 18.04 or not.. [22:05] does Canonical have a Warrant Canary somewhere that states they haven't (yet) been forced by US government to supply modified packages in their apt repos? [22:06] maikel_: 16.04 standard support has ended, so you'd probably want to buy esm if you were to go with 16.04. [22:06] Sven_vB: no [22:06] sarnold, thanks! [22:10] oh I see, I misunderstood the NSL capabilities. no worries then. [22:10] I honestly haven't got a clue if a NSL would be able to compell us to publish specific changes or not [22:12] I've wondered before about our australian colleagues; the rumours are their govt might be able to compel their citizens to take specific actions; but it feels pretty remote, as threats go. [22:12] ok sarnold, thanks. I'll still finding around. What do you think about SliTaz? === JayDoubleu_ is now known as JayDoubleu [22:14] maikel_: I don't think I've heard of it before; I was thinking primarily of debian https://cdimage.debian.org/cdimage/unofficial/non-free/cd-including-firmware/11.1.0+nonfree/i386/iso-cd/ or adelie https://www.adelielinux.org/download/ [22:16] \ [22:17] sarnold, it gets worse though. a lot of the suspicious governments have also limited the freedom of press in recent years, so I can't even be sure I'd know what privilege escalations have occurred since then. [22:21] Sven_vB: my expectation is that it'd be cheaper / easier for folks to find bugs in already deployed software -- there's vast gobs of C and shell all over the place [22:25] indeed. most times I look at other people's shell scripts, ugh. :D === jje35 is now known as jje3 [22:37] Thank you sarnold, I'm searching in the pages you linked me. Give me some read around and tell you leater. Thanks... === gacuxz1 is now known as gacuxz [23:08] Hello is there an alternative to the fat32 attribute edit fatattr command for exfat? [23:11] That is to say the fatattr command that is used to edit the aributes like (Archive) (Read Only) (Hidden) and (System) as used by the FAT32 and FAT16 File Systems but for EXFAT. [23:14] oh hey they do have something similar, I figured they'd get rid of those https://docs.microsoft.com/en-us/windows/win32/fileio/exfat-specification#table-28-fileattributes-field-structure [23:18] I know they have. I need to delete a number of folders from a flash drive that on a windows got marked (Read Only). Just don't have acces to a Windows PC Now and Can't delete them until i remove that attribute. [23:24] https://github.com/relan/exfat/pull/163 [23:24] Pull 163 in relan/exfat "attrib: Add tool to set or modify file attributes" [Merged] === jcbjoe2021_ is now known as jcbjoe2021 [23:25] I start a perl script from within crontab - all works well - it starts, etc. But while it exists there is a /bin/sh -c .... associated with it. How do I stop that and just have crontab do what I want without starting it through a shell? [23:27] jpmh: *maybe* this will work: replace "/usr/local/bin/scriptymcscriptface" with "exec /usr/local/bin/scriptymcscriptface" [23:28] sarnold: no - long since tried that [23:29] dang :( [23:29] I *liked* that idea [23:35] Peter1: see the github link above. it is integrated into what will be exfat-fuse 1.4.0 (unreleased). i assume it could already work on older versions due to existing extended attribute support https://github.com/relan/exfat/issues/46#issuecomment-246578569 [23:35] Issue 46 in relan/exfat "Enhancement: Support Windows filesystem attributes" [Open] [23:36] jpmh: Does the perl script have a shebang? [23:38] genii: yes -= and I have event tried /usr/bin/perl scriptName ; scriptName; env scriptName and even exec scriptName. I should say that scriptName is an absolute path too [23:38] hm [23:41] jpmh: is it set executable? [23:41] I think if it's not executable, glibc's exec*() family will hand it to shell or something similarly stupid [23:42] sarnold: yep - in fact that is why it executes if I just use the path without the /usr/bin/perl command === genii is now known as genii-core