EzDevInfo.com

12.10 interview questions

Top 12.10 frequently asked interview questions

What's the difference between 12.04 and 12.10?

I have an Asus K55V and I'm wondering which version of Ubuntu I should be attempting to use. The website offers 12.04 (LTS) and 12.10.


Source: (StackOverflow)

How can I bypass this fontconfig warning to edit grub successfully?

I upgraded from 12.04 to 12.10 with no problem. I am trying to edit the grub file, but in the console I get the following message:

Fontconfig warning: "/etc/fonts/conf.d/50-user.conf", 
 line 9: reading configurations from ~/.fonts.conf is deprecated

As a result, I see nothing when the editor opens. Is there a fix for this? I can't find much information on Google.


Source: (StackOverflow)

Advertisements

Why is chkconfig no longer available in Ubuntu?

I can not use chkconfig tools in Ubuntu 12.10

It's a very useful tools to configure the service to autostart or not. Why is it no longer available?


Source: (StackOverflow)

how to reinstall mysql?

A software upgrade broke, among other things, mysql and I have not been able to get it back up yet.

Suspected cause: I had a near-full boot disk; the upgrade filled up the disk before completing and thus left everything in a mess. I have given the system more disk and moved /var to its own partition. I am still unsuccessfully trying to revive mysql.

Below is what I attempted so far (all as root). First, mysql does not start (443). Attempts to fix (444, 445) fail. Attempts to remove mysql and (?) apparmor fail (446, 7, 8). A more energetic attempt to remove mysql seems to succeed (449) and the previous errors are no longer seen (450, 1, 2). Mysql can't be reconfigured because it's no longer there (453) but attempting to reinstall it gives back the old error messages and we're back to square one (454).

I also checked this question (even though in my case it did not break because of an upgrade to 12.04: it was already working on 12.10) Fixing broken myslq-server package after upgrade to 12.04 and tried the suggestions in there (458, 461, 462) to no avail.

What else should I do?

