Sunday, March 31, 2019

versions - Why Ubuntu isn't moving its repository to old-releases anymore?


Since 17.10 Ubuntu has its archives still in Ubuntu Archives instead of old-releases. Is there any reason before this?



17.04 (Zesty) and 17.10 (Artful) have been migrated from archive.ubuntu.com to old-releases.


16.04 (Xenial), 18.04 (Bionic), 18.10 (Cosmic), 19.04 (Disco), and 19.10 (Eoan, currently in development) are on archive, but that’s normal, since they’re still supported or not yet released.


14.04 (Trusty) just reached EOL, and will eventually be migrated; there’s no set calendar for such migrations, the only guarantee is that it happens after EOL.


See also When will Trusty be available in old-releases?


drivers - Ubuntu doesn't recognize 2nd and 3rd HDMI monitors connected to NVIDIA GTX 1060

I have 3 HDMI monitors connected to a desktop running Ubuntu 16.10 with GNOME. One is through the integrated graphics card and is working properly. The other two are connected to the GTX 1060 and are not showing up anywhere.



I have tried nvidia-378, nvidia-375, and nvidia-370, but all fail to detect the two HDMI monitors connected to the graphics card.



Is there a way I can help the nvidia driver along by telling it where to look for the monitors?




Output of xrandr --query:



Screen 0: minimum 8 x 8, current 1920 x 1080, maximum 32767 x 32767
VGA-1-1 disconnected
HDMI-1-1 disconnected
DP-1-1 disconnected
HDMI-1-2 disconnected
HDMI-1-3 connected primary 1920x1080+0+0 480mm x 270mm
1920x1080 60.00*+ 50.00 59.94
1920x1080i 60.00 50.00 59.94

1680x1050 59.88
1400x1050 59.95
1600x900 60.00
1280x1024 75.02 60.02
1440x900 59.90
1280x800 59.91
1152x864 75.00
1280x720 60.00 50.00 59.94
1024x768 75.03 60.00
800x600 75.00 60.32

720x576 50.00
720x480 60.00 59.94
640x480 75.00 60.00 59.94
720x400 70.08


Output of lspci | grep VGA



00:02.0 VGA compatible controller: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics Controller (rev 06)
01:00.0 VGA compatible controller: NVIDIA Corporation GP106 [GeForce GTX 1060 6GB] (rev a1)



Output of lshw -C video



  *-display                 
description: VGA compatible controller
product: GP106 [GeForce GTX 1060 6GB]
vendor: NVIDIA Corporation
physical id: 0
bus info: pci@0000:01:00.0

version: a1
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress vga_controller bus_master cap_list rom
configuration: driver=nvidia latency=0
resources: irq:35 memory:f2000000-f2ffffff memory:e0000000-efffffff memory:f0000000-f1ffffff ioport:e000(size=128) memory:f3000000-f307ffff
*-display
description: VGA compatible controller
product: Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics Controller
vendor: Intel Corporation

physical id: 2
bus info: pci@0000:00:02.0
version: 06
width: 64 bits
clock: 33MHz
capabilities: msi pm vga_controller bus_master cap_list rom
configuration: driver=i915 latency=0
resources: irq:31 memory:f3400000-f37fffff memory:d0000000-dfffffff ioport:f000(size=64) memory:c0000-dffff

grub2 - How to boot Windows XP (no GRUB menu is shown)?

I installed ubuntu 12.04 alongwith with Windows XP. But the system directly boots Ubuntu without giving grub selection menu. I opened a terminal up (ctrl-alt-t) and typed in the following:




sudo add-apt-repository ppa:yannubuntu/boot-repair && sudo apt-get update


Then my password and followed by:



sudo apt-get install -y boot-repair && boot-repair


But i got the message as follows:




BuildiReading package lists... Doneng dependency tree       
Reading state information... Done
E: Unable to locate package boot
E: Unable to locate package repair


So now what should I do? Please help as I cannot access Windows XP...

networking - My wireless network does not connect

I have just started using Ubuntu, and have always been using windows, so I am a bit of a newbee here.



I installed the 12.04 Precise Pangoline version the other day, and everything seem to work fine, except for the fact that the wireless network doesn't seem to work.



When I go to System Settings --> Network --> Wireless I can't move the bottom to "On". And when I turn Airplane mode off, it automatically sets it back to on when I leave the menu.



I have Windows 7 running on another partition and here I can access the wireless network without any problems.




I am using a Dell Vostro 3450.

Saturday, March 30, 2019

bumblebee - Ubuntu optimus support?

When will Ubuntu (or a Linux kernel) have native nvidia Optimus support? Estimates? Weeks/months/years?


"Native nvidia optimus support" as in when I run a graphically-demanding application, my nvidia graphics card will automatically kick in (like in Windows). Or at least a way that I could click some button to turn my GPU on for when I want to run any game.


I heard somewhere that Manjaro allegedly had native optimus support; is this true? If so, is there a way to implement this in Ubuntu?


