[00:02] <rfm> shayf, it's entirely possible to mess up /etc/passwd.  Does "grep root /etc/passwd" return "root:x:0:0:root:/root:/bin/bash" ?
[00:02] <ednash> After installing the NVidia CUDA drivers, I can't see the login screen anymore. I am afraid I may have removed the default Ubuntu server (as I tried uninstalling the pre-installed NVidia drivers).
[00:03] <shayf> access denied to /etc/passwd
[00:03] <ednash> What should I install to get back the GUI login screen?
[00:03] <shayf> cant login to root, or use sudo
[00:03] <shayf> rfm
[00:03] <ednash> lightdm?
[00:04] <rfm> shayf, but /etc/passwd should be readable by everyone.  Does "ls -l /etc/passwd' show passwds
[00:04] <rfm> ... permissions?
[00:04] <shayf> no permission to /etc/passwd rfw
[00:04] <shayf> rfm
[00:06] <rfm> shayf, ok, it could possibly be higher up.  "ls -l / /etc' show anything?
[00:06] <shayf> rfm permission denied
[00:07] <shayf> can do root, ls -l / shows permissions for root dir
[00:07] <shayf> the /etc/ shows perms: drw-------
[00:07] <ednash> while installing lightdm it asked for gdm3 vs. lightdm
[00:08] <ednash> rebooting
[00:11] <rfm> shayf, OK! /etc/ should have perms drwxr-xr-x.  Since it doesn't nothing can see any files in /etc.  I don't know any way to fix it in the running system since you can't sudo with it broken.
[00:13] <rfm> shayf, you will have to boot a live cd (like the ubuntu install medium) (there's a rescue boot option which should work too but I never use it) then in its shell mount the root partition and fix it
[00:13] <Maik> rfm: they already getting help in  #ubuntu-server
[00:14] <Maik> they are cross posting in multiple channels
[00:14] <shayf> ^ the one that helped
[00:14] <shayf> thanks rfm
[00:17] <ednash> my ubuntu graphical login screen isn't allowing me in
[00:18] <ednash> after i type in my password, there's a brief pause and then it gets back to asking password again
[00:21] <tomreyn> ednash: is this a standard installation of ubuntu with the default 'gdm3' login manager and the gnome-based desktop, or a different ubuntu flavor? which version is it? what may have caused this happen - did you make changes?
[00:24] <ednash> tomreyn: yes, i had to remove the default NVidia drivers since I needed CUDA, and I am afraid removing the noveau drivers ended up removing other parts of the GUI
[00:24] <ednash> let me try reinstalling gdm3
[00:24] <ednash> rebooting
[00:24] <tomreyn> something told me it could be related to nvidia
[00:26] <ednash> didn't help. now i am greeted with a black screen and blinking cursor on reoot
[00:28] <ednash> journal log for gdm reads, "maximum number of X display failures reached" several times
[00:30] <whiskey76> maybe install the latest legacy nvidia drivers
[00:37] <ednash> ok
[00:37] <ednash> i tried reinstalling everything that comprises of the MATE Minimal install
[00:37] <ednash> rebooting and crossing fingers
[00:39] <ednash> Alright, that did the trick
[00:39] <ednash> I am now using a GUI :)
[00:40] <ednash> But... it's the Mate GUI, greenish tinted. I kinda don't mind and might actually like it
[00:40] <ednash> Is Mate more resource intensive than the default Ubuntu?
[00:40] <ednash> I'm debating if I should even try to switch back
[02:22] <n-iCe> Hello, would you say is ubuntu gnome shell desktop one of the heaviest DE out there?
[02:32] <fusionfuture[m]> n-iCe: perhaps, because it heavily relies on js.
[02:33] <n-iCe> fusionfuture[m] do you use gnome shell?
[02:37] <fusionfuture[m]> n-iCe: i have multiple desktops installed and I mainly use kde
[02:37] <fusionfuture[m]> gnome generally makes my laptop very hot
[03:01] <snowhawk> hello
[04:40] <lord_daemon> I need to make a script that executes the command ("iptables -A INPUT -p t precisocp --destination-port 9099 -j DROP") only if this block does not already exist in iptables. someone help? placed in services but it is inserting multiple same lines in iptables
[04:52] <oerheks> lord_daemon, really, did you do your research?? if i bing; "linux add iptable rule if not exist"  1st result = https://unix.stackexchange.com/questions/128170/create-an-iptables-rule-if-the-rule-does-not-already-exist
[05:11] <nice> Hello
[05:11] <nice> I have a Ubuntu 20.04.3 lts and I want to go to 21.10.
[05:11] <nice> If I update inside the program, the internet usage will decrease or I will download and install the iso 21.10 file.
[05:11] <nice> (I'm not worried about my data)
[05:17] <nickdiazswag209> for ubuntu package version format, i know the suffix "-ubuntuX" means its Xth revision of the debian package, but what if X is something weird like 0.1
[05:17] <nickdiazswag209> what would that mean?
[05:17] <nickdiazswag209> for example, python3-yaml5.3.1-1ubuntu0.1
[06:00] <oerheks> https://wiki.ubuntu.com/AutoStatic/PackagingVersioningScheme nickdiazswag209
[06:00] <oerheks> or simpler explanation
[06:00] <oerheks> https://www.ducea.com/2006/06/17/ubuntu-package-version-naming-explanation/
[08:12] <Miles8of9> hi all... since yesterday i have a problem with ubuntu 20.04 and wifi integrated card.... error on boot
[08:12] <Miles8of9> http://pastie.org/p/3aBottmfZStPmHP9iZt8uk
[08:12] <aaron> Has it worked with Ubuntu in the past?
[08:12] <ice9> anyone got the Samsung T7 touch work under Linux?
[08:12] <Miles8of9> i have made no changes to system configuration, only installed updated and rebooted
[08:12] <Miles8of9> always worked
[08:15] <Miles8of9> 03:00.0 Network controller: Intel Corporation Centrino Wireless-N 100 (rev ff)
[08:16] <Miles8of9> the card is seen but it seems it can't make it work anymore
[08:53] <kristian_on_linu> good software to get a beginner started?
[08:55] <oerheks> yes, ubuntu is good software to start with
[08:56] <oerheks> easy install, and if on installs synaptic, more details
[08:56] <kristian_on_linu> I meant, is there some software you would recommend that is fun and easy to get started with?
[08:57] <oerheks> conky, longest tread on the ubuntu forum, 2348 pages https://ubuntuforums.org/showthread.php?t=281865&page=2348
[08:57] <axelrod> I just started with ubuntu one month ago and it is so easy. I have been a windows head my whole life. The change was very easy.
[08:58] <kristian_on_linu> this is for a person who's new to computers
[08:58] <kristian_on_linu> I remember showing my dear departed grandmother a PC 30 years ago or so ... she was one big question mark until someone thought of bringing up Solitaire :)
[09:00] <kristian_on_linu> I wonder if Kodi will be easier than VLC
[09:26] <rebansochart> Hello There
[09:27] <luna> hi
[09:51] <SymbioticFemale> i have a weird issue with xfce (note: not xubuntu). Sometimes, some application (onboard on-screen keyboard, or mate-terminal, or some unknown invisible application) will grab the X input and then just not let go. Grab it exclusively.
[09:51] <SymbioticFemale> it happens at random times, usually within two minutes of starting the system, and requires a restart to resolve
[09:52] <SymbioticFemale> the system has a touchscreen, but it affects all forms of input (keyboard, mouse, touch screen)
[10:37] <milkshake> regret to only allocate 50gb to ubuntu partition as the csgo game took like half of it. steam linux doesnt have option to move the game to other partition it seems. any other way to not running out of storage as the updates keep on coming and coming
[10:52] <ogra> milkshake, https://www.howtogeek.com/269515/how-to-move-a-steam-game-to-another-drive-without-re-downloading-it/ perhaps ?
[10:53] <ogra> and https://askubuntu.com/questions/790383/how-to-change-steam-library-location-to-another-hard-drive for a more ubuntu specific way (well, essentially the same, just without windows drive letters)
[10:54] <SymbioticFemale> ok i deleted a bunch of trash packages and anything to do with screensaver and something seems to have werked
[11:06] <paul424>  Hello I am vompletly green when it comes to printing, I somehow managed to force our bizhub konica minolta to work with Ubuntu
[11:06] <paul424> c 224e
[11:06] <paul424> but SOMETIMES it refuses to print from LibreOffice
[11:06] <paul424> I did set device URL  lpd://192.168.1.120/print
[11:06] <paul424>  in xfce4 printer settings
[11:08] <paul424> any ideas what might get wrong ?
[11:08] <paul424> FOR example How do I check for errors ?
[11:08] <paul424> When it doesn't print ?
[11:15] <Error> hiya... im trying to install a gemini server and im getting his https://8n1.org/20340/faf1 can anyone tell me whats wrong im doing?
[11:19] <SymbioticFemale> ah no, the problem persists. random applications are still exclusively grabbing the xinput
[11:38] <mort> Can you force something to run in xwayland?
[12:06] <webchat88> Good day,  I am trying to format an sd card with a specific allocation size (4096 bytes) [such a setting is available on windows format tools] I do not see it in gparted nor can I find the correct terminal command to format an SD card at /dev/sda1 to fat 32 with this specific allocation size required by a manufacturer.
[12:07] <Maik> webchat88: try Disks
[12:08] <Ravage> webchat88: https://askubuntu.com/questions/983546/trying-to-format-a-64gb-microsdxc-card-with-4096-bytes-per-sector
[12:23] <Chunkyz> webchat88: install: "gnome-disk-utility" then open/format.
[12:23] <clarkk> Yesterday I did a partial upgrade to my 20.04 system, as there were pending updates that I couldn't install otherwise.  Since then, my openvpn connections aren't working. I want to work out whether openvpn was updated in that process. I've looked in /var/log/apt/history.log and term.log, but there are no occurrences of "openvpn".  Can anyone offer any advice?
[12:25] <clarkk> Please ignore my question. My connection has started working again
[12:58] <makrada> https://gurushots.com/photo/1d933856eb3253f85560eb0c23d8f1f2
[14:04] <ice9> the non-lts release gets software updates only (not upgrades) for all packages or just the kernel?
[14:07] <lotuspsychje> ice9: packages update to your matching ubuntu release, lts or non-lts
[14:08] <ice9> lotuspsychje, but the kernel only gets updates not upgrades right?
[14:08] <yomismo> buenos dias
[14:08] <lotuspsychje> not sure if i understand your question ice9
[14:08] <lotuspsychje> !es | yomismo
[14:14] <lotuspsychje> ice9: lets say kernel security flaws were found, all affected ubuntu releases would get kernel updates, is that what you want to know or?
[14:15] <BluesKaj> Hi folks
[14:23] <PTNapivoski> Hi, BluesKaj
[14:23] <BluesKaj> Hi PTNapivoski
[14:56] <daum> how can i update the memlock limit for my user without rebooting?  I tried updated /etc/security/limits.conf and then exited ssh and sshed back in but still getting 64.
[15:00] <leftyfb> daum: https://www.thegeekdiary.com/understanding-etc-security-limits-conf-file-to-set-ulimit/
[15:03] <daum> leftyfb, already have in that file: ubuntu    soft memlock 65536 and ubuntu    hard memlock 65536
[15:03] <daum> have logged out and back in
[15:04] <leftyfb> daum: try the very first instructions and command on the page
[15:06] <daum> $ ulimit -l 65536
[15:06] <daum> -bash: ulimit: max locked memory: cannot modify limit: Operation not permitted
[15:06] <leftyfb> daum: why are you trying to increase the memlock limit?
[15:07] <daum> need it higher for using ioring with netty
[15:08] <leftyfb> daum: did you try sudo?
[15:10] <daum> looks like i can get that for the current session but then if i relogin it fails?
[15:10] <daum> rather goes back to 64
[15:10] <leftyfb> daum: you need to reboot
[15:11] <mneptok> daum: the ulimit command only affects the current session. persistent ulimits are set in /etc/security/limits.conf
[15:12] <daum> mneptok, leftyfb shoudln't logging out and back in (only login the server) allow them to take affect?
[15:12] <leftyfb> daum: no, that's not how this works
[15:12] <mneptok> daum: and persistent limits only take effect when all the user's current sessions are stopped.
[15:13] <mneptok> daum: also ensure the limits.conf file is structured correctly. the last entry is the one that is used. so if something is redfined, it will blow away the pevious setting.
[15:14] <mneptok> daum: so check to see what is being defined (if anything) in /etc/security/limits.d/*
[15:16] <daum> ok thanks will try a reboot too at somepoint
[15:19] <Error> hiya... im trying to install a gemini server and im getting his https://8n1.org/20340/faf1 can anyone tell me whats wrong im doing?
[15:19] <Error> can anyone plz tell me whats the issue im going nuts
[15:20] <leftyfb> Error: you'll have to contact the vendor for support. Mainly what packages the gemini server depends on
[15:21] <Error> its a vps
[15:21] <Error> and i got root
[15:21] <leftyfb> Error: Gemini is the vendor of the gemini server
[15:23] <Error> but
[15:23] <Error> i have install gmid in openbsd
[15:23] <jhutchins> Error: I would expect you to be following a procedure supplied by Gemini for installing specifically on Ubuntu.
[15:23] <Error> oh
[15:24] <Error> now i understand
[15:24] <mneptok> Error: Gemini is not a VPS. It's a protocol.
[15:25] <mneptok> Error: it's an alernative to http(s) for serving content.
[15:25]  * ogra hands jhutchins a "tech translator of the day" badge 
[15:26] <ogra> mneptok !!!
[15:26] <mneptok> ogra!!!1!!!1!!11!!!!one!!1!
[15:26] <Error> dude
[15:26] <Error> i do know what that is
[15:26] <Error> but i have install gmid in openbsd without any trouble
[15:26] <Error> well not that much
[15:27] <Error> but same pkg im trying to install in ubuntu and gettting this messages
[15:27] <Error> im was wondering what is the reasing that i cannot complie it from source!
[15:27] <mneptok> Error: Linux is not *BSD. And what you're trying to install is attempting to compile from source, and it is missing the requisite libraries to do so.
[15:27] <Error> reason*
[15:27] <Error> sell i have installed in debian
[15:28] <Error> is that any better?
[15:28] <leftyfb> Error: follow the software vendors instructions for installing it on ubuntu. Any further support should be directed at the software vendor
[15:28] <mneptok> Error: the reason is right in your pasted content.
[15:28] <Error> okey
[15:28] <Error> i got it
[15:28] <Error> thanks
[15:28] <Error> i was just wondering if im missing any libs
[15:28] <Error> sorry to trouble ya
[15:28] <leftyfb> you obviously are as noted by the error message
[15:28] <jhutchins> Looks like someone is reinventing the wheel, with all the features of the wheel, but more opaque.
[15:29] <mneptok> jhutchins: this is the intermediate stage between "new user" and "jaded sysadmin" :)
[15:30] <Error> are you lot talking about me
[15:30] <Error> i aint not new uesr or jaded one
[15:30] <Error> im an artist just trying to figure out whats this fuss bout
[15:30] <Error> lol
[15:31] <leftyfb> Error: it's just very confusing why you're messing with trying to run your own non-http(s) content server from source when you don't have a full understanding of concepts like missing libraries
[15:31] <Error> well used to use gopher
[15:31] <Error> lol
[15:32] <leftyfb> why?
[15:32] <Error> well just for fun!
[15:32] <Error> =)
[15:32] <mneptok> Error: having fun yet? ;)
[15:32] <leftyfb> "<Error> can anyone plz tell me whats the issue im going nuts"
[15:32] <Error> well yeah lost most of it what i had left
[15:32] <Error> i mean hair
[15:32] <Error> lol
[15:32] <Error> well thats what i meant!
[15:33] <leftyfb> Error: good luck
[15:33] <Error> nah not gonna be botherd!
[15:33] <Error> thanks a lot though!
[15:33] <mneptok> i'm running down my list of "things i consider fun" i'm not seeing "losing my hair" and "going nuts"
[15:33] <Error> thanks for ur help!
[15:35] <Error> =) i wouldnt mind to say sorry if would like
[15:35] <Error> ;P
[16:30] <chilversc> I'm confused, "apt-get install -y" keeps prompting me with "Package Configuration", "Daemons using outdate libraries" and asking which daemons I want to restart. I thought the whole point of "-y" is non-interactive and won't prompt?
[16:30] <leftyfb> no
[16:31] <chilversc> I've tried using a suggested "DEBIAN_FRONTEND=noninteractive" environment variable but I still get prompts
[16:31] <leftyfb> chilversc: https://linux.die.net/man/8/apt-get
[16:31] <chilversc> specifically from "man apt-get"; "-y, --yes --assume=yes", "Automatic yes to prompts; assume "yes" as answer to all prompts andrun non-interactively."
[16:31] <leftyfb> "Automatic yes to prompts. Assume "yes" as answer to all prompts and run non-interactively. If an undesirable situation, such as changing a held package or removing an essential package, occurs then apt-get will abort."
[16:32] <chilversc> right, so why am I getting a prompt asking me which services I want to restart?
[16:32] <leftyfb> chilversc: it's for assuming yes to ask if the package is to be installed, not to answer dpkg config questions
[16:32] <gas> download windows 11
[16:32] <leftyfb> gas: can we help you with something?
[16:33] <leftyfb> chilversc: you'll need to answer the dpkg questions by other means
[16:33] <chilversc> dpkg is an implementation detail of "apt-get install", so either it doesn't prompt and is non-interactive, or the documentation is incorrect
[16:33] <leftyfb> chilversc: -y is not meant for that, it doesn't apply
[16:33] <chilversc> its apt-get install prompts me, then it isn't exactly "non-interactive"
[16:34] <leftyfb> chilversc: https://unix.stackexchange.com/a/146340
[16:35] <leftyfb> chilversc: https://askubuntu.com/questions/1154892/prevent-question-restart-services-during-package-upgrades-without-asking
[16:35] <leftyfb> chilversc: it's debconf you want to answer
[16:36] <chilversc> right, that's what I'm looking at, but my point is if I ask for a non-interactive install, I should not get any prompts, it should either succeed or fail
[16:36] <chilversc> currently it is not "non-interactive", as running "apt-get install -y" still prompts for input
[16:43] <jhutchins> chilversc: So if it fails and takes your system off-line, that's a desired outcome, right?
[16:44] <ogra> chilversc, DEBIAN_FRONTEND also depends on te priority of the debconf questions asked and how the system is configured for this
[16:46] <ogra> chilversc, https://manpages.debian.org/testing/debconf-doc/debconf.7.en.html ... see the priority section ...
[16:50] <chilversc> jhutchins: not really, so the alternative is the documentation is inaccurate, as "-y" is not non-interactive, it is in fact very much interactive
[16:54] <leftyfb> chilversc: -y only applies to apt asking a yes or no question. Not for debconf questions
[16:54] <leftyfb> chilversc: if you hold a package and try to update it with -y, it will fail as per the documentation
[16:54] <ogra> chilversc, apt is not dpkg
[16:55] <ogra> it is only a frontend to it
[16:55] <ogra> the prompts yu see come from debconf via dpkg
[16:56] <chilversc> ogra: right, but apt does invoke dpkg, thus to me that then makes dpkg an implementation detail of "apt-get install", thus if dpkg can still prompt the apt get docs should not state that "-y" is non-interactive, at least not without mentioning dpkg can still prompt
[16:56] <leftyfb> no
[16:56] <leftyfb> chilversc: apt does not pass -y to debconf/dpkg as it is only meant to get applied to apt prompts, not dpkg
[16:56] <ogra> chilversc, apt does not have any contol over the hacked-in maintainer scripts in packages
[16:56] <chilversc> leftyfb: yes, "assume "yes" as answer to all prompts and run non-interactively." So if I then run that command and receive a prompt, that statement was false.
[16:57] <leftyfb> chilversc: yes, "assume "yes" as answer to all _APT_ prompts and run non-interactively."
[16:57] <leftyfb> apt is not prompting to restart services, debconf/dpkg is doing the prompting
[16:58] <leftyfb> chilversc: the -y only applies to prompts from APT, not debconf
[16:58] <chilversc> but I'm not invoking debconf/dpkg, apt-get is invoking that
[16:58] <chilversc> hence why I'm saying the documentation, or the implementation is inaccurate
[16:58] <ogra> chilversc, and these scripts are where the debconf prompts come from ... you need to set the correct debconf env variables to avoid them (DEBIAN_FRONTEND=noninteractive and tell it to ony ask critically priorized questions ... but even then, service restarting might be considered critical by the package maintainer)
[16:59] <leftyfb> chilversc: please type in your IRC window:   /nick brickwall
[17:02] <chilversc> leftyfb: if the docs for -y specifically called out that it was only "APT prompts" and warned that other components such as dpkg would may still display prompts then that would be fine
[17:02] <leftyfb> chilversc: file a bug. good luck
[17:03] <chilversc> but my point is from reading the docs, I was expecting "-y" to be non-interactive so I could "sudo somescript" then walk away and come back later
[17:03] <ioria> i don't think ' -y  non-interactively' means 'unattended'
[17:03] <Erix> hi
[17:03] <leftyfb> Erix: hello. What can we help you with?
[17:03] <chilversc> non-interactive to mean means I won't receive any prompts or need to provide an input, which is pretty much unattended
[17:04] <ioria> especially about priority and services restart
[17:05] <chilversc> ioria: except apt-get still runs if there's no terminal at which point all dpkg can do is print warnings that it couldn't ask, thus it does have some way of deciding what to do
[17:05] <leftyfb> chilversc: file a bug. good luck
[17:23] <chilversc> though interestingly, the documented method of setting DEBIAN_FRONTEND=noninteractive for debconf also doesn't seem to suppress those dialogs
[17:23] <leftyfb> chilversc: you should answer those questions using debconf as I linked you to above
[17:23] <leftyfb> otherwise you could end up with a broken system
[17:25] <Bugies> hello, is there anyone who has the system suspend broken after the last  update?
[17:25] <ogra> chilversc, it suppresses all that are lower than the configured system debconf priority ... (i think ubuntu uses "high")
[17:27] <ogra> (actually lower and equal to i think)
[17:28] <jhutchins> Bugies: Apparently there is at least one person who does.
[17:28] <chilversc> leftyfb: I just want the same behaviour when running the script by hand as when its unattended, and unattended it cannot prompt because it's being executed without a terminal
[17:29] <jhutchins> Bugies: Did you updte the kernel?  Does suspend work if you boot to the previous kernel?  How is it "broken"?  What does it do or not do?
[17:30] <chilversc> leftyfb: if it were that critical then it should refuse to update when being run without a terminal
[17:31] <chilversc> so it can't really be that important if it's happy to execute without prompting
[17:31] <leftyfb> [12:25:54] <ogra> chilversc, it suppresses all that are lower than the configured system debconf priority ... (i think ubuntu uses "high")
[17:36] <Bugies> jhutchins, i have old kernel 5.4.0-42-generic and systemd-sleep crashing or on latest kernel i have black screen when awakening
[17:36] <leftyfb> chilversc: you can use debconf to answer the questions as part of the script
[17:36] <leftyfb> Bugies: what release of ubuntu are you running?
[17:36] <Bugies> i have ubuntu 20.04
[17:37] <leftyfb> Bugies: you should use the hwe kernel: sudo apt install linux-image-generic-hwe-20.04
[17:38] <ns12> Hello, LTS releases are supported for 5 years. The "main" and "restricted" sections of an LTS version's repository are supported for 5 years. What is the meaning of "support"?
[17:38] <ns12> What are the consequences of "universe" and "multiverse" being unsupported?
[17:39] <leftyfb> ns12: all of the repo's continue to get updates for 5 years
[17:43] <john> hi
[17:44] <ns12> leftyfb: So what is the meaning of "support"?
[17:44] <leftyfb> ns12: updates
[17:44] <Bugies> ok, i have linux-image-generic-hwe-20.04 (5.13.0.30.33~20.04.17) so i have isues witch graphic driver - no signal...
[17:45] <jhutchins> Bugies: Did it ever work correctly?
[17:45] <ns12> leftyfb: "main" and "restricted" receive "official updates" from Canonical, while "universe" and "multiverse" rely solely on community efforts. Correct?
[17:46] <ns12> Does this mean that some security vulnerabilities in "universe" are not fixed?
[17:46] <leftyfb> ns12: https://help.ubuntu.com/community/Repositories/Ubuntu
[17:47] <leftyfb> ns12: https://help.ubuntu.com/community/Repositories
[17:48] <leftyfb> ns12: "The universe component is a snapshot of the free, open-source, and Linux world. It houses almost every piece of open-source software, all built from a range of public sources. Canonical does not provide a guarantee of regular security updates for software in the universe component, but will provide these where they are made available by the community. Users should understand the risk inherent in using these packages. Popular or well
[17:48] <leftyfb> supported pieces of software will move from universe into main if they are backed by maintainers willing to meet the standards set by the Ubuntu team."
[17:49] <Bugies> jhutchins, today the newest kernel did not have an image after waking up, so I think it's an update
[17:49] <leftyfb> Bugies: did you reboot into the new kernel?
[17:49] <ns12> leftyfb: Does "community" refer to the Debian community and their package maintainers?
[17:50] <leftyfb> ns12: community refers to the ubuntu community of package maintainers
[17:51] <Bugies> i reboot to old kernel and cheked that no working suspend
[17:51] <leftyfb> Bugies: did you reboot into the new kernel?
[17:52] <Bugies> i can try that new kernel for a moment
[17:52] <leftyfb> Bugies: that's the whole point of installing the new kernel
[17:53] <Bugies> kernel is already the newest version but i booted to 5.4 kernel so brb.
[18:08] <Bugies> jhutchins, i have 5.13.0-30-generic kernel now and I checked suspend and i have sound after wake up but no video
[18:08] <leftyfb> Bugies: does sound and video work before suspending?
[18:10] <Bugies> yes after suspend it crash but i cant see
[18:10] <leftyfb> Bugies: don't suspend :)
[18:11] <Bugies> :) ok
[18:13] <Bugies> it is amd gpu card 5500xt
[18:15] <Bugies> I installed the driver in windows 10, it can reset my original bios
[18:24] <chilversc> so trying to use debconf-set-selections, but I'm still being prompted for which services I want to restart, how do I find out what key I need to set to pre-answer this prompt?
[18:26] <leftyfb> chilversc: answer the questions, then run: debconf-get-selections # and grep for the package you installed for how you answered it
[18:28] <chilversc> leftyfb: I don't know which package is asking this question though to grep for it
[18:29] <jhutchins> chilversc: It doesn't work the way you think it should.  Figure out how it actually works and deal with it. Complaining here that it's not what you want doesn't do anybody any good.
[18:30] <leftyfb> chilversc: maybe spend the time to research that then. I'm not sure how you're doing all this to begin with, but if you have a way to revert the updates, then do that and only update 1 package at a time till you find the one that asks the question
[18:30] <leftyfb> chilversc: also, looking through dpkg.log or ps while the question is being asked might help
[18:30] <chilversc> that's what I'm now trying to do; I ran through the install, answered all the questions and as a test used 'depconf-get-selections' to generate a conf file, then tried to use that and I'm still being prompted
[18:31] <chilversc> I'm not sure this prompt is coming from depconf
[18:31] <leftyfb> chilversc: also, I'm pretty sure the prompt specifies in the text or title which package is causing the prompt
[18:31] <leftyfb> chilversc: it is
[18:31] <leftyfb> debconf*
[18:32] <ioria> chilversc, https://termbin.com/vks2
[18:32] <chilversc> I thought debconf was supposed to prompt before installing anything? This prompt is after the packages have been installed
[18:33] <leftyfb> chilversc: the package is being installed and the post-install script is asking to restart services
[18:34] <leftyfb> *post-install script of the package
[19:23] <sahiba> Hi, I have live booted ubuntu on a computer which had windows installed on it -- I want to access the hard disk, and I tried `lsblk`.  This is what I got.
[19:23] <sahiba> https://dpaste.com/3GKCMUNY5
[19:24] <sahiba> Any idea how can I see the hard disk in the list?
[19:25] <enyc> sahiba: hrrm that suggests hard disk not viliable, sda being the bootable stick
[19:26] <enyc> sahiba: check  sudo fdisk -l   and   maybe read through    dmesg | less    or so, see if kernel said anything etc...
[19:26] <leftyfb> I'm going with a bad drive
[19:27] <matsaman> "which had windows installed on it" sounds like they kept the drive
[19:27] <sahiba> enyc https://dpaste.com/D7DXDQW84
[19:28] <leftyfb> sounds like Windows crapped out due to a bad drive and they're trying to recover data from a dead drive using ubuntu
[19:28]  * matsaman shrugs
[19:28] <enyc> sahiba: right yes only seeing the one drive
[19:28] <leftyfb> sahiba: please confirm
[19:28] <matsaman> sahiba: open it up and confirm there is a drive, and it is connected properly
[19:28] <enyc> +1  check on drive conneciton
[19:28] <matsaman> some people will unplug & replug for good measure
[19:28] <leftyfb> I would suggest looking in the BIOS to see if it's detected
[19:28] <enyc> sahiba: rather, its only seengi the  cruzer  switch  usb stick
[19:29] <enyc> +1 leftyfb   yes check in bios setup too
[19:29] <matsaman> the chances the live OS wouldn't detect it if it's there are incredibly low
[19:29] <leftyfb> sahiba: if it's not detected in the BIOS, then no amount of linux commands are going to help you
[19:29] <sahiba> yes the hard disk is connected properly I can open windows on it
[19:29] <leftyfb> sahiba: is it bitlockered?
[19:29] <sahiba> Could it be the file format of the hard disk is not being detected?
[19:29] <leftyfb> sahiba: look in the BIOS, is RAID enabled?
[19:29] <leftyfb> sahiba: no, lsblk doesn't care about that
[19:30] <leftyfb> nor does fdisk -l
[19:30] <leftyfb> actually, bitlockered would still show up as well
[19:30] <matsaman> you could have a super weird/uncommon controller, but that doesn't happen much at all
[19:30] <leftyfb> my guess is fakeraid
[19:31] <notsahiba> Let me check in BIOS once.
[19:36] <notsahiba> https://ibb.co/pRxBPwk -- it is showing up in bios.
[19:36] <leftyfb> notsahiba: look for any RAID settings
[19:38] <notsahiba> leftyfb I am not sure where to look for that -- I don't see an option there.
[19:38] <leftyfb> not System setup options -> System Configuration menu -> SATA Operation
[19:38] <leftyfb> in the BIOS setup
[19:39] <akaridelsur> good morning, could you give me a hand with my server, it is in ubuntu and I have problems with the ssl certificates
[19:39] <leftyfb> akaridelsur: try #ubuntu-server
[19:40] <akaridelsur> ok tanks leftyfb
[19:42] <notsahiba> leftyfb https://ibb.co/kJNyxrf -- says RAID ON.
[19:42] <leftyfb> notsahiba: that's the issue
[19:44] <notsahiba> Which would mean, I can't access the hard disk, right?  Not unless RAID was disabled.
[19:44] <leftyfb> correct
[19:44] <leftyfb> notsahiba: but disabling this fake RAID will more than likely break your Windows installation
[19:56] <matsaman> until you turn it back on
[20:12] <notsahiba> Sigh.  I really wish I could fix it.  :/
[20:12] <notsahiba> Anyways, thank you all.
[20:21] <chilversc> ioria: thanks, looks like it was needrestart, not come across that before and can't see it mentioned in apt-get or dpkg
[20:23] <chilversc> Is needrestart being integrated into dpkg something new? I didn't run into this with 20.04
[20:26] <sarnold> chilversc: needrestart is 'now' part of the default installation seed or something very similar to that, I don't think it involved any dpkg or apt changes, just that the tool is installed by default now
[20:37] <ioria> chilversc, there is also needrestart-session, if you're interested
[20:49] <BSaboia> I am running this command to remove a PPA: `sudo add-apt-repository --remove ppa:/teward/znc`, but I got this error: `Unable to handle repository shortcut 'ppa:/teward/znc`. I also tried `ppa-purge`, but then only the error differs: `E: The repository 'http://ppa.launchpad.net/teward/znc/ubuntu hirsute Release' does not have a Release file.` (it is the same error that I got when I do `sudo apt update`). Any thoughts here?
[20:50] <Toadisattva> just remove it from /etc/apt/sources.list?
[20:51] <BSaboia> Toadisattva, it is not there
[20:51] <leftyfb> BSaboia: look in /etc/apt/sources.list.d/*
[20:51] <BSaboia> leftyfb, ok, so just remove the list?
[20:53] <BSaboia> leftyfb, alright, removing the file from there worked, thans
[20:53] <BSaboia> s/thans/thanks/
[20:55] <chilversc> ioria: thanks, but not in this case as its building a new VM image so at the end the system will be rebooted, finalized and imaged
[20:56] <ioria> i see chilversc
[20:56] <chilversc> sarnold: ah, so is it something that's always been part of apt/dpkg but only if the package was installed?
[20:58] <sarnold> chilversc: sortof, apt and dpkg have 'plugin' facilities, this may help explain how it works: https://termbin.com/bu1q
[21:03] <chilversc> though its odd needrestart didn't honour the DEBIAN_FRONTEND=noninteractive
[21:06] <sarnold> chilversc: that's probably worth a bug report, noninteractive is used *everywhere*
[21:06] <chilversc> I just checked and there's a few issues around it on their github
[21:07] <sarnold> oh nice, be sure to include links to those in your bug report
[21:25] <chilversc> sarnold: I think the documentation is a separate issue to needrestart not honouring the noninteractive frontend. I guess being the apt-get man page that needs reporting to the debian team?
[21:25] <sarnold> chilversc: hmm, why apt-get and why debian?
[21:26] <sarnold> chilversc: afterall, it's ubuntu that decided to install needrestart as a default, and ubuntu folks probably don't yet know that it doesn't work with noninteractive
[21:26] <chilversc> sarnold: ah, I thought you were refering to my earlier issue I had with the apt-get docs, or does "apt-get install -y" set the frontend to noninteractive?
[21:30] <sarnold> chilversc: ahhhh. afaik apt-get install -y doesn't do anything to the frontend setting
[21:31] <chilversc> yeah, hence why I think the apt docs are a little misleading, not knowing much about the underlying plugin system I read the man page as -y making the whole command non-interactive.
[21:33] <sarnold> chilversc: so then yes, it might be helpful to ask the apt docs to include a reference to noninteractive -- it always takes me a metric eternity to google for the exact variable name when I need to use it. hah.
[22:53] <snowhawk> hello
[22:56] <leftyfb> snowhawk: hello. What can we help you with?
[22:56] <snowhawk> well, i am interested in using Linux
[22:56] <snowhawk> i know ubuntu is good
[22:56] <snowhawk> but i am in the market for other OS's as weel
[22:56] <snowhawk> well*
[22:56] <snowhawk> going to test each distro out in a VM
[22:57] <leftyfb> snowhawk: #ubuntu is not the appropriate place to ask about other distributions
[22:57] <snowhawk> ok
[22:57] <snowhawk> how do you like Ubuntu?
[22:57] <snowhawk> do anything cool with it?
[22:57] <snowhawk> i want to tinker around
[22:58] <leftyfb> snowhawk:  this is a support channel. Feel free to discuss ubuntu in #ubuntu-discuss or talk about other topics in #ubuntu-offtopic
[22:58] <snowhawk> oh cool! thanks!