Tuesday, April 30, 2019

boot - Blank screen after updating NVIDIA drivers

After installing NVIDIA drivers I get a blank screen after grub. I've tried all remedies from related threads, such as this one, but the problem persists for me.




Edit: (Removed unneccessary clutter, added following)


If I boot into recovery mode and then select "resume normal boot", it works! How is that possible?


Based on the logs, it looks like it tries to load NVIDIA drivers from the encrypted hard drive before it is decrypted, and that is causing the error? This would also explain why booting via recovery mode works: in that case the drive is decrypted before NVIDIA drivers are loaded. I tried to install without full disk encryption and everything worked, so this is definitely related to encryption. Other people also experienced issues with full disk encryption + nvidia drivers. I tried these steps to make the password entry screen text-only, but it didn't work (I tried the steps before installing drivers and I was still seeing a graphical window for entering the password).


Also, in the successful boot I see only 1 "drm device card", but on the failed boot I see 2:


xfree86: Adding drm device (/dev/dri/card1)
xfree86: Adding drm device (/dev/dri/card0)

The computer didn't automatically boot from USB,





I am new in Ubuntu and created a bootable USB disk first and restarted the PC(with OS Windows8) as recommended in the tutorial. However, the computer didn't automatically boot from USB, no menu box appeared on screen to choose "Try Ubuntu" or "Install Ubuntu", even though I tried holding esc, F12, F10. I appreciate any help!



Have you changed your boot priority in the BIOS? I think you can find the settings you want by changing the priority in the BIOS.


11.10 - How to update Wine to the latest version?


I just formatted my laptop and got rid of Windows 7. Yay ;-)


Either way, Wine is version 1.3.28 here, and I need it to update (there are some bugfixes) for my game so I need a more recent version. This is the version I got from the Ubuntu software manager. How do I get a more recent version or Wine version 1.4?


I've already added the repo into my repository, but still no updates.


Thanks in advance.



Add the correct repo


sudo add-apt-repository ppa:ubuntu-wine/ppa

Update your sources list


sudo apt-get update

Update or install wine to the version on the PPA


sudo apt-get install wine1.3

Note: even tough the package name is wine1.3 the listed version on the Ubuntu wine packagers PPA contains version 1.4~rc1-0ubuntu1~ppa1~oneiric1.


enter image description here


enter image description here


Nvidia drivers on Ubuntu 18.04 USB?




I have a 128GB Ubuntu (18.04) USB that I have on my keyring so I can take my files, programs, OS, etc. with me to any computer and it works great. One thing that annoys me is screen tearing. The computers I use the flash drive on most do have Nvidia GPUs, but some don't. Would installing Nvidia drivers cause issues while on non-Nvidia PCs?



Checking my answer, I see that my experience was a little out of date,



I now see that Nvidia is smart enough to check if there is a Nvidia graphics card present before loading the driver.



Have not checked with an AMD computer yet.



Alternatively the drive is fairly large, you can dual boot the same OS, but only install Nvidia drivers on one of the installs.




You can choose which install to boot depending on the computers graphics card.



You can share a /home partition between both OS so the only difference in experience between installs is the graphics quality.


apt - "Unable to locate package python-pip" When trying to install from fresh 18.04 install


I was following a tutorial online for python and it had me do this:


akclark@enceladus:~$ pip install virtualenv

But I got the following:


Command 'pip' not found, but can be installed with:
sudo apt install python-pip

Easy enough, right? So I try it..


akclark@enceladus:~$ sudo apt install python-pip

But I get an error...


Reading package lists... Done
Building dependency tree Reading state information... Done
E: Unable to locate package python-pip

What am I doing wrong?


EDIT: Per Comments I have tried sudo apt update


EDIT2: I tried apt-cache madison python-pip and got


N: Unable to locate package python-pip

EDIT3: grep '^deb ' /etc/apt/sources.list showed


deb http://archive.ubuntu.com/ubuntu bionic main
deb http://archive.ubuntu.com/ubuntu bionic-security main
deb http://archive.ubuntu.com/ubuntu bionic-updates main


You have to enable universe category which contains python-pip package.


Open /etc/apt/sources.list using an editor, for example nano:


sudo nano /etc/apt/sources.list

then add universe at the end of each line, like this:


deb http://archive.ubuntu.com/ubuntu bionic main universe
deb http://archive.ubuntu.com/ubuntu bionic-security main universe
deb http://archive.ubuntu.com/ubuntu bionic-updates main universe

Press Ctrl+O to save the file.


then run:


sudo apt update

and finally:


sudo apt install python-pip

Monday, April 29, 2019

backup - How to recover lost data during upgrade from 12.10 to 14.04.1LTS?

I upgraded from 12.10 to 14.04.1LTS via usb this past Saturday afternoon. Prior to doing the upgrade, I backed everything up to an external HD. At least, I thought I backed everything up... Turns out I missed the default downloads folder and I missed more current versions of a few files in a subdirectory of my home folder...



I made this unfortunate discovery when I first went to look at the downloads folder on Saturday evening and everything that was in downloads using 12.10 was gone using 14.04.1. I made the even more unpleasant discovery tonight that a spreadsheet I thought was copied during the backup to my external HD was missing more recent data that was saved to a version within my home directory using 12.10.




When I first installed 12.10 a while back, I split my internal HD 250Gb/250Gb for parallel use of 12.10 and win7. When I did the 14.04.1LTS install, I selected the first option to install Ubuntu alongside Win7 since in the description it said "all personal folders, docs, music, etc would be kept". I suspect I misinterpreted that to mean "all personal folders within the Ubuntu partition would be kept" instead of "all personal folders on the Win7 partition would be kept and all Ubuntu folders would be erased". I didn't make any changes to the 250Gb/250Gb split during the 14.04.1 install and both partitions are still there, both functioning correctly to the best of my knowledge.



I have restarted at least 2 times since the 14.04.1 install completed due to additional software installs I did after the 14.04.1 upgrade (and prior to me realizing I messed up on the backup). I haven't done a lot of other work since the upgrade, but I did copy my backup folder from my external HD back to my home folder.



So the questions are:




  1. Is there any hope for reverting back to my internal HD as of a particular time (Saturday am prior to the upgrade) so I can recover those files I missed during my backup?

  2. How do I pull that small miracle off? I see testdisk and photorec pop up in a lot of search results, and I have read though https://help.ubuntu.com/community/DataRecovery as well as a few others that come up during searches, but I'm not sure what is the best/most reliable/easiest way (I'm pretty new to open source, so I don't want to try things randomly only to make my situation worse.) I also don't know whether since 14.04.1 is now using the same partition that used to contain 12.10, if I can even recover that old data.




Fingers crossed...

installation - 10.10 still wont load 12.04

I have an old version of Ubuntu: 10.10. My other computer died so I got an Acer Aspire One D270-1865. I deleted as much of the Microsoft crap as possible. I changed the boot up to CD-ROM with F2 and F12. It will boot, then ask for login name then password. I give the corrrect ones then it says changes are avaliable etc and has my name again except after it there appears: AOD 270:~$ Then I'm supposed to put something there. I don't know what. I tried password, login name, etc. Nothing works. It then goes back to version 10.10. I've already down loaded the 12.04 several times thinking that it might be the problem. But still the same 10.10. What do I do?

Boot from USB fail, Ubuntu 12.04

I created a live USB of windows 7 with unetbootin. I'm running Ubuntu 12.04. I have a Lenovo z580 intel core i7 with 8gb ram. My computer won't boot from USB. USB is first in the boot order. My stick is flagged as boot in gparted. I tried booting from usb via system setup from the grub menu. It just sends me back to grub. BTW the usb stick is formatted fat32 (as per a recommendation that unetbootin will fail with NTFS) however I also tried with it formatted to NTFS and it also fails to boot from USB.

apt - How to fix unmet dependencies for udev:amd64 error on Ubuntu 18.04?

I am running Ubuntu 18.04.




As usual, I ran:



sudo apt-get update
sudo apt-get upgrade


but then I got the following error:



Reading package lists... Done

Building dependency tree
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
udev : Depends: libudev1 (= 237-3ubuntu10.6) but 237-3ubuntu10.9 is installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).


I tried sudo apt --fix-broken install but did not work and return this error:



Reading package lists... Done

Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following additional packages will be installed:
udev
The following packages will be upgraded:
udev
1 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
Need to get 0 B/1,101 kB of archives.
After this operation, 0 B of additional disk space will be used.

Do you want to continue? [Y/n]
E: Invalid archive member header
E: Prior errors apply to /var/cache/apt/archives/udev_237-3ubuntu10.9_amd64.deb
debconf: apt-extracttemplates failed: No such file or directory
(Reading database ... 212689 files and directories currently installed.)
Preparing to unpack .../udev_237-3ubuntu10.9_amd64.deb ...
Unpacking libudev1:amd64 (237-3ubuntu10.9) over (237-3ubuntu10.9) ...
Setting up libudev1:amd64 (237-3ubuntu10.9) ...
Processing triggers for libc-bin (2.27-3ubuntu1) ...
W: APT had planned for dpkg to do more than it reported back (0 vs 6).

Affected packages: udev:amd64


I also tried removing(to reinstall it from scratch) udev with sudo apt purge udev but I get this error message:



Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
alsa-base : Depends: udev