I'm running Bumblebee right now, yes I know what it is and what it does, but it's extremely impractical. I can't game on Linux with this. You have to start applications via command line/terminal, and usually most modern games aren't just one function (ie: when you call on the "game", it's really just a loader/splash screen, that calls upon other functions; and when the secondary functions are called, they're not optirun'ed).

What are the minimum system requirements for Ubuntu Snappy Core?


What are the minimum system requirements for Ubuntu Snappy Core?



According to this article (not offical docs, I can't find any :/ ), the minimum requirements are:


Processor – 600 MHz processor (ARMv7 or greater, or x86)
System Memory – 128 MB RAM or greater (The system itself uses 40 MB RAM)
Storage – 4GB flash / storage for factory reset and system rollback

I am not sure if any other specs need to be atleast something, or whether the above is accurate.


Note that ARMv6 and earlier (used on the old Raspberry Pi models etc) is not supported.


x86 is apparently supported, though a image for 15.04 does not seem to be available, though you can get one for 15.10


12.04 - How to make gnome-shell the default GUI in ubuntu-builder?

I'm making my own distro with Ubuntu builder and I want to make Gnome-shell the main GUI. I tried many things like removing Unity and using GDM and a whole bunch of other things but I keep getting a message "Failed to load session 'ubuntu'." I'm also using Ubuntu 12.04



I also tried this How to install the full GNOME desktop as close to upstream as possible? but only resulted in the same error.

apt - How to fix GPG error for extras.ubuntu.com oneiric Release?



Some days ago my apt-get update has suddenly began to throw



W: GPG error: http://extras.ubuntu.com oneiric Release: The following signatures were invalid: BADSIG 16126D3A3E5C1192 Ubuntu Extras Archive Automatic Signing Key

As far as I understand, this is about a brand Ubuntu repository, not something I've added (actually I were not adding any repositories and/or changing apt settings those days).
How to fix this? The OS is XUbuntu 11.10 "Oneric Ocelot" x86.


I've tried


sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com 16126D3A3E5C1192

and


sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 3E5C1192

neither seems to help.

Ubuntu 14.04 cannot detect GTX 850M nvidia driver after installation



The following are what I did:




  1. sudo apt-get install --install-recommends linux-generic-lts-utopic xserver-xorg-lts-utopic libqt5gui5 libgles1-mesa-lts-utopic libgles2-mesa-lts-utopic libgl1-mesa-glx-lts-utopic libgl1-mesa-glx-lts-utopic:i386 libglapi-mesa-lts-utopic:i386 libegl1-mesa-drivers-lts-utopic



Except it reported that it cannot locate dkms.conf, everything goes well.





  1. reboot

  2. sudo add-apt-repository ppa:xorg-edgers/ppa

  3. sudo apt-get update

  4. sudo apt-get install nvidia-346

  5. reboot



After that, I can find an application called "NVIDIA X Server Settings" in my application list, and everything looks normal in it. It can even show the tempature of my GPU.




But sudo lshw -C display still cannot show my nvidia GTX 850M (I have already enabled NVIDIA):



*-display
description: 3D controller
product: GM107M [GeForce GTX 850M]
vendor: NVIDIA Corporation
physical id: 0
bus info: pci@0000:01:00.0
version: a2
width: 64 bits

clock: 33MHz
capabilities: pm msi pciexpress bus_master cap_list rom
configuration: driver=nvidia latency=0
resources: irq:55 memory:f6000000-f6ffffff memory:e0000000-efffffff memory:f0000000-f1ffffff ioport:e000(size=128) memory:f7000000-f707ffff
*-display
description: VGA compatible controller
product: 4th Gen Core Processor Integrated Graphics Controller
vendor: Intel Corporation
physical id: 2
bus info: pci@0000:00:02.0

version: 06
width: 64 bits
clock: 33MHz
capabilities: msi pm vga_controller bus_master cap_list rom
configuration: driver=i915 latency=0
resources: irq:52 memory:f7400000-f77fffff memory:d0000000-dfffffff ioport:f000(size=64)


EDIT:




I am not sure is there any problem in my question, I think maybe I need describe what I expect in more details. I think if the driver is installed successfully, after I sudo lshw -C display, the "VGA compatible controller" should also be nvidia one, but now it still is Intel Integrated one.



If I am correct, does anyone can tell me what should I do to make the VGA compatible controller to nvidia one. If I am wrong, how could I know whether my naughty GPU is running or not. Thanks a lot!!!



I found in 14.04 the only way to use the nvidia was to turn off the Intel card in the bios. There should be a disable option in there. From there, I suggest doing a re-install of ubuntu (if you have only just installed it) and install the nvidia drivers from there.


wine - Gaming performance difference between Windows and Ubuntu


What are the pros/cons switching from Windows 7/8 to Ubuntu?


I mainly develop software and play games.


I obviously don't play games on my laptop that's why I give Ubuntu a try. But the whole OS looks great and I recently discovered PlayOnLinux.


How big is the performance hit from Windows games?
What if the game supports DX11 and has tessellation, does PlayOnLinux translate DX11 to OpenGL?



From a 7+ year experience I can say the following:


I have tried Wine since around 2005-2006. Also tried Cedega (Dead for me after Wine 1.2 came out) and PlayOnLinux (PoL for short). I have also seen how the developing process in Wine under Ubuntu has been quickly catching up to the latest games. For Wine installation and configuration please see How to install and configure Wine?


Around 4 years ago if somebody came to me and wanted to change to Ubuntu, one of the questions they would ask would be: Can I play X game on Ubuntu?. If the answer was positive for that game the next question would be something along the lines of: Will it have the same performance?


4 years ago my normal answer was no in most cases. After Wine 1.2 and in this year 1.4 came out, I had changed my answer for several games and for the first time I was more on the positive side about telling a new user that they could actually play the game.


Cases like Deep Space 2 which is/was one of the latest games I could play. Alice in Wonderland (The new one I mean), The Sims 3, World of Warcraft, Amnesia and others. Even Skyrim could be played. This are games that demand powerful graphics and you can play them with little to no additional setups other than the normal install and play steps.


A quick way to know what games can or can not be played on Wine (In Ubuntu) can be found in the Wine App Database: http://appdb.winehq.org/ which holds more than 11000 games (Litte over 5000 about two years ago). This also includes information for most games about the performance, which is not the same for each game that can be playable on Linux. This helps in knowing if a game is playable and has the same confirmed performance over the same game on Windows.


Wine also offers something called Ranking which helps in determining what games can be played with less configuration and a bigger chance of them working out of the box. If you see a game with a Platinum ranking it means you have a 99% chance it will work out of the box with no problems at all, from start to finish. If you see one with the Gold ranking you might find yourself doing a little bit of configuring but at the end it will work out good. In most cases, Gold status will work out of the box. They show as Gold because they have not being updated with the latest Wine version. Of course if you have a game with the Garbage rank it means it will never work or will only work if Superman starts eating kryptonian cereal in the morning.


A couple of years ago the amount of Platinum games was less than 50. In August 2012 (First time I wrote this answer) you could find More than 1500 games out of which almost 200 were in the Latest Titles. Today there are more than 5800 Games of which more than 1800+ are Platinum. And this is only in the Development phase of the 1.5.x. I can only imagine the amount that will reach Platinum rating once 1.6 is released. The only need here is for more people to participate and test the games on Wine (If applicable) or Steam (Which is new right now).


With this in mind I will always recommend using the PPA from Wine found here . This is because the official ones like the 1.4.x series, after several months, are outdated when compared to the 1.5.x development series, which to me is very stable, has many improvements and solves many issues.


Simply run the following in the terminal: sudo add-apt-repository ppa:ubuntu-wine/ppa


Then run sudo apt-get update. Afterwards install the latest version (As of this writing it is the 1.5.23). To verify the version you have installed type wine --version in the terminal.


HOW BIG IS THE PERFORMANCE HIT?


Seeing as the Wine development is taking huge leaps (Specially in the DX10 and DX11 departments) and can say the following from experience:



  • Games like world of warcraft run much smoother in older PCs. They somehow use LESS MEMORY than in their Windows scenario and achieve better FPS in older PCs. This I tested in 8 PCs for friends that wanted to test out Ubuntu but also played WoW. All cases mentioned the same positive result. In the DX11 gxApi setup I actually could play WoW with very awesome graphics. But for best results OpenGL is better. This is not the same for high spec PCs where you can actually enjoy better graphics with the high end ones until Wine catches up to this graphic technologies.


  • Will games with DX10 or DX11 work out of the box. Right now the answer is NO, they will not. Will they work in the future, Yes. The speed at which Wine has shown to be inn development suggest it so. Specially for the latest games and DirectX 10/11 support.


  • The amount of games that are working out of the box (Great graphic games in this case) have exponentially grown in the last year alone. This gives you an idea on how things will look at the end of 2012 or beginning of 2013 for Wine. To give you a background idea, I played in Wine Deep Space 2, 3 days after it officially launched. I was not even thinking that it would work and here I was amazed how everything work great from the first time. I also managed to play Dishonored a day after release without any problems. Others like Portal 2, Skyrim and Trine 1 & 2 are playable with no problems.


  • Wine does not only focus on one app at a time but also on libraries or DLL. This means that if 100 games use X type of library, they will all benefit from a simple improvement made to it. This is why, when each update of wine comes out, it can change many things regarding one single fix. As an example we can still remember the famous small fix about Mouse and Audio that ended up fixing more than 100+ games.



PLAYONLINUX - PoL for short, works with Wine side by side. They try (in a very efficient way) to make it so that when you install a program/game it will work out of the box. they might use an old wine version that works perfect for a particular game or they might add some scripts, additional dlls or files to make the game work. PoL does not need Wine installed but it would be wise to have it install just the same. You can find the latest version in here.


For example installing a game with Wine might make you do several additional steps to make it work. With PoL is just one click away, PoL will take care that the game installs and works as it should by adding a layer that reads what program or game you are installing and running a script to make sure that all DLLs and additional components that application needs are installed (For example DirectX or .NET). That is what PoL is aiming at, for you to "Play On Linux". Note that it is based on the technology that Wine offers. It actually updates itself rather fast in comparison to add new installer scripts.


Many of this apps can be found in the long list of supported apps.


With that said, PoL does not do anything out of this world that Wine does not have, for example translating DX11 to OpenGL. This would be more in the area of Wine.


What I would recommend as I normally do it, is to do some Testing with several games and help the Wine community with your feedback. By doing this you would be speeding up the process for that particular game to work correctly.


CODEWEAVERS CROSSOVER


This is similar to PoL but it is paid. You actually get a lot of support and there is even a neat Top List of most voted apps


STEAM


The move by Valve to offer steam on Linux (Specially in Ubuntu) just goes to show the potential Linux is having over gaming. I should also mention that Valve is not the only one looking into developing games for Ubuntu. Many other are also looking this way as an alternative to Windows (Specially Windows 8).


NVIDIA / INTEL / ATI


Even graphics card companies are focusing more and more on enhancing their performance on Linux. With the huge jumps we have had so far gaining after every update a significant performance boost.


UBUNTU


To top it off. The performance that Ubuntu has received over every version since Unity came out has been positive. For each new release, Unity has consumed less resources, has had less bugs and has improved performance to the point of becoming excellent for playing any games, based on Wine or native like Steam.


The performance many users have noticed in 12.04, then again in 12.10 and even more in 13.04 is just a small example of where Unity is heading and what kind of enhancements we can expect to receive, not only for Graphics performance but for a more general one. I for one have taken many evaluations over the resource usage and video performance since 11.10 and for each new version, specially since 12.04, the resource usage has started to drop significantly and the FPS count has gone up.


Tested a couple of days ago was Dead Space 3 & Dishonored with both DLC contents. I was amazed at the fact that both worked flawlessly and they detected my video card, CPU and memory correctly. I could select the highest possible video configurations and play perfectly.


UBUNTU PERFORMANCE


I have to tell you, when it came out, Unity was possibly the worst DE for gaming. It was bloated, heavy and crashed a lot. But it had an objective set forth and a way of working that was great for many productive tasks. The improvements over each new version brought many changes to the Unity DE to a point that for each new version, the end user could actually see many enhancements and performance fixes.


12.04 marked such an improved point where many end users that criticized Unity were overwhelmed by the functionality and the speed of Unity. It is from this version on that I will show some benchmarks that I feel should be pointed out to give an idea of how Unity stands in gaming. So Here are several links (Chronologically Ordered) about Unity's performance:


I added the 2 Windows Performance links to prove a point. If you look at the benchmarks you will see that there are jumps between the performance in 12.10 and 13.04. Many fixes and enhancements done to Unity/Compiz have given Unity the edge when it comes to 3D.


And Note that all of this benchmarks are using Unity from the 6.x Series. The one in 13.04 right now is the 7.x Series. There are also some very awesome patches that will be arriving to 13.04 in the coming weeks that will further lower the memory usage, cpu usage
and boost the graphics performance. Additionally, here are some answer that will help you when Performance or Compatibility is an issue:


UBUNTU STATS


But why so much focus from Steam and other companies. Well, many surveys have been conducted and in most (If not all) have shown that most Linux users, use Ubuntu or a derivative from it. As the latest G+ Poll shows, with a total of 14000+ votes so far, most users us Ubuntu (More than 50%) and most use the Unity desktop (More than 50%). This gives an idea to gaming companies where to focus, in what DE to work on and how to adapt their game to this emerging gaming platform.


TIPS - There are several tips I can leave for anybody that reads this related to Wine, Wine usage, configuration and hints in general for anybody new or old, this are:


How do I install Half-Life 1 and 2? - Covers Winetricks


Adjusting resolution for individual Wine programs - Handle several apps (Different Windows/Resolutions).


For some of the ones I can vouch that are working after testing them in at least 3 computers with the correct hardware requirements (Including updates and DLC) are:



  • Far Cry & Far Cry 2

  • Dead Island & Dead Island: Riptide

  • Dishonored

  • Hitman 1...4 (Blood Money)

  • Trine & Trine 2

  • GTA3, VC & SA

  • Dead Space 1...3

  • World of Warcraft

  • Elder Scrolls 3...5

  • Penumbra Collection

  • And many more...


Hope this helps and gives you an idea of how things are moving.


intel - Which type of install file I should use, i386 or amd64?

I have a dell inspiron 13 laptop currently running windows. I would like to install Ubuntu server (not desktop) the file I download is "ubuntu-16.04.2-server-amd64.iso" but when I try to download wireless package they have both amd64 and i386.


Why isn't there an i386 install file for Intel based computers? Why do packages have both versions?


Which installer should I use for my Intel based PC? and which packages should I use?

Friday, March 29, 2019

14.04 - Why is my system intermittently becoming read only at ~8:00 am every sunday?

Ever since following this tutorial to migrate my sistem from my HDD to my SSD I have been getting an intermittent error where running any command I get something like this:


sudo: unable to open /var/lib/sudo/foo/0: Read-only file system
sudo: unable to execute /sbin/fsck: Input/output error

And the only way I can fix it is by hard rebooting my machine.


This used to happen ruffly once every two weeks and I have no idea why.


Now it happens every Sunday at ~8:00 am.


I really have no idea where to start when debugging this issue any tips would be greatly appreciated. I have done tests on my RAM and on my SDD but nothing seems to be untoward to me. I am sorry for such an open ended question but I am desperate to solve this issue ASAP.


Replaced the 2010 sandisk SSD and hasn't happened since. Moral of the story - don't buy old SSDs on eBay :)

Has anyone got an Nvidia 940M to work on 14.04.4 LTS w/ Nvidia proprietary drivers?


I've been trying for a couple of days now to get my 940M to work on Ubuntu 14.04.4 LTS to no avail (currently stuck on login loop issue), and yet there doesn't appear to be much discussion of issues surrounding the card. I have a feeling that I'm overlooking something simple.


Has anyone else been able to get an Nvidia 940M to run on 14.04.4 LTS with Nvidia's proprietary drivers?


If so, how did you do it?


The nouveau drivers appear to work just fine, but I expect better performance with Nvidia's.



To get rid of these and other hard-ware related troubles,test the latest, relatively stable liveCD - OP found out that the latest 16.04LTS (close to release candidate, kernel freeze today) not only fixes the graphics issue, but also other issues (touchpad).


After the test is successful, the usual way for existing systems is update-manager -d to get the most recent version of Ubuntu or a reinstall if you were testing Ubuntu support on a new hardware system.


Do this only if you see a hardware issue. Also, it should be a system with a single user, and not mission-critical. Laptops are prime candidates for this, since they usually have the most pesky hardware issues and the troublemakers inside are not exchangeable.


Downside of running the latest distribution is that in case of other issues, it's difficult to find existing solutions on the net. But you can always come to askubuntu.com for that.


boot - No Grub after installing aside Windows 10

I have some partitions for Windows 10 and tried installing Ubuntu on its own partition, but Grub wasn't installed and now I can't boot into Ubuntu even getting in the BIOS because I can't see Ubuntu boot there. The partition with Ubuntu is here, I can see it from Windows 10 but can't see it for boot in BIOS.



Already tried:





EDIT: I was able to boot inside Ubuntu with SuperGrubDisk but now how can I fix the problem from inside Ubuntu 17.10?

11.04 - Unity with GeForce FX 5200

I have a computer with a Nvidia GeForce FX 5200



With the nvidia binary driver (version 173) my computer wont boot. I get a white screen with random black characters on it.




With the Experimental open source 3D support everything works expect that all the icons in the dock are not shown, (the dock still works, auto hides, hover help, clicks, etc works)enter image description here



How can I use Unity. (10.10 ran excellently with full compiz effects)

virtualbox - Nvidia drivers and UEFI working together

I have Ubuntu 16.04 and after enabling Secure Boot Nvidia drivers stops loading. Same is with VirtualBox kernel modules. When I try to force loading kernel



# modprobe nvidia_361
modprobe: ERROR: could not insert 'nvidia_361': Required key not available sign module


I read that from Ubuntu 16.04 version kernel prevents loading unsigned modules. Is there any way to turn on Secure Boot and use proprietary kernel modules, without compiling own kernel?

wireless - why rfkill has 2 entries for each of wlan and bluetooth?

rfkill list all



0: asus_bluetooth: Bluetooth
Soft blocked: no
Hard blocked: no

1: phy0: wireless LAN
Soft blocked: no
Hard blocked: yes
2: asus_wlan: Wireless LAN
Soft blocked: no
Hard blocked: no
3: hci0: bluetooth
Soft blocked: no
Hard blocked: no



When I hit the hardware button (Fn+F2) the values toggle so the two wlans change



from:  no yes; no no  
to: yes no; yes no


Even the "rfkill unblock all" or unblock wlan or unblock do the same kind of toggling, and can not get them all to ' no no ; no no '.



Bluetooth works fine, by the toggles (hardware button / choosing system tray / command line rfkill).




 # uname -r
3.16.0-30-generic
# sudo dmidecode | grep 'System Information' -A2
System Information
Manufacturer: ASUSTeK Computer Inc.
Product Name: U32U


I managed to get the no, no; no no (phy0; asus_wlan, soft & hard). [no yes; no no : Fn+F2 -> yes no; yes no : rfkill unblock wlan -> no, no; no, no]. Not sure if sudo modprobe asus_nb_wmi wapf=4 did something.




However, now despite having all four 'no' its still showing 'wifi disabled by hardware switch', and greyed out. Does it have a refresh time when that takes effect ?



I have seen the post "Wireless disabled by hardware switch on an Asus X550V" but that does not provide solution to my problem.

grub2 - GRUB boot into Windows 7 breaks GRUB and makes system unbootable


I have installed Ubuntu 12.04 (daily-live iso from 21.04.12) alongside Windows 7 on an HP EliteBook laptop.


The installation went fine, except that it installed grub onto my usb disk (/dev/sdb) instead of the hard disk (/dev/sda). I was able to boot into the Ubuntu installation by using the usb disk which had grub installed on it. I then installed grub manually onto the hard disk (/dev/sda) by running "grub-install /dev/sda".


After I do that, I can book into either Ubuntu or Windows 7 from the Grub menu. However, after booting into Windows 7, grub doesn't load on the next boot. The computer simply reboots again and again, without giving any error. The screen simply goes black and reboots. There are two entries for Windows 7 in grub: for /dev/sda1 and /dev/sda3. These are in reality a single Windows installation which uses both partitions. Booting into either of them produces the same effect.


If I boot into the Ubuntu partition using the usb disk, I have found that I can restore grub to working order by using the boot-repair application. Then if I boot into Windows again, grub breaks again.


Full details of the log file which boot-repair produces, showing the partition details, are here: http://paste.ubuntu.com/940155/


Any ideas?



This not really an "answer". The content would be a better match to a comment, but is too long-winded to fit in one. Apologies :-(


Some questions just to make sure I am reading your question correctly. (Please update/edit your question if you any further info to add.)



  • You say "I installed grub manually onto the hard disk (/dev/sda)."
    So you have already booted into the 12.04 installed on partition sda5 and successfully run
    sudo grub-install /dev/sda?

  • You say that "... after booting into Windows 7, grub doesn't load on
    the next boot. The computer simply reboots again and again.
    "
    Does it make any difference which of the two entries for Windows in your GRUB menu you use to boot into Windows?
    There is one for /dev/sda1 (label "OSDisk") and another for /dev/sda3 (label "BDEDrive").

  • Is there any error or status information at all displayed prior to or during this infinite boot loop? Can you tell if it is Linux/GRUB or Windows that is looping?


I am wondering if there is some conflict between your two Windows boot configurations. Only one of them would seem to be needed. (Probably the one on the first partition, OSBoot?)


Perhaps you might learn something by installing a Windows boot utility such as EasyBCD and making sure your Windows boot settings are correct?




Another alternative might be to bring up the Windows 7 Advanced startup options boot menu by pressing F8 immediately after starting a Windows boot from the GRUB menu. If the option to Repair your computer is available in the advanced options boot menu, you could run Startup repair to check for and (maybe) correct problems in your Windows boot setup.


Note: You have to be quick pressing F8 or Windows will just boot as usual.




I'm not sure exactly what is going wrong, but could there be some corruption in either your Windows or Linux file systems?


The excerpt below is from your boot-repair log from lines 616 to 641. The repeated failures of getcwd() (get current working directory) and the GRUB warning about ZISD (ZENworks Image Safe Data ?) might mean something. Do you use ZENworks?


REPAIROK:
Copied Win boot files from sda3 to sda1
Reinstall the GRUB of sda5 into all MBRs of disks with OS or not-USB
Reinstall the GRUB of sda5 into the MBR of sda
dpkg --configure -a sda5
sh: 0: getcwd() failed: No such file or directory
grub-install (GRUB) 1.99-21ubuntu3
grub-setup: warn: Sector 5 is already in use by ZISD; avoiding it. This software may cause boot or other problems in future. Please ask its authors not to store data in the boot track.
SETUPOUTPUT: SETUPEXIT:0
sh: 0: getcwd() failed: No such file or directory
/usr/sbin/grub-setup: warn: Sector 5 is already in use by ZISD; avoiding it. This software may cause boot or other problems in future. Please ask its authors not to store data in the boot track.
INSTALLOUTPUT: Installation finished. No error reported.
INSTALLEXIT:0
sh: 0: getcwd() failed: No such file or directory
sh: 0: getcwd() failed: No such file or directory
Generating grub.cfg ...
sh: 0: getcwd() failed: No such file or directory
sh: 0: getcwd() failed: No such file or directory
sh: 0: getcwd() failed: No such file or directory
Found linux image: /boot/vmlinuz-3.2.0-23-generic-pae
Found initrd image: /boot/initrd.img-3.2.0-23-generic-pae
sh: 0: getcwd() failed: No such file or directory
sh: 0: getcwd() failed: No such file or directory
Found memtest86+ image: /boot/memtest86+.bin
sh: 0: getcwd() failed: No such file or directory
sh: 0: getcwd() failed: No such file or directory

boot - After installing Ubuntu, Windows became unbootable but files are still there

I was trying for hours to get Ubuntu to install as a dual boot alongside Windows 10, but kept running into this problem or this problem. I finally tried this solution, not knowing it would destroy my windows partitions. I can't boot to Windows now, but I can still access all of my Windows files through Ubuntu.


I don't have anything on Windows of importance except that it is a valid Windows install, which I'd rather not lose.


Several pictures that can provide some more information can be found here.


I was directed to try this solution, but none of the new boot options worked for me. Here are the logs from the boot-repair operation. One thing that I noticed is that some of the boot options will say:


error: no such device: 7A32-E897.
error: disk `hd1,gpt1' not found.

That device is the hard drive with the Windows files that I can access through Ubuntu's file explorer and disk manager.


If there is any way to make the Windows partition bootable again, how so? Thank you!

Thursday, March 28, 2019

Ubuntu Server - Available options for various post installation customization?


I've created an Ubuntu Server ISO with a set of custom packages I want installed during the installation process. I alos have a preseed and kickstart file working. This took me a while but I have it working thanks to: How to create a Customized Ubuntu Server ISO?


Now I need to do things such as:



  • setting some firewall rules

  • writing some conf files

  • placing down keys

  • changing system name

  • ultimately creating a custom shell


This is a lot for me to digest and it is taking me a long time to understand which tool or part of the process I should be doing the above with. I think anything that has to do with just placing files can be done with a custom deb package and installed like my other packages. However, I don't know the best place for setting the host name, setting firewall rules, and eventually creating a custom shell/interface to limit the non root user's abilities. Note: Everything at this stage should be possible with the disc only... no internet access.


I've read this page and I believe I can script almost anything I'd need but only before the full system has booted: https://help.ubuntu.com/community/InstallCDCustomization. The purpose here is to get the server setup and secure to receive its final customization from Chef.


Basically, I just need to know where to begin with the bullets and could use pointers to examples. Can anyone help me?



I followed shvahabi's advice here How can I make "rc.local" run on startup?. Basically, I'm enabling and using rc.local on the ubuntu box. Rc.local is normally not used on debian. It's very similar to Window's registry run keys. Ultimately I'll have my first boot configuration script AND the custom rc.local file in a custom deb package that places the files on the box at installation time (custom deb lives on the ISO itself). Then, on every boot, the rc.local will run my script and I can put a check in so that it only runs on the first boot.


Important note: edit and use "/etc/rc.local" to place a line to run your script... NOT "/etc/init.d/rc.local". The second one is actually controlled by another package and will NOT let you install a custom version of it from a custom deb file during installation. The init.d version's sole purpose is to call the "/etc/rc.local" one anyways.


I'm not using systemd or upstart because you need to type in commands to start the services first. This needed to be hands free. HOWEVER, I believe all those commands do is make link files, but I didn't feel like figuring out where to place those. Two files in a custom deb package is easiest.


windows 7 - How to restore GRUB without re-installing the OS?




A friend of mine has a Packard Bell laptop that came with Windows pre-installed. I installed Ubuntu on it and it works fine, but everytime she tried to boot Windows on it (fortunately rarely) it fails and the computer is unable to boot any OS anymore.



Upon boot, the computer stops on a black screen with a GRUB Rescue prompt.



Is there any way to restore GRUB without re-installing Ubuntu? (preferably an easy way as I cannot do it for her and she is not extremely computer literate)



Also (but less important), is there a way to configure GRUB (or something else) so that Windows won't destroy it on every boot attempt?



To reinstall GRUB2 see also e.g. this answer.




To avoid this happen in the future we need to deinstall all Windows rescue/security and more software that may overwrite the MBR of your harddisk.



Depending on the software your friend runs on Windows, and in the case she only rarely needs it you may also want to consider to run Windows in Virtual Box. If it is not for gaming there are invaluable advantages over a dual-boot situation (e.g. run Windows without reboot, run Windows parallel, share data on the fly, share clipboard). However a new installation (and registration) of Windows would be needed.


How to get dual boot (Ubuntu/Windows) option enabled?




My first disk has windows and second disk (not partition) has Ubuntu.




But the first disk was removed during ubuntu installation and plugged back after installation.



Now my system boots with only one OS depending on the disk with higher priority in the boot list.



One of the attached question talks about boot repair or about reinstalling grub-efi. Which is not the case here. My system boots perfectly but based on the drive selected.



The other attached question is valid with the given assumptions being true, which are false in my case.



Is there any way to get OS selection list at boot time?




In your case, the following should be sufficient:




  1. Boot Ubuntu with both drives installed.

  2. Open Terminal and issue the command:



    sudo update-grub

  3. Enter your password and check it detects Windows apart from Ubuntu itself.


  4. You can reboot and choose Windows in the GRUB menu.



However, this might not work if you installed both systems in a different mode (BIOS or UEFI). Anyway, a boot menu provided by the firmware can do the same work as the GRUB menu would.


Wednesday, March 27, 2019

grub2 - How can I install Windows 8 while dual-booting Ubuntu?

I have a new Dell laptop which has inbuilt Ubuntu OS in it, I would like to install Windows 8 alongside Ubuntu, that is, without removing Ubuntu.

password - Set encrypted home passphrase




I just reinstalled Ubuntu, Natty. I set to use encrypted home, but once the system was running, I was asked to define the encrypted home passphrase. Out of haste, I skipped that, but now I want to define the passphrase but I couldn't find out how (despite how trivial this sounds).



I set my /home to a specific partition, so I may reinstall Ubuntu without losing my data whenever I need it, and I guess this is the passphare that I'd need to supply to recover my data on a new install, am I right?



Please, how can I define/change my passphrase?



You can do that by running this command at terminal:



ecryptfs-unwrap-passphrase ~/.ecryptfs/wrapped-passphrase 



The information you missed when you skiped was:



enter image description here


Automatic logout when typing password

I think it may be due the graphic card driver I installed. Is there anyway I can get in through a back door to the admin so I can uninstall the driver?

Cannot Boot Ubuntu from DVD

I have an older Gateway desktop computer that I installed a version of Ubuntu in 2010. For reasons I won't go into here I decided to uninstall it, which left the file structure on the disk--disks, docs, install, winboot and Uninstall-Ubuntu. The dual boot prompt remained also. Now, I would like to reinstall Ubuntu 14.10 but I cannot boot from the DVD (an Ubuntu DVD, not one I created).




What I get is a purple splash screen, no other text and then it goes to a black screen and text begins scrolling. This appears to be a script running that is identifying the hardware I have on this system. This hangs at an IR device and that is as far as I goes. I don't have an IR device installed but I have used an IR device that plug into the USB port.



This has been a problem for some time since I have tried to boot various versions of Ubuntu on this system with the same results.



I'm thinking that the previous version of Ubuntu (10??) that I had installed and then having gone through the uninstall process created this condition. Re-running the uninstall does not remove the Ubuntu folder structure from the disk nor does it fix the problem.



Any ideas are appreciated.

Lazy load startup applications

I am using ubuntu 12.04. I have a few startup applications - Dropbox, Transmission, a few custom scripts. These stretch the login time to ~10 -15 seconds (an old machine here).


I do not need to start these immediately at login. Is there a way to lazy load these applications?

Tuesday, March 26, 2019

windows - Error while accessing SVN Repository

we are working on one android project in our company using Eclipse as an IDE.
one person is works on windows platform while i am using ubuntu for android development.
we need to connect same project via svn repository.



Now the problem is we couldn't connect our server via Ubuntu.
I recently started ubuntu for development so i really don't know much more things about Ubuntu.
so we failed to connect our project via svn repository. Repository is windows based.



So how do I configure SVN repository in Ubuntu? How to connect server from Ubuntu?(server is on windows platform)




How to communicate between Windows and Ubuntu?



While checkout our project it gives some error.
I posted error below. please have look on this



Checkout operation for 'file://serversystem/application_directory/Android' failed.
svn: E180001: Unable to open an ra_local session to URL
svn: E180001: Unable to open repository 'file://serversystem/application_directory/Android'
svn: E170000: Local URL 'file://serversystem/application_directory/Android' contains unsupported hostname



I checked all the possibilities like svn://, file:///, http://; but we failed to access repository




Thanks and regards
tj

partitioning - Will resizing ext4 partitions with Windows destroy the installed Ubuntu?


As the title says, can I use Windows (7) to resize the ext4 partition Ubuntu is installed on? I dual-boot both Win7 and Ubuntu and want to enlarge the Ubuntu root partition. Is it safe to do this from Windows which does not recognize the ext4 filesystem, but sees the partition, or will I have to boot from a (sloooow) Ubuntu live-DVD?



There are really two issues here:



  • Resizing the partition

  • Resizing the filesystem


People mostly refer to "resizing the partition" because that implies also resizing the filesystem, but in the case of your question, understanding the answer requires understanding the distinction between the two.


Partitions are very simple data structures that define the start and end points of chunks of the disk. Filesystems, by contrast, are complex data structures that are defined relative to the start of the data structures that contain them. Note that a filesystem is conventionally contained by a partition, but it could be contained in a file, on a whole disk, in an LVM's logical volume, etc.


Because filesystems are laid out relative to their starting point, it's possible to safely move the end point of a partition upward even if the tools used to do this don't understand the filesystem. It's also completely pointless to do this, since the filesystem's own data structures will not magically expand to fill the available space. Moving the end point of the partition down is likely to be disastrous, since important files might be stored at the end of the filesystem -- and even if they aren't, the filesystem data structures will still indicate that the filesystem is the same size it originally was, so the OS might try to store files beyond the (new) end of the partition, which will be disastrous. Moving the start point of a partition without adjusting the filesystem will be even more disastrous, since then the OS won't be able to detect the filesystem at all. (Note that I've used the word "disastrous" three times in this paragraph, not counting in this parenthetical statement.)


Similarly, it's possible to shrink a filesystem without doing any damage to it (assuming the shrinking operation works correctly, which is not guaranteed), but it will then be smaller than its containing partition. Growing it (if it's already properly sized for its containing partition) is impossible -- or at least, any competently-written tool will refuse to do so.


I haven't checked the source code, but chances are GParted relies on underlying tools to resize the partition and filesystem separately, but in the correct order to keep things accessible and proper. For instance, to grow a partition from the end, it would increase the partition size and then increase the filesystem size to match.


Getting back to your question, there are certainly Windows tools that can resize partitions. In theory, an ext4fs resizing tool could be written for Windows. In fact, it's conceivable that resize2fs (the tool that does the job in Linux) has already been ported to Windows. If so, you could do the job from Windows -- but AFAIK, there's no easy-to-use GUI front-end for the job. Thus, I don't recommend even trying. It actually is possible to resize an ext4fs partition while it's in use, but only if the start point is not moved. This also requires using text-mode commands. In most cases it's easier (and safer, especially for relative novices) to use a live medium to run GParted.


Also, the slowness of a DVD-based Ubuntu is a trivial thing compared to the risks and, depending on what you're doing, the time involved in resizing a partition. In particular, if you move the start point of a partition, that will take a lot of time, since such an operation involves moving a lot of data.


As an alternative, you might consider creating a new partition from the space you use in shrinking the one(s) you want to shrink. Once you know the size, you can move some existing data there and mount the new partition in your Ubuntu directory tree. See, for instance:


How can I move my /home directory to another partition if it's already part of the / partition?


Depending on the sizes, /home might not be the best thing to move; you might end up moving /var, /home/yourname/Videos, or something else, but the principle's the same.


apt - Why can't I purge apache2.2-bin and apache2.2-common?



I have tried to completely remove apache2.2 from my system. But the only thing that happens is that apt-get will remove "apache2-mpm-prefork" and install "apache2-mpm-worker".




I have killed all apache processes and tried in both Synaptic. and apt-get from terminal. Why won't my system delete apache, and why will it install "apache2-mpm-worker"?



Short answer: you need to purge the apache2 package as well as apache2.2-bin and apache2.2-common.



Explanation: this package is a "virtual package" - if you have it installed the system will make sure that one of apache2-mpm-event, apache2-mpm-itk or apache2-mpm-prefork or apache2-mpm-worker is installed. Note that these four packages themselves each depend apache2.2-bin and apache2.2-common.


boot - GRUB2 issue after removing windows and reinstalling ubuntu


Short version
Cannot restore EFI partition with boot repair. Create a proper partition AND put a /EFI/ folder into it, then used boot repair


Original question


I originally had a dual boot with win 8 on it. Deleting it also bricked my EFI boot partition. I eventually reinstalled Ubuntu 14.04 via a live USB as my kernel images were ruined by boot-repair, hoping this would also fix the boot, but that didn't work.


My current partition status:


enter image description here


where sda3 is the former windows partition, and sda6 contains data (backed up). sda2 holds my ubuntu install.


edit
I removed sda1 and placed the bios_grub flagged partition at the start of the disk, reinstalled grub and updated, but to no avail
/edit


My current boot status is given here:


http://paste.ubuntu.com/11774252/


Despite this, if I boot without my live usb in, I only get a black (non grub) screen stating that all boot option have been tried.


I can manually boot the sda2 ubuntu by running grub from the usb key in UEFI mode, pressing c to get the CLI interface, and using


grub> linux (hd1,gpt2)/vmlinuz root=/dev/sda2
grub> initrd (hd1,gpt2)/initrd.img
grub> boot

Then, I tried both using boot-repair and installing grub manually by


sudo grub-install /dev/sda
sudo update-grub

both end up fine with no errors, but I still get the black screen.


Also, I am unable to boot the system manually if a run my grub on the usb key in non UEFI mode, since I cannot reach the Command Line Interface in this case (holding shift leads to a crappy grub GUI and I am stuck there).



I managed to solve it , it was pretty silly.


I used boot-repair to restore the EFI partition.


I created a FAT32 partition of 230mb at the head of the disk and flagged it as boot using gparted. After this, the boot-repair was still complaining about missing the EFI partition ("Your system boot is in efi mode but no efi partition was found. You might want to try again after creating a efi partition(fat32,~100-200mb,head of disk, boot flag)"


Apparently, it is not enough to have the partition as required by the error message. So just did this:


sudo mount /dev/sda4 /media
sudo mkdir /media/EFI

then boot repair correctly found sda4 to be the partition to installe the EFI grub and all worked fine.


I don't know if it is relevant, but I also installed the package grub-efi-amd64-signed at some point.


system installation - two iso on the same pendrive?

if I use Gparted can I create two partitions on my 4gb pendrive?



and then can I make each of these two partitions becoming one an installer* for Ubuntu and the other one the installer for puppy Linux? (or any other distribution?)



*installer= I don't remember the exact word for this.

backup - How to make a disk image and restore to another, the hardware between the servers are the same

Currently there is an issue happening on the production environment and not happening in dev. so I would like to recreate it in dev by creating a image of prod and restore it in dev. the hardware are the same as well as the RAID. My question is
a. what the best tool to use to do that?
b. when creating the image, does it require any downtime?
c. I presume that i need to do some configuration changes once the restore is done?
d. after the restore, would the logic/physical mount be eased?


Plus I am new to Ubuntu, have tried tar way to do. it seems that it caused lots of issues. I have gave up on that due to time limitation.


Thank you so much.


Bing

apt - Why my kernel is not the latest for 14.04?


My kernel is currently


Linux scv 3.13.0-34-generic #60-Ubuntu SMP Wed Aug 13 15:45:27 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux

But I know it should be


3.13.0-45-generic #74

Why is it not updated by default on my pc upon execution of

sudo apt-get update && sudo apt-get upgrade && sudo apt-get dist-upgrade

?
Any idea? How can I fix this?

Cheers!


Edit: executing


ema@scv:~$ cat /etc/issue
Ubuntu 14.04.2 LTS \n \l

reports 14.04.2 apparently...

Edit2: on my other computer, with a fresher install of Ubuntu 14.04, I got 3.13.0-45-generic #74...


Edit3: all the repos/ppa


ema@scv:~$ grep -h ^deb /etc/apt/sources.list /etc/apt/sources.list.d/*
deb http://gb.archive.ubuntu.com/ubuntu/ trusty main restricted
deb-src http://gb.archive.ubuntu.com/ubuntu/ trusty main restricted
deb http://gb.archive.ubuntu.com/ubuntu/ trusty-updates main restricted
deb-src http://gb.archive.ubuntu.com/ubuntu/ trusty-updates main restricted
deb http://gb.archive.ubuntu.com/ubuntu/ trusty universe
deb-src http://gb.archive.ubuntu.com/ubuntu/ trusty universe
deb http://gb.archive.ubuntu.com/ubuntu/ trusty-updates universe
deb-src http://gb.archive.ubuntu.com/ubuntu/ trusty-updates universe
deb http://gb.archive.ubuntu.com/ubuntu/ trusty multiverse
deb-src http://gb.archive.ubuntu.com/ubuntu/ trusty multiverse
deb http://gb.archive.ubuntu.com/ubuntu/ trusty-updates multiverse
deb-src http://gb.archive.ubuntu.com/ubuntu/ trusty-updates multiverse
deb http://gb.archive.ubuntu.com/ubuntu/ trusty-backports main restricted universe multiverse
deb-src http://gb.archive.ubuntu.com/ubuntu/ trusty-backports main restricted universe multiverse
deb http://security.ubuntu.com/ubuntu trusty-security main restricted
deb-src http://security.ubuntu.com/ubuntu trusty-security main restricted
deb http://security.ubuntu.com/ubuntu trusty-security universe
deb-src http://security.ubuntu.com/ubuntu trusty-security universe
deb http://security.ubuntu.com/ubuntu trusty-security multiverse
deb-src http://security.ubuntu.com/ubuntu trusty-security multiverse
deb http://archive.canonical.com/ubuntu trusty partner
deb-src http://archive.canonical.com/ubuntu trusty partner
deb http://extras.ubuntu.com/ubuntu trusty main
deb-src http://extras.ubuntu.com/ubuntu trusty main
deb http://ppa.launchpad.net/maarten-baert/simplescreenrecorder/ubuntu trusty main
deb http://ppa.launchpad.net/maarten-baert/simplescreenrecorder/ubuntu trusty main
deb http://ppa.launchpad.net/osmoma/audio-recorder/ubuntu trusty main
deb http://ppa.launchpad.net/osmoma/audio-recorder/ubuntu trusty main
deb http://ppa.launchpad.net/pipelight/stable/ubuntu trusty main
deb http://ppa.launchpad.net/stebbins/handbrake-snapshots/ubuntu trusty main
deb http://ppa.launchpad.net/stebbins/handbrake-snapshots/ubuntu trusty main
deb http://ppa.launchpad.net/stefansundin/truecrypt/ubuntu trusty main
deb http://ppa.launchpad.net/stefansundin/truecrypt/ubuntu trusty main
deb http://ppa.launchpad.net/sunab/kdenlive-release/ubuntu trusty main
deb http://ppa.launchpad.net/sunab/kdenlive-release/ubuntu trusty main
deb http://ppa.launchpad.net/ubuntu-wine/ppa/ubuntu trusty main
deb http://ppa.launchpad.net/ubuntu-wine/ppa/ubuntu trusty main
deb http://ppa.launchpad.net/xorg-edgers/ppa/ubuntu trusty main
deb http://ppa.launchpad.net/xorg-edgers/ppa/ubuntu trusty main


Apparently I didn't have the meta package linux-generic installed... A simple



sudo apt-get install linux-generic && sudo apt-get install --reinstall nvidia-346

Did the trick!
Amazing, didn't think I somehow managed to remove that meta-package...


Now I got

ema@scv:~$ uname -a
Linux scv 3.13.0-46-generic #75-Ubuntu SMP Tue Feb 10 15:24:04 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux

Result!

Required time to upgrade from 14.04 to 16.04


I am trying to upgrade from 14.04 to 16.04 because for some reason there was a graphic usage error on 14.04 and it would just not work. So after logging in on the console using Control+Alt+F2 (I don't remember this) I put my login name and password and ran sudo do-release-upgrade.


How long does it take for the upgrade to finish?



The time needed for the upgrade to finish depends on many factors like your internet connection speed, the actual download speed you get from the Canonical servers, the type of mass storage in your computer, and even your CPU.


On our somewhat outdated office PC with a regular HDD, it took around 40 minutes give or take, using a 16mbps DSL connection.


Depending on your circumstances, I'd say this might be anywhere from 15 minutes to 1.5 hours in general.


Monday, March 25, 2019

dual boot - Problem with installing Ubuntu alongside Windows 7

I have my notebook with the preinstalled Windows 7. I've decided to try Ubuntu as well. Unfortunately I couldn't manage to install it. I was following the guide "How to dual-boot Windows 7 and Ubuntu 10.04.



After booting Ubuntu from the liveUSB and proceeding to the "Allocate drive space" dialogue box, I've discovered that the installed Windows 7 couldn't be identified and there is no item "Install Ubuntu alongside Windows 7".



In this situation I've chosen "Something else" item for manual partition allocation. But at the next dialogue box I couldn't find any of my 4 partitions. The only item which is visible is "/dev/sda/".



My question, what was wrong? And what should I do to overcome the stated issue?




P.S.: Initially there are was a problem with installation of Ubuntu due to the dynamic disk type. Using the EASEUS Partition Master I've revert it to basic disk type.

How to fix the boot loader with an installation disk at hand


I recently messed up my Master Boot Record and my system is not booting. I was dual booting Windows and Ubuntu. Both of them are not loading now. I don't care if I lose my windows, but I want my Ubuntu back!!


How to get it (I have a fresh Ubuntu 10.10 LTS disk with me). I went through the install wizard but feared that I may loose my existing installation/setup. Thats why I came here to check what is the ideal procedure to only update the Boot record instead of a full installation.



This is covered in detail in the Ubuntu Community Documentation.


Sunday, March 24, 2019

unity - How to fully convert Ubuntu to Ubuntu Gnome (not just installing Gnome)?



I've been using Ubuntu since 7.10 on a number of different computers. I'm currently using 13.10 on my home computer and 13.04 on my work computer. I prefer the Gnome 3 desktop experience and it's working great on my 13.04 computer. I recently switched to Gnome 3 from Unity back in 12.04 and have been upgrading with each official release. I did not upgrade my work computer due to a number of complications with Gnome 3 after upgrading to 13.10. I've tried the official Gnome PPA's and also completely purging Gnome and re-installing it (with and without PPA's, tried both ways). Still having issues.



That being said, I would like to switch to using a pure Ubuntu Gnome rather than Ubuntu with Gnome installed. I am hoping to avoid the conflicts I've been experiencing and wonder if there was a way to convert my existing Ubuntu install to be recognized as a Ubuntu Gnome install so that when I upgrade to 14.04 it will follow the full Ubuntu Gnome upgrade process rather than the regular Ubuntu process.



I realize I could "simply" (not really that simple) install Ubuntu Gnome on a freshly formatted computer, but I really would rather not have to go through that process if I can help it.



So, is it possible to modify my Ubuntu install in some way (PPA's, config files, something else?) to have it recognized as Ubuntu Gnome? Does anyone know?




Thanks!



sudo apt-get install gdm
sudo apt-get install gnome-shell
sudo apt-get install ubuntu-gnome-desktop


And when PC asks which display to use, select "gdm".



Installing Ubuntu GNOME Applications: Type these commands:




sudo add-apt-repository ppa:gnome3-team/gnome3-staging
sudo apt-get update
sudo apt-get dist-upgrade
sudo apt-get install gnome-weather gnome-music gnome-maps cheese gnome-documents


This should do the trick. This does not install GNOME on your desktop-it gives you the full Ubuntu GNOME Experience without installing a fresh OS.


64 bit - Pre-installed GStreamer 0.10 does not recognized the installed element "ladspa-gate"

I am new to gstreamer, and wanted to set it up such that I can explore most plugins (good, bad, ugly, etc.).



I recently started using gstreamer 0.10 and intended to use it to process audio files.



I needed to use "ladspa-gate" which belongs to the GStreamer Bad Plugins 0.10.



Running gst-launch-0.10 --version to show what version of gstreamer is preinstalled shows gst-launch-0.10 version 0.10.36.




I also ran the following to install gstreamer-plugins-bad (not sure if I needed all of them but I just thought it wouldn't hurt to get them all)



sudo apt-get install gstreamer0.10-plugins-bad-multiverse gstreamer0.10-plugins-bad-multiverse-dbg gstreamer0.10-plugins-bad gstreamer0.10-plugins-bad-doc gstreamer0.10-plugins-bad-dbg


After the installation, I was expecting ladspa-gate to work because it belongs to gstreamer-plugins-bad (according to - http://www.freedesktop.org/software/gstreamer-sdk/data/docs/latest/gst-plugins-bad-plugins-0.10/gst-plugins-bad-plugins-plugin-ladspa.html), but when I tried running



gst-launch-0.10 filesrc location="audio.mp3" ! mad ! ladspa-gate Threshold=-30.0 ! alsasink



it resulted in



WARNING: erroneous pipeline: no element "ladspa-gate"


After that, I started to look for similar issues on the internet, and tried removing the old registry



rm -fv ~/.gstreamer-0.10/registry*



It still did not work.



Then I proceeded to run



gst-inspect-0.10 ladspa


which resulted in




Plugin Details:
Name: ladspa
Description: All LADSPA plugins
Filename: /usr/lib/x86_64-linux-gnu/gstreamer-0.10/libgstladspa.so
Version: 0.10.23
License: LGPL
Source module: gst-plugins-bad
Source release date: 2012-02-20
Binary package: GStreamer Bad Plugins (Ubuntu)
Origin URL: https://launchpad.net/distros/ubuntu/+source/gst-plugins-bad0.10


0 features:


and ll /usr/lib/x86_64-linux-gnu/gstreamer-0.10/libgstladspa.so did show that there is such file (-rw-r--r-- 1 root root 18920 Apr 15 14:07 /usr/lib/x86_64-linux-gnu/gstreamer-0.10/libgstladspa.so).



However, if I run gst-inspect-0.10 | grep ladspa it shows nothing, which I interpret it as ladspa plugins are not properly setup (maybe even the entire gst plugins bad), therefore is not registered as a ready-for-use plugin.



Another thing probably worth mentioning is that there are two directories under /usr/lib which contains gstreamer-0.10 related files, which are /usr/lib/gstreamer-0.10/ and /usr/lib/x86_64-linux-gnu/gstreamer-0.10/; I suspect that /usr/lib/gstreamer-0.10/ came from other gstreamer related packages I installed along the path of trying to solve the issue, because my other ubuntu machine does not have such directory, but does have the other directory.




Next thing I might try is doing a fresh install from source, but I hope I don't have to go there. I'd like to avoid unnecessary messing-around.

Saturday, March 23, 2019

apt - How can I remove a package?


How to remove linux-image-extra-3.13.0-49-generic from my system?


I can't install any package because of this error:


$ sudo apt-get autoremove
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
linux-image-extra-3.13.0-49-generic
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 152 MB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 225623 files and directories currently installed.)
Removing linux-image-extra-3.13.0-49-generic (3.13.0-49.83) ...
depmod: FATAL: could not load /boot/System.map-3.13.0-49-generic: No such file or directory
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 3.13.0-49-generic /boot/vmlinuz-3.13.0-49-generic
run-parts: executing /etc/kernel/postinst.d/dkms 3.13.0-49-generic /boot/vmlinuz-3.13.0-49-generic
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.13.0-49-generic /boot/vmlinuz-3.13.0-49-generic
update-initramfs: Generating /boot/initrd.img-3.13.0-49-generic
grep: /boot/config-3.13.0-49-generic: No such file or directory
depmod: WARNING: could not open /tmp/mkinitramfs_UCk0cv/lib/modules/3.13.0-49-generic/modules.order: No such file or directory
depmod: WARNING: could not open /tmp/mkinitramfs_UCk0cv/lib/modules/3.13.0-49-generic/modules.builtin: No such file or directory
run-parts: executing /etc/kernel/postinst.d/pm-utils 3.13.0-49-generic /boot/vmlinuz-3.13.0-49-generic
run-parts: executing /etc/kernel/postinst.d/update-notifier 3.13.0-49-generic /boot/vmlinuz-3.13.0-49-generic
run-parts: executing /etc/kernel/postinst.d/zz-runlilo 3.13.0-49-generic /boot/vmlinuz-3.13.0-49-generic
Added Linux *
Fatal: open /boot/vmlinuz-3.13.0-49-generic.efi.signed: No such file or directory
run-parts: /etc/kernel/postinst.d/zz-runlilo exited with return code 1
dpkg: error processing package linux-image-extra-3.13.0-49-generic (--remove):
subprocess installed post-removal script returned error exit status 1
Errors were encountered while processing:
linux-image-extra-3.13.0-49-generic
E: Sub-process /usr/bin/dpkg returned an error code (1)

It's not the same as http://askubuntu.com/questions/89710/how-do-i-free-up-more-space-in-boot question as apt-get purge xxx doesn't work(the same error).



I've searched lots of answers and tried every one I can with no luck.


the sudo apt-get -f install and sudo apt-get install otherpackage all get the same error as above in the end:


I can't install or remove any packages. The solution is simple(It took me one day):


Just download vmlinuz-3.13.0-49-generic.efi.signed file to /boot folder, then run sudo apt-get autoremove


Since then everything is ok. Thanks all for you help and time!


Is Thunderbird still being updated? Mine hasn't updated and a new update issued last week

Mozilla released an update to Thunderbird last week (version 3.1.10). This update addressed security issues. So my understanding is that 10.04 Ubuntu should receive the update. But my Thunderbird installation from the Main repository has not updated. Why not?


Do I have the configuration wrong? To get updates do I need to install the Mozilla PPA?

18.04 - Ubuntu cannot boot after crash


I was running some code when my computer, Dell XPS 13 97 froze, probably due to lack of RAM. I performed a hard shutdown but now when I restart, I get this screen:


boot screen


I've looked around all day but all the commands that other answers suggests don't work for some reason. Dell's support assistant did fix the issue, and when I try to reset the OS factory state it says "unable to find a medium containing a live file system".


I also tried using a USB to try to fix it but I cannot see my local hard drive. The hard drive is there though, since I can see it from the BIOS (it's listed as one of the boot options).


I really don't know enough Ubuntu to solve it on my own.



At the initramfs prompt, type fsck -f /. Repeat if there are errors. Once done, type exit and reboot the computer.


If that doesn't work for you, we'll do it the old fashioned way...



  • boot to a Ubuntu Live DVD/USB

  • open a terminal window

  • type sudo fdisk -l

  • identify the /dev/XXXX device name for your "Linux Filesystem"

  • type sudo fsck -f /dev/XXXX # replacing XXXX with the number you found earlier

  • repeat the fsck command if there were errors

  • type reboot


Update #1:


Turned out that the BIOS had reset the SATA controller to RAID. (thanks @GabrielaGarcia). We reset it back to AHCI, did a fsck to verify proper disk operation, and the system is working again.


mysql - libmysqlclient error. No file (even though its there)

Trying to launch a program. I get the error as follows:



./theforgottenserver: error while loading shared libraries: libmysqlclient.so.16: cannot open shared object file: No such file or directory


I have libmysqlclient.so.15 in the /usr/lib64 directory. So the file is there, i even put it in the programs directory that I am trying to launch.

USB ports not working all of a sudden


I work with Ubuntu Studio 14.04 since an year, and I never had issues related to USB ports.


Now, since a week or so, all of my USB ports (two 2.0 and one 3.0) stopped working. Initially this happened only sometimes, and a reboot could fix it. Now, since three days, it happens all the times.


I know it's a linux problem and not an hardware one since I have a dual-boot (the other OS being Windows 8) and in Windows everything works fine. Also, in the boot screen I can see that the USB ports work since the red light in my mouse is lit, and it shuts down after I boot Ubuntu Studio.


Of course I want this to revert back to normal.


Do you have suggestions?


EDIT 1: (15/09/2015)


Further tests showed that while Linux version 3.13.0-61 always workss, both in generic and lowlatency mode, Linux version 3.13.0-62 and Linux version 3.13.0-63 usually don't, even though sometimes, randomly, they'll do. This happens both in lowlatency and generic modes.


I was suggested to upload a full output of sudo dmesg. Notice that apparently the terminal is not long enough to show all the message, but here's the output of a working 3.13.0-61 generic kernel, and here's the output of 3.13.0-63 lowlatency one.


EDIT 2: (16/09/2015)


Here's the complete output of sudo dmesg:


Here is the shortened version, with just the things referring to USB ports:



Registered User correctly suggested that this problem was related to the kernel.


He was right. The Linux version 3.13.0-63-lowlatency (buildd@lgw01-18) (gcc version 4.8.2 (Ubuntu 4.8.2-19ubuntu1) ) #103-Ubuntu SMP PREEMPT Fri Aug 14 22:23:32 UTC 2015 kernel is the one giving problems. I guess it's not fully compatible with Acer Aspire E 15 computers.


The best working kernel seems to be this one: Linux version 3.13.0-61-generic (buildd@lgw01-50) (gcc version 4.8.2 (Ubuntu 4.8.2-19ubuntu1) ) #100-Ubuntu SMP Wed Jul 29 11:21:34 UTC 2015.


package management - Can't install python-pip



I can't install the package. I tried it with the command 'sudo apt-get install python-pip python-dev build-essential'
and I got the output:



Reading package lists... Done

Building dependency tree
Reading state information... Done
build-essential is already the newest version (12.1ubuntu2).
build-essential set to manually installed.
python-dev is already the newest version (2.7.11-1).
python-dev set to manually installed.
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:
python-pip : Depends: ca-certificates but it is not going to be installed
Depends: python-pip-whl (= 8.1.1-2ubuntu0.4) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.



I also tried to install with aptitude, then I got



The following NEW packages will be installed:
ca-certificates{a} libpython-all-dev{a} openssl{ab} python-all{a}

python-all-dev{a} python-pip python-pip-whl{a} python-wheel{a}
0 packages upgraded, 8 newly installed, 0 to remove and 3 not upgraded.
Need to get 1,988 kB of archives. After unpacking 3,537 kB will be used.
The following packages have unmet dependencies:
openssl : Depends: libssl1.0.0 (>= 1.0.2g) but 1.0.2d-1 is installed.
The following actions will resolve these dependencies:



 Keep the following packages at their current version:



1) ca-certificates [Not Installed]
2) openssl [Not Installed]
3) python-pip [Not Installed]
4) python-pip-whl [Not Installed]



Accept this solution? [Y/n/q/?]



I typed Y, then I got



No packages will be installed, upgraded, or removed.
0 packages upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
Need to get 0 B of archives. After unpacking 0 B will be used.




I referred the following links if it would work but didn't work



Ubuntu 14.04, problem when install gstreamer1.0-libav, unmet dependencies



How do I resolve unmet dependencies after adding a PPA?



Ubuntu unable to install any packages, held broken packages



Sorry I don't know what I did but looks like I really messed up. But I was able to directly install packages such as numpy, etc directly via apt-get




As pointed out by user535733 libssl1.0.0 seems to be missing, therefore by installing it with command:



sudo apt-get install libssl1.0.0/xenial libssl-dev/xenial openssl/xenial



seems to have solved the problem


Friday, March 22, 2019

system installation - Can't install Ubuntu in Windows 8

I’ve been trying to install Ubuntu 13.04 64-bit edition on an ASUS (K53Z) laptop.
I have Windows 8 64-bit installed in a non UEFI mode (I think since it starts-up with the Windows logo and I don’t have the UEFI settings). This laptop had installed Windows 7 and when I upgraded it I didn’t knew about the UEFI advantages.
I tried several times to install Ubuntu from a USB device and it loads the logo and then I can’t go further in the installation.
I thought it was the version of Ubuntu and tried to install Fedora (even if I personally prefer Ubuntu). I had the same problem: Fedora’s logo appears and it gets stuck.


I tried also to boot from different USB devices and didn’t work either.
My BIOS has EFI options to boot but they were not enabled. So I tried to enable them to boot the USB in UEFI mode. A menu shows up with the options of install Ubuntu and try Ubuntu. If I click the Install or try option, I get a black screen and I can’t go further with the install (which I think is normal since I don’t have Windows 8 in EFI mode).


My hypothesis is that the BIOS isn’t letting Ubuntu write or read from my SSD, because the activity LED in the USB memory is on when it’s loading the installation files. Once the files are ready and the Ubuntu logo is loaded I don’t see a LED activity on neither the SSD or the USB.


Thanks
If I missed data you can ask me.

15.04 - Minimal OS for KVM

While there are minimal OS (CoreOS, Ubuntu Core etc) for container hypervisors, I would like to know if there is a minimal OS for KVM too. By a minimal OS for KVM I mean an OS which can be installed on a bare metal machine and has nothing more than what is required to run KVM and control it remotely. It seems people are trying to achieve this by installing ubuntu core on bare metal. However I could not find any concrete example on this.


If there is no minimal OS for KVM, what all things I can remove from ubuntu 15.04 to convert it to a minimal OS for KVM?

installation - Problem Dual Booting Ubuntu and Windows 7

Well, I wanted to use ubuntu alongside my Windows 7. So, I installed it from a usb. During installation it didn't detect my existing windows. So, I chose "Something Else" . From there I formatted a drive with settings:



Size: 20 Gb



type: primary partition,



file system: ext4.




and mount point: "\"



Then I allocated 4 gb extra for "swap".



then I installed ubuntu and it completed smoothly. Then it asked me to reboot. After Rebooting I was expecting a choice menu to choose between linux and windows. But I didn't get any MENU!!! And my windows booted normally. Now I have been googling for 2 days and tried tons of ways. But no matter what I cannot boot into ubuntu. Can ANYONE plzzz help... It would really help me a lot. Thanks in advance.

Trying to use amd fglrx driver, unity does not work ubuntu 12.10

I just installed Ubuntu on my Samsung series 3 laptop (NP305E7A-A02US) with an AMD A6-3420M with Radeon HD 6520g graphics, and I am trying to install the flgrx experimental driver. However, I can not find the experimental driver, and when I use the stable version of that driver, the top bar does not show and the Unity launcher does not show up. On top of that, when I try to install the AMD drivers from the AMD site, it gives me the error One or more tools required for installation cannot be found on the system. Install the required tools before installing the fglrx driver. Optionally, run the installer with the --force option to install without the tools. Forcing install will disable AMD hardware acceleration and may make your system unstable. Not recommended. See /usr/share/ati/fglrx-install.log for more details. I checked the directory and sure enough, it said Supported adapter detected.
Check if system has the tools required for installation.
fglrx installation requires that the system have kernel headers. /lib/modules/3.5.0-20-generic/build/include/linux/version.h cannot be found on this system.
One or more tools required for installation cannot be found on the system. Install the required tools before installing the fglrx driver.
Optionally, run the installer with --force option to install without the tools.
Forcing install will disable AMD hardware acceleration and may make your system unstable. Not recommended.
I have no idea what this is and I need to fix it, as I was accepted into the Steam for Linux beta, and they recommended this amd driver. Any help is greatly appreciated. Thanks so much!

ssh - I forgot my localhost root password

I installed Hadoop on my machine.
To start it, I was logging in as the user named hduser.


I connected to the ssh port using ssh localhost command.


Then I went to the bin folder of hadoop to start the namenode(sh start-all.sh) hduser's password was asked which I entered.


Now it entered a new prompt - root@localhost.
It asked for a password which I think I have forgotten.
Is it asking for the ssh public key password? If yes then how do I use it to log in. Of not how do I set my root password?

14.04 - synaptic PPA repository error



I am using Ubuntu 14.04 LTS-64 on a HP Pavilion dv7 laptop. Yesterday I was adding a repository and when I did the "sudo apt-get update" I received this message:



W: GPG error: http://archive.canonical.com trusty Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 40976EAF437D05B5 NO_PUBKEY 3B4FE6ACC0B21F32
W: GPG error: http://extras.ubuntu.com trusty Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 16126D3A3E5C1192
W: GPG error: http://mirror.symnds.com trusty Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 40976EAF437D05B5 NO_PUBKEY 3B4FE6ACC0B21F32
W: GPG error: http://mirror.symnds.com trusty-updates Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 40976EAF437D05B5 NO_PUBKEY 3B4FE6ACC0B21F32
W: GPG error: http://mirror.symnds.com trusty-backports Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 40976EAF437D05B5 NO_PUBKEY 3B4FE6ACC0B21F32
W: GPG error: http://mirror.symnds.com trusty-security Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 40976EAF437D05B5 NO_PUBKEY 3B4FE6ACC0B21F32



======================================



I have tried the "sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys ", and it does nothing to fix the issue. I unticked all of my repositories, redid the update, same message. I rebooted, still not fixing the issue, ame message.



When I did the "sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys " command this is what I got on saw on teh terminal:



sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 40976EAF437D05B5
[sudo] password for brwright:

Executing: gpg --ignore-time-conflict --no-options --no-default-keyring --homedir /tmp/tmp.xYr7arweRj --no-auto-check-trustdb --trust-model always --keyring /etc/apt/trusted.gpg --primary-keyring /etc/apt/trusted.gpg --keyring /etc/apt/trusted.gpg.d/aking1012-com-lenstoggle.gpg --keyring /etc/apt/trusted.gpg.d/alessandro-strada-ppa.gpg --keyring /etc/apt/trusted.gpg.d/alexx2000-doublecmd.gpg --keyring /etc/apt/trusted.gpg.d/amith-ubuntutools.gpg --keyring /etc/apt/trusted.gpg.d/antono-shelr.gpg --keyring /etc/apt/trusted.gpg.d/appgrid-stable.gpg --keyring /etc/apt/trusted.gpg.d/apt-fast-stable.gpg --keyring /etc/apt/trusted.gpg.d/arctica0316-ppa.gpg --keyring /etc/apt/trusted.gpg.d/askubuntu-tools-ppa.gpg --keyring /etc/apt/trusted.gpg.d/atareao-atareao.gpg --keyring /etc/apt/trusted.gpg.d/atareao-lenses.gpg --keyring /etc/apt/trusted.gpg.d/atareao-nautilus-extensions.gpg --keyring /etc/apt/trusted.gpg.d/banshee-team-banshee-daily.gpg --keyring /etc/apt/trusted.gpg.d/banshee-team-ppa.gpg --keyring /etc/apt/trusted.gpg.d/bhdouglass-indicator-remindor.gpg --keyring /etc/apt/trusted.gpg.d/bridge-daily.gpg --keyring /etc/apt/trusted.gpg.d/caffeine-developers-ppa.gpg --keyring /etc/apt/trusted.gpg.d/cairo-dock-team-ppa.gpg --keyring /etc/apt/trusted.gpg.d/cairo-dock-team-weekly.gpg --keyring /etc/apt/trusted.gpg.d/caldas-lopes-ppa.gpg --keyring /etc/apt/trusted.gpg.d/cdekter-ppa.gpg --keyring /etc/apt/trusted.gpg.d/chris-lea-node_js-legacy.gpg --keyring /etc/apt/trusted.gpg.d/claudiocn-slm.gpg --keyring /etc/apt/trusted.gpg.d/cooperjona-nitrotasks.gpg --keyring /etc/apt/trusted.gpg.d/costales-folder-color.gpg --keyring /etc/apt/trusted.gpg.d/costales-unity-webapps-telegram.gpg --keyring /etc/apt/trusted.gpg.d/danielrichter2007-grub-customizer.gpg --keyring /etc/apt/trusted.gpg.d/deja-dup-team-testing.gpg --keyring /etc/apt/trusted.gpg.d/diesch-testing.gpg --keyring /etc/apt/trusted.gpg.d/dlech-keepass2-plugins.gpg --keyring /etc/apt/trusted.gpg.d/dr3mro-personal.gpg --keyring /etc/apt/trusted.gpg.d/ehoover-compholio.gpg --keyring /etc/apt/trusted.gpg.d/flozz-flozz.gpg --keyring /etc/apt/trusted.gpg.d/format-junkie-team-release.gpg --keyring /etc/apt/trusted.gpg.d/fossfreedom-indicator-sysmonitor.gpg --keyring /etc/apt/trusted.gpg.d/freyja-dev-unity-tweak-tool-daily.gpg --keyring /etc/apt/trusted.gpg.d/gencfsm-ppa.gpg --keyring /etc/apt/trusted.gpg.d/george-edison55-nitroshare.gpg --keyring /etc/apt/trusted.gpg.d/n-muench-burg.gpg --keyring /etc/apt/trusted.gpg.d/rednotebook-daily.gpg --keyring /etc/apt/trusted.gpg.d/webupd8team-y-ppa-manager.gpg --keyserver keyserver.ubuntu.com --recv-keys 40976EAF437D05B5
gpg: keyblock resource `/etc/apt/trusted.gpg.d/n-muench-burg.gpg': resource limit
gpg: keyblock resource `/etc/apt/trusted.gpg.d/rednotebook-daily.gpg': resource limit
gpg: keyblock resource `/etc/apt/trusted.gpg.d/webupd8team-y-ppa-manager.gpg': resource limit
gpg: requesting key 437D05B5 from hkp server keyserver.ubuntu.com
gpg: key 437D05B5: "Ubuntu Archive Automatic Signing Key " 26 new signatures
gpg: Total number processed: 1
gpg: new signatures: 26



==========================================================================



What do I do? How did I fubar this? Any help will be greatly appreciated. The OS seems to be working just fine, no issues on reboot, or using the OS normally. Any clue?



Try "sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys " command for all errors like:



sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 16126D3A3E5C1192


12.04 - Everytime I enter to ubuntu I don't have bars, I dont have browser, etc

Every time I enter on Ubuntu, this happens:





Then when I put my mouse in the corner it would give me a black image




I have my unity enabled but it doesn't give me a little box next to it to enable it(but I think I have it enabled because when I click on it in the left it says to enable it and I have it enabled)





Can someone help me with this?

Desktop icon view issues in Kubuntu 16.04



I am facing a problem in kubuntu: I have chosen a Desktop view layout, but the icons (a .desktop file type) are not displaying properly as normal icon (Please see image for details). The problem is particular to the Home and Wastebin icon only; the other icons in the desktop are displaying correctly as they should. Could anyone please tell me what is the problem and how to fix it if it is possible? Thanks in advance.




enter image description here



The .desktop files have not been modified in any way. One more thing:
Inside dolphin they are actually displaying correctly, but only if I remove the 'Preview':



enter image description here



However, in the Desktop they won't display either way. Thanks.




I've found a solution. For future reference here is what I did:
Right click on Desktop -> Configure Desktop. Select the Icons tab and deselect the text file preview. For some reason, it generates a conflict with the .desktop files preview thus showing the Home icon like the picture above. The other previews can all be enabled except for that (if you are using a Desktop view layout). Hope it helps. Cheers.


14.04 - Unity stopped working. Blank desktop

I was having problems installing MongoDB with NPM and I found someone saying that the problem is related to the fact that I had Python 2 and 3 installed. So I removed Python 3 and after this many Ubuntu apps disappeared.




After rebooting, Unity stopped working and I can't open terminal, view my apps, etc.



I've reinstalled unity and also tried to install gnome, but it still doesn't work.



What do I have to do?

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 (...