Friday, 5 February 2016

Unattended updates on Linux MINT

Updates in MINT have been quite reliable within the last years. Thus having a little more comfort is from my perspective preferable. The MINT forum offers first steps to have unattended updates.

/etc/apt/apt.conf.d/10periodic
  • APT::Periodic::Update-Package-Lists "1";
  • APT::Periodic::Download-Upgradeable-Packages "0";
  • APT::Periodic::AutocleanInterval "30";
  • APT::Periodic::Unattended-Upgrade "1";
/etc/apt/apt.conf.d/50unattended-upgrades
    • "Ubuntu trusty-security";
    • "Ubuntu trusty-updates";
    • "linuxmint rosa";
    • "LP-PPA-webupd8team-java trusty"; //Oracle Java
    •  LP-PPA-peterlevi trusty"; //Variety
    • "liveusb.info all"; //MultiSystem
    • "Canonical trusty"; //Adobe & more
    • "LP-PPA-gencfsm trusty" //gnome-encfs-manager
    These are the sources that I need to cover all my applications. Andrew gives advice, how to identify these sources at least roughly. Keep in mind! The sources need to be partially updated after an upgrade.
    sudo unattended-upgrade --dry-run --debug | awk -F "\'" '/Origin component/{print $11,$9}' | sort | uniq
    /var/log/unattended-upgrades

    Here you find the regular created log files. Worth watching when starting with the unattended upgrades.

    Monochrome Dropbbox icon

    Having a NVIDIA graphic card the Dropbox icon can have an ugly black background. This is annoying when using e.g. Linux Mint with Cinnamon or MATE.

    However I found a reddit post with the solution:
    1. Quit Dropbox
    2. Go into ~/.dropbox-dist/dropbox-lnx[VERSION] 
    3. Backup libGL.so.1
    4. Delete libGL.so.1
    5. ln -s /usr/lib/nvidia-[VERSION]/libGL.so.1 /home/[ACCOUNT]/.dropbox-dist/dropbox-lnx[VERSION]/
    6. Start Dropbox
    Now the Dropbox icon should have a transparent background again.