Tuesday, February 2, 2016

Possible to upgrade from 15.04 Unity to 15.10 Gnome?

Is it Possible to upgrade from 15.04 Unity to 15.10 Gnome? If not, why not?

boot - Dual booting UEFI Windows 10 and legacy Ubuntu

Currently I'm running Windows 10 in UEFI mode, and I would like to add Ubuntu in a dual boot.


However, my PC will not boot from my USB drive in UEFI mode (even with secure boot disabled), only in legacy.


So I was thinking, what if I install Ubuntu in another partition using legacy mode and change Ubuntu to UEFI after it's installed? Is this a good idea, or will it screw up my dual boot config?


Thanks, in advance

apt - Can't install Steam dependencies on Ubuntu 19.04

I just upgraded Kubuntu with an iso, trying to install Steam i get this:




Reading package lists... Done Building dependency tree Reading > state
information... Done Some packages could not be installed. This > may

mean that you have requested an impossible situation or if you are >
using the unstable distribution that some required packages have not >
yet been created or been moved out of Incoming. The following >
information may help to resolve the situation: The following >
packages have unmet dependencies. steam:i386 : Depends: >
libgl1-mesa-glx:i386 but it is not going to be installed > Recommends:
nvidia-driver-libs-i386:i386 but it is not installable E: Unable to
correct problems, you have held broken > packages.





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



I had newer Mesa drivers from Paulo's PPA, i uninstalled 'em and removed the PPA, then reinstalled Mesa.
I tried this: How do I resolve unmet dependencies after adding a PPA?

boot - Creating swaps in extended partition



I have the following Disk partition setup-



http://imgur.com/rz2HvMb



I want to do the following-





  1. delete partitions sda1, sda2 and sda4 but keep sda3.

  2. create extended partition in place of sda4 and make 2 swap partitions in it.

  3. create two ext4 partitions - sda1 and sda2, and use the swap created in step 2 for each of them respectively.



My concern is whether is it possible to use logical partitions of the extended partition as swaps AND to keep the data of sda3 intact.



Will I run into any problem??



In my opinion, your plan should be able to work. I think, there can be only one extended partition containing logical volumes, but as you first delete the old one this should be fine. But from which environment do you want to perform this? You have to do it from the system on sda3 (the partition you want to keep), or from a live system. You have to unmount the partitions first, too. And you want to delete the boot partition! You have to mark a new partition as boot volume then. It should be the volume GRUB is installed on.




To later use the new partitions as swap in your fresh installed systems (Ubuntu?) on sda1 and sda2, you can chose them from within the installer to use as swap or later using gparted (right-click on partition -> use as swap(? only know the German title)).
I hope this helps you, otherwise feel free to ask again...



