Wednesday, February 28, 2018

drivers - 12.10 64-bit does not want to work with the GTX 670

I have been trying to install Quantal AMD64 on the following PC:





  • ASUS P8Z77-I Deluxe LGA (Z77-based)

  • Ivy Bridge i5-3570K (overclocked but why would that matter?)

  • EVGA GTX 670

  • Dual Samsung 830 Series SSDs



Unfortunately, the quetzal seems hellbent on disappointing me. Here's how:




  1. Live CD doesn't even start properly. Display is filled with colorful noise, though I can see the mouse moving.


  2. Installation, however, works just fine. No display issues and no errors during installation.

  3. When booted, sometimes I get colorful noise on screen and a hang and sometimes I get the "Running in low graphics mode error" with my mouse and keyboard maybe working and maybe not. When I click OK, the system hangs in the next dialog screen -- the one that offers the various options to deal with the issue.

  4. I tried getting into recovery and using the console to install the latest nVidia drivers as per this question. That didn't work: the system would hang randomly while I was in the middle of running the commands.

  5. Switched to the integrated GPU and that actually worked. I got desktop, opened the terminal, and installed the driver.

  6. Switched back to the discrete GPU and it still didn't work. The system would hang midway and at random points during the initialization process -- usually in the first 1-2 seconds. I can't boot into recovery (hangs before it). Can't even boot when I switched back to the iGPU.

  7. Somehow, the OS managed to roll my MB's clock by 7 hrs. Insult to injury.



Now, I'm stuck. I am 99% sure it's the bleepin' graphics driver but sometimes with Linux you never know for sure. People have obviously gotten their Kepler-based GPUs to run fine under Ubuntu so what gives?!




Please let me know if you have managed to pull the above feat of strength. I have to know what incantations you used and what animal you sacrificed.

boot - Windows 10 update killed grub, basic repair failed

I had an update on Windows and since then grub fails to load.


First I got into Ubuntu using the advanced start-up options and ran boot-repair. Didn't help


Second I tried reinstalling Ubuntu and restoring Windows to the original configuration (they needed cleaning up anyway). Grub still failed to load on startup.


Looking in the BIOS my boot order has various devices, Network and OS Boot Manager, I've tried putitng all of them first but grub still doesn't load.


Then I ran out of ideas. I saw this reply, but it's 4 years old. Is it still valid? (am scared of bricking my laptop)


Attached screenshots of my partitions, there are Windows partitions, one for my files, and one for Ubuntu. Grub is installed on sda. The one called RECOVERY I don't know what it is, I'm sure it wasn't there before.


Partitions seen in Ubuntu
partitions seen in Ubuntu


Partitions seen in Windows
partitions seen in Windows

14.04 - disk error, now can't log in to account

My ubuntu was acting weird-- it wouldn't open libreoffice, and all my folders had padlocks on them. I wasn't sure what was going on, so I restarted. It said a disk error was detected, and I pressed f to fix it.



Now I'm unable to log in to my user account. I know I have the right password. When I press ctrl + alt + f1 to go to the shell, I can su to my account successfully. but when I try on the login screen, it flashes a black screen and brings me right back to the login screen.

apt - How can I fix this dependency issue that broke Makerware with my last update?


Today I updated Ubuntu 14.04 and Makerware was removed! I tried to install it and got his message:


$ sudo apt-get install makerware
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
makerware : Depends: libqt5multimedia5 (>= 5.0.2) but it is not going to be installed
Depends: libqt5multimediawidgets5 (>= 5.0.2) but it is not going to be installed or
libqt5multimediawidgets5-gles (>= 5.0.2) but it is not installable
E: Unable to correct problems, you have held broken packages.

I tried to install the missing package and got this message:


$ sudo apt-get install libqt5multimedia5
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
libqt5multimedia5 : Depends: qtbase-abi-5-2-1
E: Unable to correct problems, you have held broken packages.

I then tried to install that package, and found myself here:



$ sudo apt-get install qtbase-abi-5-2-1
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package qtbase-abi-5-2-1 is a virtual package provided by:
libqt5core5a 5.2.1+dfsg-1ubuntu14.2 [Not candidate version]
libqt5core5a 5.2.1+dfsg-1ubuntu14 [Not candidate version]
E: Package 'qtbase-abi-5-2-1' has no installation candidate


$ sudo apt-get install libqt5core5a
Reading package lists... Done
Building dependency tree
Reading state information... Done
libqt5core5a is already the newest version.

The package libqt5core5a is already installed and so I am stuck.



I installed aptitude and got these proposed solutions:



