/srv/irclogs.ubuntu.com/2017/04/12/#ubuntu-server.txt

WACOMaltok I know this is a long shot, but anyone in here using zpanel as a backend on ubuntu-derver for http?00:38
WACOMaltI seem to have messed up my vhosts by doing a documentroot overide while trying to set up ssl00:41
=== ashleyd is now known as ashd
WACOMaltHello 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:32
WACOMalthttps://hastebin.com/kodusumoyo.vbs01:33
WACOMaltis the typical output I see when trying to install anything at all01:34
WACOMaltif I do apt-get -f install I get https://hastebin.com/aduvisevab.sql01:35
qman__WACOMalt: you appear to have unofficial sources in your apt, causing a libc version conflict01:58
WACOMaltwhere can I check for these?01:59
WACOMalt@ qman__01:59
qman__WACOMalt: /etc/apt/sources.list and /etc/apt/sources.list.d/*02:00
WACOMaltok I'll post the contents of those in just a moment. thanks for the pointer02:00
qman__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 resolve02:00
WACOMalt: [02:01
qman__you can also get more information about where it's picking up these version with apt-cache policy02:01
WACOMaltok here's sources.list https://hastebin.com/polubinace.coffeescript02:01
qman__e.g. apt-cache policy libc6-bin02:01
WACOMaltlibc-bin reports this: https://hastebin.com/oyakukidag.rb qman__02:03
WACOMaltand here is my sources.list.d folder contents: https://hastebin.com/anifapolip.css02:04
WACOMaltlooking in each of those, all appear to be for trusty02:04
WACOMaltbtsync being the only one that doesnt indicate that in the filename02:04
qman__do   apt-cache policy libc602:06
qman__and for locales02:07
WACOMalthttps://hastebin.com/icotovafig.rb02:09
WACOMaltto my eyes those appear to all be trying to come from official repos02:10
qman__all but that first libc602:10
WACOMaltcan I tell it to just reinstall those packages?02:11
qman__you have a version that doesn't have a source, probably means you no longer have the source it came from02:11
qman__2.240802:11
qman__2.24-802:11
qman__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 system02:11
qman__so anything that depends on it which you've installed could break02:12
WACOMaltis there any way to find out what source that came from, and re-add that source?02:12
qman__the problem is that you never should have had that source to begin with02:14
WACOMaltso, in theory, when that go intsalled, whatever was gonna break should have already been broken, right?02:14
qman__you can check /var/log/dpkg.log and /var/log/apt/history.log, but I don't know how much help those will be02:14
tarpman2.24-8 is a debian version - looks like you must have added a debian unstable repository at some point?02:16
tarpmanrecently, because unstable only has 2.24-9 even today02:17
WACOMaltits possible but I have no idea why :/02:17
tarpmanif you added a repository and then removed it, you must know why you did it02:17
WACOMaltthe only thing I could imagine is if something like znc or btsync required some weird version to compile maybe02:18
WACOMaltbut I honestly have no memory of this02:18
WACOMaltchecking logs02:18
tarpmanmy suggestion is - apt-get install 'libc6=2.19-0ubuntu6.9'02:19
tarpmanto force it to downgrade to exactly the repository version02:19
qman__that may or may not be resolvable and will probably require you to remove packages that depended on it02:19
tarpmanyeah02:19
WACOMaltis there any way to guarantee if I run this I can return to the current working (albeit not ideal) system?02:19
qman__but is really the only way to fix it, if it's possible at all02:19
tarpmanbut it's my only suggestion short of fully reinstalling your system02:20
qman__no02:20
tarpmanyou have backups - right?02:20
tarpmanif not, now would be a good time to make one02:20
qman__there's no undo feature here02:20
qman__so yes, backup and restore is the only way02:20
WACOMalt:E02:21
WACOMaltwelp, at least I'm only risking my own data XD02:22
WACOMalthere goes something02:22
WACOMaltaaand the ssh window appears to have stalled02:22
WACOMalt:E02:22
WACOMaltE: Version '2.19-0ubuntu6.9' for 'libc6' was not found02:23
qman__  2.19-0ubuntu6.1102:24
qman__is the one your apt says it can get02:24
qman__so try that02:24
WACOMalthttps://hastebin.com/katuvazeri.vbs02:25
qman__yep, your system state is a mess02:26
qman__also known as frankendebian02:26
WACOMaltv_v02:27
qman__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 reinstall02:27
qman__but those packages will have other codependencies, and those will have codependencies, and so on for many levels02:28
tarpmanthose should all be from the same source - 2.19-0ubuntu6.11 ought to work for all of them02:28
tarpmanin theory....02:28
WACOMaltso... if I re-add that debian repo I apparently had02:28
WACOMaltcan I re-install those from that, then remove them cleanly?02:29
qman__if you did that, you would still have a mess02:29
tarpmanno, that will only make things worse02:29
WACOMaltok02:29
qman__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
qman__assuming that's the version for them02:31
qman__rinse and repeat until resolved or unresolvable02:31
tarpmanlibc-dev-bin in there too, I think02:31
WACOMaltnote to self. Not unlike deleting system32 on my windows background... do NOT eff with system files of linux02:32
qman__the key mistake here was adding a debian repository to ubuntu02:32
qman__never do this, and never do the reverse02:32
qman__or with mint, or any other distribution other than the one you're using02:33
WACOMaltdangit all the logs are .gz files aside from the current, 0 byte, one02:34
tarpman'less' is usually happy to read the .gz's directly02:34
WACOMaltnope no dice02:36
WACOMaltbunch of jibberish02:37
tarpmanpastebin02:37
WACOMalthttps://hastebin.com/seperevago.pl02:39
qman__if you have zcat, you can use that02:39
qman__zcat /var/log/log.gz | less02:39
WACOMaltqman__: https://hastebin.com/raw/bexefetibi02:43
WACOMaltthere's like 20 of these logs... so I'm not sure which would have the offending stuff02:44
WACOMaltIs there a good place to ask for some direct support (aka pair support w/ direct shell access)02:46
WACOMalt*paid02:46
tarpmanhttps://www.canonical.com/services/contact-us ?02:47
sarnoldto be honest I'm not sure if the ubuntu advantage folks would tackle this one or not02:49
sarnoldThe Answer for "I've installed packages from half-dozen non-ubuntu sources" is probably going to be "here's an install iso"02:50
qman__yeah, when I encounter that situation, I don't fix it, I start over02:50
qman__install a new system, set up software, migrate data02:50
tarpman++02:51
qman__it's easier and guarantees results02:51
WACOMaltwell, that is an acceptable solution I would pay for :P02:51
WACOMaltI dont have the local storage or bandwidth to handle that process02:52
lordievaderGood morning.06:19
Mead<Mead> 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?07:24
TafThorneWACOMalt: view (as in read only vi (which is really vim)) is happy to read compressed text files.11:13
TafThorneI'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.11:15
ronatorOn 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:00
andolronator: If it's an always-on server I would go with regular ntpd.13:01
ronatorandol: yes, they are; thx13:03
lordievaderSeems 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-timesyncd13:09
naccrbasak: fyi i think the snap is working now14:25
rbasak\o/ thanks!14:27
=== vamiry_ is now known as vamiry
naccrbasak: np14:32
naccrbasak: i had another question for you, though re: LP: #132226414:32
ubottuLaunchpad bug 1322264 in munin (Ubuntu) "Munin fails to generate graph, stat should be less than end" [Undecided,Fix released] https://launchpad.net/bugs/132226414:32
nacci agree 100% with your assessment14:32
naccbut for relatively obvious bugfixes from upstream, for relatively complicated software configurations, how are we expecting an SRU to work?14:33
naccor do we just acknowledge we will ship buggy software for 5 years?14:33
nacc(or encourage folks to upgrade instead)14:33
rbasaknacc: I think a best effort to get as close as possible to address the rationale of the SRU policy would be fine.14:34
rbasakBut 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:34
naccrbasak: ack that makes sense14:35
rbasakAnd 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
rbasak*not regressing14:35
naccI just provided an additional comment and hopefully that one user with a detailed report can help14:35
naccyep, agreed14:35
rbasakI have no idea in this case for example whether this bug affects 0.01% or 100% of munin users.14:36
naccit's an error path handler, afaict14:36
naccbut yeah14:36
rbasakIf 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
rbasakSo to not reject, if those things are addressed in the bug, then I think it would be fine to reconsider.14:37
naccyeah14:38
naccI'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
nacc(I'd expect)14:38
rbasakFeel free to copy and paste this discussion :)14:39
naccyep14:39
rbasakand https://wiki.ubuntu.com/StableReleaseUpdates#Why14:39
naccah that's a good reference!14:39
=== chmurifree is now known as chmuri
=== poster is now known as Poster
naccrbasak: oh! i remember i added a hidden flag for the devel pointers15:33
naccrbasak: so for tomcat, you can run `usd import --fixup-devel tomcat7`15:33
naccand it will just correctly merge them up so they at least are correct for now (iirc)15:34
rbasakNice!15:38
naccrbasak: sorry, i had forgotten about that option, it was specifically for cases like this :)15:38
naccsince we don't update -devel for non-updated branches by default15:38
=== drab_ is now known as drab
powersjrbasak: 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
ubottuLaunchpad 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/168173617:08
rbasakpowersj: we do get reports like that. I'm not sure it's a bug though.17:09
rbasakmysql-common ships /usr/share/mysql-common/configure-symlinks17:09
rbasakAnd mysql-server-5.7 depends on a recent enough version of it.17:09
rbasakI suspect outside-of-Ubuntu packages.17:09
powersjahhhh17:10
rbasakmysql-common 10.0.15+maria-1~trusty [origin: unknown]17:10
rbasakThere we are17:10
rbasakFrom Dependencies.txt17:10
powersjah! thank you17:11
powersjrbasak: want to comment on it?17:11
rbasakSure17:11
rbasakDone17:13
powersjrbasak: 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
powersjI ask because I looked at apt-ordering, not dependencies17:13
rbasakpowersj: AptOrdering.txt looks like it's telling you what order apt decided to get dpkg to install packages in.17:14
rbasakDependencies.txt tells you what versions of what were installed at the time of the error I think.17:15
=== nacc is now known as Guest42667
=== nacc_ is now known as nacc
Erixhi19:36
Erixi can not find nor install a2ensite for apache2 on ubuntu server 16.1019:36
naccErix: it's in apache2 package in /usr/sbin19:37
Erixnacc: thanks.19:39
Erixnacc, it is not there19:40
Erixand locate cannot find it19:40
ErixI installed apache2 within nextcloud snap package19:40
naccum19:40
naccsnaps are different :)19:40
naccand more than likely, you'd need to ask the snap owner19:40
Erixok. thanks again19:41
naccbut they are under no obligation to provide a2ensite19:41
naccand the a2ensite they do provide would only be visible in the snap19:41
naccunelss they expose it as a distinct command19:41
Erixso is there another way to activate a virtualhost config file without it?19:41
sarnoldtry something like snapname.a2ensite19:42
naccErix: well, you certainly don't need snaps for virtualhosts19:42
naccErix: but the snap would need to expose it's internal a2ensite, i think19:42
sarnoldiirc snaps force all commands to have that name.name thing, except for the one command named the same as the snap.19:42
naccwhat sarnold said19:42
nacc*if* they expose the command at all19:42
sarnoldright19:42
naccErix: you might ask kyrofa in #snappy19:43
nacci believe kyrofa packages that snap19:43
nacchttps://github.com/nextcloud/nextcloud-snap19:43
Erixthanks.19:44
Erixlots new info for me19:44
naccgiven that bin/apachectl is excluded, i'm not sure if a2ensite is in the snap19:44
naccnot 100%, kyrofa is probably the best reference19:44
=== Guest94484 is now known as db`
DammitJimis there a channel for continuous integration?20:10
DammitJimI want to find out if stuff like that can handle xml file dependencies for apps20:11
nacc!alis | DammitJim20:32
ubottuDammitJim: 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:32
naccDammitJim: do you mean CI in general?20:33
DammitJimlike I want to know if a CI system should be deploying an xml file20:34
tewardhm, I think the default fail2ban regexes don't work proper...20:35
DammitJimlol20:35
naccDammitJim: like ... any CI system? and what do you mean deploy?20:36
DammitJimlike bamboo20:42
tewardi was going to say "Assume we don't know what you're talking about when you say "deploy"" but he left.20:46
tewardand fail2ban is still evil20:46
* teward had to write his own regex to match dovecot and postfix auth fails20:47
naccteward: :) yeah, i dont' know what bamboo is...20:47
=== dzragon^ is now known as dzragon
drabanybody 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
sarnoldewwwwwww22:53
drabisn't it supposed to pick up from where it left rsync style? the repo is already 79GB22:54
drabso definitely something got downloaded...22:54
sarnoldI'd expect the lists to be downloaed again from scratch22:54
sarnoldbut I'd seriously hope everything else would pick up where it left off22:54
drabyeah, sure, I expected the same22:54
drabbut it's redownloading all the pkgs22:54
sarnoldfeels worth a bug report22:54
sarnoldmaybe nothing will happen but it'll feel good to file it all the same ;)22:55
draboh I see, I think it's rechecking every pkg and some must hvae changed in the last few hrs or something... it22:56
drab's already at 12% and that took about 30mins earlier on22:56
drabnwo it took a couple mins22:56
drabfor now it's printing all lines with 200OK, maybe that means it's identifying the pks is the same22:57
drabthere's no explanation about the output in the man22:57
drabbut I think even when it d/l'ed it the first time it said 20022:57

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