/srv/irclogs.ubuntu.com/2018/02/27/#ubuntu-discuss.txt

lotuspsychjegood morning to all05:08
lotuspsychjemorning EriC^^05:20
EriC^^morning lotuspsychje05:21
lotuspsychjehad a nice weekend EriC^^ ?05:21
EriC^^yeah05:21
lotuspsychjewe too, but cold :p05:21
EriC^^:D05:22
lordievaderGood morning07:05
ducassegood morning07:10
lordievaderHey ducasse07:13
lordievaderHow are you doing?07:13
lotuspsychje_hey ducasse lordievader07:15
=== lotuspsychje_ is now known as lotuspsychje
ducassehi lotuspsychje, lordievader. fine here, thanks, how are you guys?07:16
lordievaderHey lotuspsychje_07:16
lordievaderHow are you doing?07:16
lordievaderDoing good here07:16
lotuspsychjegreat here tnx07:16
lotuspsychjeupdating bionic07:19
lotuspsychjehttps://www.deviantart.com/art/Obscured-73241689607:24
jink:)08:09
lotuspsychjemorning jink08:11
jink'sup? :)08:13
lotuspsychjealmost goto work : (08:14
jinkAwwwwwwwwwwwww08:16
jink-6 with you as well?08:16
lotuspsychjeyeah its freezing all week08:17
jinkSame here.08:17
jinkFrozen floofs in the backyard. :P08:17
lotuspsychje-14 in deeper belgium08:17
jinkDafuq. O__o08:17
ducasse-17 expected here tomorrow and thursday08:26
lotuspsychjeyikes08:28
lotuspsychjeok prepare for work here guys08:30
lotuspsychjecu tonight08:30
lotuspsychjehave a nice (cold) day :p08:30
BluesKajHi folks14:23
jinkHey Kaj.14:30
BluesKajHi jink14:34
lotuspsychjegood evening to all17:22
OerHeks 20:58
pauljwhi everyone21:06
daftykinsgood evening \o21:06
pauljw:)21:06
tomreynhey TJ, do you still remember the set of commands you suggested to me ad an alternative to my apt-show-versions wrapper?21:21
tomreynlooks like i forgot to make a note. but it was much better than my approach.21:22
tomreyni.e. the better alternative to https://github.com/tomreyn/scripts/blob/master/foreign_packages you came up with21:22
tomreynhmm actually ubuntu-support-status --list-unsupported now does something quite similar. and maybe better.21:24
TJ-tomreyn: let me look21:27
TJ-tomreyn: would it be this? https://paste.ubuntu.com/p/8Ct9dQ6Xzp/21:35
tomreynTJ-: thanks! this doesn't seem to ever quit here (16.04), though21:41
TJ-tomreyn: I'll test it here21:42
TJ-on an installed system there will be a lot to go through; I'm testing in a container21:44
TJ-tomreyn: not surprised it takes a while "apt-cache pkgnames | wc -l" generates over 60K lines21:47
TJ-tomreyn: the point was to detect orphaned packages wasn't it? (I assume since the irc log command ends with  "grep -v http"21:48
tomreynTJ-: yes, orphaned packages, but also packages whose version # mismatches the one available from the current apt sources (i.e. is higher)21:49
TJ-tomreyn: Ahh, well the IRC command is only going to find orphaned, but it is searching the entire archive list :D21:50
TJ-maybe you need an additional filter to only 'madison' the installed packages21:50
tomreynlooks like21:52
tomreynthanks for digging this up in your logs :)21:53
TJ-tomreyn: this is more like it to only list the installed packges "apt-cache madison $( cut -d / -f 1 <(apt list --installed 2>/dev/null) | sort -b )"22:03
TJ-I like how madison's output is the pachage followed by any dependencies... not sure if that causes duplicates though; if so, will need another sort possibly with the -u option, or fed through uniq22:05
tomreynTJ-: hmm this lists many packages i dont have installed (indented)22:20
tomreynmaybe those are virtual22:21
TJ-tomreyn: oh, I wonder if madison is listing recommends and suggests ? can you pick some and check (will help that the depends/recommends/suggests appear to follow the installed package22:24
tomreyn# dpkg -l boost1.5822:26
tomreyndpkg-query: no packages found matching boost1.5822:26
tomreyn!info boost1.58 xenial22:27
ubot5`libboost1.58-all-dev (source: boost1.58): Boost C++ Libraries development files (ALL). In component universe, is optional. Version 1.58.0+dfsg-5ubuntu3.1 (xenial), package size 4 kB, installed size 36 kB22:27
tomreynso i guess that's virtual22:28
tomreynso i guess madison lists reverse depends for virtual packages or something22:29
daftykinshmm bot used to say it was meta i thought22:29
tomreyni asked the bot about "boost1.58", it responded with "libboost1.58-all-dev"22:29
TJ-I wonder if we can filter those out too22:30
Bashing-omtomreyn: Hummm ... " sysop@x1604:~$ apt list boost1.58 >> Listing... Done" . Not in the repo .22:30
tomreynhttps://paste.ubuntu.com/p/gj4zhcBGPf/22:31
tomreynfor filtering out: apt-cache madison $( cut -d / -f 1 <(apt list --installed 2>/dev/null) | sort -b ) | grep '^[^ ]' | sort | uniq22:33
tomreynthe 'sort' may be superfluous22:33
TJ-tomreyn: it looks like the virtual packages are indented by 1 space22:33
TJ-tomreyn: try "apt-cache madison libboost1.58-all-dev"22:33
tomreyni think so, too22:34
TJ-tomreyn: ahhh no, it's source packages22:35
tomreynwhich is why ... grep '^[^ ]'22:35
tomreynoh right, that makes more sense22:35
TJ-hmmm, could be both... /but/ ... end of the lines we have where it came from "Sources" or "Packages" so that can be used to filter out sources22:36
TJ-oh, the indentation is to try to align columns, and it's right-justifying the package name so inserts the blanks to push the | over22:39
TJ-tomreyn: here's a nicer one  apt-cache madison $( cut -d / -f 1 <(apt list --installed 2>/dev/null) | sort -b ) | sed -r '/Sources$/ d; /Packages$/ s/^[[:space:]]*(.*)$/\1/'22:52
tomreynso to get back to the original question, this would supposedly list only those orphaned packages?  apt-cache madison $( cut -d / -f 1 <(apt list --installed 2>/dev/null) | sort -b ) | sed -r '/Sources$/ d; /Packages$/ s/^[[:space:]]*(.*)$/\1/' | grep -v http22:55
tomreynbut it doesn't for me, it returns an empty set.22:56
tomreynwhereas foreign_packages lists several packages as it should be22:57
tomreyne.g. brscan4:amd64 0.4.4-3 installed: No available version in archive22:57
TJ-well, the grep -v http is supposed to discard all entries without a known download URL... does madison show a URL for those foreign packages?22:57
tomreyn$ apt-cache madison brscan422:58
tomreyn$22:58
tomreynno output at all22:59
TJ-ahhh, because it isn't found at all. that's weird22:59
TJ-best to stick with what you've got then, and require install of apt-show-versions23:00
tomreynor use ubuntu-support-status --show-unsupported23:02
tomreynthanks for your time!23:02
TJ-that last has a major bug I think!23:04
tomreynwhich?23:04
TJ-u-s-s23:04
tomreyni mean what is the bug23:05
tomreynthis? https://bugs.launchpad.net/ubuntu/+source/update-manager/+bug/157467023:06
ubot5`Ubuntu bug 1574670 in update-manager (Ubuntu Artful) "ubuntu-support-status returns inaccurate information" [High,Fix released]23:06
tomreyn(fixed)23:07
naccTJ-: yeah it finally got fixed23:08
naccnot sure if it's been backported everywhere or not23:08
tomreynit was, check the nominated releases23:09
tomreynso it's not usable by people who don't have the latest updates installed, but once they have, they can use it ;-)23:09
nacctomreyn: ah cool ( i just ahdn't chekced)23:10
tomreynactuall yi lied, it's not in 12.04 ESM23:10
nacctomreyn: heh23:10
tomreynbut all other supported releases got a backport23:11
tomreyn:)23:11
TJ-I don't see it23:12
TJ-which version are you referring to in 16.04? update-manager (1:16.04.12) xenial-security; urgency=medium23:13
naccit was fixed in .11 per the bug23:15
TJ-it failed her just now23:16
naccTJ-: i would comment in the bug, as i expect it's assumed to be working :)23:16
tomreynwait, did the patch not get distributed?23:17
tomreyni patched it locally here with the patches posted on the bug tracker and those seem to work correctly23:17
tomreynbut i didn't check whether the version distributed is patched23:18
TJ-excuse all the powerline terminal codes but http://paste.ubuntu.com/p/rKfTfx9s2D/23:19
TJ-the changelog quotes that bug report  (LP: #157467023:20
ubot5`Launchpad bug 1574670 in update-manager (Ubuntu Artful) "ubuntu-support-status returns inaccurate information" [High,Fix released] https://launchpad.net/bugs/157467023:20
tomreyncan you say what seems to be wrong about the output? i'm not getting it23:22
tomreynlike, those "no longer downloadable" packages are porbably no longer downloadable, and the "unsupported" packages may well be unsupported?23:23
TJ-it reports as "not downloadable" for e2fslibs (whereas apt-cache policy e2fslibs shows its there) and not supported for apt-file amongst many others23:23
TJ-e2fslibs is in main; apt-file is in universe23:24
tomreynyour e2fslibs version is a mnewer version than what is available on the apt archives you have configured23:24
naccTJ-: your e2fslibs fversion is not hte ubuntu one23:24
nacc:)23:24
TJ-wow, yes, well spotted! where the heck did that come from I wonder... tomreyn get your script working!!23:25
tomreynso that's actually a 'foreign package' in my definition of that term23:25
naccheh23:26
nacci'm wondering about unsupported23:26
TJ-nacc: how about apt-file though, is 'unsupported' because it's in universe23:26
tomreynyes23:26
TJ-that's a pretty poor definition if so23:26
naccit should be community not unsupported23:26
nacci wonder if it's due to stale distro-info-data23:27
naccor buggy23:27
tomreynwell there is no guarantee for support, it's the security team's perspective on things23:27
naccTJ-: i'll try and dig into later, need to run errands23:27
TJ-dnsmasq in that list too, definitely looks very wrong23:27
nacc'unsupported' is emitted when it can't find a component23:27
naccso that's a bug23:27
naccTJ-: put a comment in the bug and i'll make sure the right folks see it23:28
tomreyni only have dnsmasq-base installed, not dnsmasq23:28
TJ-nacc: I'll generate a clean log file first and attach it23:29
TJ-I think -base is for the NM dependency isn't it?23:29
tomreyndnsmasq-base -> main whereas dnsmaq -> universe23:29
tomreyni think so, yes23:30
tomreyn'apt-cache rdepends dnsmasq-base' lists network-manager amongst many other23:30
TJ-yes, it's a split-component, service in dnsmasq, executable in -base (for NM)23:31
tomreynhttps://wiki.ubuntu.com/SecurityTeam/FAQ#Official%20Support discusses the policies on components23:32
TJ-Choice of words is very poor - we've got multiple extremely different meanings for "supported" - Canonical paid support, actively upgraded packages (main), possibly upgraded (universe) and IRC/Askubuntu/forums (basically everything in the archive!)23:32
tomreynyes, i agree a better wording + distincion would be an improvement there23:33
tomreynbut generally i'm very happy that it works at all again.23:34
tomreynthere should probably separate outputs for "comunity supported" vs "unsupported / support policy could not be determined"23:35
TJ-I think the supported word is a bad choice... 'support' implies help is available. "maintained" would be a better choice for upgrade/patch policy "canonical mantained" "community maintained"23:36
TJ-ahhh, my e2fsprogs was a self-build to include some advanced features Ubuntu lacks23:37
tomreynright, worth a feature request i guess23:37
TJ-I added shingled drive support to the ext4 driver and needed the support in e2fsprogs23:39

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!