$ sudo aptitude install makerware
The following NEW packages will be installed:
avrdude{a} conveyor{a} conveyor-common{a} conveyor-ui{a} libarmadillo4{a}
libarpack2{a} libboost-program-options1.54.0{a} libcoin80{a} libdap11{a}
libdapclient3{a} libdigitizer{a} libepsilon1{a} libfreexl1{a} libftdi1{a}
libgdal1h{a} libgeos-3.4.2{a} libgeos-c1{a} libgraphicsmagick3{a}
libhdf4-0-alt{a} libhdf5-7{a} libjsoncpp0{a} libkml0{a} libmbqtutils{a}
libmysqlclient18{a} libnetcdfc7{a} libogdi3.2{a} libopenmesh-3.2{a}
libopenscenegraph99{a} libopenthreads14{a} libpq5{a} libproj0{a}
libqt5multimedia5{ab} libqt5multimediawidgets5{a} libspatialite5{a}
libthing{a} libtinything{a} libtoolpathviz{a} liburiparser1{a}
libxerces-c3.1{a} libxine2{a} libxine2-bin{a} libxine2-doc{a}
libxine2-ffmpeg{a} libxine2-misc-plugins{a} libxine2-plugins{a}
makerbot-driver{a} makerware mb-libjsonrpc{a} mb-libopencv2.4{a}
mb-libstdc++6{a} mb-libvtk5.10{a} mb-pyserial{a} miracle-grue{a}
mysql-common{a} proj-bin{a} proj-data{a}
0 packages upgraded, 56 newly installed, 0 to remove and 0 not upgraded.
Need to get 206 MB/206 MB of archives. After unpacking 340 MB will be used.
The following packages have unmet dependencies:
libqt5multimedia5 : Depends: qtbase-abi-5-2-1 which is a virtual package.
The following actions will resolve these dependencies:
Keep the following packages at their current version:
1) libqt5multimedia5 [Not Installed]
2) libqt5multimediawidgets5 [Not Installed]
3) makerware [Not Installed]
Accept this solution? [Y/n/q/?] n
The following actions will resolve these dependencies:
Remove the following packages:
1) libqt5help5
2) libqt5xmlpatterns5
3) musescore
4) qml-module-qtquick-localstorage
5) qml-module-qtquick-window2
6) qml-module-qtquick2
7) qml-module-qtwebkit
Install the following packages:
8) libqt5positioning5 [5.2.1-1ubuntu2 (now, trusty)]
9) libqt5sensors5 [5.2.1+dfsg-2ubuntu2 (now, trusty)]
Downgrade the following packages:
10) libqt5clucene5 [5.3.0-5~trusty1 (now, trusty) -> 5.2.1-8build1 (trusty)]
11) libqt5core5a [5.3.0+dfsg-2ubuntu9~trusty1 (now, trusty) -> 5.2.1+dfsg-1u
12) libqt5dbus5 [5.3.0+dfsg-2ubuntu9~trusty1 (now, trusty) -> 5.2.1+dfsg-1ub
13) libqt5gui5 [5.3.0+dfsg-2ubuntu9~trusty1 (now, trusty) -> 5.2.1+dfsg-1ubu
14) libqt5network5 [5.3.0+dfsg-2ubuntu9~trusty1 (now, trusty) -> 5.2.1+dfsg-
15) libqt5opengl5 [5.3.0+dfsg-2ubuntu9~trusty1 (now, trusty) -> 5.2.1+dfsg-1
16) libqt5printsupport5 [5.3.0+dfsg-2ubuntu9~trusty1 (now, trusty) -> 5.2.1+
17) libqt5qml5 [5.3.0-3ubuntu13~trusty1 (now, trusty) -> 5.2.1-3ubuntu15.1 (
18) libqt5quick5 [5.3.0-3ubuntu13~trusty1 (now, trusty) -> 5.2.1-3ubuntu15.1
19) libqt5sql5 [5.3.0+dfsg-2ubuntu9~trusty1 (now, trusty) -> 5.2.1+dfsg-1ubu
20) libqt5sql5-sqlite [5.3.0+dfsg-2ubuntu9~trusty1 (now, trusty) -> 5.2.1+df
21) libqt5svg5 [5.3.0-2~trusty1 (now, trusty) -> 5.2.1-1 (trusty)]
22) libqt5test5 [5.3.0+dfsg-2ubuntu9~trusty1 (now, trusty) -> 5.2.1+dfsg-1ub
23) libqt5webkit5 [5.3.0+dfsg-1ubuntu2~trusty1 (now, trusty) -> 5.1.1-1ubunt
24) libqt5webkit5-qmlwebkitplugin [5.3.0+dfsg-1ubuntu2~trusty1 (now, trusty)
25) libqt5widgets5 [5.3.0+dfsg-2ubuntu9~trusty1 (now, trusty) -> 5.2.1+dfsg-
26) libqt5xml5 [5.3.0+dfsg-2ubuntu9~trusty1 (now, trusty) -> 5.2.1+dfsg-1ubu
27) qtdeclarative5-localstorage-plugin [5.3.0-3ubuntu13~trusty1 (now, trusty
28) qtdeclarative5-qtquick2-plugin [5.3.0-3ubuntu13~trusty1 (now, trusty) ->
29) qtdeclarative5-window-plugin [5.3.0-3ubuntu13~trusty1 (now, trusty) -> 5
Accept this solution? [Y/n/q/?]

It seems that when I added the repository for MuseScore and upgraded MuseScore to 2.0, it also updated qt to 5.3 which seems to be incompatible with Makerware.


For now, it looks like I have to downgrade MuseScore or not use Makerware.


Black screen when installing Nvidia Drivers


I have just recently installed Ubuntu 13.10 and decided to install the necessary Nvidia driver:


sudo apt-get install nvidia-current

Then I reboot and find to have the black screen. I went into the terminal with Control-Alt-F1 and executed the following and rebooted:


sudo apt-get remove nvidia-current

But I still get the black screen. How can i fix this?



Try these commands on virtual console(ctrl+alt+F1),


sudo rm /etc/X11/xorg.conf
sudo apt-get purge nvidia*
sudo service lightdm restart

sudo - My password can log me in, but nothing else ("user is not in the sudoers file" error when I try)

I recently got a new user account for Ubuntu 12.04 on Linux after becoming unable to log in to one of my earlier accounts. I can log in to this account easily enough, but when I try to use the password to install software through the Ubuntu Software Center, it reads:



Your authentication attempt was unsuccessful. Please try again.


I tried installing the software through the terminal with this:




sudo apt-get install


But when I entered my password, I got this message:



[username] is not in the sudoers file. This incident will be reported.


I searched here for a solution, and I found the answer here, which told me to open a root terminal. I don't know how to do this, but I found out I could get a root terminal by entering this in a normal terminal:




sudo -i


Upon doing this, I was asked to enter my sudo password, and I got the same message as before. What am I missing or doing wrong?

Nvidia driver 290.10 or 173 from additional drivers package?

I use Ubuntu 11.10. If I installed the last driver from the Nvidia website do I still need the additional driver module? I use Nvidia version 290.10 when I look at the Nvidia X-server but when I look at the additional driver module it gives driver 173 in use. I have a GEFORCE 6200. I am confused by this. Should I delete a package?

nvidia - Graphics card not being detected

My graphics card isn't being detected by Ubuntu. It's running off the on board graphics not my EVGA GeForce GTX 750ti FTW. I'm not sure what to do and I'm not sure how to download my drivers.

Tuesday, February 27, 2018

intel graphics - Dota 2 lagging in Steam when running on MacBook Pro

I installed Ubuntu on my Macbook Pro recently. But DOTA 2 is very much laggy in Ubuntu 16.04. It runs crispy in OSX. I tried updating machine and all, but no use.


The graphics card shows Intel Haswell Mobile in Ubuntu and Intel Iris Pro 1536 MB in OSX. Is it a graphics related problem? How can this be fixed.


Note: I have seen Dota 2 running fine on Ubuntu with laptops of very ordinary specs.


Some more information as per comments:



  1. The output of lspci | grep VGA is


    00:02.0 VGA compatible controller: Intel Corporation Crystal Well Integrated Graphics Controller (rev 08)


  2. It plays 60 fps 4k videos perfectly fine.


command line - How do I run any application as root?

While logged in as the root account of a CLI installation, almost every application gives me this error:


Don't run this as root!

I want to bypass this error and run the application while logged into root. How do I do this?


Edit: I understand the risks of using the root user and I will still want to use it. Thank you for your suggestions.

unity - 12.04 to 14.04: no Launcher or Panel after logout/login

The solution here works for me to fix the desktop after login: https://askubuntu.com/a/292997/227118, but I am back to square one after logging out. How to solve this issue permanently?

How to install Ubuntu touch on X86 tablet with windows 8?


have a tablet X86 with architecture pc of Colombian brand PC Smart, currently has Windows 8.1 more bing, have managed to enter the menu of the BIOS, but I'm bored of Windows is malisimo damaged by anything and it gets slow with the pass time, well I want to install Ubuntu Touch on the tablet, not ubuntu desktop but Ubuntu touch, but Windows 8, the method to install a zip file does not work and the other method with a computer with Ubuntu does not work because it is not Android PC architecture is, but as I install Ubuntu x86 touch on this tablet with Windows 8.1 more Bing! It has a great ability so I think the system would endure perfect but as I do to install it without the android method or the zip file?



Unfortunately Ubuntu touch x86 for tablet has not been released yet. When it is, it will be based on the all-new non-LTS Ubuntu 16.10 Yakkety Yak, which will be released next month (October).


The Preinstalled Touch Image allows you to install a preinstalled preview of Ubuntu Touch onto a target device.
 Ubuntu Touch 16.10 (Yakkety Yak) Daily Build


dual boot - How to verify latest kernel version?

I installed Xubuntu after Ubuntu, running in dualboot. So Xubuntu controls the grub. Every time I update kernel on Ubuntu - will Ubuntu load the latest version of a kernel? (I mean the grub is not updated, it may be updated by Xubuntu. And I don't want to write the grub to MBR from Ubuntu)


I can't find information which is latest kernel version for trusty, but mine is 3.13.0-24-generic

64 bit - How to switch from 32 bit to 64bit without reinstalling?




I have a laptop supports 64bit. I'm using Ubuntu 12.04 32 bit by a mistake I installed 32bit. Now I want to switch from 32 bit to 64 bit and a new version of Ubuntu 12.10 is also available so I want to install it.




Is there any easy way with out New Installation ?



I have a separate partition for Ubuntu of 40 Gb size if I reinstall the new 64 bit version on it will it remove my applications and other stuff from the other partitions. Like /home partition and /data partition.



Also tell how to make backup.



As far as I know there is no way by which you can convert a 32-Bit Ubuntu into 64-Bit without reinstalling the whole new 64-Bit operating system.
And there is no harm in using 32-bit Ubuntu unless you have more than 4Gb of RAM and you want to use maximum of it.
And if you really want to use 64-Bit then backup all your data and format your current 32-Bit version and install 64-Bit version.


windows - Uninstalling Ubuntu from dual boot / changing bootloader




I have a Win/Ubuntu 11.10 dual-boot setup, where I am running the OSes on separate partitions of my laptop HDD. I assume the best method of uninstalling is 'simply' a matter of deleting the Ubuntu partitions -once I've made sure control is given to the Windows bootloader instead of grub after POST.



The question is: How do I do that?



Stuff I've tried:



I tried the boot-repair CD (https://help.ubuntu.com/community/Boot-Repair), but that was a bit beyond my abilities to figure out if I could do it with that tool :/.




I also tried EasyBCD (http://askubuntu.com/questions/66070/how-to-set-windows-bootloader-as-default-bootloader). It couldn't identify my ext3 partitions, let alone change the bootloader.



Lastly, I tried installing startup-manager in Ubuntu, and using that to set the Win7 bootloader as default. But upon restart, it still loads grub.



Step1




  1. Boot into Windows and right click on My Computer.

  2. Go to Manage > Disk Management.


  3. Delete the Ubuntu installed partition and space reserved for swap. (If you want to use the space in Windows, format it and create a new partition. Or you can do it later.)



Step2




  1. Reboot the computer.

  2. Go to BIOS.

  3. Set the boot media to CD/DVD

  4. Put the Windows 7 DVD (or recovery disk) into the drive.


  5. Boot from the DVD



Step3




  1. Start windows repair (if you use windows 7 DVD or if you are using recovery it will automatically show repairing option)

  2. Allow the utility to repair startup.

  3. If utility found a error and fixed it reboot the machine and enjoy!!




If it failed follow step 4



Step4




  1. Open command prompt in recovery mode.

  2. Type diskpart and hit enter

  3. Then type list disk and hit enter

  4. Then select your disk (you can find it by size) - use select disk x to select the disk. Replace x with the relevant number.


  5. Then type list part and hit enter.

  6. Then select primary disk with mb in size (not in gb) - use select part x to select the part. Hit enter.

  7. Then type active and hit enter.

  8. Close the command prompt and again run the startup recovery tool.



Enjoy!!!


software installation - installing openmpi on Ubuntu 14.04

I am trying to instlal OpenMPI on my Ubuntu 14.04 LTS following this guide



When I run the command sudo apt-get install -y autotools-dev g++ build-essential openmpi1.5-bin openmpi1.5-doc libopenmpi1.5-dev I get the error messages



E: Unable to locate package openmpi1.5-doc

E: Couldn't find any package by regex 'openmpi1.5-doc'
E: Unable to locate package libopenmpi1.5-dev~
E: Couldn't find any package by regex 'libopenmpi1.5-dev~'


Why is that? I tried on Ubuntu 12.04, there it worked fine.

dpkg - error trying to install anything

Well, i jumped over to Lubuntu, and I'm on a fresh install of it... but I wanted to go ahead and install elementary to a flash drive and check it out, but cant because when I use terminal to install mkusb, I get this error:



dps@chris-pc:~$ sudo apt-get install mkusb mkusb-nox usb-pack-efi
[sudo] password for dps:
E: Could not get lock /var/lib/dpkg/lock-frontend - open (11: Resource temporarily unavailable)
E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), is another process using it?



Also, when I try to install anything via the software center (discovery) it says:



   PolicyKit Error
Incorrect permissions on /usr/lib/policykit-1/polkit-agent-helper-1 (needs to be setuid root)


Any ideas?

Monday, February 26, 2018

dual boot - Grub2 menu doesn't appear

I have installed windows 10 on my pc and I had Ubuntu before I install that. But after windows installation I couldn't boot Ubuntu since grub2 menu doesn't appear and it will directly boot to Windows. I need a way to get grub2 menu.

apt - How to handle phalconphp GPG issue



I'm trying to update my nodejs installation, and phalconphp is getting in the way. When I run apt-get update, I get this complaint




Err:13 https://packagecloud.io/phalcon/stable/ubuntu xenial InRelease                                        
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 4166E80CDCF8B31B


Following the advice of several threads (such as this one), I've tried to fetch the GPG key:



sudo gpg --keyserver hkp://keyserver.ubuntu.com:80 --recv 4166E80CDCF8B31B


Results in




gpg: requesting key DCF8B31B from hkp server keyserver.ubuntu.com
gpgkeys: key 4166E80CDCF8B31B not found on keyserver
gpg: no valid OpenPGP data found.
gpg: Total number processed: 0
gpg: keyserver communications error: key not found
gpg: keyserver communications error: bad public key
gpg: keyserver receive failed: bad public key



So how do I figure out which server should have the GPG key?



I got it by re-running the phalcon install script



curl -s "https://packagecloud.io/install/repositories/phalcon/stable/script.deb.sh" | sudo bash


This script has the URL to the correct key server and runs apt-get add on it (relevant portions here, feel free to read through the entire script though)



gpg_key_url="https://packagecloud.io/phalcon/stable/gpgkey"

# ...
curl -L "${gpg_key_url}" 2> /dev/null | apt-key add - &>/dev/null

Can't boot Windows 7 after installing Ubuntu 12.04 LTS

( first sorry for my english. ) Hi please help I can't find a solution I'm searching the web 11 hours and I can't find a solution. :(



I can't boot Windows 7 after installing Ubuntu 12.04 LTS alongside with windows. But after restarting the pc and when I hit enter on grub 2 for Windows 7, I get a black screen for 2 seconds and then its return back to grub. BUT when I select Windows 7 restore Vaio care it will boot, but I don't have an option top open Cmd to fix something. Please help me out. Here is my Bootinfo from Boot-repair




http://paste.ubuntu.com/975358/

grub2 - How to dual-boot Ubuntu + Windows 8 on a Samsung Series 9 laptop?


I have a Samsung Np900X4C which came with Windows 8 installed.


My goal is to have a dual-boot setup. I followed pretty much the answer at Samsung series 9 np900x4c-a03us Dual boot windows 7, namely:



  1. Disabled secured boot in BIOS

  2. Changed "OS mode selection" to CSM OS*

  3. Booted from the USB and installed Ubuntu 12.10


*- with UEFI + CSM OS I got some kernel panic errors while booting from the USB


The problem - I can only dual boot if I change the boot type in the BIOS:



  1. With CSM only I get the Grub options and I can boot in Ubuntu. If I select the Windows 8 option I get a windows error message** and can't boot.

  2. With CSM + UEFI OS or UEFI only I boot straight into Windows 8


**- windows boot manager - Windows failed to start(...). The boot configuration data for your PC is missing or contains errors.


It seems like I have the traditional grub installed and UEFI boot installed and I can't have both working simultaneously.
How can I correct this dual-boot setup? If I did install Ubuntu on legacy BIOS and shouldn't have, how do I correct that?



You did install Ubuntu using the BIOS/legacy boot option -- that's what "CSM" is. (This acronym expands to "Compatibility Support Module," which is EFI-speak for BIOS compatibility mode.) Thus, setting the "OS mode selection" in your firmware to "CSM" for the installation essentially tells your computer to boot only in BIOS/legacy mode.


There are a number of possible solutions. These include:



  • Install my rEFInd boot manager in Windows. Edit the refind.conf file: Uncomment the scanfor line and add hdbios to its options. When you reboot, rEFInd should come up and show at least two boot options. One should boot Windows and the other should start up GRUB in BIOS mode, which should in turn launch Linux. If you try this and want to experiment more, you could try tweaking the configuration to boot Linux directly in EFI mode.

  • Convert your existing Ubuntu installation to boot in EFI mode by adding a suitable EFI-mode boot loader. rEFInd can serve this purpose, or you could install ELILO or the EFI version of GRUB 2. The trick is registering the EFI boot loader with the firmware, which requires an EFI-mode boot of Linux or doing the work from Windows. (The preceding option does this for rEFInd by doing the work in Windows.) See my EFI Boot Loaders for Linux site for more on your options on this score. This approach has a fairly steep learning curve, but it's a fairly clean approach. There's the caveat about EFI-mode boots possibly having problems on your system, though.

  • Re-install Ubuntu in EFI mode. This will require overcoming your kernel panic problem, though, and I don't have any specific suggestions on doing that. Perhaps adding (or removing) a kernel option would do the trick, or switching to another kernel version (but this is awkward for an installer's kernel).


Overall, I'd say your easiest course of action is to install rEFInd. It will probably enable you to boot Linux in EFI mode, and it provides a path to experiment with EFI-mode booting if you decide to pursue that.


Ubuntu Gnome 16.04.4 incredibly slow

I have a HP Probook 4530s, i5 processor with 16GB of RAM, that I used with Win10 and with OSX El Capitan (hackintosh) for quite a while, both working really well.


I had a couple of free hard disk, so I decided to put one inside and install Kubuntu 16.04.4, and the other with Ultimate Edition 5.7, to try different flavours.
Well, both are running amazingly slow, to a point where I can't use my computer.
So I formatted and installed Ubuntu 16.04.4 Gnome as a more standard release and... this is even worse!
To be clear, when I change OS i litterally change the disk inside, so no dualboot or other stuff, just a clean install and a single HD inside.


I can't understand why, the computer is not exactly new, I understand, but it's still an i5 with 16 GB of ram, Win10 and OSX are litteraly flying on it.
I ran any possible test (Ram, HD) but everything seems to be fine in HW.


Any advice please? It seems really strange to me that Ubuntu is so amazingly demanding in resources.
Note that my notebook has a double GPU, but I disabled the switching in bios (as it is handled by windows driver), so I always run it with the standard intel 3000 gpu on all the OS's (win10, osx and ubuntu).


TIA

installation - How long should wubi take to install Lubuntu ?

I tried installing Ubuntu with wubi but it took too long on one file.



I'm installing it with 18GB on a 64GB flash drive. It was an amd64.iso. torrent thing.



So I tried installing lubuntu instead and everything else took shorter to install but its stuck on the .iso torrent again.




How long should it take and am i doing something wrong ?



It always gets stuck at this point in the installation. Sometimes I leave it for a really long time. The remaining time goes up and down so I know it isn't frozen.



I am using Windows 7 and letting wubi do it for me. I'm not so good with computers.

Sunday, February 25, 2018

bug reporting - How to correctly report startup issues via ubuntu-bug?

I would like to report an issue I have at startup (a crackling noise from my speakers, every time I boot), but I don't know how to do it properly.
I tried ubuntu-bug but since startup is not a package, I don't find how to report.
How should I report my bug to ensure that it will worked on?

Can't install graphic drivers in 12.04

The driver is ATI/AMD proprietary FGLRX graphics driver.
After clicking Activate, it asks for my password and starts downloading.



Then it shows an error message:




2012-10-03 16:16:04,227 DEBUG: updating 
2012-10-03 16:16:06,172 DEBUG: reading modalias file /lib/modules/3.2.0-29-generic-pae/modules.alias
2012-10-03 16:16:06,383 DEBUG: reading modalias file /usr/share/jockey/modaliases/b43
2012-10-03 16:16:06,386 DEBUG: reading modalias file /usr/share/jockey/modaliases/disable-upstream-nvidia
2012-10-03 16:16:06,456 DEBUG: loading custom handler /usr/share/jockey/handlers/pvr-omap4.py
2012-10-03 16:16:06,506 WARNING: modinfo for module omapdrm_pvr failed: ERROR: modinfo: could not find module omapdrm_pvr

2012-10-03 16:16:06,509 DEBUG: Instantiated Handler subclass __builtin__.PVROmap4Driver from name PVROmap4Driver
2012-10-03 16:16:06,682 DEBUG: PowerVR SGX proprietary graphics driver for OMAP 4 not available
2012-10-03 16:16:06,682 DEBUG: loading custom handler /usr/share/jockey/handlers/cdv.py

2012-10-03 16:16:06,727 WARNING: modinfo for module cedarview_gfx failed: ERROR: modinfo: could not find module cedarview_gfx

2012-10-03 16:16:06,728 DEBUG: Instantiated Handler subclass __builtin__.CdvDriver from name CdvDriver
2012-10-03 16:16:06,728 DEBUG: cdv.available: falling back to default
2012-10-03 16:16:06,772 DEBUG: Intel Cedarview graphics driver availability undetermined, adding to pool
2012-10-03 16:16:06,772 DEBUG: loading custom handler /usr/share/jockey/handlers/vmware-client.py
2012-10-03 16:16:06,781 WARNING: modinfo for module vmxnet failed: ERROR: modinfo: could not find module vmxnet

2012-10-03 16:16:06,781 DEBUG: Instantiated Handler subclass __builtin__.VmwareClientHandler from name VmwareClientHandler
2012-10-03 16:16:06,795 DEBUG: VMWare Client Tools availability undetermined, adding to pool

2012-10-03 16:16:06,796 DEBUG: loading custom handler /usr/share/jockey/handlers/fglrx.py
2012-10-03 16:16:06,801 WARNING: modinfo for module fglrx_updates failed: ERROR: modinfo: could not find module fglrx_updates

2012-10-03 16:16:06,805 DEBUG: Instantiated Handler subclass __builtin__.FglrxDriverUpdate from name FglrxDriverUpdate
2012-10-03 16:16:06,805 DEBUG: fglrx.available: falling back to default
2012-10-03 16:16:06,833 DEBUG: ATI/AMD proprietary FGLRX graphics driver (post-release updates) availability undetermined, adding to pool
2012-10-03 16:16:06,836 WARNING: modinfo for module fglrx failed: ERROR: modinfo: could not find module fglrx

2012-10-03 16:16:06,840 DEBUG: Instantiated Handler subclass __builtin__.FglrxDriver from name FglrxDriver
2012-10-03 16:16:06,840 DEBUG: fglrx.available: falling back to default

2012-10-03 16:16:06,873 DEBUG: ATI/AMD proprietary FGLRX graphics driver availability undetermined, adding to pool
2012-10-03 16:16:06,873 DEBUG: loading custom handler /usr/share/jockey/handlers/dvb_usb_firmware.py
2012-10-03 16:16:06,925 DEBUG: Instantiated Handler subclass __builtin__.DvbUsbFirmwareHandler from name DvbUsbFirmwareHandler
2012-10-03 16:16:06,926 DEBUG: Firmware for DVB cards not available
2012-10-03 16:16:06,926 DEBUG: loading custom handler /usr/share/jockey/handlers/nvidia.py
2012-10-03 16:16:06,961 WARNING: modinfo for module nvidia_96 failed: ERROR: modinfo: could not find module nvidia_96

2012-10-03 16:16:06,967 DEBUG: Instantiated Handler subclass __builtin__.NvidiaDriver96 from name NvidiaDriver96
2012-10-03 16:16:06,968 DEBUG: nvidia.available: falling back to default
2012-10-03 16:16:06,980 DEBUG: XorgDriverHandler(nvidia_96, nvidia-96, None): Disabling as package video ABI xorg-video-abi-10 does not match X.org video ABI xorg-video-abi-11

2012-10-03 16:16:06,980 DEBUG: NVIDIA accelerated graphics driver not available
2012-10-03 16:16:06,983 WARNING: modinfo for module nvidia_current failed: ERROR: modinfo: could not find module nvidia_current

2012-10-03 16:16:06,987 DEBUG: Instantiated Handler subclass __builtin__.NvidiaDriverCurrent from name NvidiaDriverCurrent
2012-10-03 16:16:06,987 DEBUG: nvidia.available: falling back to default
2012-10-03 16:16:07,015 DEBUG: NVIDIA accelerated graphics driver availability undetermined, adding to pool
2012-10-03 16:16:07,018 WARNING: modinfo for module nvidia_current_updates failed: ERROR: modinfo: could not find module nvidia_current_updates

2012-10-03 16:16:07,021 DEBUG: Instantiated Handler subclass __builtin__.NvidiaDriverCurrentUpdates from name NvidiaDriverCurrentUpdates
2012-10-03 16:16:07,022 DEBUG: nvidia.available: falling back to default

2012-10-03 16:16:07,066 DEBUG: NVIDIA accelerated graphics driver (post-release updates) availability undetermined, adding to pool
2012-10-03 16:16:07,069 WARNING: modinfo for module nvidia_173_updates failed: ERROR: modinfo: could not find module nvidia_173_updates

2012-10-03 16:16:07,072 DEBUG: Instantiated Handler subclass __builtin__.NvidiaDriver173Updates from name NvidiaDriver173Updates
2012-10-03 16:16:07,073 DEBUG: nvidia.available: falling back to default
2012-10-03 16:16:07,105 DEBUG: NVIDIA accelerated graphics driver (post-release updates) availability undetermined, adding to pool
2012-10-03 16:16:07,112 WARNING: modinfo for module nvidia_173 failed: ERROR: modinfo: could not find module nvidia_173

2012-10-03 16:16:07,118 DEBUG: Instantiated Handler subclass __builtin__.NvidiaDriver173 from name NvidiaDriver173
2012-10-03 16:16:07,119 DEBUG: nvidia.available: falling back to default

2012-10-03 16:16:07,159 DEBUG: NVIDIA accelerated graphics driver availability undetermined, adding to pool
2012-10-03 16:16:07,166 WARNING: modinfo for module nvidia_96_updates failed: ERROR: modinfo: could not find module nvidia_96_updates

2012-10-03 16:16:07,171 DEBUG: Instantiated Handler subclass __builtin__.NvidiaDriver96Updates from name NvidiaDriver96Updates
2012-10-03 16:16:07,171 DEBUG: nvidia.available: falling back to default
2012-10-03 16:16:07,188 DEBUG: XorgDriverHandler(nvidia_96_updates, nvidia-96-updates, None): Disabling as package video ABI xorg-video-abi-10 does not match X.org video ABI xorg-video-abi-11
2012-10-03 16:16:07,188 DEBUG: NVIDIA accelerated graphics driver (post-release updates) not available
2012-10-03 16:16:07,188 DEBUG: loading custom handler /usr/share/jockey/handlers/madwifi.py
2012-10-03 16:16:07,195 WARNING: modinfo for module ath_pci failed: ERROR: modinfo: could not find module ath_pci


2012-10-03 16:16:07,195 DEBUG: Instantiated Handler subclass __builtin__.MadwifiHandler from name MadwifiHandler
2012-10-03 16:16:07,196 DEBUG: Alternate Atheros "madwifi" driver availability undetermined, adding to pool
2012-10-03 16:16:07,196 DEBUG: loading custom handler /usr/share/jockey/handlers/sl_modem.py
2012-10-03 16:16:07,213 DEBUG: Instantiated Handler subclass __builtin__.SlModem from name SlModem
2012-10-03 16:16:07,234 DEBUG: Software modem not available
2012-10-03 16:16:07,234 DEBUG: loading custom handler /usr/share/jockey/handlers/broadcom_wl.py
2012-10-03 16:16:07,239 WARNING: modinfo for module wl failed: ERROR: modinfo: could not find module wl

2012-10-03 16:16:07,277 DEBUG: Instantiated Handler subclass __builtin__.BroadcomWLHandler from name BroadcomWLHandler
2012-10-03 16:16:07,277 DEBUG: Broadcom STA wireless driver availability undetermined, adding to pool

2012-10-03 16:16:07,278 DEBUG: all custom handlers loaded
2012-10-03 16:16:07,278 DEBUG: querying driver db about HardwareID('modalias', 'pci:v00008086d000027D8sv00001043sd000082EAbc04sc03i00')
2012-10-03 16:16:07,568 DEBUG: searching handler for driver ID {'driver_type': 'kernel_module', 'kernel_module': 'snd_hda_intel'}
2012-10-03 16:16:07,699 DEBUG: no corresponding handler available for {'driver_type': 'kernel_module', 'kernel_module': 'snd_hda_intel', 'jockey_handler': 'KernelModuleHandler'}
2012-10-03 16:16:07,699 DEBUG: searching handler for driver ID {'driver_type': 'kernel_module', 'kernel_module': 'snd_hda_intel'}
2012-10-03 16:16:07,699 DEBUG: no corresponding handler available for {'driver_type': 'kernel_module', 'kernel_module': 'snd_hda_intel', 'jockey_handler': 'KernelModuleHandler'}
2012-10-03 16:16:07,699 DEBUG: querying driver db about HardwareID('modalias', 'input:b0000v0000p0000e0000-e0,5,kramlsfw6,')
2012-10-03 16:16:07,704 DEBUG: searching handler for driver ID {'driver_type': 'kernel_module', 'kernel_module': 'evbug'}
2012-10-03 16:16:07,704 DEBUG: no corresponding handler available for {'driver_type': 'kernel_module', 'kernel_module': 'evbug', 'jockey_handler': 'KernelModuleHandler'}
2012-10-03 16:16:07,704 DEBUG: querying driver db about HardwareID('modalias', 'pci:v00008086d000027DAsv00001043sd00008179bc0Csc05i00')

2012-10-03 16:16:07,707 DEBUG: searching handler for driver ID {'driver_type': 'kernel_module', 'kernel_module': 'i2c_i801'}
2012-10-03 16:16:07,707 DEBUG: no corresponding handler available for {'driver_type': 'kernel_module', 'kernel_module': 'i2c_i801', 'jockey_handler': 'KernelModuleHandler'}
2012-10-03 16:16:07,707 DEBUG: querying driver db about HardwareID('modalias', 'acpi:PNP0C01:')
2012-10-03 16:16:07,707 DEBUG: querying driver db about HardwareID('modalias', 'acpi:PNP0B00:')
2012-10-03 16:16:07,707 DEBUG: querying driver db about HardwareID('modalias', 'pci:v00001969d00001026sv00001043sd00008304bc02sc00i00')
2012-10-03 16:16:07,710 DEBUG: searching handler for driver ID {'driver_type': 'kernel_module', 'kernel_module': 'atl1e'}
2012-10-03 16:16:07,710 DEBUG: no corresponding handler available for {'driver_type': 'kernel_module', 'kernel_module': 'atl1e', 'jockey_handler': 'KernelModuleHandler'}
2012-10-03 16:16:07,710 DEBUG: querying driver db about HardwareID('modalias', 'input:b0003v04F2p0816e0111-e0,1,4,11,14,k71,72,73,74,75,77,79,7A,7B,7C,7D,7E,7F,80,81,82,83,84,85,86,87,88,89,8A,8C,8E,96,98,9E,9F,A1,A3,A4,A5,A6,AD,B0,B1,B2,B3,B4,B7,B8,B9,BA,BB,BC,BD,BE,BF,C0,C1,C2,F0,ram4,l0,1,2,sfw')
2012-10-03 16:16:07,711 DEBUG: searching handler for driver ID {'driver_type': 'kernel_module', 'kernel_module': 'evbug'}
2012-10-03 16:16:07,711 DEBUG: no corresponding handler available for {'driver_type': 'kernel_module', 'kernel_module': 'evbug', 'jockey_handler': 'KernelModuleHandler'}

2012-10-03 16:16:07,711 DEBUG: searching handler for driver ID {'driver_type': 'kernel_module', 'kernel_module': 'mac_hid'}
2012-10-03 16:16:07,711 DEBUG: no corresponding handler available for {'driver_type': 'kernel_module', 'kernel_module': 'mac_hid', 'jockey_handler': 'KernelModuleHandler'}
2012-10-03 16:16:07,711 DEBUG: querying driver db about HardwareID('modalias', 'platform:pcspkr')
2012-10-03 16:16:07,711 DEBUG: searching handler for driver ID {'driver_type': 'kernel_module', 'kernel_module': 'pcspkr'}
2012-10-03 16:16:07,711 DEBUG: no corresponding handler available for {'driver_type': 'kernel_module', 'kernel_module': 'pcspkr', 'jockey_handler': 'KernelModuleHandler'}
2012-10-03 16:16:07,712 DEBUG: searching handler for driver ID {'driver_type': 'kernel_module', 'kernel_module': 'snd_pcsp'}
2012-10-03 16:16:07,712 DEBUG: no corresponding handler available for {'driver_type': 'kernel_module', 'kernel_module': 'snd_pcsp', 'jockey_handler': 'KernelModuleHandler'}
2012-10-03 16:16:07,712 DEBUG: querying driver db about HardwareID('modalias', 'usb:v1D6Bp0001d0302dc09dsc00dp00ic09isc00ip00')
2012-10-03 16:16:07,724 DEBUG: querying driver db about HardwareID('modalias', 'input:b0019v0000p0001e0000-e0,1,k74,ramlsfw')
2012-10-03 16:16:07,724 DEBUG: searching handler for driver ID {'driver_type': 'kernel_module', 'kernel_module': 'evbug'}

2012-10-03 16:16:07,724 DEBUG: no corresponding handler available for {'driver_type': 'kernel_module', 'kernel_module': 'evbug', 'jockey_handler': 'KernelModuleHandler'}
2012-10-03 16:16:07,724 DEBUG: searching handler for driver ID {'driver_type': 'kernel_module', 'kernel_module': 'mac_hid'}
2012-10-03 16:16:07,724 DEBUG: no corresponding handler available for {'driver_type': 'kernel_module', 'kernel_module': 'mac_hid', 'jockey_handler': 'KernelModuleHandler'}
2012-10-03 16:16:07,724 DEBUG: querying driver db about HardwareID('modalias', 'acpi:PNP0C04:')
2012-10-03 16:16:07,724 DEBUG: querying driver db about HardwareID('modalias', 'platform:eisa')
2012-10-03 16:16:07,725 DEBUG: querying driver db about HardwareID('modalias', 'pci:v00008086d000027CCsv00001043sd00008179bc0Csc03i20')
2012-10-03 16:16:07,728 DEBUG: querying driver db about HardwareID('modalias', 'platform:Fixed MDIO bus')
2012-10-03 16:16:07,728 DEBUG: querying driver db about HardwareID('modalias', 'pci:v00008086d000029C0sv00001043sd000082B0bc06sc00i00')
2012-10-03 16:16:07,731 DEBUG: querying driver db about HardwareID('modalias', 'usb:v045Ep0766d0101dcEFdsc02dp01ic01isc01ip00')
2012-10-03 16:16:07,777 DEBUG: searching handler for driver ID {'driver_type': 'kernel_module', 'kernel_module': 'snd_usb_audio'}

2012-10-03 16:16:07,777 DEBUG: no corresponding handler available for {'driver_type': 'kernel_module', 'kernel_module': 'snd_usb_audio', 'jockey_handler': 'KernelModuleHandler'}
2012-10-03 16:16:07,777 DEBUG: querying driver db about HardwareID('modalias', 'acpi:PNP0F03:PNP0F13:')
2012-10-03 16:16:07,777 DEBUG: querying driver db about HardwareID('modalias', 'acpi:PNP0000:')
2012-10-03 16:16:07,777 DEBUG: querying driver db about HardwareID('modalias', 'pci:v00001002d000095C5sv0000174Bsd0000E400bc03sc00i00')
2012-10-03 16:16:08,072 DEBUG: searching handler for driver ID {'driver_type': 'kernel_module', 'kernel_module': 'fglrx_updates', 'package': 'fglrx-updates'}
2012-10-03 16:16:08,133 DEBUG: fglrx.enabled(fglrx_updates): target_alt None current_alt /usr/lib/i386-linux-gnu/mesa/ld.so.conf other target alt None other current alt None
2012-10-03 16:16:08,134 DEBUG: fglrx_updates is not the alternative in use
2012-10-03 16:16:08,072 DEBUG: found match in handler pool xorg:fglrx_updates([FglrxDriverUpdate, nonfree, disabled] ATI/AMD proprietary FGLRX graphics driver (post-release updates))
2012-10-03 16:16:08,136 WARNING: modinfo for module fglrx_updates failed: ERROR: modinfo: could not find module fglrx_updates


2012-10-03 16:16:08,147 DEBUG: fglrx.available: falling back to default
2012-10-03 16:16:08,173 DEBUG: fglrx.enabled(fglrx_updates): target_alt None current_alt /usr/lib/i386-linux-gnu/mesa/ld.so.conf other target alt None other current alt None
2012-10-03 16:16:08,173 DEBUG: fglrx_updates is not the alternative in use
2012-10-03 16:16:08,162 DEBUG: got handler xorg:fglrx_updates([FglrxDriverUpdate, nonfree, disabled] ATI/AMD proprietary FGLRX graphics driver (post-release updates))
2012-10-03 16:16:08,173 DEBUG: searching handler for driver ID {'driver_type': 'kernel_module', 'kernel_module': 'fglrx', 'package': 'fglrx'}
2012-10-03 16:16:08,184 DEBUG: fglrx.enabled(fglrx): target_alt None current_alt /usr/lib/i386-linux-gnu/mesa/ld.so.conf other target alt None other current alt None
2012-10-03 16:16:08,184 DEBUG: fglrx is not the alternative in use
2012-10-03 16:16:08,173 DEBUG: found match in handler pool xorg:fglrx([FglrxDriver, nonfree, disabled] ATI/AMD proprietary FGLRX graphics driver)
2012-10-03 16:16:08,187 WARNING: modinfo for module fglrx failed: ERROR: modinfo: could not find module fglrx


2012-10-03 16:16:08,190 DEBUG: fglrx.available: falling back to default
2012-10-03 16:16:08,216 DEBUG: fglrx.enabled(fglrx): target_alt None current_alt /usr/lib/i386-linux-gnu/mesa/ld.so.conf other target alt None other current alt None
.
.
.
2012-10-03 16:18:10,552 DEBUG: install progress initramfs-tools 62.500000
2012-10-03 16:18:22,249 DEBUG: install progress libc-bin 62.500000
2012-10-03 16:18:23,251 DEBUG: Selecting previously unselected package dkms.
(Reading database ... 142496 files and directories currently installed.)
Unpacking dkms (from .../dkms_2.2.0.3-1ubuntu3_all.deb) ...

Selecting previously unselected package fakeroot.
Unpacking fakeroot (from .../fakeroot_1.18.2-1_i386.deb) ...
Selecting previously unselected package fglrx-updates.
Unpacking fglrx-updates (from .../fglrx-updates_2%3a8.960-0ubuntu1.1_i386.deb) ...
Selecting previously unselected package fglrx-amdcccle-updates.
Unpacking fglrx-amdcccle-updates (from .../fglrx-amdcccle-updates_2%3a8.960-0ubuntu1.1_i386.deb) ...
Processing triggers for man-db ...
Processing triggers for ureadahead ...
ureadahead will be reprofiled on next reboot
dpkg: error processing libxss1 (--configure):

package libxss1 is already installed and configured
dpkg: error processing chromium-codecs-ffmpeg (--configure):
package chromium-codecs-ffmpeg is already installed and configured
dpkg: error processing chromium-browser (--configure):
package chromium-browser is already installed and configured
dpkg: error processing chromium-browser-l10n (--configure):
package chromium-browser-l10n is already installed and configured
Setting up dkms (2.2.0.3-1ubuntu3) ...
No apport report written because MaxReports is reached already
No apport report written because MaxReports is reached already

Setting up fakeroot (1.18.2-1) ...
update-alternatives: using /usr/bin/fakeroot-sysv to provide /usr/bin/fakeroot (fakeroot) in auto mode.
Setting up fglrx-updates (2:8.960-0ubuntu1.1) ...
update-alternatives: using /usr/lib/fglrx/ld.so.conf to provide /etc/ld.so.conf.d/i386-linux-gnu_GL.conf (i386-linux-gnu_gl_conf) in auto mode.
update-alternatives: warning: skip creation of /etc/OpenCL/vendors/amdocl64.icd because associated file /usr/lib/fglrx/etc/OpenCL/vendors/amdocl64.icd (of link group i386-linux-gnu_gl_conf) doesn't exist.
update-alternatives: warning: skip creation of /usr/lib32/libaticalcl.so because associated file /usr/lib32/fglrx/libaticalcl.so (of link group i386-linux-gnu_gl_conf) doesn't exist.
update-alternatives: warning: skip creation of /usr/lib32/libaticalrt.so because associated file /usr/lib32/fglrx/libaticalrt.so (of link group i386-linux-gnu_gl_conf) doesn't exist.
update-alternatives: using /usr/lib/fglrx/alt_ld.so.conf to provide /etc/ld.so.conf.d/x86_64-linux-gnu_GL.conf (x86_64-linux-gnu_gl_conf) in auto mode.
update-initramfs: deferring update (trigger activated)
Loading new fglrx-updates-8.960 DKMS files...

First Installation: checking all kernels...
Building only for 3.2.0-29-generic-pae
Building for architecture i686
Building initial module for 3.2.0-29-generic-pae
Done.

fglrx_updates:
Running module version sanity check.
- Original module
- No original module exists within this kernel

- Installation
- Installing to /lib/modules/3.2.0-29-generic-pae/updates/dkms/

depmod......

DKMS: install completed.
update-initramfs: deferring update (trigger activated)
Processing triggers for bamfdaemon ...
Rebuilding /usr/share/applications/bamf.index...
Setting up fglrx-amdcccle-updates (2:8.960-0ubuntu1.1) ...

Processing triggers for initramfs-tools ...
update-initramfs: Generating /boot/initrd.img-3.2.0-29-generic-pae
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
Errors were encountered while processing:
libxss1
chromium-codecs-ffmpeg
chromium-browser
chromium-browser-l10n
Error in function:

SystemError: E:Sub-process /usr/bin/dpkg returned an error code (1)

2012-10-03 16:18:23,256 ERROR: Package failed to install:
Selecting previously unselected package dkms.
(Reading database ... 142496 files and directories currently installed.)
Unpacking dkms (from .../dkms_2.2.0.3-1ubuntu3_all.deb) ...
Selecting previously unselected package fakeroot.
Unpacking fakeroot (from .../fakeroot_1.18.2-1_i386.deb) ...
Selecting previously unselected package fglrx-updates.
Unpacking fglrx-updates (from .../fglrx-updates_2%3a8.960-0ubuntu1.1_i386.deb) ...

Selecting previously unselected package fglrx-amdcccle-updates.
Unpacking fglrx-amdcccle-updates (from .../fglrx-amdcccle-updates_2%3a8.960-0ubuntu1.1_i386.deb) ...
Processing triggers for man-db ...
Processing triggers for ureadahead ...
ureadahead will be reprofiled on next reboot
dpkg: error processing libxss1 (--configure):
package libxss1 is already installed and configured
dpkg: error processing chromium-codecs-ffmpeg (--configure):
package chromium-codecs-ffmpeg is already installed and configured
dpkg: error processing chromium-browser (--configure):

package chromium-browser is already installed and configured
dpkg: error processing chromium-browser-l10n (--configure):
package chromium-browser-l10n is already installed and configured
Setting up dkms (2.2.0.3-1ubuntu3) ...
No apport report written because MaxReports is reached already
No apport report written because MaxReports is reached already
Setting up fakeroot (1.18.2-1) ...
update-alternatives: using /usr/bin/fakeroot-sysv to provide /usr/bin/fakeroot (fakeroot) in auto mode.
Setting up fglrx-updates (2:8.960-0ubuntu1.1) ...
update-alternatives: using /usr/lib/fglrx/ld.so.conf to provide /etc/ld.so.conf.d/i386-linux-gnu_GL.conf (i386-linux-gnu_gl_conf) in auto mode.

update-alternatives: warning: skip creation of /etc/OpenCL/vendors/amdocl64.icd because associated file /usr/lib/fglrx/etc/OpenCL/vendors/amdocl64.icd (of link group i386-linux-gnu_gl_conf) doesn't exist.
update-alternatives: warning: skip creation of /usr/lib32/libaticalcl.so because associated file /usr/lib32/fglrx/libaticalcl.so (of link group i386-linux-gnu_gl_conf) doesn't exist.
update-alternatives: warning: skip creation of /usr/lib32/libaticalrt.so because associated file /usr/lib32/fglrx/libaticalrt.so (of link group i386-linux-gnu_gl_conf) doesn't exist.
update-alternatives: using /usr/lib/fglrx/alt_ld.so.conf to provide /etc/ld.so.conf.d/x86_64-linux-gnu_GL.conf (x86_64-linux-gnu_gl_conf) in auto mode.
update-initramfs: deferring update (trigger activated)
Loading new fglrx-updates-8.960 DKMS files...
First Installation: checking all kernels...
Building only for 3.2.0-29-generic-pae
Building for architecture i686
Building initial module for 3.2.0-29-generic-pae

Done.

fglrx_updates:
Running module version sanity check.
- Original module
- No original module exists within this kernel
- Installation
- Installing to /lib/modules/3.2.0-29-generic-pae/updates/dkms/

depmod......


DKMS: install completed.
update-initramfs: deferring update (trigger activated)
Processing triggers for bamfdaemon ...
Rebuilding /usr/share/applications/bamf.index...
Setting up fglrx-amdcccle-updates (2:8.960-0ubuntu1.1) ...
Processing triggers for initramfs-tools ...
update-initramfs: Generating /boot/initrd.img-3.2.0-29-generic-pae
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place

Errors were encountered while processing:
libxss1
chromium-codecs-ffmpeg
chromium-browser
chromium-browser-l10n
Error in function:
SystemError: E:Sub-process /usr/bin/dpkg returned an error code (1)

2012-10-03 16:18:23,590 WARNING: /sys/module/fglrx_updates/drivers does not exist, cannot rebind fglrx_updates driver
2012-10-03 16:18:43,601 DEBUG: fglrx.enabled(fglrx_updates): target_alt None current_alt /usr/lib/fglrx/ld.so.conf other target alt None other current alt /usr/lib/fglrx/alt_ld.so.conf

2012-10-03 16:18:43,601 DEBUG: fglrx_updates is not the alternative in use
2012-10-03 16:18:43,617 DEBUG: fglrx.enabled(fglrx_updates): target_alt None current_alt /usr/lib/fglrx/ld.so.conf other target alt None other current alt /usr/lib/fglrx/alt_ld.so.conf
2012-10-03 16:18:43,617 DEBUG: fglrx_updates is not the alternative in use
2012-10-03 16:18:54,143 DEBUG: fglrx.enabled(fglrx_updates): target_alt None current_alt /usr/lib/fglrx/ld.so.conf other target alt None other current alt /usr/lib/fglrx/alt_ld.so.conf
2012-10-03 16:18:54,144 DEBUG: fglrx_updates is not the alternative in use
2012-10-03 16:18:54,154 DEBUG: fglrx.enabled(fglrx_updates): target_alt None current_alt /usr/lib/fglrx/ld.so.conf other target alt None other current alt /usr/lib/fglrx/alt_ld.so.conf
2012-10-03 16:18:54,154 DEBUG: fglrx_updates is not the alternative in use
2012-10-03 16:18:54,182 DEBUG: fglrx.enabled(fglrx): target_alt /usr/lib/fglrx/ld.so.conf current_alt /usr/lib/fglrx/ld.so.conf other target alt /usr/lib/fglrx/alt_ld.so.conf other current alt /usr/lib/fglrx/alt_ld.so.conf
2012-10-03 16:18:54,182 DEBUG: XorgDriverHandler(%s, %s).enabled(): No X.org driver set, not checking
2012-10-03 16:18:54,215 DEBUG: fglrx.enabled(fglrx_updates): target_alt None current_alt /usr/lib/fglrx/ld.so.conf other target alt None other current alt /usr/lib/fglrx/alt_ld.so.conf

2012-10-03 16:18:54,215 DEBUG: fglrx_updates is not the alternative in use
2012-10-03 16:18:54,229 DEBUG: fglrx.enabled(fglrx_updates): target_alt None current_alt /usr/lib/fglrx/ld.so.conf other target alt None other current alt /usr/lib/fglrx/alt_ld.so.conf
2012-10-03 16:18:54,229 DEBUG: fglrx_updates is not the alternative in use
2012-10-03 16:18:54,268 DEBUG: fglrx.enabled(fglrx_updates): target_alt None current_alt /usr/lib/fglrx/ld.so.conf other target alt None other current alt /usr/lib/fglrx/alt_ld.so.conf
2012-10-03 16:18:54,268 DEBUG: fglrx_updates is not the alternative in use
2012-10-03 16:18:54,279 DEBUG: fglrx.enabled(fglrx_updates): target_alt None current_alt /usr/lib/fglrx/ld.so.conf other target alt None other current alt /usr/lib/fglrx/alt_ld.so.conf
2012-10-03 16:18:54,279 DEBUG: fglrx_updates is not the alternative in use
2012-10-03 16:18:54,298 DEBUG: fglrx.enabled(fglrx): target_alt /usr/lib/fglrx/ld.so.conf current_alt /usr/lib/fglrx/ld.so.conf other target alt /usr/lib/fglrx/alt_ld.so.conf other current alt /usr/lib/fglrx/alt_ld.so.conf
2012-10-03 16:18:54,298 DEBUG: XorgDriverHandler(%s, %s).enabled(): No X.org driver set, not checking
2012-10-03 16:18:57,828 DEBUG: Shutting down



I don't know how to troubleshoot from looking at the log file, could somebody assist me with this please?



You can download the log file at: https://www.dropbox.com/s/a59d2hyabo02q5z/jockey.log

How do you run Ubuntu Server with a GUI?

Trying to run a Ubuntu server for the first time... But everything is in a terminal. Is there a way to switch to a GUI?

lubuntu - How can I recover my data after replacing ubuntu with windows 7?

Recently, a technician installed windows 7 over already installed ubuntu in my 32-bit computer, and i have lost most important data, how to recover my data? please suggest.

wireless - How do I install Jensen Scandinavia Airlink 100ac driver?

I just recently installed Ubuntu 14.04.
I am trying to follow the simple step by step guide in the accompanied pdf file to install the Linux driver for the airlink 100ac. The only internet access I have is on another laptop, and I have an 8gig usb stick which I can use. To transfer files, as I can do with the driver folder.
The step by step guide:


Installation of driver in Linux



  1. Download the latest Linux driver from
    http://www.jensenscandinavia.com/downloads


  2. Copy the driver to your local folder.


  3. Open console

  4. Unzip the driver

  5. Enter make
    (and click enter)


  6. Enter sudo apt-get install build-essential
    (and click enter)


  7. If you have the
    Air:Link 500ac - enter
    (and click Enter)
    sudo modprobe 8812au. If you have the
    Air:Link 100ac - enter
    sudo modprobe 8821au
    (and click Enter)


The driver should now be installed and your
AL100AC / 500AC is ready for use.


How do I install this? On step 5, when I type make and press enter, it says :



make: *** No targets specified and no makefile found. Stop.



And on step 6, I suppose I need internet connection? I don't have an internet connection before I get the usb dongle to function. Can I get build-essential via usb?

software installation - Failed to fetch http://ppa.launchpad.net

When I run




sudo apt-get update


I always get this output:



...

E: Failed to fetch http://ppa.launchpad.net/q-quark/equalx/ubuntu/dists/xenial/main/source/Sources 404 Not Found
E: Some index files failed to download. They have been ignored, or old ones used instead



How could I fix it?

Saturday, February 24, 2018

10.10 - can't get updatemanger to update vlc



I'm running Ubuntu 10.10 Maverick and trying to update vlc from the new PPA ppa:ferramroberto/vlc . Update Manger just says Other updates (LP-PPA-ferrnroberto-vlc) then shows libirary for encoding/decoding of Dirac video streams libschroedinger-1.0-0(size: 254KB) . But doesn't let me check mark it to update it. I have the following settings checked marked Important Security upadtes , Reconmended updates , Check for updates Daily , Only notify about avalible updats ,
and Release upgrades set to Normal.




If you examine the package details for that PPA you'll notice that both the i386 & amd64 builds of the vlc package failed.



It does not look like the author of the PPA has pushed for the new version of vlc to be rebuilt.



My suggestion is to follow my answer here to upgrade your version of VLC to 1.1.10.



Note, first untick the ferrnroberto ppa from Software Sources and do a Reload before adding the new PPA.


14.04 - Has xorg deleted the nvidia 343 package?

I'm following this answer to get my GTX 970 working, however before installing nvidia-343 I noticed that I couldn't find the package on xorgs site:
https://launchpad.net/~xorg-edgers/+archive/ubuntu/ppa


I'd like to know what I'm doing rather than blindly follow solutions which may be out of date, can anyone shed some light onto this and educate me :)?


Thank you

boot - erase ubuntu and reinstall will it affect windows and other windows partitions


I am trying to install a fresh version of Ubuntu in my computer without touching the windows 10 dual boot!


In the Installation Type, the first option seems exactly what i wanted to do.


enter image description here


My question is, is this feature is safe to use? because i don't want to lose any windows files and other NTFS partitions on the hard-disk. Please eliminate my confusion.


Note as that i dont need any files or media which are in the ubuntu partition, Thanks.



It's saying that the partition that you have created as logical, i.e,


/dev/sda7 which is of type swap and


the partition /dev/sda8 of type ext4


will be formatted and made clean to make space for the new installation of Ubuntu OS.


apt - How to correctly remove a PPA source?



If I've added a PPA with "sudo add-apt-repository" should I just delete a file in /etc/apt/sources.list.d, or there is a command for removal?

apt - I have a version dependency that I don't understand

Nautilus threw a SEGFAULT, the Ubuntu bug handler caught the crash and generated a crash report. So far, so good. In the bug report, it said that there some packages that were out of date. Okay, I'd like to update them. However, updating one package, , causes a bunch of other packages dependency problems.



$ sudo apt-get upgrade apt cpp-5 apt-utils dosfstools gcc-5-base init-system-helpers libapt-inst2.0 libapt-pkg5.0 libgd3 libstdc++6
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
g++-5 : Depends: gcc-5-base (= 5.3.1-14ubuntu2) but 5.3.1-14ubuntu2.1 is to be installed
gcc-5 : Depends: cpp-5 (= 5.3.1-14ubuntu2) but 5.3.1-14ubuntu2.1 is to be installed
Depends: gcc-5-base (= 5.3.1-14ubuntu2) but 5.3.1-14ubuntu2.1 is to be installed
lib32stdc++6 : Depends: gcc-5-base (= 5.3.1-14ubuntu2) but 5.3.1-14ubuntu2.1 is to be installed
libasan2 : Depends: gcc-5-base (= 5.3.1-14ubuntu2) but 5.3.1-14ubuntu2.1 is to be installed
libatomic1 : Depends: gcc-5-base (= 5.3.1-14ubuntu2) but 5.3.1-14ubuntu2.1 is to be installed
libcc1-0 : Depends: gcc-5-base (= 5.3.1-14ubuntu2) but 5.3.1-14ubuntu2.1 is to be installed
libcilkrts5 : Depends: gcc-5-base (= 5.3.1-14ubuntu2) but 5.3.1-14ubuntu2.1 is to be installed
libgcc-5-dev : Depends: gcc-5-base (= 5.3.1-14ubuntu2) but 5.3.1-14ubuntu2.1 is to be installed
libgfortran3 : Depends: gcc-5-base (= 5.3.1-14ubuntu2) but 5.3.1-14ubuntu2.1 is to be installed
libgomp1 : Depends: gcc-5-base (= 5.3.1-14ubuntu2) but 5.3.1-14ubuntu2.1 is to be installed
libitm1 : Depends: gcc-5-base (= 5.3.1-14ubuntu2) but 5.3.1-14ubuntu2.1 is to be installed
liblsan0 : Depends: gcc-5-base (= 5.3.1-14ubuntu2) but 5.3.1-14ubuntu2.1 is to be installed
libmpx0 : Depends: gcc-5-base (= 5.3.1-14ubuntu2) but 5.3.1-14ubuntu2.1 is to be installed
libquadmath0 : Depends: gcc-5-base (= 5.3.1-14ubuntu2) but 5.3.1-14ubuntu2.1 is to be installed
libstdc++-5-dev : Depends: gcc-5-base (= 5.3.1-14ubuntu2) but 5.3.1-14ubuntu2.1 is to be installed
libtsan0 : Depends: gcc-5-base (= 5.3.1-14ubuntu2) but 5.3.1-14ubuntu2.1 is to be installed
libubsan0 : Depends: gcc-5-base (= 5.3.1-14ubuntu2) but 5.3.1-14ubuntu2.1 is to be installed
E: Broken packages
$

Is there a way to resolve this issue? I looked at this post and I am not sure I like that: I assume that those dependencies are there for a reason. This one suggests some additional troubleshooting. Not sure if that is appropriate here, but better to give you information you don't need than not give you the information you do.


$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 16.04 LTS
Release: 16.04
Codename: xenial
$
$ grep -e '^deb\s' /etc/apt/sources.list /etc/apt/sources.list.d/*.list
/etc/apt/sources.list:deb [us.archive.ubuntu.com](http://us.archive.ubuntu.com/ubuntu/) xenial main restricted
/etc/apt/sources.list:deb [us.archive.ubuntu.com](http://us.archive.ubuntu.com/ubuntu/) xenial-updates main restricted
/etc/apt/sources.list:deb [us.archive.ubuntu.com](http://us.archive.ubuntu.com/ubuntu/) xenial universe
/etc/apt/sources.list:deb [us.archive.ubuntu.com](http://us.archive.ubuntu.com/ubuntu/) xenial-updates universe
/etc/apt/sources.list:deb [us.archive.ubuntu.com](http://us.archive.ubuntu.com/ubuntu/) xenial multiverse
/etc/apt/sources.list:deb [us.archive.ubuntu.com](http://us.archive.ubuntu.com/ubuntu/) xenial-updates multiverse
/etc/apt/sources.list:deb [us.archive.ubuntu.com](http://us.archive.ubuntu.com/ubuntu/) xenial-backports main restricted universe multiverse
/etc/apt/sources.list:deb [us.archive.ubuntu.com](http://security.ubuntu.com/ubuntu) xenial-security main restricted
/etc/apt/sources.list:deb [us.archive.ubuntu.com](http://security.ubuntu.com/ubuntu) xenial-security universe
/etc/apt/sources.list:deb http://security.ubuntu.com/ubuntu) xenial-security multiverse
/etc/apt/sources.list.d/embrosyn-ubuntu-cinnamon-xenial.list:deb [us.archive.ubuntu.com](http://ppa.launchpad.net/embrosyn/cinnamon/ubuntu) xenial main
/etc/apt/sources.list.d/google-chrome.list:deb [arch=amd64] [us.archive.ubuntu.com](http://dl.google.com/linux/chrome/deb/) stable main
/etc/apt/sources.list.d/google-webdesigner.list:deb [us.archive.ubuntu.com](http://dl.google.com/linux/webdesigner/deb/) stable main
$

I think this issue is not important, because Nautilus mostly works, and I was not aware of the problem until the crash reporter reported the crash. Also, I'm not developing in C or C++.


Thank you for your kind assistance.

lightdm - Cannot unlock session if user has no password

I created an account with no password for my 3 year old child. After some time of inactivity on that account, the session locks.


Then I cannot unlock the session. Trying to unlock with an empty password does not work, and there is no password to enter.


The easy solution for now is to disable the locking of the session, but I want the computer to auto-suspend after time-out.


Why can't I unlock without entering a password? Is it a bug or a feature? Is it even a known behavior?

Friday, February 23, 2018

How can I give a script its own icon in the Unity launcher?




With Ubuntu 16.04, if you create a launcher (desktop file in ~/.local/share/applications) with a custom icon for a terminal application (so with Terminal=true) then when you start it, it will spawn a new standard terminal icon, and your custom icon will pulse and disappear within a few seconds.



In 14.04, it just worked as expected. (it would not start a new standard terminal icon).



Any idea what to do to change this behaviour? I have a few terminal apps that I want to launch from unity and the new behaviour is problematic (I lose trace of which is which since they all end up with the standard terminal icon)...



Why it doesn't work like you do



As mentioned in the comment, an application in principle can only be represented by one icon in the launcher at a time. This has always been the case.




What you are referring to is probably that Unity has become "smarter" in determining which of the .desktop files is the best representative for the application's window. Therefore, your script, running a terminal window, will be represented by the gnome-terminal -icon:



enter image description here



Therefore, what worked in the past in your setup, simply creating a launcher, starting your script, doesn't fool Unity anymore, and it picks the existing gnome-terminal launcher to represent your window.



The bad solution



...is to overrule Unity's choice by adding a line to your launcher (for 16.04):




StartupWMClass=gnome-terminal-server


enter image description here



...but then all terminal windows, no matter if they run your script or not, are grouped under this icon.



Furthermore, in general, having multiple .desktop files, calling the same application in their main command is bad, unclean practice.







EDIT



How to have (a) separate icon(s) for a running script(s)



It takes a bit of trickery and deceit, but it is possible to have a separate icon for multiple scripts, running in different terminal windows.



How it works in practice





  • Say you have a script, somscript.sh, which you want to run in a terminal window, showing its dedicated icon in the Unity Launcher while it runs.

  • Run the command:



    showicon somescript.sh someicon.png


    and the script will run inside a newly opened gnome-terminal window, showing the icon: someicon.png


  • If the window is closed, the icon is removed from the launcher again.




An example




  • I want a script, /home/jacob/Bureaublad/script.sh, run, showing in the Unity launcher with icon: /home/jacob/Thema/icon/ubu.png
    Running the command:



    showicon '/home/jacob/Bureaublad/script.sh' '/home/jacob/Thema/icon/ubu.png'


    will do that:




    enter image description here



    Now let's add another one:



    showicon '/home/jacob/Bureaublad/script2.sh' '/home/jacob/Thema/icon/banaan.png'


    The result:




    enter image description here



    Once the windows are closed, the icon(s) are removed again.




How to setup




  1. The script needs wmctrl




    sudo apt-get install wmctrl

  2. Create, if it doesn't exist yet, the directory ~/bin


  3. Copy the script below into an empty file, save it as showicon (no extension) in ~/bin, and make it executable

  4. Log out and back in, your setup should work. Test it with the command



    showicon  


    to have script.sh run in a terminal, showing icon.png in the Unity launcher.





The script



#!/usr/bin/env python3
import subprocess
import os
import sys
import time


terminal = "gnome-terminal"
key = "com.canonical.Unity.Launcher"
script = sys.argv[1]
icon = sys.argv[2]

curr = os.path.dirname(os.path.realpath(__file__))
scriptname = script.split("/")[-1]

def get(command):
try:

return subprocess.check_output(command).decode("utf-8")
except subprocess.CalledProcessError:
pass

# --- edit Unity launcher section

def current_launcher():
return eval(get(["gsettings", "get", key, "favorites"]))

def set_launcher(desktopfile, arg):

curr_launcher = current_launcher()
last = [i for i, x in enumerate(curr_launcher) if x.startswith("application://")][-1]
new_icon = "application://"+desktopfile
if arg == "a":
if not new_icon in curr_launcher:
curr_launcher.insert(0, new_icon)
subprocess.Popen(["gsettings", "set", key,"favorites",str(curr_launcher)])
elif arg == "r":
curr_launcher.remove(new_icon)
subprocess.Popen(["gsettings", "set", key,"favorites",str(curr_launcher)])


# --- end section

def create_launcher(w, scriptname, icon):
launcher = ["[Desktop Entry]", "Type=Application",
"Exec=wmctrl -ia "+w, "Name="+scriptname, "Icon="+icon,
"StartupNotify=False"]
with open(l_name, "wt") as newlauncher:
for l in launcher:
newlauncher.write(l+"\n")


def getname():
# create unique launcher name
n = 1
while True:
nm = os.path.join(curr, "scriptlauncher_"+str(n)+".desktop")
if os.path.exists(nm):
n += 1
else:
break

return nm

wlist1 = [l.split()[0] for l in get(["wmctrl", "-l"]).splitlines()]
subprocess.Popen(["gnome-terminal", "-e", script])

while True:
time.sleep(1)
wdata = get(["wmctrl", "-l"]).splitlines()
if wdata:
try:

wlist2 = [l.split()[0] for l in wdata]
w = [w for w in wlist2 if not w in wlist1][0]
except IndexError:
pass
else:
# check if the new window belongs to the terminal
if terminal in get(["xprop", "-id", w]):
# create launcher
l_name = getname()
create_launcher(w, scriptname, icon)

set_launcher(l_name, "a")
break
wlist1 = wlist2

while True:
time.sleep(2)
wdata = get(["wmctrl", "-l"])
if wdata:
if not w in wdata:
os.remove(l_name)

set_launcher(l_name, "r")
break


Note




  • What the icon does:





    • It represents the gnome-terminal window, running your script

    • When clicking on it, it raises the window, as usual. The command to do so is automatically added to the temporary launcher:



      wmctrl -ia 


  • What it does not:




    • The only downside of this solution is that the icon does not show the usual arrow on the left for running apps, since the representation is indirect.





Explanation



Without going too much into detail:




  • The script is a wrapper. If you launch your script via showicon, an instance of showicon runs your script in a gnome-terminal window, similar to Terminal=true.

  • Subsequently, showicon waits for the new gnome-terminal window to appear and reads its window id.


  • A temporary launcher is then created, using the window id to create the command to raise the window in its Exec= line. The icon you set as argument in the command to run showicon is automatically set as icon of this temporary launcher (defined in the line Icon=).



    an example of such an automatically created (temporary) launcher:



    [Desktop Entry]
    Type=Application
    Exec=wmctrl -ia 0x04400b7f
    Name=script2.sh
    Icon=/home/jacob/Thema/icon/ubu.png
    StartupNotify=False


  • Using the very same procedure as in this answer, the temporary launcher is added to the Unity Launcher, in the top position, to represent your running script.


  • In the meantime, showicon checks for the window to exist. If not (anymore), the temporary launcher is removed from the Unity launcher and removed from existence at all, and the showicon instance is terminated.


How to add a ppa from a launchpad link


How can I add this ppa:


https://launchpad.net/~ermshiperete/+archive/ubuntu/monodevelop


to Ubuntu by a command?


So given a launchpad link how can I created the appropriate command?



Open the Other Software tab in Software & Updates


sudo software-properties-gtk --open-tab=1

click on Add


enter image description here


type in the ppa - then click on Add Source


enter image description here


Then click on Close.


Now install your package.


sudo apt-get install monodevelop

partitioning - accessing usb drive for storage after making it bootable with 16.04

I used both etcher and startup disk creator to make a live USB to install Ubuntu 16.04 from iso file. I used a sandisk 16gb drive.


I was able to install 16.04 all right. The problem is that the USB stick is now unusable for anything else. It shows only about 1.5gb of storage split into sdb1 and sdb2. Windows formatting does not work. the stick still has the same files and the same amount of storage.


gparted cannot delete the two partitions. The only way recover the disk seems to wipe it with


dd if=/dev/zero of=/dev/sdb

ppa - install gcc-9 on Ubuntu 18.04?


gcc-9 is just released.


I was wondering if there is a repository that allows me to install gcc 9 on Ubuntu 18.04 LTS (bionic)?


There seems to be repositories supporting disco:


https://packages.ubuntu.com/disco/gcc-9-base


But I liked to have it on the current LTS for a while.



I used a search for PPAs, using search on launchpad.net and found JonathonF's GCC 9.0 PPA. You can install this package by:


sudo add-apt-repository ppa:jonathonf/gcc-9.0
sudo apt-get install gcc-9

Thursday, February 22, 2018

unity - 13.04 launcher and menu bar disappeared

Last night I downloaded python 3.3 and idle. I turned it on today and the launcher and menu bar disappeared. It didn't even ask for my password and all I see is my desktop. I tried finding answers from many places: Launcher, top Panel, and window decorations missing after 12.04 upgrade, Unity has disappeared, and How do I reset my Unity configuration?. But they all did not help and I do not know what to do. I tried unity --reset many times and it says reset option is now deprecated. I am not sure if this means anything but sometimes there are internal errors and when I try to show the details some directory which includes /bin. comes out and nothing else. Any help would be greatly appreciated.

10.10 - Does dist-upgrade require PPA software to be uninstalled first?



I'm still running Ubuntu 10.04 with quite a few PPAs. Amongst the PPAs there is Guiodic (Guido Iodice) Lucid quasi-rolling :) PPA which brings most recent versions of many programs to my desktop.



My steps:




  1. sudo update-manager -d

  2. click on upgrade on the appearing window


  3. wait for the magic to happen: prepare to upgrade and setting new software channels

  4. during 'calculating the changes' I will get the following error message in the panel



    An error occurred, please run Package Manager form the right-click menu or apt-get in a terminal to see what is wrong.
    The error message was: ' Error: Marking the upgrade (E:Error, pkgProblemResolver::Resolver generated breaks, this may be caused by help packages.)'This usually means that your installed packages have unmet dependencies




When I check Synaptic/apt-get I can't find any errors or hint toward broken packages



http://i.stack.imgur.com/di9CR.png




Could this error be because of many PPA versions being newer than 10.04 original versions?



It seems the direct answer to my question is NO. see above comments.


software recommendation - How do I run an application once installed?

I have just downloaded three programs, including Audacity from the Software Center, and, while they are listed in my 'downloads' folder, I don't see how to open and run them. When I write click "open", all I get is read-only files like ".exe." The Software Center also says "installed".
No icon has appeared for Audacity. Suggestions?
thanks.

Wednesday, February 21, 2018

apt - The difference between simply installing software & adding to repository

I have a simple question coming from my mind.


What is the difference between :


sudo add-apt-repository ppa:cwchien/gradle
sudo apt-get update
sudo apt-get install gradle

And simply


sudo apt-get install gradle

Which one should i use & why?


Thanks for your time.

grub2 - How can I add an entry for Ubuntu to the Windows 7 boot menu?

I have the following setup:


first partition is windows 7 partition
second partition - ubuntu 12.04 partition


while installing ubuntu I installed grub2 bootloader to ubuntu partition


mbr contains windows bootloader


I have tried using EasyBCD to add entry to windows boot menu, with no luck - this entry just boots into grub4dos command prompt


how to add Ubuntu to windows boot menu?


please do not suggest installing grub2 to mbr or wubi..




Update:


I followed the instructions to install EasyBCD and add an entry to Windows boot menu to boot Ubuntu step by step. When I reboot both the NeoGrub Bootloader and the Ubuntu menu items take me to the screen below.


enter image description here

dual boot - unable to dualboot win XP with Ubuntu 13.04 on Asus Zenbook UX32a



I recently bought an Asus Zenbook UX32A. Now I'm trying to dualboot it with XP and Ubuntu 13.04.




Both OS's seem to have installed correctly but I just can't boot into grub to let me choose wich OS I want to use. By default XP loads.



I've created separate partitions on my SSD and HDD.
I would like to share the ssd for both OS's but keep all the documents and stuff on the hdd, so I mounted /var and /home to the hdd. / is on the SSD



this is my fdisk output:




WARNING: GPT (GUID Partition Table) detected on '/dev/sda'! The util fdisk doesn't support GPT. Use GNU Parted.



Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0xc61722b1

Device Boot Start End Blocks Id System
/dev/sda2 2046 169228287 84613121 5 Extended

Partition 2 does not start on physical sector boundary.
/dev/sda4 * 169228288 322826239 76798976 7 HPFS/NTFS/exFAT
/dev/sda5 2048 7812594 3905273+ 83 Linux
/dev/sda6 7815168 15626239 3905536 82 Linux swap / Solaris
/dev/sda7 15628288 169228287 76800000 83 Linux

WARNING: GPT (GUID Partition Table) detected on '/dev/sdb'! The util fdisk doesn't support GPT. Use GNU Parted.


Disk /dev/sdb: 32.0 GB, 32017047552 bytes

255 heads, 63 sectors/track, 3892 cylinders, total 62533296 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xfed1007e

Device Boot Start End Blocks Id System
/dev/sdb1 2048 30722047 15360000 83 Linux
/dev/sdb2 * 30722048 62529535 15903744 7 HPFS/NTFS/exFAT


Disk /dev/sdc: 8095 MB, 8095006720 bytes
255 heads, 63 sectors/track, 984 cylinders, total 15810560 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xefacefac


Here is my Boot Repair log




Might the failure to load GRUB 2 be linked to some EFI-thing?
All help will be truly appreciated, I'm actually stuck!



I never trust automatical tools, like Boot Repair. This question is fine example of why do they not deserve my trust. I've seen many ways of how one can manually do the things that BR does. Steps you should perform:




  1. Boot from LiveCD/LiveUSB

  2. Launch Terminal: Ctrl+Alt+T

  3. Run:




    sudo su
    mount /dev/sdb1 /mnt
    grub-install --root-directory=/mnt /dev/sdb
    for i in /sys /proc /run /dev; do mount --bind "$i" "/mnt$i"; done
    chroot /mnt
    update-grub
    exit
    umount /mnt/dev /mnt/proc /mnt/sys /mnt/run /mnt
    exit


  4. Reboot, enter your BIOS and check that you boot from /dev/sdb



After that, your Ubuntu should start without problems.



Also you may refer to:




mount - How to access efi boot partition as read-write?

I have installed Ubuntu 13.04 alongside windows 8 (efi mode) and now I want to go to a read-write access of the efi boot partition.



For secure boot to work, I installed the Linux Foundation's PreLoader. Then I enabled root account login to access the efi boot partition. I have copied the boot loader, but now the efi boot partition mounts as read-only.




When I try to change the folder permissions, it says:



Error setting permissions:Read-only filesystem


I have already tried the following command in root:



mount -o remount,rw /folder1/folder2/targetFolder



It is still read-only.



How to fix this?

11.04 - Remove drivers intalled from Additional Drivers section

Ubuntu 11.04 was working fine with my Nvidia GT550M graphic card. It has got all shadows, effects etc. But yesterday i noticed the "additional drivers" icon in notification area and installed it. But now after login it says "your graphic card does not support unity, log in to classic gnome". how can i uninstall the driver and roll back to default one?

nvidia optimus - Intel HD 3000 not working in ubuntu 12.04

My laptop is MSi GE620 DX and it has Nvidia Optimus technology. Intel and Nvidia gfx cards. However Ubuntu doesn´t even regonize my Intel HD 3000 at all!


I even tried Fedora 17 on my system and it did regonize Intel HD 3000 straight away. But not in Ubuntu. Can´t set the correct resolution, or run Gnome 3 for example. The card just isn´t regonized.


I tried install mesa-utils, but no, did not help.


I can´t use software that needs 3d in ubuntu, but in fedora, everything works.

14.04 - 16.04 LTS upgrade alert- How to handle it?


I am running Ubuntu 14.04 LTS. Today when I logged into my computer I got an update alert saying that I could upgrade to Ubuntu 16.04 LTS. The other options were not now or do not upgrade. If I chose to upgrade will it delete my /home directories and the installed software under /opt and /usr/local ?



The upgrade will not delete your files and installed software.


It will upgrade all software installed from Ubuntu repositories to new versions.


Please take in account that an upgrade can fail. There is no 100% guarantee it is successful.


If you are not sure, select "not now".


Tuesday, February 20, 2018

13.04 - Dual-boot Windows 7 + Ubuntu,Should I remove FAT32 partition


My partitions are as follows:


900 MB FAT32 (contains .bat,kernel.sys,bootmgr,bootsect.bak,fdosboot.bin ... etc. files)
70 GB NTFS (Windows 7) (also contains bootmgr,kernel.sys,bootsect.bak after using boot-repair)
80 GB ext4 (Ubuntu)
315 GB NTFS (Personal data)


I had dual boot problems after removing ubuntu incorrectly and after using boot-repair I got it solved.The grub menu previously(before problem) showed Win7 as on /dev/sda1,which is the FAT32 partition.After using boot-repair, it shows two options for Win7.One on /dev/sda1 (goes back to the error I was experiencing) and another on /dev/sda2 (actual Win7 installation) which boots me up with Win7.


Should I consider it safe to just remove the FAT32 partition?
I am not using ubuntu much nowadays and again thinking to uninstall it.Could you suggest a good way of not messing up the grub and going back to the Windows Bootloader after removal of Ubuntu? (WinRE bootrec commands do not work)



Short answer: If it's working fine now, better leave it as it is.


This question is more about the Windows boot setup. Please take a look at this answer on superuser.




The FAT partition is meant to be the EFI System Partition. Even if your computer is not UEFI enabled or defaults to traditional MBR based boot the Windows installation disk as well as OEM installations create two partitions:



  • the first one marked as system partition where the bootloader files and configuration for EFI and MBR boot are stored

  • the second one where the operating system is installed (and in some cases an individual backup boot configuration for MBR and EFI, that's why you can boot directly from the second partition, or via chainloader)


You could delete the first partition and move the second partition the use the free space, but 900 MB isn't worth the hassle that will follow. You will need to reinstall the bootloader and bootconfiguration to the second partition (the setup becomes invalid when you move the partition) via


bootrec /fixboot

or


bcdboot c:\Windows /l en-gb /s c: /f ALL

commands from the Windows installation disk. Take a look at the above mentioned Superuser answer and the GParted FAQ. You will probably need to mark the second partition as system or boot partition to make the above listed commands work. Then you need to install Grub again and probably everything will be fine again. If Grub's os-prober and boot-repair fail to find your Windows installation or the entry is not properly configured you need to write a customized entry.


For example this is a configuration from my laptop that is booting UEFI Grub from a GPT partitioned disk and starting Windows 8 from another MBR partitioned disk by running the EFI Windows bootmanager:


$ cat /etc/grub.d/40_custom
#!/bin/sh
exec tail -n +3 $0
# This file provides an easy way to add custom menu entries. Simply type the
# menu entries you want to add after this comment. Be careful not to change
# the 'exec tail' line above.
menuentry "Windows 8 (UEFI configuration on system drive)" {
insmod part_msdos
insmod ntfs
insmod search_fs_uuid
insmod chain
set root='hd0,msdos4'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos4 --hint-efi=hd0,msdos4 --hint-baremetal=ahci0,msdos4 2ACC7043CC700B79
else
search --no-floppy --fs-uuid --set=root 2ACC7043CC700B79
fi
chainloader /EFI/Microsoft/Boot/bootmgfw.efi
}

It's really not worth the hassle and risk. Instead you could do a clean and proper reinstall of Windows to one partition, and reinstall and configure Grub afterwards.


11.10 - Can't boot from USB after installing Ubuntu

I bought a Samsung series 5 notebook and a very strange thing happened: I installed Ubuntu 11.10 from a usb pen drive but when I restarted (...