Posts

Showing posts with the label solutions

Project Wild Penguin 19.4.2017: How to install manually installed packages on one system to another system remotely

Image
So, finally after a long time, I've found an original solution to my set of problems stated below: To backup and restore repositories.  To install manually installed packages on a new system or another system remotely. Most of the times, I've found straightforward answers to my queries from techgurus at askubuntu.com or any other sites. But this time, I've to be a bit more jugaadu by applying combinatorics to various solutions that I found to create a single solution for my problem  .  While implementing the solution, the question that was on back of my mind is beautifully depicted in the following xkcd comic: Will it work? If it doesn't, there is a likely chance of my system breaking down and lose of valuable time in fixing it. But thankfully, it did work.  Now, I'll share the process that I followed in implementing this solution. First part of the problem was achieved using the Y PPA Manager that I've mentioned in my blog post Fix dup...

Django import error - no module named django.conf.urls.defaults

This error occurs because django.conf.urls.defaults has been removed in Django 1.6. I encountered this error while working with django-uploadify. For newer version of Django can be fixed by changing the import to from django.conf.urls import patterns, url, include I hope this helps anyone facing this problem. Cheers, MG.

Reset lost root password in Ubuntu

Image
Recently while installing Xubuntu 12.04 on my old PC, I encounter the problem where Xubuntu was not accepting my root/admin password that I set during the installation. I found the solution to my problem on http://askubuntu.com/questions/24006/how-do-i-reset-a-lost-administrative-password. I'm posting this solution here so that I can keep a record of the problem I've faced and working solutions for them. By default the first user's account is an administrative account, so if the UI is prompting you for a password it's probably that person's user password. If the user doesn't remember their password you need to reset it. To do this you need to boot into recovery mode. Boot up the machine, and  after  the BIOS screen, hold down the left  Shift  key. You will then be prompted by a menu that looks something like this: I've noticed on some systems that timing when to hit the left  Shift  key can be tricky, sometimes I miss it and need to try it ...