<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Debian on Rowanto Luo</title><link>https://log.rowanto.com/categories/debian/</link><description>Recent content in Debian on Rowanto Luo</description><generator>Hugo -- gohugo.io</generator><language>en</language><lastBuildDate>Tue, 01 Sep 2015 21:19:41 +0000</lastBuildDate><atom:link href="https://log.rowanto.com/categories/debian/index.xml" rel="self" type="application/rss+xml"/><item><title>Broken Docker in Debian Jessie</title><link>https://log.rowanto.com/posts/broken-docker-in-debian-jessie/</link><pubDate>Tue, 01 Sep 2015 21:19:41 +0000</pubDate><guid>https://log.rowanto.com/posts/broken-docker-in-debian-jessie/</guid><description>
&lt;p&gt;So after a few dist-upgrades, docker is not running anymore in my debian Jessie. A quick run of sudo service docker status shows me:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;● docker.service - Docker Application Container Engine
Loaded: loaded (/lib/systemd/system/docker.service; disabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Wed 2015-09-02 00:03:18 CEST; 8min ago
Docs: https://docs.docker.com
Process: 22770 ExecStart=/usr/bin/docker -d -H fd:// $DOCKER_OPTS (code=exited, status=1/FAILURE)
Main PID: 22770 (code=exited, status=1/FAILURE)
Sep 02 00:03:18 rowanto-mdeb systemd[1]: Started Docker Application Container Engine.
Sep 02 00:03:18 rowanto-mdeb docker[22770]: time=&amp;quot;2015-09-02T00:03:18.434820725+02:00&amp;quot; level=error msg=&amp;quot;[graphdriver] prior storage driver \&amp;quot;aufs\&amp;quot; failed: driver not supported&amp;quot;
Sep 02 00:03:18 rowanto-mdeb docker[22770]: time=&amp;quot;2015-09-02T00:03:18.434912173+02:00&amp;quot; level=fatal msg=&amp;quot;Error starting daemon: error initializing graphdriver: driver not supported&amp;quot;
Sep 02 00:03:18 rowanto-mdeb systemd[1]: docker.service: Main process exited, code=exited, status=1/FAILURE
Sep 02 00:03:18 rowanto-mdeb systemd[1]: docker.service: Unit entered failed state.
Sep 02 00:03:18 rowanto-mdeb systemd[1]: docker.service: Failed with result 'exit-code'.
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Ops, problem with aufs. A quick fix would be to delete it. You might lose some data, so please do it with care.&lt;/p&gt;</description></item><item><title>KDE is fully broken in Debian Jessie/Testing</title><link>https://log.rowanto.com/posts/kde-is-fully-broken-in-debian-jessietesting/</link><pubDate>Fri, 31 Jul 2015 20:05:09 +0000</pubDate><guid>https://log.rowanto.com/posts/kde-is-fully-broken-in-debian-jessietesting/</guid><description>
&lt;p&gt;I use Debian Jessie, and I am the type who do this command frequently:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;sudo apt-get update &amp;amp;&amp;amp; sudo apt-get dist-upgrade
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Now I am suffering from the consequences. The desktop is completely broken. I googled around, and there was nothing. So I thought something in my laptop is broken at first.&lt;/p&gt;
&lt;p&gt;Well, if you are a long enough linux user, this kind of stuff is kind of normal. It always happens once in a blue moon. It happened once when I was upgrading Fedora. It happened once when Debian removed ati driver. This stuff is normal, it&amp;rsquo;s also Debian Testing anyway. One just need to keep calm and fix the problem.&lt;/p&gt;</description></item><item><title>AWS Eb CLI (v3): How to fix ssl_wrap_socket error in Debian Jessie</title><link>https://log.rowanto.com/posts/aws-eb-cli-v3-how-to-fix-ssl_wrap_socket-error-in-debian-jessie/</link><pubDate>Mon, 26 Jan 2015 20:11:28 +0000</pubDate><guid>https://log.rowanto.com/posts/aws-eb-cli-v3-how-to-fix-ssl_wrap_socket-error-in-debian-jessie/</guid><description>
&lt;p&gt;This is the first time I&amp;rsquo;m deploying stuff to elasticbeanstalk, and when I&amp;rsquo;m trying to deploy my private project, I realized the eb cli I download is the version 2 and has different syntax. I installed the version 3, and it seems like it can only be installed using python package manager pip. After installing it, this is what I get:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;rowanto@Rowanto-Deb ~ $ eb
Traceback (most recent call last):
File &amp;quot;/usr/local/bin/eb&amp;quot;, line 9, in &amp;lt;module&amp;gt;
load_entry_point('awsebcli==3.0.10', 'console_scripts', 'eb')()
File &amp;quot;/usr/local/lib/python2.7/dist-packages/pkg_resources/__init__.py&amp;quot;, line 519, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File &amp;quot;/usr/local/lib/python2.7/dist-packages/pkg_resources/__init__.py&amp;quot;, line 2630, in load_entry_point
return ep.load()
File &amp;quot;/usr/local/lib/python2.7/dist-packages/pkg_resources/__init__.py&amp;quot;, line 2310, in load
return self.resolve()
File &amp;quot;/usr/local/lib/python2.7/dist-packages/pkg_resources/__init__.py&amp;quot;, line 2316, in resolve
module = __import__(self.module_name, fromlist=['__name__'], level=0)
File &amp;quot;/usr/local/lib/python2.7/dist-packages/ebcli/core/ebcore.py&amp;quot;, line 23, in &amp;lt;module&amp;gt;
from ..controllers.initialize import InitController
File &amp;quot;/usr/local/lib/python2.7/dist-packages/ebcli/controllers/initialize.py&amp;quot;, line 16, in &amp;lt;module&amp;gt;
from ..core.abstractcontroller import AbstractBaseController
File &amp;quot;/usr/local/lib/python2.7/dist-packages/ebcli/core/abstractcontroller.py&amp;quot;, line 21, in &amp;lt;module&amp;gt;
from ..core import io, fileoperations, operations
File &amp;quot;/usr/local/lib/python2.7/dist-packages/ebcli/core/operations.py&amp;quot;, line 25, in &amp;lt;module&amp;gt;
from ..lib import elasticbeanstalk, s3, iam, aws, ec2, elb
File &amp;quot;/usr/local/lib/python2.7/dist-packages/ebcli/lib/elasticbeanstalk.py&amp;quot;, line 25, in &amp;lt;module&amp;gt;
from ..lib import aws
File &amp;quot;/usr/local/lib/python2.7/dist-packages/ebcli/lib/aws.py&amp;quot;, line 17, in &amp;lt;module&amp;gt;
import botocore_eb.session
File &amp;quot;/usr/local/lib/python2.7/dist-packages/botocore_eb/session.py&amp;quot;, line 27, in &amp;lt;module&amp;gt;
import botocore_eb.credentials
File &amp;quot;/usr/local/lib/python2.7/dist-packages/botocore_eb/credentials.py&amp;quot;, line 27, in &amp;lt;module&amp;gt;
from botocore_eb.utils import InstanceMetadataFetcher, parse_key_val_file
File &amp;quot;/usr/local/lib/python2.7/dist-packages/botocore_eb/utils.py&amp;quot;, line 22, in &amp;lt;module&amp;gt;
from botocore_eb.vendored import requests
File &amp;quot;/usr/local/lib/python2.7/dist-packages/botocore_eb/vendored/requests/__init__.py&amp;quot;, line 53, in &amp;lt;module&amp;gt;
from .packages.urllib3.contrib import pyopenssl
File &amp;quot;/usr/local/lib/python2.7/dist-packages/botocore_eb/vendored/requests/packages/urllib3/contrib/pyopenssl.py&amp;quot;, line 55, in &amp;lt;module&amp;gt;
orig_connectionpool_ssl_wrap_socket = connectionpool.ssl_wrap_socket
AttributeError: 'module' object has no attribute 'ssl_wrap_socket'
rowanto@Rowanto-Deb ~ $
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;And I&amp;rsquo;m like, what? Googling around the last line returns you many result, but not those relevant with the eb cli v3. There&amp;rsquo;s also a post which suggest that we use the bundle version (it&amp;rsquo;s a zip file) of aws cli, but I can&amp;rsquo;t find a bundle version of eb cli. Long story short, I found &lt;a href="https://github.com/boto/botocore/issues/266"&gt;this post&lt;/a&gt; which helped me to fix the problem. Thanks to @guss77!&lt;/p&gt;</description></item><item><title>How to fix libgdbm3 update problem in Debian</title><link>https://log.rowanto.com/posts/how-to-fix-libgdbm3-update-problem-in-debian/</link><pubDate>Thu, 13 Nov 2014 19:22:33 +0000</pubDate><guid>https://log.rowanto.com/posts/how-to-fix-libgdbm3-update-problem-in-debian/</guid><description>
&lt;p&gt;In case you recently tried to update your debian system, and got an error related to libgdbm3 like this:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;Preparing to unpack .../libgdbm3_1.8.3-13+b1_i386.deb ...
Unpacking libgdbm3:i386 (1.8.3-13+b1) over (1.8.3-13) ...
dpkg: error processing archive /var/cache/apt/archives/libgdbm3_1.8.3-13+b1_i386.deb (--unpack):
trying to overwrite shared '/usr/share/doc/libgdbm3/changelog.Debian.gz', which is different from other instances of package libgdbm3:i386
Errors were encountered while processing:
/var/cache/apt/archives/libgdbm3_1.8.3-13+b1_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;You can fix this easily by deleting the libdgbm3 changelog file.&lt;/p&gt;</description></item><item><title>CVE-2014-6271: what is it and how to check if you're vulnerable and fix it</title><link>https://log.rowanto.com/posts/cve-2014-6271-what-is-it-and-how-to-check-if-youre-vulnerable-and-fix-it/</link><pubDate>Thu, 25 Sep 2014 09:00:00 +0000</pubDate><guid>https://log.rowanto.com/posts/cve-2014-6271-what-is-it-and-how-to-check-if-youre-vulnerable-and-fix-it/</guid><description>
&lt;p&gt;What is actually CVE-2014-6271?&lt;/p&gt;
&lt;p&gt;Actually redhat did a very good job describing it: &lt;a href="https://access.redhat.com/articles/1200223"&gt;https://access.redhat.com/articles/1200223&lt;/a&gt;
From what I&amp;rsquo;ve understood, it&amp;rsquo;s basically a bug that allows you in bash to do some other command after the function declaration in a variable.&lt;/p&gt;
&lt;p&gt;Let&amp;rsquo;s change the example a little bit, so that it&amp;rsquo;s more easier to read:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt; env your_function='() { echo &amp;quot;your function do something&amp;quot;;}; echo &amp;quot;but I can still add other command after your function&amp;quot;' bash -c &amp;quot;echo this is a test&amp;quot;
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;If you system is affected with the bug, if you run that command, you will see the text &amp;ldquo;but I can still add other command after your function&amp;rdquo;.&lt;/p&gt;</description></item><item><title>Monitor resolution not properly detected in Linux (Debian 7 or Wheezy)</title><link>https://log.rowanto.com/posts/monitor-resolution-not-properly-detected-linux-debian-7-or-wheezy/</link><pubDate>Fri, 09 Aug 2013 09:00:00 +0000</pubDate><guid>https://log.rowanto.com/posts/monitor-resolution-not-properly-detected-linux-debian-7-or-wheezy/</guid><description>
&lt;p&gt;So I have an ATI HD5xxx graphic card in my desktop personal computer. It&amp;rsquo;s a nice and quite fast card. It also has three display adapters: HDMI, DVI, DisplayPort. On my desk, there are two monitors. One of them have a DVI and a VGA adapter. The other however, only have VGA adapter. Do you see the problem here?&lt;/p&gt;
&lt;p&gt;My graphic card has no VGA adapter, because of this, I need to use some adapter, and because I used an adapter, the resolution of the monitor is not detected properly. The native resolution of that monitor is 1920x1080 pixels, but I can only set it to 1440x900 when I use the adapter (which looks quite ugly). This problem is easily solveable in Windows 8. The windows&amp;rsquo; ATI Cataylst has an option to force a resolution on the monitor. So I can just force 1920x1080 and it works perfectly. Debian (or other distribution like Fedora) however, does not have this option..&lt;/p&gt;</description></item><item><title>Installing Skype on 64-bit Debian 7 (codename: Wheezy)</title><link>https://log.rowanto.com/posts/installing-skype-on-64-bit-debian-7-codename-wheezy/</link><pubDate>Thu, 08 Aug 2013 09:00:00 +0000</pubDate><guid>https://log.rowanto.com/posts/installing-skype-on-64-bit-debian-7-codename-wheezy/</guid><description>
&lt;p&gt;So it was when I was trying to install Skype on my brand new Debian 7 (Wheezy) when I encountered this problem:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;package architecture (i386) does not match system (amd64)
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Actually I was a little shocked. I just downloaded the Skype package for Debian from the official website then tried to install it normally using &amp;ldquo;dpkg -i &lt;!-- raw HTML omitted --&gt;&amp;rdquo;, and it used to always work (normally). Actually I came from the rpm world (Fedora and CentOS) and have been only using Windows 8 for the past few months for my thesis, so I am actually wondering whether I&amp;rsquo;m the one who is a little out of date, or this is just a deb thingie, or I&amp;rsquo;m just too thick and dumb. But really, I never encountered this kind of problem. This is a first for me.&lt;/p&gt;</description></item></channel></rss>