[00:38] ok I know this is a long shot, but anyone in here using zpanel as a backend on ubuntu-derver for http? [00:41] I seem to have messed up my vhosts by doing a documentroot overide while trying to set up ssl === ashleyd is now known as ashd [01:32] Hello everyone. Can anyone help me track down a long existing issue on my ubuntu server 14.04 machine regarding apt-get ? basically anytime I get it I get errors about unresolved locales package conflicts. [01:33] https://hastebin.com/kodusumoyo.vbs [01:34] is the typical output I see when trying to install anything at all [01:35] if I do apt-get -f install I get https://hastebin.com/aduvisevab.sql [01:58] WACOMalt: you appear to have unofficial sources in your apt, causing a libc version conflict [01:59] where can I check for these? [01:59] @ qman__ [02:00] WACOMalt: /etc/apt/sources.list and /etc/apt/sources.list.d/* [02:00] ok I'll post the contents of those in just a moment. thanks for the pointer [02:00] if you have installed software or upgraded while having these sources added, it's likely your system is in a very broken state that's going to be difficult or impossible to resolve [02:01] : [ [02:01] you can also get more information about where it's picking up these version with apt-cache policy [02:01] ok here's sources.list https://hastebin.com/polubinace.coffeescript [02:01] e.g. apt-cache policy libc6-bin [02:03] libc-bin reports this: https://hastebin.com/oyakukidag.rb qman__ [02:04] and here is my sources.list.d folder contents: https://hastebin.com/anifapolip.css [02:04] looking in each of those, all appear to be for trusty [02:04] btsync being the only one that doesnt indicate that in the filename [02:06] do apt-cache policy libc6 [02:07] and for locales [02:09] https://hastebin.com/icotovafig.rb [02:10] to my eyes those appear to all be trying to come from official repos [02:10] all but that first libc6 [02:11] can I tell it to just reinstall those packages? [02:11] you have a version that doesn't have a source, probably means you no longer have the source it came from [02:11] 2.2408 [02:11] 2.24-8 [02:11] which is a pretty serious problem, you can try to force install the repo verison of libc6 but it's one of the most core packages in the system [02:12] so anything that depends on it which you've installed could break [02:12] is there any way to find out what source that came from, and re-add that source? [02:14] the problem is that you never should have had that source to begin with [02:14] so, in theory, when that go intsalled, whatever was gonna break should have already been broken, right? [02:14] you can check /var/log/dpkg.log and /var/log/apt/history.log, but I don't know how much help those will be [02:16] 2.24-8 is a debian version - looks like you must have added a debian unstable repository at some point? [02:17] recently, because unstable only has 2.24-9 even today [02:17] its possible but I have no idea why :/ [02:17] if you added a repository and then removed it, you must know why you did it [02:18] the only thing I could imagine is if something like znc or btsync required some weird version to compile maybe [02:18] but I honestly have no memory of this [02:18] checking logs [02:19] my suggestion is - apt-get install 'libc6=2.19-0ubuntu6.9' [02:19] to force it to downgrade to exactly the repository version [02:19] that may or may not be resolvable and will probably require you to remove packages that depended on it [02:19] yeah [02:19] is there any way to guarantee if I run this I can return to the current working (albeit not ideal) system? [02:19] but is really the only way to fix it, if it's possible at all [02:20] but it's my only suggestion short of fully reinstalling your system [02:20] no [02:20] you have backups - right? [02:20] if not, now would be a good time to make one [02:20] there's no undo feature here [02:20] so yes, backup and restore is the only way [02:21] :E [02:22] welp, at least I'm only risking my own data XD [02:22] here goes something [02:22] aaand the ssh window appears to have stalled [02:22] :E [02:23] E: Version '2.19-0ubuntu6.9' for 'libc6' was not found [02:24] 2.19-0ubuntu6.11 [02:24] is the one your apt says it can get [02:24] so try that [02:25] https://hastebin.com/katuvazeri.vbs [02:26] yep, your system state is a mess [02:26] also known as frankendebian [02:27] v_v [02:27] so, you can try to find which versions of those packages it's complaining about should be installed (if any) via apt-cache policy and installing/removing as necessary in the same line, or give up and reinstall [02:28] but those packages will have other codependencies, and those will have codependencies, and so on for many levels [02:28] those should all be from the same source - 2.19-0ubuntu6.11 ought to work for all of them [02:28] in theory.... [02:28] so... if I re-add that debian repo I apparently had [02:29] can I re-install those from that, then remove them cleanly? [02:29] if you did that, you would still have a mess [02:29] no, that will only make things worse [02:29] ok [02:31] your next attempt from here would be doing apt-cache policy from each of those packages it complains for, finding which versions they are, and then doing: apt-get install 'libc6=2.19-0ubuntu6.11' 'libc6-dev=2.19-0ubuntu6.11' 'libc6-i386=2.19-0ubuntu6.11' 'libc6-dbg=2.19-0ubuntu6.11' [02:31] assuming that's the version for them [02:31] rinse and repeat until resolved or unresolvable [02:31] libc-dev-bin in there too, I think [02:32] note to self. Not unlike deleting system32 on my windows background... do NOT eff with system files of linux [02:32] the key mistake here was adding a debian repository to ubuntu [02:32] never do this, and never do the reverse [02:33] or with mint, or any other distribution other than the one you're using [02:34] dangit all the logs are .gz files aside from the current, 0 byte, one [02:34] 'less' is usually happy to read the .gz's directly [02:36] nope no dice [02:37] bunch of jibberish [02:37] pastebin [02:39] https://hastebin.com/seperevago.pl [02:39] if you have zcat, you can use that [02:39] zcat /var/log/log.gz | less [02:43] qman__: https://hastebin.com/raw/bexefetibi [02:44] there's like 20 of these logs... so I'm not sure which would have the offending stuff [02:46] Is there a good place to ask for some direct support (aka pair support w/ direct shell access) [02:46] *paid [02:47] https://www.canonical.com/services/contact-us ? [02:49] to be honest I'm not sure if the ubuntu advantage folks would tackle this one or not [02:50] The Answer for "I've installed packages from half-dozen non-ubuntu sources" is probably going to be "here's an install iso" [02:50] yeah, when I encounter that situation, I don't fix it, I start over [02:50] install a new system, set up software, migrate data [02:51] ++ [02:51] it's easier and guarantees results [02:51] well, that is an acceptable solution I would pay for :P [02:52] I dont have the local storage or bandwidth to handle that process [06:19] Good morning. [07:24] my bios only gives me two options for primary graphics adapter pci express and pci, while it will use a card in my x4 slot if one isn't present in the x16, It seems to default to use the x16 slot if there are cards present in both slots. Is there any way I can force ubuntu server to use the card in the x4 as primary? [11:13] WACOMalt: view (as in read only vi (which is really vim)) is happy to read compressed text files. [11:15] I'd also have suggested you see what `aptitude` suggests as ways to unstick things. Ripping out a couple of packaged once your sources are sorted can sometimes get things back to a stable (enhough) state. [13:00] On Ubuntu 16, should I use ntpd or systemd-timesyncd? Can the latter also smoothly add drift to system time or would it act like ntpdate setting the time promptly. [13:01] ronator: If it's an always-on server I would go with regular ntpd. [13:03] andol: yes, they are; thx [13:09] Seems like they do quite the same things. Though timesync is hooked into networkd, not sure if that is a dependency. https://wiki.archlinux.org/index.php/systemd-timesyncd [14:25] rbasak: fyi i think the snap is working now [14:27] \o/ thanks! === vamiry_ is now known as vamiry [14:32] rbasak: np [14:32] rbasak: i had another question for you, though re: LP: #1322264 [14:32] Launchpad bug 1322264 in munin (Ubuntu) "Munin fails to generate graph, stat should be less than end" [Undecided,Fix released] https://launchpad.net/bugs/1322264 [14:32] i agree 100% with your assessment [14:33] but for relatively obvious bugfixes from upstream, for relatively complicated software configurations, how are we expecting an SRU to work? [14:33] or do we just acknowledge we will ship buggy software for 5 years? [14:33] (or encourage folks to upgrade instead) [14:34] nacc: I think a best effort to get as close as possible to address the rationale of the SRU policy would be fine. [14:34] But a lack of answer suggests to me that nobody is going to bother to help if there does turn out to be a regression. [14:35] rbasak: ack that makes sense [14:35] And I think one problem of the current SRU policy is that the SRU driver is incentivized to focus just on the bug being fixed, rather than the bigger picture of not regression others' use cases. [14:35] *not regressing [14:35] I just provided an additional comment and hopefully that one user with a detailed report can help [14:35] yep, agreed [14:36] I have no idea in this case for example whether this bug affects 0.01% or 100% of munin users. [14:36] it's an error path handler, afaict [14:36] but yeah [14:37] If 0.01%, then my "nobody is going to bother to help if there does turn out to be a regression" concern (due to lack of response) justifies a reject, IMHO. [14:37] So to not reject, if those things are addressed in the bug, then I think it would be fine to reconsider. [14:38] yeah [14:38] I'm just trying to think of how to explain that rationally to a drive-by contributor, whose response will be "it's been fixed upstream for 3 years" [14:38] (I'd expect) [14:39] Feel free to copy and paste this discussion :) [14:39] yep [14:39] and https://wiki.ubuntu.com/StableReleaseUpdates#Why [14:39] ah that's a good reference! === chmurifree is now known as chmuri === poster is now known as Poster [15:33] rbasak: oh! i remember i added a hidden flag for the devel pointers [15:33] rbasak: so for tomcat, you can run `usd import --fixup-devel tomcat7` [15:34] and it will just correctly merge them up so they at least are correct for now (iirc) [15:38] Nice! [15:38] rbasak: sorry, i had forgotten about that option, it was specifically for cases like this :) [15:38] since we don't update -devel for non-updated branches by default === drab_ is now known as drab [17:08] rbasak: Looking at LP: #1681736, appears to be a few older bugs with similar issues around mysql-common not installed and failing to create symlinks. Any thoughts? [17:08] Launchpad bug 1681736 in mysql-5.7 (Ubuntu) "package mysql-server-5.7 5.7.17-0ubuntu0.16.04.2 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1" [Undecided,Incomplete] https://launchpad.net/bugs/1681736 [17:09] powersj: we do get reports like that. I'm not sure it's a bug though. [17:09] mysql-common ships /usr/share/mysql-common/configure-symlinks [17:09] And mysql-server-5.7 depends on a recent enough version of it. [17:09] I suspect outside-of-Ubuntu packages. [17:10] ahhhh [17:10] mysql-common 10.0.15+maria-1~trusty [origin: unknown] [17:10] There we are [17:10] From Dependencies.txt [17:11] ah! thank you [17:11] rbasak: want to comment on it? [17:11] Sure [17:13] Done [17:13] rbasak: is apt-ordering listing the status of the apt command in terms of what it will install during the current operation, with status? and dependencies listing everything that is required to complete the install, including what may already be installed? [17:13] I ask because I looked at apt-ordering, not dependencies [17:14] powersj: AptOrdering.txt looks like it's telling you what order apt decided to get dpkg to install packages in. [17:15] Dependencies.txt tells you what versions of what were installed at the time of the error I think. === nacc is now known as Guest42667 === nacc_ is now known as nacc [19:36] hi [19:36] i can not find nor install a2ensite for apache2 on ubuntu server 16.10 [19:37] Erix: it's in apache2 package in /usr/sbin [19:39] nacc: thanks. [19:40] nacc, it is not there [19:40] and locate cannot find it [19:40] I installed apache2 within nextcloud snap package [19:40] um [19:40] snaps are different :) [19:40] and more than likely, you'd need to ask the snap owner [19:41] ok. thanks again [19:41] but they are under no obligation to provide a2ensite [19:41] and the a2ensite they do provide would only be visible in the snap [19:41] unelss they expose it as a distinct command [19:41] so is there another way to activate a virtualhost config file without it? [19:42] try something like snapname.a2ensite [19:42] Erix: well, you certainly don't need snaps for virtualhosts [19:42] Erix: but the snap would need to expose it's internal a2ensite, i think [19:42] iirc snaps force all commands to have that name.name thing, except for the one command named the same as the snap. [19:42] what sarnold said [19:42] *if* they expose the command at all [19:42] right [19:43] Erix: you might ask kyrofa in #snappy [19:43] i believe kyrofa packages that snap [19:43] https://github.com/nextcloud/nextcloud-snap [19:44] thanks. [19:44] lots new info for me [19:44] given that bin/apachectl is excluded, i'm not sure if a2ensite is in the snap [19:44] not 100%, kyrofa is probably the best reference === Guest94484 is now known as db` [20:10] is there a channel for continuous integration? [20:11] I want to find out if stuff like that can handle xml file dependencies for apps [20:32] !alis | DammitJim [20:32] DammitJim: Alis is an IRC service to help you find channels. For help on using it, see "/msg Alis help list" or ask in #freenode. Example usage: "/msg Alis list http" [20:33] DammitJim: do you mean CI in general? [20:34] like I want to know if a CI system should be deploying an xml file [20:35] hm, I think the default fail2ban regexes don't work proper... [20:35] lol [20:36] DammitJim: like ... any CI system? and what do you mean deploy? [20:42] like bamboo [20:46] i was going to say "Assume we don't know what you're talking about when you say "deploy"" but he left. [20:46] and fail2ban is still evil [20:47] * teward had to write his own regex to match dovecot and postfix auth fails [20:47] teward: :) yeah, i dont' know what bamboo is... === dzragon^ is now known as dzragon [22:53] anybody around using debmirror? I just set it up, process was interrupted 80% of the way, I just restarted it and it's redownloading everything... [22:53] ewwwwwww [22:54] isn't it supposed to pick up from where it left rsync style? the repo is already 79GB [22:54] so definitely something got downloaded... [22:54] I'd expect the lists to be downloaed again from scratch [22:54] but I'd seriously hope everything else would pick up where it left off [22:54] yeah, sure, I expected the same [22:54] but it's redownloading all the pkgs [22:54] feels worth a bug report [22:55] maybe nothing will happen but it'll feel good to file it all the same ;) [22:56] oh I see, I think it's rechecking every pkg and some must hvae changed in the last few hrs or something... it [22:56] 's already at 12% and that took about 30mins earlier on [22:56] nwo it took a couple mins [22:57] for now it's printing all lines with 200OK, maybe that means it's identifying the pks is the same [22:57] there's no explanation about the output in the man [22:57] but I think even when it d/l'ed it the first time it said 200