bluez : Depends: udev (>= 170-1)
gnome-bluetooth : Depends: udev (>= 154)
initramfs-tools-core : Depends: udev
libsane1 : Depends: udev or
makedev but it is not going to be installed
media-player-info : Depends: udev
network-manager : Depends: udev
plymouth : Depends: udev (>= 232-8~)
snapd : Depends: udev
ubuntu-drivers-common : Depends: udev (>= 204-0ubuntu4~)

ubuntu-minimal : Depends: udev
udisks2 : Depends: udev
upower : Depends: udev
xserver-xorg-core : Depends: udev (>= 149)
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).


I tried some other options that I found on similar problems(unmet dependencies) but one of these errors always comes up:



W: APT had planned for dpkg to do more than it reported back (0 vs 6).
Affected packages: udev:amd64



or



The following packages have unmet dependencies:
udev : Depends: libudev1 (= 237-3ubuntu10.6) but 237-3ubuntu10.9 is installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).


I am getting a error mark on the menu bar because of this. How can I fix this?



[EDIT]

As requested by Mark J. Adams this is the output of apt rdepends --installed libudev1:



libudev1
Reverse Depends:
Depends: udev (= 237-3ubuntu10.6)
Depends: libgnome-desktop-3-17 (>= 196)
Depends: libapt-pkg5.0 (>= 183)
Depends: gstreamer1.0-vaapi (>= 183)
Depends: xserver-xorg-core (>= 183)
Depends: xserver-xephyr (>= 183)

PreDepends: util-linux (>= 183)
Depends: udev (= 237-3ubuntu10.9)
Depends: snapd (>= 183)
Depends: pulseaudio (>= 183)
Depends: network-manager (>= 183)
Depends: libplymouth4 (>= 183)
Depends: libnm0 (>= 183)
Depends: libmutter-2-0 (>= 183)
Depends: libgnome-desktop-3-17 (>= 196)
Depends: libbluetooth3 (>= 183)

Depends: libapt-pkg5.0 (>= 183)
Depends: initramfs-tools-bin (>= 183)
Depends: bolt (>= 183)
Depends: bluez (>= 196)
Depends: gstreamer1.0-vaapi (>= 183)
Depends: xserver-xorg-video-radeon (>= 183)
Depends: xserver-xorg-video-qxl (>= 183)
Depends: xserver-xorg-video-nouveau (>= 183)
Depends: xserver-xorg-video-intel (>= 183)
Depends: xserver-xorg-video-amdgpu (>= 183)

Depends: xserver-xorg-input-wacom (>= 183)
Depends: xserver-xorg-core (>= 183)
Depends: xserver-xephyr (>= 183)
PreDepends: util-linux (>= 183)
Depends: udev (= 237-3ubuntu10)
Depends: system-config-printer-udev (>= 183)
Depends: snapd (>= 183)
Depends: pulseaudio (>= 183)
Depends: network-manager (>= 183)
Depends: libusb-1.0-0 (>= 183)

Depends: libqt5gui5 (>= 183)
Depends: libplymouth4 (>= 183)
Depends: libpci3 (>= 196)
Depends: libnm0 (>= 183)
Depends: libmutter-2-0 (>= 183)
Depends: libgudev-1.0-0 (>= 199)
Depends: libinput10 (>= 183)
Depends: libinput-bin (>= 183)
Depends: libgnome-desktop-3-17 (>= 196)
Depends: libgnome-bluetooth13 (>= 196)

Depends: libfreerdp-client2-2 (>= 183)
Depends: libdevmapper1.02.1 (>= 183)
Depends: libcolord2 (>= 196)
Depends: libclutter-1.0-0 (>= 183)
Depends: libbluetooth3 (>= 183)
Depends: libblockdev-utils2 (>= 216)
Depends: bolt (>= 183)
Depends: libatasmart4 (>= 183)
Depends: libapt-pkg5.0 (>= 183)
Depends: initramfs-tools-bin (>= 183)

Depends: dosfstools (>= 183)
Depends: bluez (>= 196)

upgrade - Issue while updating my Ubuntu 14.04

Kindly help with this issue. http://paste.ubuntu.com/18866967/


Details of the system
Kernel Linux 3.19.0-33-generic (x86_64)
Compiled #38~14.04.1-Ubuntu SMP Fri Nov 6 18:17:28 UTC 2015
C Library Unknown
Default C Compiler GNU C Compiler version 4.8.4 (Ubuntu 4.8.4-2ubuntu1~14.04.3)

Firefox Developer Edition ppa not working



Installing and updating Firefox Developer via PPA aurora channel



Related: How do I install the Firefox Developer Edition? - it is just related, the question is not simple about how to install Firefox







So, I have added repo



ppa:ubuntu-mozilla-daily/firefox-aurora


but I can't install current developer version (53). I'm still running the stable (51) official version.




Even in synaptic I can't see 53 version package. Could it be because on ppa https://launchpad.net/~ubuntu-mozilla-daily/+archive/ubuntu/firefox-aurora, next to every package it shows (I need package for 16.10):



Failed to build: amd64 arm64 armhf i386 ppc64e


If it is so, how do you recommend to proceed? Install manually and wait?






20.9.2017 - Edit





  • it looks like they started to update the channel again see comment https://askubuntu.com/a/936166/642778 bellow.


  • added a title for clearance: Basically because the problem is really not just "how to install Firefox". Yes, you can just download archive from the official FF web, decompress, run and FF will do self-auto updates.




But there are some people, who want the source code too, people who are updating their FF extensions, or people who cannot have allowed auto-updates or many other reasons...



This PPA was updated on September 17, 2017 (with version 57.0b1), after 5 months of inactivity. It's kind of a weird release schedule but that's probably related to the changes in release channels which are described here https://hacks.mozilla.org/2017/04/simplifying-firefox-release-channels/


kernel - Remove 3.8.0-030800

I have a HP Pavilion dv3-2150 ep with 12.10 x64 ubuntu.
I don't know much about ubuntu, but with some patience and google, everything's possible...
Yesterday i had a problem after an (automatic) update, my atheros wlan card didn't work (i connect to the router, but haven't internet), so i google for some solutions... After some possible solutions, i saw someone recomend to install 3.8.0 (with issues, i was aware, from here : https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1097334).
I allready tried to remove 3.8.0 linux-image (saw here: Removing old kernel entries in Grub) but still continues there. For now i have updated to 3.5.0.26 (that solved wifi issue, but to enter ubuntu when i turn my pc on, i must keep shift key pressed, then choose 3.5.0.26 kernel. If i do not do that, ubuntu don't work. Another issue is that every time i turn ubuntu on, i must go to command line to turn wifi on (i can't see wifi before do that). Could you guys please help me with this 2 issues? Tanks...

package management - Offline installing libxml2-dev in Ubuntu 15.04



Hi I'm kinda new to Ubuntu and have a problem. I don't have any internet on my pc and wanto install the libxml2-dev package to my system. I've gotten hold of a .deb file which I can open with the Software Centre buuuut, when I do that I get an error: Dependency is not satisfiable: libicu-dev.
Here is the complete name of the .deb file I downloaded from LaunchPad site.

libxml2-dev_2.9.2+dfsg_1-3_amd64.deb
So can anyone help me install this package via .deb file format please.



Go to a system with Internet access and download libicu-dev
via



wget http://mirrors.kernel.org/ubuntu/pool/main/i/icu/libicu-dev_52.1-8ubuntu0.2_amd64.deb


and install with




sudo dpkg -i libicu-dev_52.1-8ubuntu0.2_amd64.deb


Then install the libxml2-dev package again



sudo dpkg -i libxml2-dev_2.9.2+dfsg1-3_amd64.deb






However, it may be that you still need more packages. Unfortunately I can not say that because I do not know what you have already installed. But I think the way forward is clear. ;)



All packages are available here. Search the packages for Vivid (vivid and/or vivid-updates) and download the 64-bit versions. Use an USB stick and use this stick in your desktop system.


installation - Ubuntu 13.04 64-bit installed but hangs during boot on dual-boot Win7 Pro 64-bit system

My Win7 Pro 64-bit system (8GB, 1TB, 3.2ghz Intel Xeon w3565) was working fine. I wanted to add Ubuntu 13.04. I booted from USB, selected try me, everything booted fine and I got my Unity desktop. I finally installed Ubuntu alongside Win7.



Grub comes up with Ubuntu as the default. I scroll down and Windows boots fine. I reboot and let it try Ubuntu. Nothing. The screen goes black and I have a blinking cursor in the top left. It hangs. I reboot and go to advanced options and choose recovery mode.




I get output but again, it hangs. The last few lines I see are (times are truncated by me)...



[0.51] ACPI: PowerButton [PWRF]
[0.51] ACPI: Requesting acpi_cpufreq
[1.49] Refined TSC clocksource calibration: 3.199.999 MHz.
[1.49] Switching to clocksource tsc


Any ideas on how to fix? Or even how to just uninstall Ubuntu altogether? I tried the os-uninstaller, but that doesn't seem to work [exist] with a 13.04 usb stick. I guess I can try putting an older version of ubuntu on the stick and see if I can install to the os-uninstaller.




[edit] I successfully uninstalled 13.04 by booting linux-secure-12.10-64bit.iso from USB and running os-uninstall.