This is on 3.5.0-25-generic #39-Ubuntu SMP Mon Feb 25 18:26:58 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux

    443  service mysql start
         start: Job failed to start

    444  dpkg-reconfigure mysql-server-5.5
         /usr/sbin/dpkg-reconfigure: mysql-server-5.5
         is broken or not fully installed

    445  apt-get -f install
         ...
         Setting up mysql-server-5.5 (5.5.29-0ubuntu0.12.10.1) ...
         start: Job failed to start
         invoke-rc.d: initscript mysql, action "start" failed.
         dpkg: error processing mysql-server-5.5 (--configure):
         subprocess installed post-installation script
         returned error exit status 1
         dpkg: dependency problems prevent configuration of
         mysql-server:
         mysql-server depends on mysql-server-5.5; however:
         Package mysql-server-5.5 is not configured yet.
         dpkg: error processing mysql-server (--configure):
         dependency problems - leaving unconfigured
         No apport report written because the error message
         indicates its a followup error from a previous failure.
         Errors were encountered while processing:
           mysql-server-5.5
           mysql-server
         E: Sub-process /usr/bin/dpkg returned an error code (1)

    446  apt-get remove mysql-server
         ...
         Removing mysql-server ...
         Setting up mysql-server-5.5 (5.5.29-0ubuntu0.12.10.1) ...
         start: Job failed to start
         invoke-rc.d: initscript mysql, action "start" failed.
         dpkg: error processing mysql-server-5.5 (--configure):
         subprocess installed post-installation script
         returned error exit status 1
         No apport report written because MaxReports is reached already
         Errors were encountered while processing:
           mysql-server-5.5
         E: Sub-process /usr/bin/dpkg returned an error code (1)


    447  apt-get remove apparmor
         ...
         Package 'apparmor' is not installed, so not removed
         0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
         1 not fully installed or removed.
         After this operation, 0 B of additional disk space will be used. 
         Setting up mysql-server-5.5 (5.5.29-0ubuntu0.12.10.1) ...
         start: Job failed to start
         invoke-rc.d: initscript mysql, action "start" failed.
         dpkg: error processing mysql-server-5.5 (--configure):
         subprocess installed post-installation script
         returned error exit status 1
         Errors were encountered while processing:
           mysql-server-5.5
         E: Sub-process /usr/bin/dpkg returned an error code (1)


    448  apt-get remove mysql-server
         Reading package lists... Done
         Building dependency tree       
         Reading state information... Done
         Package 'mysql-server' is not installed, so not removed
         0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
         1 not fully installed or removed.
         After this operation, 0 B of additional disk space will be used.
         Setting up mysql-server-5.5 (5.5.29-0ubuntu0.12.10.1) ...
         start: Job failed to start
         invoke-rc.d: initscript mysql, action "start" failed.
         dpkg: error processing mysql-server-5.5 (--configure):
         subprocess installed post-installation script
         returned error exit status 1
         Errors were encountered while processing:
           mysql-server-5.5
         E: Sub-process /usr/bin/dpkg returned an error code (1)

    449  dpkg -r mysql-server-5.5
         (Reading database ... 322156 files and directories
         currently installed.)
         Removing mysql-server-5.5 ...
         Processing triggers for man-db ...
         Processing triggers for ureadahead ...

    450  apt-get remove mysql-server
         Reading package lists... Done
         Building dependency tree        
         Reading state information... Done
         Package 'mysql-server' is not installed, so not removed
         0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

    451  apt-get remove apparmor
         Reading package lists... Done
         Building dependency tree       
         Reading state information... Done
         Package 'apparmor' is not installed, so not removed
         0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

    452  apt-get -f install
         Reading package lists... Done
         Building dependency tree       
         Reading state information... Done
         0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

    453  dpkg-reconfigure mysql-server-5.5
         /usr/sbin/dpkg-reconfigure: mysql-server-5.5 is broken
         or not fully installed

    454  apt-get install mysql-server
         Reading package lists... Done
         Building dependency tree       
         Reading state information... Done
         The following extra packages will be installed:
           mysql-server-5.5
         Suggested packages:
           tinyca mailx
         The following NEW packages will be installed:
           mysql-server mysql-server-5.5
         0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
         Need to get 0 B/8,851 kB of archives.
         After this operation, 32.8 MB of additional disk space
         will be used.
         Do you want to continue [Y/n]? 
         Preconfiguring packages ...
         Selecting previously unselected package mysql-server-5.5.
         (Reading database ... 322081 files and directories
         currently installed.)
         Unpacking mysql-server-5.5 (from 
         .../mysql-server-5.5_5.5.29-0ubuntu0.12.10.1_amd64.deb) ...
         Selecting previously unselected package mysql-server.
         Unpacking mysql-server (from 
         .../mysql-server_5.5.29-0ubuntu0.12.10.1_all.deb) ...
         Processing triggers for ureadahead ...
         Processing triggers for man-db ...
         Setting up mysql-server-5.5 (5.5.29-0ubuntu0.12.10.1) ...
         start: Job failed to start
         invoke-rc.d: initscript mysql, action "start" failed.
         dpkg: error processing mysql-server-5.5 (--configure):
         subprocess installed post-installation script
         returned error exit status 1
         dpkg: dependency problems prevent configuration of mysql-server:
           mysql-server depends on mysql-server-5.5; however:
         Package mysql-server-5.5 is not configured yet.
         dpkg: error processing mysql-server (--configure):
         dependency problems - leaving unconfigured
         No apport report written because the error message
         indicates its a followup error from a previous failure.
         Errors were encountered while processing:
           mysql-server-5.5
           mysql-server
         E: Sub-process /usr/bin/dpkg returned an error code (1)


    458  apt-get remove --purge mysql-server
         Reading package lists... Done
         Building dependency tree       
         Reading state information... Done
         The following packages will be REMOVED:
           mysql-server*
         0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
         2 not fully installed or removed.
         After this operation, 116 kB disk space will be freed.
         Do you want to continue [Y/n]? 
         (Reading database ... 322159 files and directories
         currently installed.)
         Removing mysql-server ...
         Setting up mysql-server-5.5 (5.5.29-0ubuntu0.12.10.1) ...
         start: Job failed to start
         invoke-rc.d: initscript mysql, action "start" failed.
         dpkg: error processing mysql-server-5.5 (--configure):
         subprocess installed post-installation script
         returned error exit status 1
         Errors were encountered while processing:
           mysql-server-5.5
         E: Sub-process /usr/bin/dpkg returned an error code (1)

    461  touch /etc/apparmor.d/local/usr.sbin.mysqld
         (no output)

    462  service mysql start
         start: Job failed to start

