devnull

Man of many talents. Server janitor, Chief Googler, Vice President of Pencil Sharpening, Director of Turning Things Off and On Again. Technology Plumber using Linux for stuff like Satellite STB, home CCTV system, kitchen sound bar, workstations, even car onboard computer. And servers, oh yeah - lots of them. I've been a Linux Mercenary for quite a while now, often using information posted by kind strangers on the Internet to solve problems during this journey. This blog is a humble attempt to give something back to the community.

Oct 302015
 

I use Titanium Backup and on the newer Android when using external card for storing backups I was hit by this issue, manifested by backup session being interrupted with a message “Insufficient storage”.

 

I’m currently on Android 5.1.1 (CyanogenMod 12.1 NIGHTLY) and the following steps helped:

 

  • Edit /system/etc/permissions/platform.xml

 

  • Find the following section
<permission name="android.permission.WRITE_EXTERNAL_STORAGE" >
    <group gid="sdcard_r" />
    <group gid="sdcard_rw" />
</permission>

  • Add <group gid=”media_rw” /> to make it look like that
<permission name="android.permission.WRITE_EXTERNAL_STORAGE" >
    <group gid="sdcard_r" />
    <group gid="sdcard_rw" />
     <group gid="media_rw" />
</permission>

  • Reboot your phone

 

Oct 272015
 

So you ran do-release-upgrade but it didn’t work?

 

sudo apt-get update
sudo apt-get upgrade
sudo apt-get install update-manager-core
sudo do-release-upgrade

Some useful logs are located under /var/log/dist-upgrade/ and I bet you are going to find there something along these lines:

Error authenticating some packages

It was not possible to authenticate some packages. This may be a transient network problem. You may want to try again later. See below for a list of unauthenticated packages

 

Temporary workaround, create file

/etc/update-manager/release-upgrades.d/unauth.cfg

filled with the following

[Distro]
AllowUnauthenticated=yes

Now your sudo do-release-upgrade should run OK

Make sure to remove this file once upgrade process is completed.

And if this helped don’t forget to leave a comment 😉