I also tried the boot-repair tool, but all that did was add another Win7 entry into the grub menu (one for dev/sda1 and another for dev/sda2, and both work and boot to Win7... http://paste.ubuntu.com/5616403).



From what I can tell, I don't have UEFI, just normal BIOS.

Sunday, April 28, 2019

Ubuntu 16.04 LTS Shown in Upgrade Manager Now


I see the next upgrade available as 16.04 LTS shown in update manager.


But the release date (from wiki) is written as April 2016. And it's not shown in Ubuntu page yet.


Why is it already available to upgrade now? If it's not official, why is it listed as an option in the update manager?


Thanks for any information.


(I'm in the process of upgrading my Ubuntu Gnome 14.04 in my Dell Venue 11 Pro 7140. Everything works, except sound, and modprobing my snd_soc_sst_broadwell fails - whereas in Ubuntu (main) 15.10, it works- , hence wanted to upgrade and came across this issue.)



update-manager -d checks if upgrading to the latest development release is possible. Since 16.04 alpha 1 release is available from January 7, you'll be notified about this.


Read this post to know how to upgrade your system. Your best bet would be to use a 15.10 live USB.


networking - network setting with xen hypervisor

I have installed xen on my ubuntu 14.04 by following the instructions at here: http://ubuntuforums.org/showthread.php?t=2008795




However, after the reboot, on the logo screen (still no desktop), it said waiting for network connection and then said waiting for 60 more seconds, finally it said starting without full network configuration.
Now I don't have network connection.



I think this is the problem:



auto xenbr0
iface xenbr0 inet dhcp
bridge_ports eth0


And, at here: http://wiki.xenproject.org/wiki/Network_Configuration_Examples_(Xen_4.1%2B), I saw that what I need to do:




iface eth0 inet manual

iface xenbr0 inet static
bridge_ports eth0
address 192.168.1.2
broadcast 192.168.1.255
netmask 255.255.255.0
gateway 192.168.1.1



You may ask why. I am using my university's computer and it requires special IP and DNS settings.



First: Do I think right?



If yes, what is that broadcast thing and where is the DNS settings in this example? I have to use special DNS address.



If no, what should I do to get my network back?



Thanks in advance.

14.04 - sudo apt-get install python-pip is failing


sudo apt-get install python-pip
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package python-pip

how to install python-pip in ubuntu:14.04?



python-pip is in the universe repositories, therefore use the steps below:


sudo apt-get install software-properties-common
sudo apt-add-repository universe
sudo apt-get update
sudo apt-get install python-pip

Saturday, April 27, 2019

Experiencing small resolution issue in Ubuntu 14.04.2 with VirtualBox, getting stuck on installing guest additions

TL;DR: I'm experiencing the small resolution issue in Ubuntu 14.04.2 on VirtualBox, and when I try to follow the answers to existing questions, either it doesn't solve the problem or I encounter certain obstacles that block me from completing the instructions (details below).



Background



The underlying problem is after installing Ubuntu 14.04.2 Desktop (32-bit) as guest VM in VirtualBox on a Windows 7 host, I'm having the small screen issue.




What I've tried already



I've already searched existing questions on this site regarding "small resolution in VirtualBox," but none of the answers to existing questions have solved my problem in 14.04.2, which leads me to believe that this may not be a duplicate. Here are the questions to which the answers I've tried, with no luck.




  1. Screen Resolution Problem with Ubuntu 14.04 and VirtualBox

  2. cannot change screen size from 640x480 after 14.04 installation on VirtualBox OSX




Specifics



Failed Resolution Path #1:



The top answer for the first question says:




You basically need the Guest additions, log into the Virtual Machine to install the following packages:



sudo apt-get install virtualbox-guest-dkms \

virtualbox-guest-utils virtualbox-guest-x11


Finally restart the VM to complete the installation.




My first attempt failed, apparently because of unmet package dependencies for virtualbox-guest-x11. Here's the link to the output on paste bin: http://pastebin.com/n0v1SLcW.



Based on the message, I tried installing the xorg-video-abi-15 package and got a similar message about unmet dependencies - link to output on paste bin: http://pastebin.com/pxk2XpK5.




After that, I gave up because there must be a better way than traversing the entire tree of unmet dependencies, am I right?



Failed Resolution Path #2:



The second-highest answer says to go to System settings → Software and Updates → Additional drivers within the guest OS, choose "Use x86 virtualization solutions...", reboot VirtualBox, and after that it solved the problem for that particular user, but I tried these steps, and I still have the small resolution issue.



Failed Resolution Paths #3 and #4:



The second question listed above says to just do sudo apt-get install virtualbox-guest-dkms (and restart the guest) to resolve the problem, but this doesn't work for me, either. The second highest answer to the second question listed above says updating VirtualBox to the latest version, which at the time was 4.3.10 r93012, resolved the problem for that particular user, but I have an even later version (4.3.12 r93733), and when I do Help > Check for Updates, the updater pop-up says "The network operation failed with the following error: Unknown reason."




Failed Resolution Path #5:



In addition to the answers provided in the questions listed above, I've tried installing guest additions from the Devices menu in VirtualBox. The steps that I tried for this are log into the guest OS as super user, in the VirtualBox window go to Devices > Insert Guess Additions CD, click Run in the resulting pop-up, and authenticate as super user. After authenticating as super user, a terminal window opens up and does some things. After the processing is complete, this is what it says in Terminal: http://pastebin.com/72WH6aY4.



Per the instructions in the Terminal output, I looked at /var/log/vboxadd-install.log to find out what went wrong, but that is a long, scary file with lots of information that I'm not sure what to do with (if anyone has any guidance on what specifically to look for in that file, I'd greatly appreciate it).



Summary



In summary, I've tried five different possible resolution paths, including all the recommended answers to questions that I could find by searching this site, and none of them have solved this problem for me in 14.04.2. Because of this, I suspect that there must be some different process for resolving this issue on Ubuntu 14.04.2. By the way, I was able to resolve the small screen issue on a 14.04.1 guest by simply installing the virtualbox-guest-dkms package, but for 14.04.2 I've hit a brick wall. Any help would be appreciated.

command line - to save gnome-terminal in a file

I am using the following command to open a terminal and execute an script. How to save the output to a log file.



gnome-terminal -x bash -c "print1.py; read -n1" &


I tried following options but didn't succeed. Kindly suggest a solution.



gnome-terminal -x bash -c "print1.py; read -n1" & > log.txt
gnome-terminal -x bash -c "print1.py; read -n1" & | tee log.txt
gnome-terminal -x bash -c "print1.py; read -n1" & | tee -a log.txt

13.10 - Software Center prompts password of another user



I have a krb5-ldap user in an "administrators" which is added to sudoers list as follows:




%administrators ALL=(ALL) ALL


Now that works fine for all sudo operations.



But when that user wants to install something in the Ubuntu Software Center, he gets prompted for the password of a local "admin" user.



I have no idea why it would behave that way. How can I fix this?



Update




Also tried to add these users to the sudo groups with pam-groups in /etc/security/group.conf:



*;*;%administrators;Al0000-2400;sudo


The sudo group now shows up correctly in groups, however the software center still asks for the password for another, local user.



The solution is to add adminstrators to the policy kit in /etc/polkit-1/localauthority.conf.d/51-ubuntu-admin.conf:




[Configuration]
AdminIdentities=unix-group:sudo;unix-group:admin;unix-group:administrators

unity - I've completely screwed up my computer by removing compiz then purging dconf*, is there any way to salvage the situation?

I removed compiz to reinstall it, then I couldn't reset it because dconf couldn't get a connection and nothing else was working, so in my frustration I decided to purge dconf* and reinstall it all, but by doing that I completely wrecked ubuntu.


My desktop is an unresponsive black screen with a mouse, and I'm trying to somehow get out of this using a tty terminal. Nautilus, unity, and pretty much everything else doesn't exist anymore,


I can't use apt-get for anything because I get a whole mess of errors along the lines of:


Failed to fetch ..... Could not resolve 'archive.ubuntu.com'

Is there anything I can do to save my documents and maybe restore my operating system to something functional?

Resolution 640x480 after installing Nvidia display and CUDA drivers for GTX 750 ti

I am using Ubuntu 14.04 with an FX-6350 processor and a EVGA GTX 750 ti SC GPU.
I installed the CUDA and display drivers for the 750 ti using this tutorial:
Installing and testing CUDA in Ubuntu 14.04
after restarting lightdm, it works perfectly, but upon reboot, the resolution is stuck at 640 by 480. If I log in, Unity doesn't load, just the background. I'm also using a Gigabyte motherboard. When I boot up, after POST, it shows this:


Verifying DMI Pool Data ............
error: no video mode activated
[ 2.771245] nouveau E[ DEVICE][0000:01:00.0] unknown chipset, 0x117000a2
[ 2.771348] nouveau E[ DRM] failed to create 0x80000080, -22

11.04 - How can I use Skype in Ubuntu?



What are the options to install Skype in Ubuntu 11.04?



If you enable (this link tells you how) the partner repository within your software sources (and reload the list).




enter image description here
Now you should be able to install Skype in 11.04 from the Software Centre.



enter image description here
Screenshot, it happened.


14.04 LTS | Log Files | Debugging Unity, Gnome, XSession

I'm unable to fix my Ubuntu desktop (GUI only). See:



https://askubuntu.com/questions/481788/14-04-lts-unity-reset-but-cant-login-normally



14.04 LTS No Dash / Launcher after update through Software Updater



The issue is in the areas of Unity / Gnome / Xsession.




How should I debug? Which are the useful log files I can look into and post to this forum for help?

Wireless card not working? (Broadcom 4311)




I have recently installed ubuntu 14.04 on one of my laptops. Since I found it working a lot faster and efficiently than windows, I decided to install it on my older, x32 hp Pavilion dv6000.
I installed 14.10 onto it, but during the installation I realized that it wouldn't let me connect to any wifi (I am using ethernet instead).
I had a look at many tutorials that claimed to solve the problem (for example: Installing Broadcom Wireless Drivers ) and this is what the terminal threw back at me.



lspci -nn -d 14e4:



02:00.0 Network controller [0280]: Broadcom Corporation BCM4311 802.11b/g WLAN [14e4:4311] (rev 01)



$ sudo apt-get purge bcmwl-kernel-source




E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem.



I get this error whenever I try a command that has anything to do with my wireless driver.



So I tried to run sudo dpkg --configure -a



$ sudo dpkg --configure -a



Configuring bcmwl-kernel-source (6.30.223.248+bdcom-0ubuntu1) ...

Removing old bcmwl-6.30.223.248+bdcom DKMS files...



-------- Uninstall Beginning --------
Module: bcmwl
Version: 6.30.223.248+bdcom



Kernel: 3.16.0-25-generic (i686)



Status: Before uninstall, this module version was ACTIVE on this kernel.




wl.ko:
- Uninstallation
- Deleting from: /lib/modules/3.16.0-25-generic/updates/dkms/
- Original module
- No original module was found for this module on this kernel.
- Use the dkms install command to reinstall any previous module version.



depmod..........



DKMS: uninstall completed.







Deleting module version: 6.30.223.248+bdcom



completely from the DKMS tree.



Done.
Loading new bcmwl-6.30.223.248+bdcom DKMS files...
Building only for 3.16.0-25-generic

Building for architecture i686
Building initial module for 3.16.0-25-generic
Done.



wl:
Running module version sanity check.
- Original module
- No original module exists within this kernel
- Installation
- Installing to /lib/modules/3.16.0-25-generic/updates/dkms/




depmod..........



DKMS: install completed.



Then it just stays on "DKMS: install completed." although the process does not end.
When I tried to end the process (^C)
I got this:
dpkg: error processing package bcmwl-kernel-source (--configure):
subprocess installed post-installation script was interrupted

There was an error while processing:
bcmwl-kernel-source



Any help would be appreciated.
Thanks



With a temporary internet connection:



sudo apt-get update
sudo apt-get purge bcmwl-kernel-source

sudo apt-get install firmware-b43-installer


Reboot and tell us if your wireless is working.


redirect - need help with commands in terminal

I am stuck trying to figure this out. the question for my homework goes like this:
For this question, run the script at /var/standardStreams.sh. This script will create some output text on different standard file streams (stdout and stderr).




Run the script and in the same command, redirect the error output to file q10 and redirect the normal output to /dev/null



please help me

Friday, April 26, 2019

bug reporting - The days on my lock screen are in another language


On my lock screen from Ubuntu 17.10.1,
the days are not in English but in German,
like
Monday = Montag
and
Thursday = Donnerstag.


My system standard language is English.
Is there a solution for this problem?



Make sure your current settings are correct:



  1. Open Settings

  2. Go to Region & Language

  3. Click Manage installed languages

  4. Under the Regional Formats tab, make sure English is selected, then click Apply System-Wide


    Regional Formats settings


  5. You may need to log out and log in, or restart the machine, for changes to take effect


This is based on these instructions for an older version of Ubuntu


12.04 - Problem with AMD HD 8xxx Series graphics card



I bought a Dell inspiron 17R 5721 it has 2 graphics cards, an Intel(R) HD Graphics 4000 and a AMD Radeon HD 8730M. Intel's card (on board) works just fine after doing what it says in this article.



With AMD's card, no such luck. I've tried to install the catalyst drivers that ubuntu suggests but no luck. I checked on AMD's website for drivers, it's in version 13.04 for about a month and some now, and that version, doesn't list my card as supported.




Does anyone know if I can make my graphics card work with ubuntu 12.04?



Try with the beta driver of this month following the tutorial of this answer:



What is the correct way to install proprietary ATI Catalyst Video Drivers (fglrx) directly from AMD?



Beta Driver: http://www2.ati.com/drivers/beta/amd-driver-installer-catalyst-13-6-beta-x86.x86_64.zip



I suggest to try with the beta driver because the changelog says that adds support your graphic card: http://support.amd.com/us/kbarticles/Pages/AMDCatalyst13-6LINBetaDriver.aspx



How do I adjust display size, not resolution?

I have my Ubuntu 11.10 PC plugged into a TV using an HDMI input. The edges of the screen get cut off, and I can't adjust the television's settings for HDMI. I can adujust the "position and size" on the TV for all other inputs, but not HDMI for some reason, I guess it's just a limitation of the tv itself.



Ubuntu detects my TV and only offers one display resolution, 1280x720 (16:9)



Is there a way to scale down the display so that the edges won't get cut off?

apt - Remove all packages installed from a PPA?



I have installed LibreOffice 4 using PPA. I was using LibreOffice 3, then I had upgraded to LibreOffice 4, because I was somewhat eager to try a new version.



Now since I found that LibreOffice 4 has some issues, including handling my native language, I want to move back to LibreOffice 3.




This question How to downgrade from LibreOffice 4.0 to 3.6? has already some answers which has some similarity with my above mentioned issue, but it does not solve my problem. This question talks about downgrading from a specific version of LibreOffice, namely from 4.0 to 3.6. The solutions mentioned are not the ones I am looking for. They will work, but the solutions suggest either downloading .deb files for LibreOffice 3.6 or adding PPA for them. Furthermore, some of the answers put out-of-proportion~(applicable for the solution, however) stress on use of synaptic, not general command-line-solution.



I want a general solution without using PPA or downloading .deb files. All I want is to move back from the (higher) PPA version to the (lower) official version.



Anyway, in order to accomplish this, I removed the LibreOffice config directory from my home and then purged LibreOffice from my machine.



sudo apt-get purge libreoffice-*


Then I removed the relevant PPA's using the sudo apt-add-repository --remove command. And then ran sudo apt-get update.




Now, when I try to install LibreOffice using the command



sudo apt-get install libreoffice


I get an avalanche of output about unmet dependencies, something like,




The following packages have unmet dependencies:

libreoffice : Depends: libreoffice-core (= 1:3.5.7-0ubuntu4) but it is not going to be installed
(snipped)



If I dig the issue further, by using the command,



sudo apt-get install libreoffice-core



I get




The following packages have unmet dependencies:  libreoffice-core :
Depends: libreoffice-common (> 1:3.5.7) but it is not going to be
installed
Depends: libexttextcat0 (>= 2.2-8) but it is not going to be installed
Depends: ure (>= 3.5.7~) but it is not going to be installed E: Unable to correct problems, you have held broken packages.




Could you please tell me how do I install LibreOffice 3 in my machine?



I am using Ubuntu 12.04 LTS.






EDIT



Before receiving the accepted answer, I was wondering, at this very moment, if I take a fresh computer, and install Ubuntu 12.04, LibreOffice installation will work without a hitch. Then why I can not install LibreOffice in my 12.04 machine today from simple command line? Then the accepted answer clarified everything. I need to use ppa-purge so that this resets all packages from a PPA to the standard versions released for my distribution. Basically it is like a way to restore my system back to the way it was before my installed packages from a PPA. This article further elaborates the idea.




The above mentioned answer worked perfectly for me. Actually, this was an education for me since it taught me how do downgrade a package that was added via PPA. And I realized that the answer actually teaches us to "move from PPA installation of a package to official lower version package."






You need the ppa-purge utility to downgrade all the packages installed by the PPA and disable the PPA.



Since you have removed the PPA from your sources list, you have to add it back.



Then, run:




sudo apt-get install ppa-purge
sudo ppa-purge ppa:


Then you can install LibreOffice 3 from the official repositories.



Regards.


Software versions of LTS and non-LTS releases synced from Debian



I read that LTS releases are based on Debian testing while non-LTS releases are based on Debian unstable. Given the long release cycle of Debian, is it possible for some software to be of a more recent version in a non-LTS release X than in an LTS release X+1?



If yes, would there be a difference between doing an upgrade and a fresh install when going from X to X+1?



Due to the way the archive works, that doesn't really happen.



First of all, you should know that release n+1 is seeded from release n when it is opened for development. Roughly, this means that release n is copied and renamed to n+1 (there is some tinkering that happens before it is opened for development, but that's not important here). Thus it begins with the same package versions as release n had.




Now, in order to upload you must use a higher version than was uploaded previously. This means that you cannot 'go backwards'. Even if this were allowed by the archive, the package managers on your system wouldn't consider it to be an upgrade and so you'd keep the 'newer' version.



If a package gets taken from unstable in release n and somehow this version never makes it to testing then we will usually stay with the version in unstable for this reason.



Having said that, it is possible to hack the version numbers a bit to allow reversions — you may have seen 'foo-1.0+really0.5' versions before — this is a rare way to pretend to the archive and to your package manager that the versions have increased when in fact the upload contains an older version. This is only used as a last resort when a particular version of some software has problems that are so serious that a rollback is the only option. It's far more preferable to just fix the problem directly. Also, this is orthoganal to the release/LTS system — it can happen at any time.



So in summary, it's possible to revert packages to a previous version by using package manager hacks, but this isn't generally done.


13.10 - corrupted iso image

How can I download a complete iso?



I have downloaded 13.10 in each variation using different browsers and even torrent. When I burn them to dvd or create a bootable usb, they won't boot from any machine. Each download has something missing.

Is disabing Secure Boot needed for Ubuntu 14.04 dual-boot with Windows 8 UEFI



I've read some guides on dual-booting Ubuntu and Windows 8, but all of the guides I have read are about older versions of Ubuntu. They recommend disabling Secure Boot because there is a bug in the Ubuntu installer that deletes the Windows 8 bootloader altogether. Is disabling this still necessary in Ubuntu 14.04? Can I enable it again after I am done installing? Also, on a related note, I KNOW that disabling Fast boot is needed for the installation, but after the installation is done, can I re-enable that too?



You've actually raised four distinct issues:





  • Secure Boot -- In theory, disabling Secure Boot should not be necessary to install Ubuntu 14.04 (or even a couple versions before that). Practice usually follows theory, but sometimes it doesn't -- some computers just don't seem to get along well with Shim (the program that Ubuntu uses to work with Secure Boot). A Secure Boot problem is almost certain to manifest itself as an inability to even begin to boot -- either the Ubuntu installer or the Ubuntu system once it's installed. If you see so much as a GRUB menu or an Ubuntu boot logo, the Secure Boot hurdle has been passed. (In Fedora, Secure Boot can have follow-on effects much later, but this is much rarer in Ubuntu.)

  • ESP-deletion bug -- Old versions of Ubuntu would blindly create a fresh FAT16 filesystem on the EFI System Partition (ESP), which is where EFI boot loaders are stored. This action would erase the Windows boot loader, along with any other files on the ESP (such as third-party boot managers, firmware update files, etc.). This bug was reported in 2011 and fixed prior to the release of Ubuntu 12.04, and so should not affect Ubuntu 12.04, 12.10, 13.04, 13.10, or 14.04. That said, backing up all your current partitions before installing Ubuntu (or any OS) is a worthwhile precaution.

  • The firmware's fast boot feature -- Modern EFIs usually have a feature called "fast boot" or something similar. When enabled, the firmware takes certain shortcuts in its startup process, which can include minimal (rather than full) initialization of USB devices. (The OS must do its own full initialization later, no matter what the firmware does.) The effect can be that the computer won't boot from a USB flash drive. This is obviously bad if you're trying to install Ubuntu from such a disk, so it will be necessary to disable this feature when installing Ubuntu. (If your system has an optical disc and you're trying to install from it, USB-initialization shortcuts should be irrelevant, though.) Note that the details vary from one computer to another; you might not need to disable a "fast startup" feature on all computers. Once Ubuntu is installed, it's usually possible to re-enable the feature and Ubuntu will continue to boot -- but you'll need to disable it again if you want to boot from an external medium (say, for emergency maintenance).

  • Fast Startup in Windows -- Windows 8 has a feature called Fast Startup (aka Hybrid Boot or Hybrid Shutdown). This feature turns an ordinary shutdown operation into a suspend-to-disk action. One consequence of this change is that filesystems, including the ESP, are not properly unmounted. If you then try to dual-boot, the result can be filesystem damage to shared filesystems and/or an inability to mount shared filesystems. Thus, it's imperative that this Windows feature be disabled, and left disabled. Many Internet sites, such as this one, provide instructions on how to disable this feature. Note also that the Windows Fast Startup feature is completely unrelated to the firmware feature that may bear a similar name.



I hope this clarifies matters.







EDIT:



Recent versions of Ubuntu (I don't recall precisely when this started, but 16.04 is affected) tightened Secure Boot controls, making these versions susceptible to the "follow-on effects" I noted earlier. Specifically, third-party kernel modules (drivers) may not load unless you jump through hoops to sign them, as described here. Drivers for ATI and Nvidia video cards and for VirtualBox are commonly cited as reasons to disable Secure Boot to work around these problems, but there are other unsigned drivers that affect some systems. Secure Boot does offer benefits, at least in theory, so if you're up to the technical challenge, I encourage leaving it active and signing any kernel modules you need. (Personally, I'm not a fan of proprietary video modules, but some people do need them to get adequate performance with some games and applications. If you don't need them, using the standard open source drivers is an adequate workaround.)


updates - 18.04 to 18.10 upgrade failure

I have a DELL laptop and I have upgraded Ubuntu on this machine without issue until now. I have tried several times to upgrade from 18.04 to 18.10 and I've tried some of the recommendations on this site to try and get it installed, but it always fails. I tried from Terminal and got more detail on the attempted upgrade when it failed which I have pasted below. Any ideas on what I'm doing wrong or could do to fix this? Thanks.



do-release-upgrade
Checking for a new Ubuntu release
Get:1 Upgrade tool signature [819 B]

Get:2 Upgrade tool [1,255 kB]
Fetched 1,256 kB in 0s (0 B/s)
authenticate 'cosmic.tar.gz' against 'cosmic.tar.gz.gpg'
extracting 'cosmic.tar.gz'
[sudo] password for steve:

Reading cache

Checking package manager
Reading package lists... Done

Building dependency tree
Reading state information... Done
Hit ie.archive.ubuntu.com/ubuntu bionic InRelease
Ign dl.google.com/linux/chrome/deb stable InRelease
Hit ppa.launchpad.net/gencfsm/ppa/ubuntu bionic InRelease
Get:1 dl.google.com/linux/chrome/deb stable Release [943 B]
Get:2 dl.google.com/linux/chrome/deb stable Release.gpg [819 B]
Hit ppa.launchpad.net/klaus-vormweg/pan/ubuntu bionic InRelease
Hit ppa.launchpad.net/morphis/anbox-support/ubuntu bionic InRelease
Get:3 ppa.launchpad.net/ondrej/php/ubuntu bionic InRelease [20.8 kB]

Hit ppa.launchpad.net/ozmartian/apps/ubuntu bionic InRelease
Get:4 ppa.launchpad.net/ondrej/php/ubuntu bionic/main i386 Packages [43.6 kB]
Get:5 ppa.launchpad.net/ondrej/php/ubuntu bionic/main amd64 Packages [43.6 kB]
Fetched 109 kB in 0s (0 B/s)

(appstreamcli:15338): GLib-CRITICAL **: 14:05:45.946: g_variant_builder_end: assertion '!GVSB(builder)->uniform_item_types || GVSB(builder)->prev_item_type != NULL || g_variant_type_is_definite (GVSB(builder)->type)' failed

(appstreamcli:15338): GLib-CRITICAL **: 14:05:45.947: g_variant_new_variant: assertion 'value != NULL' failed

(appstreamcli:15338): GLib-ERROR **: 14:05:45.947: g_variant_new_parsed: 11-13:invalid GVariant format string

Trace/breakpoint trap (core dumped)
Reading package lists... Done
Building dependency tree
Reading state information... Done

Updating repository information

Third party sources disabled

Some third party entries in your sources.list were disabled. You can

re-enable them after the upgrade with the 'software-properties' tool
or your package manager.

To continue please press [ENTER]

Hit http://ie.archive.ubuntu.com/ubuntu cosmic InRelease
Fetched 0 B in 0s (0 B/s)

(appstreamcli:15614): GLib-CRITICAL **: 14:06:55.537: g_variant_builder_end: assertion '!GVSB(builder)->uniform_item_types || GVSB(builder)->prev_item_type != NULL || g_variant_type_is_definite (GVSB(builder)->type)' failed


(appstreamcli:15614): GLib-CRITICAL **: 14:06:55.538: g_variant_new_variant: assertion 'value != NULL' failed

(appstreamcli:15614): GLib-ERROR **: 14:06:55.538: g_variant_new_parsed: 11-13:invalid GVariant format string
Trace/breakpoint trap (core dumped)
Hit http://ie.archive.ubuntu.com/ubuntu cosmic InRelease
Fetched 0 B in 0s (0 B/s)

(appstreamcli:15829): GLib-CRITICAL **: 14:07:05.466: g_variant_builder_end: assertion '!GVSB(builder)->uniform_item_types || GVSB(builder)->prev_item_type != NULL || g_variant_type_is_definite (GVSB(builder)->type)' failed

(appstreamcli:15829): GLib-CRITICAL **: 14:07:05.466: g_variant_new_variant: assertion 'value != NULL' failed


(appstreamcli:15829): GLib-ERROR **: 14:07:05.466: g_variant_new_parsed: 11-13:invalid GVariant format string
Trace/breakpoint trap (core dumped)
Hit http://ie.archive.ubuntu.com/ubuntu cosmic InRelease
Fetched 0 B in 0s (0 B/s)

(appstreamcli:16059): GLib-CRITICAL **: 14:07:13.383: g_variant_builder_end: assertion '!GVSB(builder)->uniform_item_types || GVSB(builder)->prev_item_type != NULL || g_variant_type_is_definite (GVSB(builder)->type)' failed

(appstreamcli:16059): GLib-CRITICAL **: 14:07:13.383: g_variant_new_variant: assertion 'value != NULL' failed


(appstreamcli:16059): GLib-ERROR **: 14:07:13.383: g_variant_new_parsed: 11-13:invalid GVariant format string
Trace/breakpoint trap (core dumped)

Error during update

A problem occurred during the update. This is usually some sort of
network problem, please check your network connection and retry.

E:Problem executing scripts APT::Update::Post-Invoke-Success 'if
/usr/bin/test -w /var/cache/app-info -a -e /usr/bin/appstreamcli;

then appstreamcli refresh-cache > /dev/null; fi', E:Sub-process
returned an error code


Restoring original system state

Aborting
Reading package lists... Done
Building dependency tree
Reading state information... Done



Tried the update through the Distribution Upgrade popup which appeared onscreen. It also failed with the following message:



Error during update



A problem occurred during the update. This is usually some sort of network problem, please check your network connection and retry.



E:Problem executing scripts APT::Update::Post-Invoke-Success 'if /usr/bin/test -w /var/cache/app-info -a -e /usr/bin/appstreamcli; then appstreamcli refresh-cache > /dev/null; fi', E:Sub-process returned an error code.




I'm just thinking - if a couple of people have mentioned my internet connection was running, which it was, or if I was using a proxy, which I'm not and the latest try at upgrade showed that there may be a connection issue, could the laptopwifi adapter be getting switched off as it tries to update?

Thursday, April 25, 2019

wireless - Error while compiling bcmwl-kernel-source




Recently, the WiFi on option on my Ubuntu 16.04 disappeared. I figured that bcmwl-kernel-source needed to be updated so what I basically did was:




sudo apt-get upgrade




When the upgrade reached bcmwl-kernel-source, I ended up with the following error:





Error! Bad return status for module build on kernel: 4.4.0-131-generic (x86_64)



Consult /var/lib/dkms/bcmwl/6.30.223.271+bdcom/build/make.log for more information.
modprobe: FATAL: Module wl not found in directory /lib/modules/4.4.0-131-generic
update-initramfs: deferring update (trigger activated)




So I checked the log file and here is what it showed:



Log file of compilation




Does anyone know how to solve this issue?



Thanks in advance :)



Here is some information regarding the WiFi card:




Network controller [0280]: Broadcom Corporation BCM43142 802.11b/g/n [14e4:4365] (rev 01)
DeviceName: Broadcom BCM43142 802.11bgn 1x1 WiFi Adapter + BT 4.0 combo adapter

Subsystem: Hewlett-Packard Company BCM43142 802.11b/g/n [103c:2230]




The build error suggests you are using gcc <= 4.8:



gcc: error: unrecognized command line option `-fstack-protector-strong`


The -fstack-protector-strong option was only introduced with gcc version 4.9.




By installing a more recent gcc version, and configuring it as your default gcc (as described here for example), you should be able to build successfully.


How do I install the Nvidia driver for a GeForce GT 630





I recently installed 14.04.



But now I need a new driver for my nVidia GeForce GT 630. The former driver was rejected as not compatible with the 64-bit. I found that other driver and when I wanted to install it in the terminal with sh I was called first to stop the x-server. It cannot be installed with running x-server.



So how do I install them?




You can install Ubuntu drivers , for GT 630 you can use: sudo apt-get install nvidia-304 OR sudo apt-get install nvidia-304-updates, not both.


ipad - Is there an Ubuntu tablet edition?

Is there a tablet version of Ubuntu? Will it run on the iPad or motion LE1600?

networking - Network disabled - device not ready 16.04


Laptop: Acer V 13
no preinstalled OS. Freshly installed ubuntu 16.04.


At the top right corner, when I click the network manager, no wifi networks are found, and there's a grayed out device not ready text instead.


Ethernet cable is working (this is how I'm posting this ...)


I'm in a co working space with many networks and users so I know the problem is on my end.


Below you will find everything I've tried followed by every piece of information I thought might b relevant.


I also logged the result of this script which has some additional info, and tailed syslog for a while.


Thanks in advance, you rock! :)




Things I've tried:



  1. $ sudo service network-manager start
    (No output)

  2. $ sudo service network-manager stop && sudo service network-manager start
    No output, network icon dissapears and reappears from tray

  3. $ sudo ifup lo
    ifup: interface lo already configured

  4. $ sudo ifup enp2s0
    Unknown interface enp2s0

  5. using wicd network manager
    I didn't detect any wireless network as well.
    (I'm actually glad it didn't work, seems like a bad idea anyway)

  6. $ sudo service networking restart

  7. $ sudo service NetworkManager restart

  8. $ sudo echo "blacklist ath10k_pci" >> /etc/modprobe.d/blacklist.conf
    after rebooting, any reference to wifi was gone from the network manager menu in the tray

  9. $ sudo apt-get install bcmwl-kernel-source
    ```
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    The following packages were automatically installed and are no longer required:
    gksu libgksu2-0 libglade2-0 python-cairo python-dbus python-gi python-glade2 python-gobject python-gobject-2 python-gtk2 python-notify python-wicd wicd-daemon
    Use 'sudo apt autoremove' to remove them.
    The following additional packages will be installed:
    dkms
    The following NEW packages will be installed:
    bcmwl-kernel-source dkms
    0 upgraded, 2 newly installed, 0 to remove and 315 not upgraded.
    Need to get 1581 kB of archives.
    After this operation, 8278 kB of additional disk space will be used.
    Do you want to continue? [Y/n]
    Get:1 http://pl.archive.ubuntu.com/ubuntu xenial-updates/main amd64 dkms all 2.2.0.3-2ubuntu11.1 [66,2 kB]
    Get:2 http://pl.archive.ubuntu.com/ubuntu xenial/restricted amd64 bcmwl-kernel-source amd64 6.30.223.248+bdcom-0ubuntu8 [1515 kB]
    Fetched 1581 kB in 0s (4809 kB/s)
    Selecting previously unselected package dkms.
    (Reading database ... 206160 files and directories currently installed.)
    Preparing to unpack .../dkms_2.2.0.3-2ubuntu11.1_all.deb ...
    Unpacking dkms (2.2.0.3-2ubuntu11.1) ...
    Selecting previously unselected package bcmwl-kernel-source.
    Preparing to unpack .../bcmwl-kernel-source_6.30.223.248+bdcom-0ubuntu8_amd64.deb ...
    Unpacking bcmwl-kernel-source (6.30.223.248+bdcom-0ubuntu8) ...
    Processing triggers for man-db (2.7.5-1) ...
    Setting up dkms (2.2.0.3-2ubuntu11.1) ...
    Setting up bcmwl-kernel-source (6.30.223.248+bdcom-0ubuntu8) ...
    Loading new bcmwl-6.30.223.248+bdcom DKMS files...
    First Installation: checking all kernels...
    Building only for 4.4.0-34-generic
    Building for architecture x86_64
    Building initial module for 4.4.0-34-generic
    Done.
    wl:
    Running module version sanity check.



    • Original module

      • No original module exists within this kernel


    • Installation

      • Installing to /lib/modules/4.4.0-34-generic/updates/dkms/
        depmod....
        DKMS: install completed.
        modprobe: ERROR: could not insert 'wl': Required key not available
        update-initramfs: deferring update (trigger activated)
        Processing triggers for shim-signed (1.18~16.04.1+0.8-0ubuntu2) ...
        Processing triggers for initramfs-tools (0.122ubuntu8) ...
        update-initramfs: Generating /boot/initrd.img-4.4.0-34-generic
        W: Possible missing firmware /lib/firmware/i915/skl_guc_ver6.bin for module i915_bpo
        ```



  10. signed and loaded module wl:




$ openssl req -new -x509 -newkey rsa:2048 -keyout MOK.priv -outform DER -out MOK.der -nodes -days 36500 -subj "/CN=awesome key/"
$ sudo /usr/src/linux-headers-$(uname -r)/scripts/sign-file sha256 ./MOK.priv ./MOK.der $(modinfo -n wl)
$ sudo mokutil --import MOK.der
$ reboot
$ sudo modprobe wl # no error output this time :)



  1. reinstalling some packages:

    $ sudo apt-get purge bcmwl-kernel-source
    $ sudo apt-get install build-essential dkms linux-headers-generic
    $ sudo apt-get update
    $ sudo apt-get install bcmwl-kernel-source
    $ modprobe -r b43 bcma
    $ modprobe -r brcmsmac bcma
    $ modprobe -r wl
    $ modprobe wl
    $ reboot




Relevant Info:


$ rfkill list
0: acer-wireless: Wireless LAN
Soft blocked: no
Hard blocked: no
1: hci0: Bluetooth
Soft blocked: yes
Hard blocked: no
2: phy0: Wireless LAN
Soft blocked: no
Hard blocked: no

-


$ cat /etc/network/interfaces
# interfaces(5) file used by ifup(8) and ifdown(8)
auto lo
iface lo inet loopback

-


$ iwconfig
wlp3s0 IEEE 802.11abgn ESSID:off/any
Mode:Managed Access Point: Not-Associated Tx-Power=0 dBm
Retry short limit:7 RTS thr:off Fragment thr:off
Power Management:on
enp2s0 no wireless extensions.
lo no wireless extensions.

-


$ sudo lshw -c network
*-network
description: Ethernet interface
product: RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
vendor: Realtek Semiconductor Co., Ltd.
physical id: 0
bus info: pci@0000:02:00.0
logical name: enp2s0
version: 15
serial: 30:65:ec:9a:29:e2
size: 100Mbit/s
capacity: 1Gbit/s
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress msix bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt 1000bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=r8169 driverversion=2.3LK-NAPI duplex=full firmware=rtl8168h-2_0.0.2 02/26/15 ip=192.168.0.103 latency=0 link=yes multicast=yes port=MII speed=100Mbit/s
resources: irq:124 ioport:3000(size=256) memory:a1204000-a1204fff memory:a1200000-a1203fff
*-network DISABLED
description: Wireless interface
product: QCA6174 802.11ac Wireless Network Adapter
vendor: Qualcomm Atheros
physical id: 0
bus info: pci@0000:03:00.0
logical name: wlp3s0
version: 32
serial: c8:ff:28:00:90:51
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless
configuration: broadcast=yes driver=ath10k_pci driverversion=4.4.0-34-generic firmware=WLAN.RM.2.0-00180-QCARMSWPZ-1 latency=0 link=no multicast=yes wireless=IEEE 802.11abgn
resources: irq:127 memory:a1000000-a11fffff

-


lspci -knn | grep Net -A2
03:00.0 Network controller [0280]: Qualcomm Atheros QCA6174 802.11ac Wireless Network Adapter [168c:003e] (rev 32)
Subsystem: Lite-On Communications Inc QCA6174 802.11ac Wireless Network Adapter [11ad:0807]
Kernel driver in use: ath10k_pci
Kernel modules: ath10k_pci, wl

-


in the next file, I've tried to set managed=true and reboot, tho somewhere it got reverted back to managed=false


$ cat  /etc/NetworkManager/NetworkManager.conf
[main]
plugins=ifupdown,keyfile,ofono
dns=dnsmasq
[ifupdown]
managed=false

-


    $ dmesg | grep "\(disabled\|switch\)"
[ 0.000000] x86/fpu: Using 'eager' FPU context switches.
[ 0.000000] 6 disabled
[ 0.000000] 7 disabled
[ 0.000000] 8 disabled
[ 0.000000] 9 disabled
[ 0.000000] ACPI: Early table checksum verification disabled
[ 0.069778] DMAR-IR: x2apic is disabled because BIOS sets x2apic opt out bit.
[ 0.237651] pci 0000:00:14.0: System wakeup disabled by ACPI
[ 0.244497] pci 0000:00:1c.0: System wakeup disabled by ACPI
[ 0.245318] pci 0000:00:1c.4: System wakeup disabled by ACPI
[ 0.246125] pci 0000:00:1c.5: System wakeup disabled by ACPI
[ 0.248614] pci 0000:00:1f.3: System wakeup disabled by ACPI
[ 0.249896] pci 0000:02:00.0: System wakeup disabled by ACPI
[ 0.256218] pci 0000:03:00.0: System wakeup disabled by ACPI
[ 0.937596] audit: initializing netlink subsys (disabled)
[ 0.942695] Console: switching to colour frame buffer device 240x67
[ 0.970222] i8042: PNP: PS/2 appears to have AUX port disabled, if this is incorrect please boot with i8042.nopnp
[ 1.103625] fb: switching to inteldrmfb from EFI VGA
[ 1.103641] Console: switching to colour dummy device 80x25
[ 1.254041] Console: switching to colour frame buffer device 240x67
[ 1117.284285] xhci_hcd 0000:00:14.0: System wakeup disabled by ACPI
[ 1117.292227] rtc_cmos 00:03: System wakeup disabled by ACPI
[ 1117.292230] r8169 0000:02:00.0: System wakeup disabled by ACPI

-


$ ifconfig
enp2s0 Link encap:Ethernet HWaddr 30:65:ec:9a:29:e2
inet addr:192.168.0.103 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:26514 errors:0 dropped:0 overruns:0 frame:0
TX packets:18223 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:32858129 (32.8 MB) TX bytes:2703210 (2.7 MB)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:2379 errors:0 dropped:0 overruns:0 frame:0
TX packets:2379 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1
RX bytes:217304 (217.3 KB) TX bytes:217304 (217.3 KB)

-



I don't know why it worked, here's what I did:


Backed up /lib/firmware/ath10k/QCA6174
Replaced it with https://github.com/kvalo/ath10k-firmware/tree/master/QCA6174
Rebooted


At this point wifi was completely gone from the network manager menu.
so I restored the original QCA6174 folder, rebooted, and it works now!


Marking as solved.
If anyone knows why this worked I'm very curious ...


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?

boot - Cannot automatically start JIRA via init.d script



I am running Atlassian JIRA on Ubuntu 12.04 LTS (Precise Pangolin). I would like to automatically start JIRA whenever the system boots. For this purpose, I created script jira in /etc/init.d, similar to the one described in Atlassian's Wiki.



I can manually start / stop JIRA by calling /etc/init.d/jira accordingly. However, JIRA does not start during the boot process. In /var/log/boot.log I see messages like Starting jira... and jira started... which I added in /etc/init.d/jira; however, it seems that the Java process does not survive the boot process as there is no Java process after reboot.



Any idea why the Java process does not outlive the boot process?




Thanks,



Martin



In the end, this solved the problem: https://confluence.atlassian.com/display/JIRA/Starting+JIRA+Automatically+on+Linux?focusedCommentId=214865540#comment-214865540


14.04 - Add new menu items to Grub boot menu



I need to remove one existing boot menu item and add two new ones related to my second disc partitions in my Grub menu. What is the best way of doing that?



Grub menu entries are auto-generated by sudo update-grub. Have you tried to run it ? Doesn't it suite your needs ?




Otherwise, you can use /etc/grub.d/40_custom to add your custom entries. And then run sudo update-grub to update /boot/grub/grub.cfg.



You can however edit manually /boot/grub/grub.cfg to delete an entry. But your change will be lost the next time update-grub will be run by you or automatically by ubuntu when there is a kernel upgrade.


I forgot my password Ubuntu 12.10

I travelled from South America and I installed my old HDD and I forgot my Sudo Password. Please help me in retrieving it. Thank You.

system installation - Install Ubuntu on UEFI without Windows or Boot Loader



I have a Gateway netbook that has already been fully wiped with nothing on the hard drive. There is no Legacy option in bios and the only thing I can boot from the USB is a Gparted disk utilizing Grub/EFI loader in which I can partition the drive. But nothing else will boot from USB including Boot Repair, ReFINd, multiple Linux Live CDs, or Super Grub disks. Ubuntu installation disks won't show up, there is no boot loader on the hard drive and I don't know how to get anything installed. It seems to be a UEFI motherboard PC without a bios boot option. All the articles I am coming across deal with dual boots on EFI, or Windows 8 machines. Mine was a Windows 8 preinstalled machine that no longer has Windows on it. Any guidance on installing a boot loader and Ubuntu would be much appreciated.



I ended up solving this issue. I found out that even though the netbook was a newer model it was actually 32 bit. Therefore none of the 64 bit disk images would boot because they only contained 64 bit EFI drivers. I ended up...





  1. Downloading a 32 bit version of Linux Mint (which didn't have EFI support).

  2. I took the EFI folder from Gparted boot disk (which also had 32 bit EFI drivers) and copied it to the Linux Mint USB. This explains why only the Gparted disk would boot when others wouldn't.



Booted instantly, installed successfully, and is running like a charm. Loving Linux Mint 17!!!


dual boot - How do I install Windows 7 on a Lenovo Thinkpad running 12.04?


Possible Duplicate:
How to install Windows 7 after Ubuntu and dual boot?







How do I install windows 7 enterprise on a Lenovo Thinkpad running ubuntu 12.04

Wednesday, April 24, 2019

apt - How can I duplicate my existing software packages on a new system?


I installed 12.04 in a separate partition. Right now, I would like to install the software that I have installed on my 10.04 in my 12.04 too. I was hoping there would be a workaround for this using aptonCD. But I figured out 'restoring' using apt on cd only copies the .debs into the cache file and that might mess things up for me considerably.


The rough idea that I have is :



  1. Run an 'apt' command on 10.04 that will give me all the package names that I have currently installed on my 10.04.

  2. Bring those names to 12.04 and tell apt to fetch the same softwares, but the versions of them that belong to 12.04.

  3. Install them.


Is there anyway to do the above steps or is there a totally different way in which I can achieve this?



this is one common way to duplicate a package set. On the old machine:


sudo dpkg --get-selections "*" > packages

Copy the file packages to the new machine (a pen drive is a good option. Then run this:


sudo apt-get update
sudo dpkg --set-selections < packages
sudo apt-get -u dselect-upgrade

This doesn't get you only the packages you installed. It also gets their dependencies, etc.


SOURCE


ubuntu is trying to upgade from 14.04 to 12.10



I'm currently on 14.04 and I want to upgrade to 14.10. When I changed the updates status from only LTS to any version I was asked to upgrade to 12.10. But I want to upgrade to 14.10, is there a way to fix this?



Note this is note a typo it actually says 12.10.



EDIT: not sure how to attach screenshots, so here they are in an Imgur album http://imgur.com/a/Sp1lL




Lsb_release -a:



No LSB modules are available.  
Distributor ID: Ubuntu
Description: Ubuntu 12.04.5 LTS
Release: 12.04
Codename: precise



apt-cache policy update-manager-core:



update-manager-core:  
Installed: 1:0.156.14.17
Candidate: 1:0.156.14.17
Version table:
*** 1:0.156.14.17 0
500 http://us.archive.ubuntu.com/ubuntu/ precise-updates/main i386 Packages
100 /var/lib/dpkg/status
1:0.156.14.5 0

500 http://security.ubuntu.com/ubuntu/ precise-security/main i386 Packages
1:0.156.14 0
500 http://us.archive.ubuntu.com/ubuntu/ precise/main i386 Packages


as far as I know I should be running 14.04... but for some reason all of these say I'm running 12.04.5



I am really confused at this point.



You're not running 14.04 as you indicated, but you're actually running 12.04. All the output you show support this scenario.




Therefore, the proposed upgrade to 12.10 is valid. However, I recommend not to run this. Once on 12.10 you'll have to go through the long process of 12.10 → 13.04 → 13.10 → 14.04 to reach a supported release. LTS → LTS+1 upgrade path is supported and is a lot quicker. So instead, just upgrade to 14.04 directly from 12.04.


12.04 - How to remove old Linux kernel modules »tp_smapi«?

~$ locate tp_smapi

/lib/modules/3.0.0-19-generic/updates/dkms/tp_smapi.ko
/lib/modules/3.2.0-26-generic/updates/dkms/tp_smapi.ko
/lib/modules/3.2.0-29-generic/updates/dkms/tp_smapi.ko
/usr/src/tp-smapi-0.41/tp_smapi.c
/var/lib/dkms/tp-smapi/0.41/3.0.0-19-generic/x86_64/module/tp_smapi.ko
/var/lib/dkms/tp-smapi/0.41/3.2.0-26-generic/x86_64/module/tp_smapi.ko
/var/lib/dkms/tp-smapi/0.41/3.2.0-29-generic/x86_64/module/tp_smapi.ko
/var/lib/dkms/tp-smapi/0.41/build/tp_smapi.c'



How to remove the 2 old Linux kernel modules from kernels 3.0.0-19 und 3.2.0-26?



~$ man dkms



"'dkms remove [module/module-version]' removes a module/version combination from a tree.'




What is a "[module/module-version]", please?




Please notice:



I do not want to remove old Linux kernel modules tp_smapi from a tree but I'd like to remove old Linux kernel modules from my Ubuntu 12.04.1 computer.

software center - How do I install gnucap or octave?

I have tried to install gnucap (I downloaded it from the website http://ftp.gnu.org/gnu/gnucap/ with the extension .tar.gz) in the Ubuntu live-usb. I have tried to do it in the terminal with:


sudo apt-get install gnucap

But the problem is that it always tell me :



E:Unable to Locate Package



Could someone tell me what should I do to install the software?

system installation - 20 old Dell Latitudes donated to our school

Each of the laptops has 2 GB and is currently running Windows XP (well, limping along).



Any suggestions for using ubuntu?



(I'm a novice!)



Thanks!

Why do some packages disappear from the repositories?



I needed to install a program (GSAS & EXPGUI) that depends on the libg2c0 library. This library was in the repositories up to Ubuntu Jaunty (9.04), and then it was removed.



The solution is to download the Jaunty package, and then sudo dpkg --force-depends -i libg2c0_3.4.6-8ubuntu2_amd64.deb. If found this solution not to be in the spirit of Ubuntu (is there a word for that, like Pythonic is to Python?)




In general, what are the reasons for removing a given package from newer versions?



Is there a better way to manage dependencies to no longer supported packages?



Packages are removed from the repository in newer releases for different reasons.



Often package names have a reference to its version. In this case, a newer version might exist. In this case the dependency for your package might need to be updated. However, this is rather a replacement than a pure dropping of packages.



Packages are often dropped when there is no active development anymore, and they are not in a state than is valuable. It makes no sense to keep packages with critical bugs which are not fixed.




Another reason might be that no maintainer works on the package anymore. This might even be the case in Debian, since a lot of Ubuntu's packages are synced from Debian. This is a matter of interest. If the current maintainer has no time or passion anymore, the package is put on a list of orphaned packages. This allows the community to look if someone else will step up. If not, it will be dropped after some time since it is assumed that nobody has interest in the package anymore.



In your particular case, the GNU Fortran 77 was replaced by the GNU Fortran 95 compiler. Hence the runtime libraries have been dropped too. I am not sure if that helps you, but your package should be made to run on the new Fortran compiler (which should be possible if it is open source). Then it will use the new library which is available.


Tuesday, April 23, 2019

boot - In recovery mode, cannot type in the terminal

So I have been having problems with my graphics card (Nvidia Geforece GT 620) and Ubuntu not reading it. I then booted into recovery mode to try and get any updates.


Upon clicking recovery mode, all of the recovery menu items (resume, clean, dpkg, failsafeX, fsck, grub, network, and system-summary) all prompt me with error messages, Continuing with remount you / filesystem in read/write mode and mount any other filesystem defined in /etc/fstab. Do you wish to continue?. When I hit yes, it will bring up a terminal at the bottom which I can type into but it does not return anything when i hit enter.


When in I drop to root shell prompt from the GRUB, i can type in sudo apt-get install nvidia-update and get


W: Not using locking for read only lock file /var/lib/dpkg/lock
E: Unable to write /var/cache/apt/
E: The package lists or status file could not be parsed or opened

When I boot normally, I get an error message that says "The system is running in low-graphics mode. Your screen, graphics card, and input device settings could not be detected correctly. You will need to configure them yourself." And the result of any of the options after that screen are a black screen with some writing already on it, and it will let me type but not accept any commands. WHAT TO DO?

12.04 - Merge unallocated partitions



So my disk ended up being partitioned like this (in order):




  • System reserved (100MB)

  • Windows 7 (NTFS, 500GB)

  • Ubuntu (ext4, 100GB)


  • Swap (4GB)

  • Unallocated Space (400GB)



Unfortunately, the unallocated space is not next to ext4 or NTFS partitions.



I want to allocate 200GB to the Windows 7 NTFS partition, the other 200GB to the Ubuntu partitions. I think one can only merge partitions that are next to each other, not sure how to handle my case.



Any suggestions? Is there anything I should pay attention to (such as not screwing up either Windows or Ubuntu system, not screwing up GRUB).




I am using Ubuntu 12.04.



Yes, the space does need to be contiguous to merge. You will need to move a few things around, and do it in stages. I wouldn't try to do it all at once, since some steps may take a bit of time.



You will need to do it using a live CD or live USB, as you can't mess with a mounted partition.



I recommend first creating a swap drive at the end of the disk. Then, highlight the old swap drive, choose swap off, unmount that partition, and delete it.



You can move the Ubuntu partition over into the unallocated space, then merge the space before Ubuntu with Windows, and merge the space after Ubuntu with Ubuntu.




You might also consider leaving them as is, creating a data partition using NTFS, then pointing both windows and Ubuntu to this partition for Documents, pictures, music, etc. Windows 7 has a way to change the location for these directories, and you can create symbolic links in Ubuntu to point to the same place. This makes it much easier to share data with both systems, and never duplicate data.


system installation - Will UBUNTU work smoothly with 1Gb ram and intel atom dual core processor?

I want to use UBUNTU in my computer.




  • ASUS EEE PC

  • Intel Atom dual core processor

  • 1GB RAM

  • 360GB HDD




    Will it work without glitches and slow performance with this?


drivers - Graphics Card .. Which Vendor Has Better Compatibilty?



I plan to switch from Windows to Ubuntu in the next few weeks.



I currently have a Radeon HD6970 in my system, that I'll be changing during this process too (since it is loud and I can't make much use of it under Ubuntu, considering that many of the more demanding games I play aren't available anyways). Thus I'm looking for a card that is both passively cooled (so it'll be silent) and that will play nicely with Ubuntu.



It seems that currently the "fastest" passive/fanless Cards are the Nvidia GeForce GT 640 and the AMD/ATI Radeon HD7750. Both have similar prices (around €100).




Originally I was going to opt for the Nvidia one, considering how everyone seems to claim that Nvidia has the better drivers, plus, with my multi-monitor setup the driver in the live cd (12.04) for the HD6970 seems to be crashing when I change the display setting (this is probably fixable, but I haven't really had much reason to really look into it). But then I read around here and on other pages that while Nvidia has the better (as in better-performing; closed-source) drivers, AMD has better (as in better compatibility; open-source) drivers that are updated/patched more often.



So I'm not really sure which one to pick. While I don't really care about the performance difference, I also can't really verify the better compatibility of the AMD cards. I've always had AMD/ATI cards up to now, and tried Ubuntu on/off a few times .. and the graphics cards have always been a hairy detail (especially since I have a 2-monitor setup)



Any suggestions/ideas on which I should pick? Or is it even worth trying both cards? Like I said, the deciding factor here is which one will cause me less headaches. (Since performance-wise both cards are probably fine.)



This is a really diverse topic, but I would go with the AMD card, because I had a better experience with AMD graphics cards when setting up multi-monitor setups using Ubuntu. But this can probably be different for you.



What's really good about AMD is the open source driver as you noted. The Linux kernel 3.11 features a new version of the AMD open source driver, which makes it really usable. I have it running for a week now and all my problems with linux graphics have disappeared. Unfortunately the 3.11 kernel is only available in Ubuntu 13.10 which is currently only available as a daily. In my experience it is really stable, but if you want to stay with the stable release, you probably have to wait until October to get the new open source driver. Before the new version I would strongly recommend the closed source driver.


14.04 - Where did GRUB go?

I recently installed WIndows ten alongside Ubuntu 14.04. After doing this, I used a LiveUSB to use Boot Repair and restore GRUB. After rebooting, GRUB appeared, and when I selected the Windows option, Windows booted. However, after shutting down and restarting with the intention of booting Ubuntu, Ubuntu booted without the GRUB menu appearing. How can I get the GRUB menu to appear every time I start my PC?

11.10 - Can&#39;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 (...