Source: (StackOverflow)

What is the best alternative to Google Reader?

I enjoy using Lightread in Ubuntu 12.10. The thing is Google Reader is being shutdown and Lightread is a client for Google Reader, so it's feed will be cut of.

What is the best alternative as a RSS reader for Ubuntu 12.10?


Source: (StackOverflow)

Nvidia driver doesn't work in 12.10

I have GeForce GTX 560 Ti. I's worked fine in 12.04 with nvidia drivers. Unfortunately, after todays 12.10 update, something broke down.

I've tried nvidia-current, nvidia-current-updates and nvidia-experimantal. Always the same behaviour: Bad resolution in lightdm, after logging nothing except wallpaper. No unity panels, "win" key doesn't work.

After removing nvidia drivers everything work.


Source: (StackOverflow)

how to change the background color of terminal emulator background in Ubuntu 12.10?

How to change the dark purple color of terminal emulator background in Ubuntu 12.10. And can we place any image or photo instead of that purple color.


Source: (StackOverflow)

Will all Dash input in 12.10 be sent to Amazon?

It seems like all user input to the Dash home lens is send to Amazon by default in Ubuntu 12.10, is this correct?


Source: (StackOverflow)

`Error! Could not locate dkms.conf file`

During a recent apt-get dist-upgrade of 12.10 I received the following error:

Setting up linux-headers-3.5.0-19-generic (3.5.0-19.30) ...
Examining /etc/kernel/header_postinst.d.
run-parts: executing /etc/kernel/header_postinst.d/dkms 3.5.0-19-generic /boot/vmlinuz-3.5.0-19-generic
Error! Could not locate dkms.conf file.
File:  does not exist.

Any ideas?


Source: (StackOverflow)

How to add bookmark to Nautilus 3.6?

I updated the Nautilus to 3.6 in Ubuntu 12.10, but I didn't find the how to add my folder to "Bookmark" section.

If I press Ctrl + B, it show the list of bookmarks, but I can't add any. I can't drag & drop just like in other versions.

Does anyone know how to do this properly?


Source: (StackOverflow)

How do I upgrade from 12.10 to 13.04? [duplicate]

I am using Ubuntu 12.10.

Please outline the different ways I can upgrade to 13.04.


Source: (StackOverflow)

Virtualbox DNS stopped working on upgrade to 12.10

I have a Debian image setup on Virtualbox that uses the default NAT to access the internet. It was working fine before I upgraded to 12.10. After I upgraded the DNS lookups no longer work. I still can access ip addresses, but this is not a nice solution.


Source: (StackOverflow)

Manually turn off monitor

Can I turn off my laptop monitor manually and instantly with just a click or a simple terminal command? I just want to turn off my monitor not locking my machine. There is no dedicated turn off monitor button on my machine.


Source: (StackOverflow)

Why is Unity 2D being discontinued?

As reported by Phoronix, the news from UDS appears to be that development on Unity 2D will stop, with the focus being on a single, unified implementation.

Obviously maintaining two codebases to do the same thing is not ideal. However, Unity 2D was created for a reason ("Unity 2D's goal is to provide the Unity desktop shell on hardware platforms that cannot currently support Unity's OpenGL requirements"). Why is it no longer felt Unity 2D is needed?


Source: (StackOverflow)

How do I enable low graphics mode (llvmpipe rendering) in Unity?

I've been looking at other questions, but none seem to answer my query. The closest I got gave me information about a ppa for 12.04. My computer's battery life is suffering under Ubuntu 12.10. I imagine the performance will be better if I use LLVMPipe, as it is aimed at lower end computers. How do I enable LLVMPipe?

I might add that going back to 12.04 is not an option, as my computer only works in Unity 2D, which didn't quite do it for me. As far as I understand, LLVMPipe is pretty much the same as regular Unity. However, I can't seem to find much information about it. If this is wrong, correction would be much appreciated.


Source: (StackOverflow)