edit: you can perform the repartitioning from within the Ubuntu installer. Just click on "something else..." when it asks whether you want to install it instead of/alongside of your old systems (remember I have the German version, so I don't know the exact inscriptions in English!)






Is this what you want to achieve?




sda1 (primary partition) Linux System 1
sda2 (primary) Linux System 2
sda3 (primary) your old system, "boot" (GRUB installed)
sda4 (extended)
->sda5 (logical) Swap for Linux 1
->sda6 (logical) Swap for Linux 2


But what OS do you have on sda3? Ubuntu? Then you would need another Swap: sda7 (logical)




And you have to specify one boot partition where the BIOS looks for a boot loader (e.g. GRUB). This boot loader then loads an OS you can select in its menu from the partition.
So you can have many OS on your hard disk, but only one active boot loader responsible for all of them.


dual boot - Choosing "something else" when installing

I am in the process of installing Kubuntu 14.4 on my Windows 10 computer. Normally I would simply use the whole disk, as I don't really like Windows, however there are a few programs I like to use, and want to keep it.



I have tried this in the past, and failed. Ending up erasing the entire disk and using it for Linux. ( have used several flavors in the past )



My problem is configuring the hard disk. I have never quite been able to understand partitioning. I usually screw it up, one way or another. The last time totally messing up a hard drive in my laptop, to the point I had to install a new one and start from scratch ( hey now I have a better hard drive with double the space ) I always manage somehow to mess up the order of the partitions. Don't ask me how. It should be fairly straight forward. The last time I tried I ended up with no mount point, and could not get anything to install.



I would like to see some sort of graphic showing just what I will encounter when I choose "something else". ( I have already tried Kubuntu on this machine and it worked fine, even the touchscreen )
I remember trying to install another distro some time ago, and being presented with questions I had no idea how to answer, regarding formatting the disk. So if there is someone out there who has the patience to walk me thru this, I would appreciate it. I also have problems converting MB's to GB's. For some reason it always is much less than I thought. I have a 2 TB hard drive. So figuring it out in MB's is a bit confusing. Hey for years, I couldn't make change for a dollar!



What I have now is two small volumes at the beginning that simply say "Healthy" and nothing else. I assume they are something that came with my HP 23 Aio. Both are in the milibytes. Then There is C drive which is Windows. I have 196 GB free out of 496 GB. There is a recovery drive D marked "new volume" that is 450MB, Then there is a drive E that is the largest being 1.5 GB. It is also marked "new volume" and appears to be empty. At least that is what the file manager says.




I really don't want to shrink C drive as I have quite a few video and music files stored. Which is why I belive the drive is more than half full. Windows not showing what is stored just where. That leaves E, which I had tried to shrink, and D which I had deleted after making a recovery USB. Those two mistakes left me with unallocated space after D drive, and after E drive. So I restored from a recovery USB. ( it's still doing it's thing two hours already ). Supposedly that will restore everything to the way it was before I tried to manipulate the partitions. I have my important files saved to an external HD.

Login Loop ubuntu 14.04

My Ubuntu 14.04 is stuck when trying to login my desktop. The screen goes black and soon after that the login screen comes back.




I've tried ubuntu 14.04 login loop problem and Ubuntu gets stuck in a login loop



But they didn't work. Then I cat .xsession-errors.



It show me following message.



Xlib: extension "GLX" missing on display ":0".
Xlib: extension "GLX" missing on display ":0".
Script for ibus started at run_im.

Script for auto started at run_im.
Script for default started at run_im.
init: at-spi2-registryd main process ended, respawning
init: at-spi2-registryd main process ended, respawning
init: at-spi2-registryd main process ended, respawning
init: at-spi2-registryd main process ended, respawning
init: gnome-session (Unity) main process (26961) terminate with status 1
init: unity-setting-daemon main process (26949) killed by TERM signal
init: update-notifier-crash (/var/crash/_usr_bin_unity-tweak-tool.1000.crash) main preocess (26870) killed by TERM signal
init: update-notifier-crash (/var/crash/_usr_lib_ibus_ibus-ui-gtk3.1000.crash) main preocess (26873) killed by TERM signal

init: xsession-init main process (26939) killed by TERM signal
init: update-notifier-release main process (26890) killed by TERM signal
init: hub main process (26953) killed by TERM signal
init: Disconnected from notified D-Bus bus
init: indicator-bluetooth main process (27025) killed by TERM signal
init: indicator-printers main process (27037) killed by TERM signal


How can I fix it?

installation - Unable to locate any package error




Just a second before closing my question as duplicated, I want to say I have already looked at the other similar questions and didnt find any appropriate answer :(.



I have a clean set up of Ubuntu 10.10, and I am trying to install packeges by apt-get comamnd. But I cann't do it - E: Unable to locate package error is shown. I am trying the following commands:




sudo apt-get install build-essential,
sudo apt-get insatll update etc.





I have looked in another qouestions and saw that it depends on the sources.list file - so I am posting its content:



#deb cdrom:[Ubuntu 10.10 _Maverick Meerkat_ - Release amd64 (20101007)]/ maverick main restricted
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.

deb http://il.archive.ubuntu.com/ubuntu/ maverick main restricted
deb-src http://il.archive.ubuntu.com/ubuntu/ maverick main restricted

## Major bug fix updates produced after the final release of the

## distribution.
deb http://il.archive.ubuntu.com/ubuntu/ maverick-updates main restricted
deb-src http://il.archive.ubuntu.com/ubuntu/ maverick-updates main restricted

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://il.archive.ubuntu.com/ubuntu/ maverick universe
deb-src http://il.archive.ubuntu.com/ubuntu/ maverick universe
deb http://il.archive.ubuntu.com/ubuntu/ maverick-updates universe

deb-src http://il.archive.ubuntu.com/ubuntu/ maverick-updates universe

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://il.archive.ubuntu.com/ubuntu/ maverick multiverse
deb-src http://il.archive.ubuntu.com/ubuntu/ maverick multiverse
deb http://il.archive.ubuntu.com/ubuntu/ maverick-updates multiverse

deb-src http://il.archive.ubuntu.com/ubuntu/ maverick-updates multiverse

## Uncomment the following two lines to add software from the 'backports'
## repository.
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
# deb http://il.archive.ubuntu.com/ubuntu/ maverick-backports main restricted universe multiverse

# deb-src http://il.archive.ubuntu.com/ubuntu/ maverick-backports main restricted universe multiverse

## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
# deb http://archive.canonical.com/ubuntu maverick partner
# deb-src http://archive.canonical.com/ubuntu maverick partner

## This software is not part of Ubuntu, but is offered by third-party

## developers who want to ship their latest software.
deb http://extras.ubuntu.com/ubuntu maverick main
deb-src http://extras.ubuntu.com/ubuntu maverick main

deb http://security.ubuntu.com/ubuntu maverick-security main restricted
deb-src http://security.ubuntu.com/ubuntu maverick-security main restricted
deb http://security.ubuntu.com/ubuntu maverick-security universe
deb-src http://security.ubuntu.com/ubuntu maverick-security universe
deb http://security.ubuntu.com/ubuntu maverick-security multiverse
deb-src http://security.ubuntu.com/ubuntu maverick-security multiverse



can anyone please help me?
Thanks!!



First of all, Ubuntu 10.10 is entirely unsupported these days. It's an old version of Ubuntu you preferably shouldn't be using - you won't get any security updates anymore.



Second of all



sudo apt-get install update



Will indeed give you an error (because you're telling apt to INSTALL package 'update', which doesn't exist). What you want to be doing is



sudo apt-get update
sudo apt-get upgrade


This will update the package list from the repositories (but since Ubuntu 10.10 is outdated, there probably won't be much to update anyway), and will install any updates found for your system.




You might also want to look at in Synaptic for any packages to install. If it doesn't work, you might want to change your download mirror. To do that, go to the Update Manager, hit "Settings", then go to tab "Ubuntu software" and change the box at "Download from". If you then click "Other", you can select any server in the planet.


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