Tuesday, July 31, 2018

kernel - pci-stub not claiming radeon card, only the audio device, radeon driver claiming graphics instead

im trying to bind my spare radeon card to pci-stub on kubuntu 15.04, ive got this for my boot options



dmesg | grep pci-stub





[ 0.000000] Command line: BOOT_IMAGE=/vmlinuz-3.19.0-15-generic root=/dev/mapper/kubuntu--vg-root ro quiet splash pci-stub.ids=1002:6779,1002:aa98 vt.handoff=7




but later on in the output i get this




[ 4.349476] pci-stub: add 1002:6779 sub=FFFFFFFF:FFFFFFFF cls=00000000/00000000




[ 4.349485] pci-stub: add 1002:AA98 sub=FFFFFFFF:FFFFFFFF cls=00000000/00000000



[ 4.349504] pci-stub 0000:02:00.1: claimed by stub




i grepped for radeon in my dmesg output, and indeed its only claiming the sound output device and radeons taking the graphics device, anyone know what the hell is going on?



lspci | Radeon





01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Tahiti XT [Radeon HD 7970/8970 OEM / R9 280X]



01:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Tahiti XT HDMI Audio [Radeon HD 7970 Series]



02:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Caicos [Radeon HD 6450/7450/8450 / R5 230 OEM]



02:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Caicos HDMI Audio [Radeon HD 6400 Series]




lspci -n | grep 02:00.





02:00.0 0300: 1002:6779

02:00.1 0403: 1002:aa98

Monday, July 30, 2018

application development - Ubuntu Touch SDK problems



I have installed the Ubuntu touch SDK the way it is advised on the Ubuntu dev website (with sudo apt-get install ubuntu). I'm using Ubuntu 13.04.



The problems/symptoms are the following :





  1. When I run a new QML project, I've got QT creator saying : "QQmlComponent: Component is not ready"


  2. When I create a new project and run it using the "Tabbed UI" preset, I can't swipe between tabs with a left to right or right to left gesture.


  3. When I create a new Ubuntu Touch QML project, I can't use QT Designer. QT Designer's main frame remains empty. However, if I start a new QT Quick project, then I can use QT Designer.




I don't now if those problems are linked, the most important one being not able to use QT Designer.



Thanks



Please ask one single question per post, which makes it easier to answer. In any case:





  1. This is due to bug 1154980

  2. This might be related to bug 1166709

  3. Currently Ubuntu SDK components are not supported in the designer, but supporting them is on the roadmap


dual boot - If you plan on using already created file systems, be aware... Upon Re-installing Ubuntu 18.04




Hi, I'm new here



If I've made any mistake with this question please let me know and pardon me with time to edit it. Thanks.



My Destination:



I'm trying to re-install my Ubuntu 18.04 64-bit in my dell Inspiron 13 5000series i7.
I currently have two operating systems Win10 and Ubuntu 18.04 as dual-boot.



I've already backed up everything, but if I can reinstall without losing my entire disk and my win10 and it's files - I would be very thankful.



My Approach So Far:



These are the steps I took before I got here. Using a live installation:




The reinstall by erasing - I've read it might delete the whole system - I've not taken this road.



So I chose "Something else" -- In the picture my partitioning.



Here is the only thing I've changed - the mounting




And lastly the warning -- This is why I'm posting this question





Why I'm worried:
Someone has raised a question about this but was not given an actual answer:
https://github.com/mate-desktop/mate-desktop/issues/278



This is the bug I'm worried about:
https://bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/556373



From what I've understood it might remove the whole disk, not only
my linux system and files but also my win10..




Because I've half read half guessed it might stems from the home and root being connected
I've checked mine using the df -h and guess what:
They are



Before going on:



 Is it really the source of the problem? or
is there something else I should do? maybe going on won't case any harm to my win10?









So now I'm trying to separate between them - I don't know where I'm going with this.



I'v been following this tutorial to separate my home from my root:
https://www.howtogeek.com/116742/how-to-create-a-separate-home-partition-after-installing-ubuntu/




This is where I got stuck because upon creating the NEW partition to
be the /home the label (or path) is ambiguous "New Partition #1" and I can't find how to put it in a path:
Unclear Path



I'm afraid to do the changes because if the path is ambiguous how could I carry on with reaching this home
partition which is nowhere to be found path-wise.



In summery:





1). If you plan on using already created file systems, be aware...




How do we deal with this kind of warning upon reinstalling - without losing data, or at least not losing any other operating system (like win10).



2). If actually by separating home from root (which is only a guess on my part) how to create a path (or label) in the gparted new partition?



Thanks in advanced.



In my opinion you need not to separate /home and / partitions if you don't really need. Rest is all your wish. You can read Ish's answer.




The warning states that:




No partition table changes and no creation of filesystems have been planned.
If you plan on using already created file systems, be aware that existing files may prevent the successful installation of the base system.




Actually, Linux(let's say Ubuntu here) works on extended file system which is quite obvious that it is a standard. You previously had Ubuntu installed in that partition(lets say sdax). Since you already have that partition with ext4 filesystem and you are just continuing without any changes or creation of File System. It expects that you might have partition in another file system and expects you to change or create a new file system.




Like I already said that Ubuntu works on ext file system and it might expect you to change filesystem or at least format your partition(you haven't checked on Format this partition box). That's why be aware that existing files may prevent the successful installation of the base system.



So, just choose Format this partition and install Ubuntu as usual.


Kubuntu 15.04 no sound on HDMI (Intel NUC D54250WYK)



There are similar questions and good answers on this forum. Unfortunately none of them addresses my problem.



I had perfectly well functioning sound system on the Kubuntu 14.10 on same hardware, but for number of reasons I decided to upgrade to 15.04. It was complete install (and not muon upgrade).



My situation is slightly different:




  • all sound devices are showing:





tad@tad-desktop:~$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: HDMI [HDA Intel HDMI], device 3: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: HDMI [HDA Intel HDMI], device 7: HDMI 1 [HDMI 1]
Subdevices: 1/1

Subdevice #0: subdevice #0
card 1: PCH [HDA Intel PCH], device 0: ALC283 Analog [ALC283 Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0



  • Hardware revs (lspci -v) :





00:03.0 Audio device: Intel Corporation Haswell-ULT HD Audio Controller (rev 09)
Subsystem: Intel Corporation Device 2054
Flags: bus master, fast devsel, latency 0, IRQ 46
Memory at f7c34000 (64-bit, non-prefetchable) [size=16K]
Capabilities:
Kernel driver in use: snd_hda_intel
00:1b.0 Audio device: Intel Corporation 8 Series HD Audio Controller (rev 04)
Subsystem: Intel Corporation Device 2054
Flags: bus master, fast devsel, latency 0, IRQ 45

Memory at f7c30000 (64-bit, non-prefetchable) [size=16K]
Capabilities:
Kernel driver in use: snd_hda_intel





Card: HDA Intel HDMI F1: Help
Chip: Intel Haswell HDMI F2: System information

View: F3:[Playback] F4: Capture F5: All F6: Select sound card
Item: S/PDIF Esc: Exit



  • Speaker test terminal output (no sound):




tad@tad-desktop:~$ speaker-test -Dplug:hdmi

speaker-test 1.0.28

Playback device is plug:hdmi
Stream parameters are 48000Hz, S16_LE, 1 channels
Using 16 octaves of pink noise
Rate set to 48000Hz (requested 48000Hz)
Buffer size range from 64 to 16384
Period size range from 32 to 8192
Using max buffer size 16384
Periods = 4

was set period_size = 4096
was set buffer_size = 16384
0 - Front Left
Time per period = 2.645183
0 - Front Left
...


Any other suggestions from the community?




...So far no answer :-(



I have question to @nitzanms : what version of the kernel solved your No sound over HDMI running 15.04 on NUC D54250WYK ?



I am not sure what was a culprit but I wanted to share my story. Bottom line is - the sound system is working now. There were numerous system updates via Muon including update of the kernel to 3.19.0-31-generic since my original post in mid October.



Also there are two HDMI hardware devices on INTEL NUC:




$ aplay -l

**** List of PLAYBACK Hardware Devices ****
card 0: HDMI [HDA Intel HDMI], device 3: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: HDMI [HDA Intel HDMI], device 7: HDMI 1 [HDMI 1]
Subdevices: 1/1
Subdevice #0: subdevice #0


I suspect one is corresponding to HDMI output and other to DP.




Late in October, I made fresh install of Kubuntu 15.10 on the same hardware and the sound system worked immediately. I also noticed that kernel changed to 4.2.0-16-generic.


"Authentication Manipulation Error" when trying to reset my password

To reset forgotten password in 12.04 LTS.



I am able to boot the computer. i choose root option and then come to password changing. they ask me to enter new UNIX password which i do type. but at last they give a command saying





AUTHENTICATION MANIPULATION ERROR




and my password is unchanged.

14.04 - Nvidia graphics card is not being detected in Ubuntu 16.04

I updated my Ububtu 14.04 LTS to 16.04 LTS. I have HP Pavilion 15ab 030tx. My nvidia graphics card is not being detected. Instead X.org was installed and is being used. What to do?

permissions - I just recursively chmod'd everything under / to 750. Any tips?



I won't be the first and I won't be the last, I suppose. While playing around with the find command, I made a whoops and it would appear that instead of changing the permissions of the ~/web directory to 750, it changed the permissions of the entire filesystem (/) to 750, however I'm not certain, but any attempt to investigate is thwarted by Permission denied messages. For everything.



This was the offending command:



sudo find ~/web . type d -exec chmod 750 {}



If I'm not mistaken, the Ubuntu team disabled root logins as a safety precaution so I'm out of ideas.



I'm (obviously) a total newbie when it comes to file permissions so I was wondering if anyone had some good or even some bad advice to share. I've mentally prepped myself to losing everything on the computer which is only of mild consequence, since I have backups, but I did do a bit of work on this box over the week and it would be a shame to lose it all due to a boneheaded mistake.



If you are reading this message, ask yourself, have you backed up any of your work recently?



Thanks in advance for any insights. Feel free to scold me for using sudo carelessly



At this point, the only way I can think of that might help you is to do a reinstall without formatting.




However, you could try logging in, and then doing sudo -i which will give you root access. You could also do what is suggested here. Also, the serverfault guys suggest reinstalling as well, to that might just be your best option. :(



If you do a reinstall without formatting, make sure to log in via a tty and run the following:



sudo chmod -R 700 /home/YOUR_USERNAME && sudo chown YOUR_USERNAME:YOUR_USERNAME /home/YOUR_USERNAME. To find out what your username is, run whoami and it will tell you.



Then reboot, and you should be set.



Also, I don't think anyone here will scold you - I've done it once, I also did a sudo rm -rf /* on a production system once, so don't feel bad. :)


18.04 - How to **really** suppress kernel messages during boot?

I have Ubuntu Server 18.04 LTS. I want to suppress kernel messages shown on console during boot. (The type of [0.1234] kernel message thing that floods the screen ).


THIS DID NOT WORK:



  • Changing /etc/systl.conf

  • Setting LogLevel=err or LogLevel=emerg in /etc/systemd/system.conf. This did in fact remove [ ok ] Blah blah type of messages but not [123.456] Something something type.

  • Changing GRUB settings. Even GRUB_CMDLINE_LINUX_DEFAULT="quiet loglevel=3 rd.systemd.show_status=auto rd.udev.log-priority=3 loglevel=0"
    (source). No, difference in loglevel=0 or loglevel=3. No, I did not forget to run sudo update-grub.

  • sudo dmesg -n 1 (source)

  • This,too. Don't mark this question as duplicate of that since agetty is completely unrelated to boot messages and OP's own answer does not work, like I mentioned above about GRUB part.

  • editing /etc/systemd/journal.conf to set ForwardToWall=no or MaxLevelWall=emerg

  • setting console=tty5 in /etc/default/grub ( source )

  • I removed plymouth completely - the messages still appear. Which also makes sense since it's not related to plymouth, it's not even started as service in systemd, and there's no GUI on this system.


I'll probably be offering a bounty to the answer that can make a perfectly quiet boot setting and maybe downvote all those other answers because they're outdated and not useful at all and don't work at all. I've spent quite a considerable time on trying to figure this out with not much results.

12.04 - Where to install boot loader on a Zenbook Prime?

I cannot figure out where to install the boot loader on my Zenbook UX31A Prime. I have installed Ubuntu many times on normal hard drives, but this is the first SSD and I am struggling.


Installed Ubuntu 12.04 64-bit selecting "UEFI: general" boot entry.



  • Installation type: Something Else

  • Created partition /sda5 mount as /, /sda6 mount as /home, /sda7 mount as swap

  • Selected /dev/sda for boot loader installation. Other options are /dev/sda, /dev/sda1/dev/sda3 Windows 7 (loader) ...


Grub comes up with 6 entries



  1. Ubuntu - this runs great

  2. Linux 3.2.0-29-generic recovery mode: mode hangs with "fb: conflicting fb hw usae interdrnfb vs EFI VGA - removing generic adapter"

  3. memtest86:erro: unknown command `linux 16'

  4. memtest86 serial: unknown command `linux 16'

  5. Windows 7 (loader) (on /dev/sda3): invalid EFI file path

  6. Windows Recovery Environment (on /dev/sda8): unknown command drivemap, invalid EFI file path.


My workaround for booting Windows 7 is hitting ESC during boot, windows boot manager comes up and
* for booting into Windows 7 I select "WIndows Boot Manager (PO: SanDisk ....".
* for booting into Ubuntu I select ubuntu (P0: SanDisk...)


How can I boot into Windows from Grub?

WinUSB install error Installation failed! Exit code: 512

I am unable to solve this problem, I'm using Ubuntu 14.04. I already tried as root, and I still have not had success.



WinUSB reports this error:




Installation failed!
Exit code: 512
Log:
Formatting device...
Mounting...
mount: block device /home/flavio/Área de Trabalho/windows xp sp3 sata.iso is write-protected, mounting read-only
Copying...
Installing grub...
Installing for x86_64-efi platform.

grub-install: error: /media/winusb_target_1405019929_19723 doesn't look like an EFI partition.
.
Error occurred!
Syncing...
/usr/bin/winusb: line 78: 5376 Terminated while true; do
sleep 0.05; echo 'pulse';
done
Cleaning...
/usr/bin/winusb: line 78: 6975 Terminated while true; do
sleep 0.05; echo 'pulse';

done
Umounting and removing '/media/winusb_iso_1405019929_19723'...
Umounting and removing '/media/winusb_target_1405019929_19723'...

Sunday, July 29, 2018

compiz - How can I restart correctly the whole unity interface from the commandline?

Often, I stumble upon some small compiz bug or corruption in the screenoutput. when that happens I run unity --replace from a vty.



That fixes it, but reloading unity in this way makes the global menu bar disappear (every window thus gets its own menu bar) as well as the system tray (the one with date, sound, system menus).



I guess that telling them through dbus to connect to the new unity process might work, or alternatively kill and restart their processes.



I just discovered that I can get back the system tray/panel by launching /usr/lib/unity/unity-panel-service (I wonder why this isn't restarted by unity --replace), but this still leaves the global menu missing.

snap - Why is there proprietary software in Ubuntu Software Center?

My question is very simple: how to get rid of proprietary software from the Ubuntu Software Center (USC)?


It doesn’t work to enable or disable repositories. Even with just the “universe” and “main” repositories active you can still see plenty of proprietary software. Examples include Skype, Slack, Spotiffy.


Tested: Ubuntu 18.04 and Ubuntu 16.04.


Edited: I had to edit this question down to exclude another bug that I previously reported here about how many open source apps in the USC are mislabeled as proprietary. Added that here https://askubuntu.com/questions/1052688/open-source-software-mislabeled-in-ubuntu-software-center-usc-as-proprietary


UPDATE: This question remains unanswered and I believe it is a very important topic so it needs more attention. If Ubuntu claims to be Free and Open Source then give me the freedom to remove the proprietary software from your official Software Center please. Newcomers to Ubuntu Operating System will not know how to avoid the proprietary apps from the Software Center, especially since when they (I, and all of us) install Ubuntu we may choose only the Open Source repositories, yet the Software Center is full of proprietary apps.


UPDATE 2: 33% of the software is proprietary when you visit the USC home. Video https://www.youtube.com/watch?v=PIVHQj7pfXQ&feature=youtu.be Also Krita appears as proprietary and I reported here Krita labeled as proprietary in Ubuntu Software Center

partitioning - Allocate free space on a partition inside an extended


  • /dev/sda2 - EXT4 - 136GB of free space



    • /dev/sda3 Extended

    • /dev/sda5 - ext4 - my ubuntu partition

    • /dev/sda6 linux swamp




I need to put those 136GB from /dev/sda2 into /dev/sda5, but apparently, because they are separate by the extended partition I cannot allocate the freespace.



Do you guys know how can I do it without formating?

Saturday, July 28, 2018

dual boot - How do I find out on which partition is my Windows?

I have fully functional Windows and Ubuntu that is broken (I accidentally broke it) and want to reinstall Ubuntu. With Live-CD, I can see:



  • 3 NTFS partitions,

  • one ext4 and

  • one unknown.


How do I find out which partitions belong to Windows? I thought that I might delete everything that wasn't NTFS, but I was afraid. Now I am using the Install Ubuntu alongside [existing systems]... option, but I guess that this will leave my broken Ubuntu untouched. So, again, I need to know which partitions to merge (perhaps add partitions of broken Ubuntu to new Ubuntu?).


Please, how can I learn how my system is divided? Thanks a lot.

nvidia - disable intel gpu in ubuntu 12.04

I am wondering if there is anything to disable the intel gpu on ubuntu 12.04. I want to be able to setup dual monitor using nvidia-settings. It seems the intel gpu is used for display as suggested by



sudo lshw -c display


the output is




  *-display               
description: VGA compatible controller
product: NVIDIA Corporation
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:16 memory:c0000000-c0ffffff memory:90000000-9fffffff memory:a0000000-a1ffffff ioport:4000(size=128) memory:a2000000-a207ffff
*-display
description: VGA compatible controller
product: Haswell 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:47 memory:c2000000-c23fffff memory:b0000000-bfffffff ioport:5000(size=64)


I have a lenovoY410 with GT750M. It seems there is no way to turn off the intel gpu in bios either. Help please. Thanks.

Unable to install python-dev on Ubuntu 16.04 LTS using aptitude and apt-get



I am trying to install python-dev on a Ubuntu 16.04 LTS (64 bit) guest running on a Windows host. I tried installing using apt-get and then through aptitude, but I seem to be running into errors.



~$sudo aptitude install python-dev



gives,



The following NEW packages will be installed:
libexpat1-dev{ab} libpython-dev{a} libpython2.7-dev{ab} python-dev python2.7-dev{ab}
0 packages upgraded, 5 newly installed, 0 to remove and 0 not upgraded.
Need to get 28.2 MB of archives. After unpacking 42.1 MB will be used.
The following packages have unmet dependencies:
python2.7-dev : Depends: python2.7 (= 2.7.11-7ubuntu1) but 2.7.12-1~16.04 is installed.

Depends: libpython2.7 (= 2.7.11-7ubuntu1) but 2.7.12-1~16.04 is installed.
libexpat1-dev : Depends: libexpat1 (= 2.1.0-7) but 2.1.0-7ubuntu0.16.04.2 is installed.
libpython2.7-dev : Depends: libpython2.7-stdlib (= 2.7.11-7ubuntu1) but 2.7.12-1~16.04 is installed.
Depends: libpython2.7 (= 2.7.11-7ubuntu1) but 2.7.12-1~16.04 is installed.
open: 20; closed: 1293; defer: 6; conflict: 6 o
The following actions will resolve these dependencies:

Keep the following packages at their current version:
1) libexpat1-dev [Not Installed]
2) libpython-dev [Not Installed]

3) libpython2.7-dev [Not Installed]
4) python-dev [Not Installed]
5) python2.7-dev [Not Installed]



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


as the output. Whereas,




~$sudo apt-get install python-dev


gives,



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:
python-dev : Depends: libpython-dev (= 2.7.11-1) but it is not going to be installed
Depends: python2.7-dev (>= 2.7.11-1~) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.



I ran sudo aptitude update and sudo aptitude upgrade, but that doesn't solve the problem.



In addition, I ran the steps given in the following links:





but nothing seems to work.



From aptitude's message, I think the dependencies installed on my system are of a higher version than what are required by the package (e.g., one message saysDepends: libpython2.7 (= 2.7.11-7ubuntu1) but 2.7.12-1~16.04 is installed.).




I am guessing my options are either to,




  • uninstall the existing packages (which I'd rather not), or

  • add a more updated PPA for Python-stuff.



My current repositories are:




~$egrep -v '^#|^ *$' /etc/apt/sources.list /etc/apt/sources.list.d/*
/etc/apt/sources.list:deb http://us.archive.ubuntu.com/ubuntu/ xenial main restricted
/etc/apt/sources.list:deb http://us.archive.ubuntu.com/ubuntu/ xenial universe
/etc/apt/sources.list:deb http://us.archive.ubuntu.com/ubuntu/ xenial multiverse


Any ideas how I can install python-dev?



Thanks in advance!




One of my fresh installs have these repositories. You appear to be missing some update repositories.



I placed * stars at the ones I don't see from your list.



apollo@apollo:~$ egrep -v '^#|^ *$' /etc/apt/sources.list /etc/apt/sources.list.d/*
/etc/apt/sources.list:deb http://us.archive.ubuntu.com/ubuntu/ xenial main restricted
* /etc/apt/sources.list:deb http://us.archive.ubuntu.com/ubuntu/ xenial-updates main restricted
/etc/apt/sources.list:deb http://us.archive.ubuntu.com/ubuntu/ xenial universe
* /etc/apt/sources.list:deb http://us.archive.ubuntu.com/ubuntu/ xenial-updates universe
/etc/apt/sources.list:deb http://us.archive.ubuntu.com/ubuntu/ xenial multiverse

* /etc/apt/sources.list:deb http://us.archive.ubuntu.com/ubuntu/ xenial-updates multiverse
* /etc/apt/sources.list:deb http://us.archive.ubuntu.com/ubuntu/ xenial-backports main restricted universe multiverse
* /etc/apt/sources.list:deb http://security.ubuntu.com/ubuntu xenial-security main restricted
* /etc/apt/sources.list:deb http://security.ubuntu.com/ubuntu xenial-security universe
* /etc/apt/sources.list:deb http://security.ubuntu.com/ubuntu xenial-security multiverse
grep: /etc/apt/sources.list.d/*: No such file or directory
apollo@apollo:~$


Try at least adding the update repositories... then run:




$ sudo apt update
$ sudo apt upgrade

Where is the API for Ubuntu Touch?



I'm sure this has been asked before, but is there any API for Ubuntu Mobile available? I can't seem to find it on Ubuntu-API




So far there is an UI toolkit available and design guidelines to go with it:





Also, there is a tutorial to make a currency conversion application.



For more information, see the Go mobile page.


Friday, July 27, 2018

12.04 - problem in installing amd driver radeon hd 5460

I tried to install my gpu in Ubuntu 12.04 with this link


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


but when I type this command line:



$sudo aticonfig --initial



I got this err:



aticonfig: No supported adapters detected



what should I must to do?
any suggestion about this?


I use Ubuntu 12.04 and hp pavilion dm4-1060ea note book and ati radeon hd5460


I used this command to find out the model of my gpu card:


$lspci | grep VGA


and showed me these:



00:02.0 VGA compatible controller: Intel Corporation Core Processor
Integrated Graphics Controller (rev 02)


01:00.0 VGA compatible controller: Advanced Micro Devices [AMD] nee
ATI Manhattan [Mobility Radeon HD 5400 Series]



Thanks


Hamid

14.04 - How to add Launchpad PPA of different Ubuntu versions to my Machine?

I want to add a certain Launchpad PPA via add-apt-repository to my machine. Is it possible to add the PPAs of several or even all Ubuntu Versions to my Machine? This is just for comparing the different versions with each other.



UPDATE



If it is possible, how can I achieve it?

networking - Broadcom Wireless Drivers unclaimed after installing update 16.04



I recently updated my Lenovo Y50 computer to 16.04. Since the update, I have been unable to see or connect to any wireless networks. The output of running sudo lshw -C network is:




*-network UNCLAIMED
description: Network controller
product: BCM4352 802.11ac Wireless Network Adapter
vendor: Broadcom Corporation

physical id: 0
bus info: pci@0000:08:00.0
version: 03
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress cap_list
configuration: latency=0
resources: memory:d1600000-d1607fff memory:d1400000-d15fffff





The fact that the wireless network controller is unclaimed leads me to believe that this is a driver related issue. I have checked and made sure that "Use proprietary driver" is checked in System Settings > Software & Updates > Additional Drivers and I have run sudo apt-get install --reinstall bcmwl-kernel-source I have also restarted after every driver change to finish the changes. Is there anything else I should try?



EDIT: Here is the result of running lspci -nnk | grep 0280 -A2:







08:00.0 Network controller [0280]: Broadcom Corporation BCM4352 802.11ac Wireless Network Adapter [14e4:43b1] (rev 03)
Subsystem: Lenovo BCM4352 802.11ac Wireless Network Adapter [17aa:0623]

Kernel modules: bcma, wl


Running sudo modprobe wl && dmesg | grep wl returns an error:




modprobe: ERROR: could not insert 'wl': Required key not available






modprobe: ERROR: could not insert 'wl': Required key not available




This is the subject of a recent and still open bug in Ubuntu: https://bugs.launchpad.net/ubuntu/+source/bcmwl/+bug/1572659 Please also see: Can't view Wifi networks after upgrading to Ubuntu 16.04



It appears that the only solution so far is to enter the computer's BIOS and turn off Secure Boot.



Secure Boot is a security standard developed by the PC industry to help make sure that your PC boots using only software that is trusted by the PC manufacturer



1) Turn off the secure boot




2) Remove bcmwl-kernel-source



sudo apt-get purge bcmwl-kernel-source


3) Re-install bcmwl-kernel-source .



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



Reboot. Your wireless should now be working.


upgrade - I can't update ubuntu 10.04 to 12.04 / 14.04

I'm trying to update an old server that runs Ubuntu 10.04 but I can't. I'm trying from terminal because update center tells me that "my Ubuntu release is not supported anymore" and I can't do anything in this windows because it's freezed.



I did that in the terminal:



sudo do-release-upgrade -d



And this is the message that I got:



Comprobando el gestor de paquetes
Reading package lists... Done
Building dependency tree
Reading state information... Done
Building data structures... Done
WARNING: Failed to read mirror file


.....

Ign http://old-releases.ubuntu.com lucid/restricted TranslationIndex
Ign http://old-releases.ubuntu.com lucid/universe TranslationIndex
Err http://old-releases.ubuntu.com lucid/main Translation-en

Hit http://old-releases.ubuntu.com lucid/main Translation-es
Err http://old-releases.ubuntu.com lucid/multiverse Translation-en

Hit http://old-releases.ubuntu.com lucid/multiverse Translation-es

Err http://old-releases.ubuntu.com lucid/restricted Translation-en

Hit http://old-releases.ubuntu.com lucid/restricted Translation-es
Err http://old-releases.ubuntu.com lucid/universe Translation-en

Hit http://old-releases.ubuntu.com lucid/universe Translation-es
Err http://old-releases.ubuntu.com lucid/main Translation-en

Err http://old-releases.ubuntu.com lucid/multiverse Translation-en


Err http://old-releases.ubuntu.com lucid/restricted Translation-en

Err http://old-releases.ubuntu.com lucid/universe Translation-en

.....

E:Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.


I've googled the last error (Update Manager doesn't allow me to upgrade from version 10.10 to 12.10) and I've checked this files: cat /var/log/dist-upgrade/apt.log | grep Broken




Broken libc6:i386 Conflicts on libc6-i686 [ i386 ] < 2.11.1-0ubuntu7.21 > ( libs )
Broken libc6:i386 Breaks on liblouis0 [ i386 ] < 1.7.0-2 > ( libs ) (< 2.3.0-2)
Broken libpolkit-gobject-1-0:i386 Breaks on libpolkit-gtk-1-0 [ i386 ] < 0.96-2ubuntu2 > ( libs ) (< 0.99)
Broken ure:i386 Breaks on openoffice.org-core [ i386 ] < 1:3.2.0-7ubuntu4.4 > ( editors ) (< 1:3.3~)
Broken xserver-xorg-core:i386 Breaks on xserver-xorg-video-6 [ i386 ] < none > ( none )
Broken libnspr4-0d:i386 Conflicts on libnspr4 [ i386 ] < none -> 4.8.9-1ubuntu2 > ( libs ) (< 2:4)
Broken gnome-settings-daemon:i386 Depends on libnss3 [ i386 ] < none -> 3.13.1.with.ckbi.1.88-1ubuntu6 > ( libs ) (>= 3.12.0~1.9b1)
Broken libreoffice-core:i386 Depends on libnss3 [ i386 ] < none -> 3.13.1.with.ckbi.1.88-1ubuntu6 > ( libs ) (>= 3.12.0~1.9b1)
Broken libnm-util2:i386 Depends on libnss3 [ i386 ] < none -> 3.13.1.with.ckbi.1.88-1ubuntu6 > ( libs ) (>= 3.12.0~1.9b1)

Broken xz-lzma:i386 Conflicts on lzma [ i386 ] < 4.43-14ubuntu2 -> 9.22-2ubuntu1 > ( utils )
Broken gnome-control-center:i386 Depends on libnm-util2 [ i386 ] < none -> 0.9.4.0-0ubuntu3 > ( libs ) (>= 0.8.998)
Broken gvfs-libs:i386 Conflicts on libgvfscommon0 [ i386 ] < 1.6.1-0ubuntu1build1 > ( libs )
Broken libnm-glib4:i386 Depends on libnm-util2 [ i386 ] < none -> 0.9.4.0-0ubuntu3 > ( libs ) (>= 0.9.3.995+git201203081848.bba834f)
Broken libcamel-1.2-29:i386 Depends on libnss3 [ i386 ] < none -> 3.13.1.with.ckbi.1.88-1ubuntu6 > ( libs ) (>= 3.12.0~beta3)
Broken gnome-control-center-data:i386 Conflicts on capplets-data [ i386 ] < 1:2.30.1-0ubuntu2 > ( gnome )
Broken gnome-control-center-data:i386 Breaks on gnome-settings-daemon [ i386 ] < 2.30.1-0ubuntu1.1 -> 3.4.1-0ubuntu1 > ( gnome ) (< 3.0)
Broken console-setup:i386 Conflicts on console-terminus [ i386 ] < 4.30-2 > ( fonts )
Broken libdrm-nouveau1a:i386 Conflicts on libdrm-nouveau1 [ i386 ] < 2.4.18-1ubuntu3 > ( libs )
Broken libnss3-1d:i386 Depends on libnspr4-0d [ i386 ] < 4.10.7-0ubuntu0.10.04.1 > ( universe/libs ) (>= 4.8.6)

Broken libedataserver1.2-11:i386 Depends on libnspr4-0d [ i386 ] < 4.10.7-0ubuntu0.10.04.1 > ( universe/libs ) (>= 4.7.3-0ubuntu1~)
Broken foomatic-db-compressed-ppds:i386 Conflicts on foomatic-db [ i386 ] < 20100216-0ubuntu3 -> 20120322-0ubuntu1 > ( text )
Broken foomatic-db-compressed-ppds:i386 Conflicts on foomatic-db-hpijs [ i386 ] < none > ( none )
Broken foomatic-db-compressed-ppds:i386 Breaks on foomatic-db [ i386 ] < 20100216-0ubuntu3 -> 20120322-0ubuntu1 > ( text )
Broken libebook-1.2-12:i386 Depends on libcamel-1.2-29 [ i386 ] < none -> 3.2.3-0ubuntu6 > ( libs ) (>= 3.2)
Broken libnm-gtk0:i386 Depends on libnm-glib4 [ i386 ] < none -> 0.9.4.0-0ubuntu3 > ( libs ) (>= 0.8.998)
Broken indicator-messages:i386 Conflicts on indicator-me [ i386 ] < 0.2.6-0ubuntu1 > ( gnome )
Broken pm-utils:i386 Conflicts on pm-utils-powersave-policy [ i386 ] < 0.3.1 > ( admin )
Broken ntfs-3g:i386 Conflicts on libntfs-3g75 [ i386 ] < 1:2010.3.6-1ubuntu1 > ( libs )
Broken gnome-session:i386 Depends on gnome-settings-daemon [ i386 ] < 2.30.1-0ubuntu1.1 -> 3.4.1-0ubuntu1 > ( gnome ) (>= 3.0)

Broken libnm-glib-vpn1:i386 Depends on libnm-util2 [ i386 ] < none -> 0.9.4.0-0ubuntu3 > ( libs ) (>= 0.7.0)
Broken evolution-data-server:i386 Depends on libcamel-1.2-29 [ i386 ] < none -> 3.2.3-0ubuntu6 > ( libs ) (= 3.2.3-0ubuntu6)
Broken libreoffice-emailmerge:i386 Depends on libreoffice-core [ i386 ] < none -> 1:3.5.2-2ubuntu1 > ( editors )
Broken libreoffice-writer:i386 Depends on libreoffice-core [ i386 ] < none -> 1:3.5.2-2ubuntu1 > ( editors ) (= 1:3.5.2-2ubuntu1)
Broken libreoffice-base-core:i386 Depends on libreoffice-core [ i386 ] < none -> 1:3.5.2-2ubuntu1 > ( editors ) (= 1:3.5.2-2ubuntu1)
Broken libreoffice-math:i386 Depends on libreoffice-core [ i386 ] < none -> 1:3.5.2-2ubuntu1 > ( editors ) (= 1:3.5.2-2ubuntu1)
Broken network-manager-pptp:i386 Depends on libnm-glib-vpn1 [ i386 ] < none -> 0.9.4.0-0ubuntu3 > ( libs ) (>= 0.7.999)
Broken libedataserverui-3.0-1:i386 Depends on libcamel-1.2-29 [ i386 ] < none -> 3.2.3-0ubuntu6 > ( libs ) (>= 3.2)
Broken gnome-panel:i386 Depends on libedataserverui-3.0-1 [ i386 ] < none -> 3.2.3-0ubuntu6 > ( libs ) (>= 3.2.3)
Broken liboauth0:i386 Depends on libnss3 [ i386 ] < none -> 3.13.1.with.ckbi.1.88-1ubuntu6 > ( libs ) (>= 3.12.0~1.9b1)

Broken gnome-media:i386 Breaks on gnome-control-center [ i386 ] < 1:2.30.1-0ubuntu2 -> 1:3.4.1-0ubuntu1 > ( gnome ) (< 1:3.0)
Broken network-manager-pptp-gnome:i386 Depends on libnm-glib-vpn1 [ i386 ] < none -> 0.9.4.0-0ubuntu3 > ( libs ) (>= 0.8.998)
Broken network-manager:i386 Depends on libnm-glib4 [ i386 ] < none -> 0.9.4.0-0ubuntu3 > ( libs ) (>= 0.9.4.0~git201203162258.69247a0)
Broken libcamel1.2-14:i386 Depends on libedataserver1.2-11 [ i386 ] < 2.28.3.1-0ubuntu6.1 > ( libs ) (>= 2.28.3.1)
Broken libgdata13:i386 Depends on liboauth0 [ i386 ] < none -> 0.9.4-3 > ( libs ) (>= 0.9.1)
Broken indicator-datetime:i386 Depends on libedataserverui-3.0-1 [ i386 ] < none -> 3.2.3-0ubuntu6 > ( libs ) (>= 3.2.3)
Broken libc6-dev:i386 Breaks on gcj-4.4-base [ i386 ] < 4.4.3-1ubuntu4.1 > ( libs ) (< 4.4.6-2ubuntu2)
Broken gnome-applets:i386 Depends on gnome-panel [ i386 ] < 1:2.30.2-0ubuntu0.2 -> 1:3.4.1-0ubuntu1 > ( universe/gnome ) (>= 2.91.91)
Broken totem-plugins:i386 Depends on libgdata13 [ i386 ] < none -> 0.12.0-1 > ( libs ) (>= 0.8.1)
Broken ubuntuone-client-gnome:i386 Depends on libebook-1.2-12 [ i386 ] < none -> 3.2.3-0ubuntu6 > ( libs ) (>= 3.2.3)

Broken network-manager-gnome:i386 Depends on libnm-glib-vpn1 [ i386 ] < none -> 0.9.4.0-0ubuntu3 > ( libs ) (>= 0.7.999)
Broken odbcinst1debian2:i386 Conflicts on odbcinst1debian1 [ i386 ] < 2.2.11-21 > ( libs )
Broken python-uno:i386 Depends on libreoffice-core [ i386 ] < none -> 1:3.5.2-2ubuntu1 > ( editors ) (= 1:3.5.2-2ubuntu1)
Broken gnome-session-fallback:i386 Depends on gnome-settings-daemon [ i386 ] < 2.30.1-0ubuntu1.1 -> 3.4.1-0ubuntu1 > ( gnome ) (>= 3.0)
Broken gnome-power-manager:i386 Depends on gnome-settings-daemon [ i386 ] < 2.30.1-0ubuntu1.1 -> 3.4.1-0ubuntu1 > ( gnome ) (>= 3.2)
Broken libept0:i386 Depends on libapt-pkg-libc6.10-6-4.8 [ i386 ] < none > ( none )
Broken sessioninstaller:i386 Conflicts on gnome-codec-install [ i386 ] < 0.4.2ubuntu2 -> 0.4.7+nmu1ubuntu3 > ( universe/gnome )
Broken libedata-book-1.2-11:i386 Depends on libebook-1.2-12 [ i386 ] < none -> 3.2.3-0ubuntu6 > ( libs ) (>= 3.2.3)
Broken libebook1.2-9:i386 Depends on libcamel1.2-14 [ i386 ] < 2.28.3.1-0ubuntu6.1 > ( libs ) (>= 2.27)
Broken gstreamer0.10-nice:i386 Breaks on libgstfarsight0.10-0 [ i386 ] < 0.0.17-2ubuntu2 > ( libs ) (< 0.0.23)

Broken indicator-appmenu:i386 Conflicts on libdbusmenu-glib1 [ i386 ] < 0.2.9-0ubuntu3.1 > ( libs ) (< 0.3.7)
Broken nvidia-common:i386 Conflicts on nvidia-current-modaliases [ i386 ] < 195.36.24-0ubuntu1~10.04.3 > ( admin )
Broken libebackend1.2-0:i386 Depends on libedataserver1.2-11 [ i386 ] < 2.28.3.1-0ubuntu6.1 > ( libs ) (>= 2.28.3.1)
Broken libsdl1.2debian:i386 Conflicts on libsdl1.2debian-pulseaudio [ i386 ] < 1.2.14-4ubuntu1.1 > ( libs )
Broken python-gnome2:i386 Conflicts on python-gnomecanvas [ i386 ] < 2.28.0-1ubuntu1 > ( python )
Broken libfolks-eds25:i386 Depends on libebook-1.2-12 [ i386 ] < none -> 3.2.3-0ubuntu6 > ( libs ) (>= 3.2.3)
Broken libcdt4:i386 Conflicts on libgraphviz4 [ i386 ] < 2.20.2-8ubuntu3.2 > ( libs )
Broken libreoffice-draw:i386 Depends on libreoffice-core [ i386 ] < none -> 1:3.5.2-2ubuntu1 > ( editors ) (= 1:3.5.2-2ubuntu1)
Broken libmtp-common:i386 Breaks on libmtp8 [ i386 ] < 1.0.2-1ubuntu1 > ( libs ) (<= 1.0.6-6)
Broken gdm:i386 Breaks on gdm-guest-session [ i386 ] < 0.15ubuntu0.1 > ( gnome )

Broken geoclue-ubuntu-geoip:i386 Depends on libnm-glib4 [ i386 ] < none -> 0.9.4.0-0ubuntu3 > ( libs ) (>= 0.7.999)
Broken libcurl3-nss:i386 Depends on libnss3 [ i386 ] < none -> 3.13.1.with.ckbi.1.88-1ubuntu6 > ( libs ) (>= 3.12.0~beta2)
Broken libreoffice-gtk:i386 Depends on libreoffice-core [ i386 ] < none -> 1:3.5.2-2ubuntu1 > ( editors ) (= 1:3.5.2-2ubuntu1)
Broken libpurple0:i386 Depends on libnss3 [ i386 ] < none -> 3.13.1.with.ckbi.1.88-1ubuntu6 > ( libs ) (>= 3.12.0~1.9b1)
Broken openoffice.org-writer:i386 Depends on libreoffice-writer [ i386 ] < none -> 1:3.5.2-2ubuntu1 > ( editors )
Broken libreoffice-calc:i386 Depends on libreoffice-core [ i386 ] < none -> 1:3.5.2-2ubuntu1 > ( editors ) (= 1:3.5.2-2ubuntu1)
Broken libreoffice-gnome:i386 Depends on libreoffice-core [ i386 ] < none -> 1:3.5.2-2ubuntu1 > ( editors ) (= 1:3.5.2-2ubuntu1)
Broken libnm-util1:i386 Depends on libnspr4-0d [ i386 ] < 4.10.7-0ubuntu0.10.04.1 > ( universe/libs ) (>= 4.7.3-0ubuntu1~)
Broken chromium-browser:i386 Depends on libnspr4-0d [ i386 ] < 4.10.7-0ubuntu0.10.04.1 > ( universe/libs ) (>= 4.7.3-0ubuntu1~)
Broken libreoffice-help-en-us:i386 Depends on libreoffice-writer [ i386 ] < none -> 1:3.5.2-2ubuntu1 > ( editors )

Broken libreoffice-help-en-us:i386 Depends on language-support-translations-en [ i386 ] < none > ( none )
Broken libubuntuone-1.0-1:i386 Depends on ubuntuone-client-gnome [ i386 ] < 1.2.2-0ubuntu2.3 -> 3.0.0-0ubuntu1 > ( gnome ) (>= 1.1.2)
Broken libecal1.2-7:i386 Depends on libedataserver1.2-11 [ i386 ] < 2.28.3.1-0ubuntu6.1 > ( libs ) (>= 2.28.3.1)
Broken telepathy-mission-control-5:i386 Depends on libnm-glib4 [ i386 ] < none -> 0.9.4.0-0ubuntu3 > ( libs ) (>= 0.7.999)
Broken libreoffice-impress:i386 Depends on libreoffice-core [ i386 ] < none -> 1:3.5.2-2ubuntu1 > ( editors ) (= 1:3.5.2-2ubuntu1)
Broken libfarstream-0.1-0:i386 Depends on gstreamer0.10-nice [ i386 ] < 0.0.10-2build1 -> 0.1.1-2ubuntu1 > ( net ) (>= 0.1.0)
Broken libreoffice-style-tango:i386 Depends on libreoffice-core [ i386 ] < none -> 1:3.5.2-2ubuntu1 > ( editors )
Broken openoffice.org-gnome:i386 Depends on libreoffice-gnome [ i386 ] < none -> 1:3.5.2-2ubuntu1 > ( gnome )
Broken openoffice.org-impress:i386 Depends on libreoffice-impress [ i386 ] < none -> 1:3.5.2-2ubuntu1 > ( editors )
Broken openoffice.org-draw:i386 Depends on libreoffice-draw [ i386 ] < none -> 1:3.5.2-2ubuntu1 > ( editors )

Broken openoffice.org-gtk:i386 Depends on libreoffice-gtk [ i386 ] < none -> 1:3.5.2-2ubuntu1 > ( gnome )
Broken gir1.2-ubuntuoneui-3.0:i386 Breaks on python-ubuntuone [ i386 ] < 0.3.1-0ubuntu1 > ( python )
Broken thunderbird-gnome-support:i386 Depends on libebook-1.2-12 [ i386 ] < none -> 3.2.3-0ubuntu6 > ( libs )
Broken libreoffice-help-es:i386 Depends on libreoffice-writer [ i386 ] < none -> 1:3.5.2-2ubuntu1 > ( editors )
Broken libreoffice-help-es:i386 Depends on language-support-translations-es [ i386 ] < none > ( none )
Broken ubuntu-desktop:i386 Depends on gnome-session [ i386 ] < 2.30.0-0ubuntu1 -> 3.2.1-0ubuntu8 > ( gnome )
Broken gnome-font-viewer:i386 Breaks on capplets-data [ i386 ] < 1:2.30.1-0ubuntu2 > ( gnome ) (< 1:3.0.0)
Broken gnome-font-viewer:i386 Breaks on gnome-control-center [ i386 ] < 1:2.30.1-0ubuntu2 -> 1:3.4.1-0ubuntu1 > ( gnome ) (< 1:3.0.0)
Broken nautilus-sendto-empathy:i386 Depends on libebook-1.2-12 [ i386 ] < none -> 3.2.3-0ubuntu6 > ( libs ) (>= 3.2.3)
Broken gcj-4.4-jre-lib:i386 Depends on gcj-4.4-base [ i386 ] < 4.4.3-1ubuntu4.1 > ( libs ) (>= 4.4.2-9)

Broken libgcj10:i386 Depends on gcj-4.4-base [ i386 ] < 4.4.3-1ubuntu4.1 > ( libs ) (>= 4.4.3-1ubuntu4.1)
Broken libecryptfs0:i386 Depends on libnss3 [ i386 ] < none -> 3.13.1.with.ckbi.1.88-1ubuntu6 > ( libs ) (>= 3.12.0~1.9b1)
Broken libreoffice-help-en-gb:i386 Depends on libreoffice-writer [ i386 ] < none -> 1:3.5.2-2ubuntu1 > ( editors )
Broken libreoffice-help-en-gb:i386 Depends on language-support-translations-en [ i386 ] < none > ( none )
Broken telepathy-haze:i386 Depends on libpurple0 [ i386 ] < 1:2.6.6-1ubuntu4.6 -> 1:2.10.3-0ubuntu1 > ( net ) (>= 1:2.7.0)
Broken libubuntuoneui-3.0-1:i386 Depends on liboauth0 [ i386 ] < none -> 0.9.4-3 > ( libs ) (>= 0.9.1)
Broken openoffice.org-math:i386 Depends on libreoffice-math [ i386 ] < none -> 1:3.5.2-2ubuntu1 > ( editors )
Broken libreoffice-style-human:i386 Depends on libreoffice-core [ i386 ] < none -> 1:3.5.2-2ubuntu1 > ( editors )
Broken gnome-games-data:i386 Breaks on gnome-games-common [ i386 ] < 1:2.30.0-0ubuntu6 > ( games )
Broken telepathy-gabble:i386 Breaks on telepathy-mission-control-5 [ i386 ] < 5.3.2-3 -> 1:5.12.0-0ubuntu2 > ( net ) (< 1:5.5)

Broken openoffice.org-help-es:i386 Depends on libreoffice-help-es [ i386 ] < none -> 1:3.5.2-2ubuntu1 > ( doc )
Broken openoffice.org-help-en-gb:i386 Depends on libreoffice-help-en-gb [ i386 ] < none -> 1:3.5.2-2ubuntu1 > ( doc )
Broken openoffice.org-calc:i386 Depends on libreoffice-calc [ i386 ] < none -> 1:3.5.2-2ubuntu1 > ( editors )
Broken openoffice.org-help-en-us:i386 Depends on libreoffice-help-en-us [ i386 ] < none -> 1:3.5.2-2ubuntu1 > ( doc )
Broken xulrunner-1.9.2:i386 Depends on libnspr4-0d [ i386 ] < 4.10.7-0ubuntu0.10.04.1 > ( universe/libs ) (>= 4.7.3-0ubuntu1~)
Broken libbrasero-media0:i386 Depends on brasero-common [ i386 ] < 2.30.2-0ubuntu1.1 -> 3.4.1-0ubuntu1 > ( gnome ) (< 2.31)
Broken libexchange-storage1.2-3:i386 Depends on libedataserver1.2-11 [ i386 ] < 2.28.3.1-0ubuntu6.1 > ( libs ) (>= 2.28.3.1)
Broken libmagickcore2-extra:i386 Depends on libgraphviz4 [ i386 ] < 2.20.2-8ubuntu3.2 > ( libs ) (>= 2.20.0)
Broken libedata-cal1.2-6:i386 Depends on libebackend1.2-0 [ i386 ] < 2.28.3.1-0ubuntu6.1 > ( libs ) (>= 2.28.3.1)
Broken gnome-about:i386 Depends on gnome-desktop-data [ i386 ] < 1:2.30.2-0ubuntu1 -> 1:2.32.1-0ubuntu9 > ( universe/gnome ) (= 1:2.30.2-0ubuntu1)

Broken python-farsight:i386 Depends on python [ i386 ] < 2.6.5-0ubuntu1.1 -> 2.7.3-0ubuntu2 > ( python ) (< 2.7)
Broken libegroupwise1.2-13:i386 Depends on libedataserver1.2-11 [ i386 ] < 2.28.3.1-0ubuntu6.1 > ( libs ) (>= 2.28.3.1)
Broken libnm-glib2:i386 Depends on libnm-util1 [ i386 ] < 0.8-0ubuntu3.3 > ( libs ) (>= 0.8~a~git.20090804t185522.4bab334)
Broken gnome-user-guide-en:i386 Depends on gnome-user-guide [ i386 ] < 2.30.0+git20100403ubuntu3 -> 3.4.1-1 > ( gnome ) (= 2.30.0+git20100403ubuntu3)
Broken gnome-user-guide-es:i386 Depends on gnome-user-guide [ i386 ] < 2.30.0+git20100403ubuntu3 -> 3.4.1-1 > ( gnome ) (= 2.30.0+git20100403ubuntu3)
Broken openoffice.org-base-core:i386 Depends on openoffice.org-core [ i386 ] < 1:3.2.0-7ubuntu4.4 > ( editors ) (= 1:3.2.0-7ubuntu4.4)
Broken python-gnomeapplet:i386 Depends on python [ i386 ] < 2.6.5-0ubuntu1.1 -> 2.7.3-0ubuntu2 > ( python ) (< 2.7)
Broken libedataserverui1.2-8:i386 Depends on libcamel1.2-14 [ i386 ] < 2.28.3.1-0ubuntu6.1 > ( libs ) (>= 2.27)
Broken libedata-book1.2-2:i386 Depends on libcamel1.2-14 [ i386 ] < 2.28.3.1-0ubuntu6.1 > ( libs ) (>= 2.27)
Broken openoffice.org-emailmerge:i386 Depends on libreoffice-emailmerge [ i386 ] < none -> 1:3.5.2-2ubuntu1 > ( editors )

Broken libperl5.10:i386 Depends on perl-base [ i386 ] < 5.10.1-8ubuntu2.4 -> 5.14.2-6ubuntu2 > ( perl ) (= 5.10.1-8ubuntu2.4)
Broken google-chrome-stable:i386 Depends on libnss3-1d [ i386 ] < 3.17.4-0ubuntu0.10.04.1 > ( libs ) (>= 3.12.3)
Broken unoconv:i386 Depends on python-uno [ i386 ] < 1:3.2.0-7ubuntu4.4 -> 1:3.5.2-2ubuntu1 > ( python )
Broken libpulse-browse0:i386 Depends on libpulse0 [ i386 ] < 1:0.9.22~0.9.21+stable-queue-32-g8478-0ubuntu14 -> 1:1.1-0ubuntu15 > ( libs ) (= 1:0.9.22~0.9.21+stable-queue-32-g8478-0ubuntu14)
Broken esound-clients:i386 Depends on esound-common [ i386 ] < 0.2.41-6ubuntu1 -> 0.2.41-10build3 > ( sound ) (= 0.2.41-6ubuntu1)
Broken libglib2.0-0:i386 Breaks on gnome-control-center [ i386 ] < 1:2.30.1-0ubuntu2 -> 1:3.4.1-0ubuntu1 > ( gnome ) (< 1:3)
Broken ecryptfs-utils:i386 Depends on libecryptfs0 [ i386 ] < none -> 96-0ubuntu3 > ( libs )
Broken ppp:i386 Breaks on network-manager-pptp [ i386 ] < 0.8-0ubuntu3 -> 0.9.4.0-0ubuntu1 > ( net ) (<= 0.8.0.999-1)
Broken gnome-control-center:i386 Depends on libnm-glib4 [ i386 ] < none -> 0.9.4.0-0ubuntu3 > ( libs ) (>= 0.8.998)
Broken libreoffice-common:i386 Depends on libreoffice-style-default [ i386 ] < none > ( none )

Broken libreoffice-common:i386 Depends on libreoffice-style [ i386 ] < none > ( none )
Broken gnome-icon-theme-symbolic:i386 Breaks on gnome-power-manager [ i386 ] < 2.30.0-0ubuntu1.1 -> 3.4.0-0ubuntu1 > ( gnome ) (< 3.2)
Broken indicator-power:i386 Depends on gnome-control-center [ i386 ] < 1:2.30.1-0ubuntu2 -> 1:3.4.1-0ubuntu1 > ( gnome ) (>= 3.1)
Broken network-manager-pptp:i386 Depends on libnm-glib-vpn1 [ i386 ] < none -> 0.9.4.0-0ubuntu3 > ( libs ) (>= 0.7.999)
Broken network-manager-pptp-gnome:i386 Depends on libnm-glib2 [ i386 ] < 0.8-0ubuntu3.3 > ( libs ) (>= 0.8~a~git.20090917t210753.fdb5ef2)
Broken network-manager-pptp-gnome:i386 Depends on libnm-util1 [ i386 ] < 0.8-0ubuntu3.3 > ( libs ) (>= 0.7.1~20090213+gitf142e15)
Broken network-manager-pptp-gnome:i386 Depends on network-manager-pptp [ i386 ] < 0.8-0ubuntu3 -> 0.9.4.0-0ubuntu1 > ( net )
Broken gnome-power-manager:i386 Depends on gnome-settings-daemon [ i386 ] < 2.30.1-0ubuntu1.1 -> 3.4.1-0ubuntu1 > ( gnome ) (>= 3.2)
Broken openoffice.org-common:i386 Depends on libreoffice-common [ i386 ] < none -> 1:3.5.2-2ubuntu1 > ( editors ) (>= 1:3.3.0~rc4-2)
Broken libreoffice-java-common:i386 Depends on libreoffice-common [ i386 ] < none -> 1:3.5.2-2ubuntu1 > ( editors )

Broken chromium-browser-l10n:i386 Depends on chromium-browser [ i386 ] < 25.0.1364.160-0ubuntu0.10.04.1 > ( universe/web ) (= 25.0.1364.160-0ubuntu0.10.04.1)
Broken chromium-codecs-ffmpeg:i386 Depends on chromium-browser [ i386 ] < 25.0.1364.160-0ubuntu0.10.04.1 > ( universe/web ) (>= 4.0.203.0~)
Broken python-papyon:i386 Depends on python-farsight [ i386 ] < 0.0.17-2ubuntu2 > ( python )
Broken openoffice.org-java-common:i386 Depends on libreoffice-java-common [ i386 ] < none -> 1:3.5.2-2ubuntu1 > ( editors )
Broken gir1.2-ubuntuoneui-3.0:i386 Depends on libubuntuoneui-3.0-1 [ i386 ] < none -> 3.0.0-0ubuntu1 > ( libs ) (>= 2.99.3)
Broken rhythmbox-ubuntuone:i386 Depends on gir1.2-ubuntuoneui-3.0 [ i386 ] < none -> 3.0.0-0ubuntu1 > ( introspection ) (>= 3.0.0)
Broken python-farsight:i386 Depends on python [ i386 ] < 2.6.5-0ubuntu1.1 -> 2.7.3-0ubuntu2 > ( python ) (< 2.7)
Broken gnome-icon-theme-symbolic:i386 Breaks on gnome-power-manager [ i386 ] < 2.30.0-0ubuntu1.1 -> 3.4.0-0ubuntu1 > ( gnome ) (< 3.2)
Broken gnome-power-manager:i386 Depends on gnome-settings-daemon [ i386 ] < 2.30.1-0ubuntu1.1 -> 3.4.1-0ubuntu1 > ( gnome ) (>= 3.2)
Broken unity-scope-musicstores:i386 Depends on rhythmbox-ubuntuone [ i386 ] < none -> 3.0.0-0ubuntu1 > ( gnome )

Broken python-papyon:i386 Depends on python-farsight [ i386 ] < 0.0.17-2ubuntu2 > ( python )
Broken python-farsight:i386 Depends on python [ i386 ] < 2.6.5-0ubuntu1.1 -> 2.7.3-0ubuntu2 > ( python ) (< 2.7)
Broken gnome-icon-theme-symbolic:i386 Breaks on gnome-power-manager [ i386 ] < 2.30.0-0ubuntu1.1 -> 3.4.0-0ubuntu1 > ( gnome ) (< 3.2)
Broken gnome-power-manager:i386 Depends on gnome-settings-daemon [ i386 ] < 2.30.1-0ubuntu1.1 -> 3.4.1-0ubuntu1 > ( gnome ) (>= 3.2)
Broken python-papyon:i386 Depends on python-farsight [ i386 ] < 0.0.17-2ubuntu2 > ( python )
Broken telepathy-butterfly:i386 Depends on python-papyon [ i386 ] < 0.4.8-0ubuntu2.1 > ( python ) (>= 0.4.2)
Broken gnome-icon-theme-symbolic:i386 Breaks on gnome-power-manager [ i386 ] < 2.30.0-0ubuntu1.1 -> 3.4.0-0ubuntu1 > ( gnome ) (< 3.2)
Broken gnome-power-manager:i386 Depends on gnome-settings-daemon [ i386 ] < 2.30.1-0ubuntu1.1 -> 3.4.1-0ubuntu1 > ( gnome ) (>= 3.2)
Broken gnome-icon-theme-symbolic:i386 Breaks on gnome-power-manager [ i386 ] < 2.30.0-0ubuntu1.1 -> 3.4.0-0ubuntu1 > ( gnome ) (< 3.2)
Broken gnome-power-manager:i386 Depends on gnome-settings-daemon [ i386 ] < 2.30.1-0ubuntu1.1 -> 3.4.1-0ubuntu1 > ( gnome ) (>= 3.2)

Broken gnome-icon-theme-symbolic:i386 Breaks on gnome-power-manager [ i386 ] < 2.30.0-0ubuntu1.1 -> 3.4.0-0ubuntu1 > ( gnome ) (< 3.2)
Broken gnome-power-manager:i386 Depends on gnome-settings-daemon [ i386 ] < 2.30.1-0ubuntu1.1 -> 3.4.1-0ubuntu1 > ( gnome ) (>= 3.2)
Broken gnome-icon-theme-symbolic:i386 Breaks on gnome-power-manager [ i386 ] < 2.30.0-0ubuntu1.1 -> 3.4.0-0ubuntu1 > ( gnome ) (< 3.2)
Broken gnome-power-manager:i386 Depends on gnome-settings-daemon [ i386 ] < 2.30.1-0ubuntu1.1 -> 3.4.1-0ubuntu1 > ( gnome ) (>= 3.2)
Broken gnome-icon-theme-symbolic:i386 Breaks on gnome-power-manager [ i386 ] < 2.30.0-0ubuntu1.1 -> 3.4.0-0ubuntu1 > ( gnome ) (< 3.2)
Broken gnome-power-manager:i386 Depends on gnome-settings-daemon [ i386 ] < 2.30.1-0ubuntu1.1 -> 3.4.1-0ubuntu1 > ( gnome ) (>= 3.2)
Broken gnome-icon-theme-symbolic:i386 Breaks on gnome-power-manager [ i386 ] < 2.30.0-0ubuntu1.1 -> 3.4.0-0ubuntu1 > ( gnome ) (< 3.2)
Broken gnome-power-manager:i386 Depends on gnome-settings-daemon [ i386 ] < 2.30.1-0ubuntu1.1 -> 3.4.1-0ubuntu1 > ( gnome ) (>= 3.2)



Do I have to uninstall all these broken packages? Are there any other way to update Ubuntu without losing my data?



Thanks in advance !! :)

upgrade - Problem after upgrading from 11.10 to 12.04

I had installed Ubuntu 11.04 through CD alongside windows.
I got a problem here in upgradation when I upgraded my Ubuntu 11.10 version to 12.04.There were many errors too while installing upgrades..
The package got broken.
After restarting the computer,It should appear Ubuntu 12.04,even here It is appearing ubuntu 11.10 with four dots just moving one by one and does not proceeds further,hangs here!!

Windows is running fine,I restarted computer many times,plugged out the charger...Nothing is working.
How to solve this issue??
I'm not a very frequent user of all this..
Please guide me...

12.04 - SVN - How to downgrade svn client version from 1.7.9 to 1.4.6

I want to downgrade my subversion client from 1.7.9 to 1.4.6



Can someone tell me the way to downgrade it?

Thursday, July 26, 2018

drivers - Ubuntu 13.04 AMD/Intel Hybrid Graphics is not working

The same problem again, now for the newest release 13.04:



On 12.10 my Sony Vaio VPCSE with Intel® HD Graphics 3000 and AMD Radeon™ HD 6630M worked fine with the Catalyst Control Center, installed as described here.




But it is not working on Ubuntu 13.04 with the instructions, I described in this entry.

networking - How do I install drivers for the Atheros AR8161 Ethernet controller?

I have installed Ubuntu 12.04-64 bit on my Lenovo IdeaPad laptop, and the wired Ethernet (LAN) connection doesn't work.


Running the lspci -vv | grep Atheros command from the terminal shows me I have the AR8161 Gigabit Ethernet controller:


02:00.0 Ethernet controller: Atheros Communications Inc. AR8161 Gigabit Ethernet (rev 08)

This looks like a new product whose drivers are not built into Ubuntu.


How do I install drivers to get the AR8161 working?

dual boot - Merging Extended partition with Unallocated Space: Error

I am using Ubuntu 12.10 which is on a dual boot with Windows 7. I initially had 30 GB for Ubuntu ,but I decided I need more , now I booted Ubuntu from its Live CD ,used GParted , shrunk Windows partition by 50 GB ,so I got 50GB-unallocated space. Now I want to merge that with Ubuntu's partition (extended) . But I keep getting an "overlapping partition" error , and I am not able too identify where the overlapping is happening. Can anyone please help me out here ? /dev/sda4 is where my Ubuntu's 30GB extended partition is (which contains /dev/sda5 and /dev/sda6) and /dev/sda3 is my Windows 7's partition. I have 50GB of Unallocated space between /dev/sda3 and /dev/sda4
ubuntu@ubuntu:~$ sudo fdisk -l -u




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

Device Boot Start End Blocks Id System
/dev/sda1 63 80324 40131 de Dell Utility
/dev/sda2 * 81920 29044735 14481408 7 HPFS/NTFS/exFAT

/dev/sda3 29044736 806342655 388648960 7 HPFS/NTFS/exFAT
/dev/sda4 912336894 976771071 32217089 5 Extended
/dev/sda5 912336896 968585215 28124160 83 Linux
/dev/sda6 968587264 976771071 4091904 82 Linux swap / Solaris

Disk /dev/sdb: 16.0 GB, 16008609792 bytes
255 heads, 63 sectors/track, 1946 cylinders, total 31266816 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes

Disk identifier: 0x00000000

Device Boot Start End Blocks Id System
/dev/sdb1 * 63 31262489 15631213+ c W95 FAT32 (LBA)

Wednesday, July 25, 2018

graphics - How to use NVidia Gpu simultaneously with intel HD


My laptop has an high-end NVidia Geforce GTX 860m graphics card and the intel integrated graphics (Intel HD 4600, pretty weak)


So in my case, i have to work in ue4 (very heavy on the graphics card), while from time to time switching to the browser to watch tutorials and find answers to questions.


So is there any way to use the NVidia card for heavy tasks, while at the same time using the intel graphics for browser? Because currently videos stutter extremely, and even web forms are very hard to fill out (a lot of lag while typing)
If anybody could have a solution for this problem, i would thank him very much.


Also, my problem is not the one described here:How to use Intel HD Graphics for regular desktop usage, while just using my NVIDIA GPU for DNN training
because i do not want to switch between GPU's, but run them simultaneously.



Based on your query in http://ubuntuforums.org/showthread.php?t=2291771 and the answers there, what you are asking for is not possible.


From the forum:



From my understanding of Nvidia Optimus technology I do not think it
is possible. The purpose of Optimus is automatic switching between a
more powerful GPU for high intensity graphic tasks with likewise high
battery drain and a less powerful GPU for low intensity graphic tasks
with the benefit of less battery drain.


In Linux we have yet to get an Nvidia driver that will do automatic
switching.


I am guessing that the problems you are having with video play back
are nothing to do with which GPU is being used but in connection with
the CPU being under intensive use and needing to task switch. The
Nvidia GPU should handle video playback easily. If it is not then it
could be a case of too much going on at the same time.



On the other hand, you can try bumblebee/optirun as described in Correct nvidia+intel graphics setup in 14.04


Then you can start ue4 with optirun prefix, thus using the Nvidia card for it and use Intel for other processes like the browser. Open a terminal by pressing Ctrl+Alt+T and enter:


(optirun  &)

The (parenthesis) and & will detach the process from the terminal. This will allow you to work on the terminal after launching the program. There are other ways of completely detaching the program from the terminal.


Also see How does bumblebee optirun actually work?.


I don't have an Nvidia card, so I have not tried it.


Hope this helps


boot - Can't install Ubuntu on Lenovo Windows 10 laptop

I'm trying and failing to install Ubuntu on my Windows 10 Lenovo Thinkpad.



There's two hard drives, I'm trying to install Linux on the second (though either HDD would be great). I've an SSD (C:/) and a SATA drive (D:/), both working on Windows and both internal




The install Ubuntu process itself fails. Trying Ubuntu, it starts up OK. But when I open 'Install Ubuntu' from the desktop, that also fails. It pops up saying I don't have enough space. When I try and edit mount points it just fails with an internal error every time.



I ran Ubuntu boot-repair and the results are here: https://paste.ubuntu.com/26475540/



I took a photo of the messages that popped up before the "Try" or "install" Ubuntu boot menu:



failed to claim resource 1
nouveau failed to create kernel channel



enter image description here




I would really, really appreciate some help. I just want to say goodbye to Windows forever!



If possible, I would replace Windows entirely. I can't be confident Ubuntu will work yet though.



I've also attached a photo of my hard disk partitions on the Windows side - to prove there is unallocated space.



See hard disk partitions.



I ran commands as requested: 'sudo lsblk -f' and 'sudo lsblk -m'




ubuntu@ubuntu:~$ sudo lsblk -f
NAME FSTYPE LABEL UUID MOUNTPOINT
loop0 squashfs /rofs
sda
└─sda1 vfat UUI 11E9-286A /cdrom
ubuntu@ubuntu:~$ sudo lsblk -m
NAME SIZE OWNER GROUP MODE
loop0 1.4G root disk brw-rw----
sda 28.9G root disk brw-rw----

└─sda1 28.9G root disk brw-rw----
ubuntu@ubuntu:~$

ati - AMD graphics power management support in Trusty Tahr's kernel



I upgraded to 14.04 just today and since I'm now using kernel v3.13 and according to This link, I should now be having power management enabled by default




How can I confirm that ?



My machine: Dell Inspiron SE 7520



My GPU (Discrete\Independent graphics card): AMD Radeon HD 7730m



My APU (Graphics card integrated into the processor): Intel® Ivybridge Mobile



If using the open source drivers, the fact that power management (dpm) is enabled should be reflected by the existence of a file named




/sys/class/drm/card1/device/power_dpm_state 


(or the same with card0 or other number, whichever is your AMD card). I have more links and insights in my answer about AMD hybrid system overheating.


16.04 - Error purging older kernel

Whatever I try to do whether installing new software, or if I try sudo apt-get upgrade


I always get error
Sometimes this:(when I tried sudo apt-get upgrade)


Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these.
The following packages have unmet dependencies:
linux-image-generic-hwe-16.04 : Depends: linux-image-4.15.0-47-generic but it is not installed
linux-modules-extra-4.15.0-43-generic : Depends: linux-image-4.15.0-43-generic but it is not installed or
linux-image-unsigned-4.15.0-43-generic but it is not installed
linux-modules-extra-4.15.0-45-generic : Depends: linux-image-4.15.0-45-generic but it is not installed or
linux-image-unsigned-4.15.0-45-generic but it is not installed
linux-modules-extra-4.15.0-47-generic : Depends: linux-image-4.15.0-47-generic but it is not installed or
linux-image-unsigned-4.15.0-47-generic but it is not installed
E: Unmet dependencies. Try using -f.

Sometimes this:(when I tried sudo apt-get purge linux-image-4.15.0-30-generic)


Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
linux-image-generic-hwe-16.04 : Depends: linux-image-4.15.0-47-generic but it is not going to be installed
linux-modules-extra-4.15.0-30-generic : Depends: linux-image-4.15.0-30-generic but it is not going to be installed or
linux-image-unsigned-4.15.0-30-generic but it is not going to be installed
linux-modules-extra-4.15.0-43-generic : Depends: linux-image-4.15.0-43-generic but it is not going to be installed or
linux-image-unsigned-4.15.0-43-generic but it is not going to be installed
linux-modules-extra-4.15.0-45-generic : Depends: linux-image-4.15.0-45-generic but it is not going to be installed or
linux-image-unsigned-4.15.0-45-generic but it is not going to be installed
linux-modules-extra-4.15.0-47-generic : Depends: linux-image-4.15.0-47-generic but it is not going to be installed or
linux-image-unsigned-4.15.0-47-generic but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

What should I do, it has become very hard to even install new software. I was trying to install R but again failed due to these (probably kernel unmet dependencies)


Output of sudo apt-get -f install:


Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
amd64-microcode intel-microcode iucode-tool libpython-all-dev libsodium18 libvpx3:i386 linux-headers-4.15.0-32 linux-headers-4.15.0-32-generic
linux-headers-4.15.0-33 linux-headers-4.15.0-33-generic linux-headers-4.15.0-34 linux-headers-4.15.0-34-generic linux-headers-4.15.0-43
linux-headers-4.15.0-43-generic linux-headers-4.15.0-45 linux-headers-4.15.0-45-generic linux-headers-4.15.0-47
linux-headers-4.15.0-47-generic linux-headers-generic-hwe-16.04 linux-image-4.15.0-30-generic linux-image-4.15.0-32-generic
linux-image-4.15.0-33-generic linux-image-4.15.0-34-generic linux-modules-4.15.0-30-generic linux-modules-4.15.0-32-generic
linux-modules-4.15.0-33-generic linux-modules-4.15.0-34-generic linux-modules-extra-4.15.0-30-generic linux-modules-extra-4.15.0-32-generic
linux-modules-extra-4.15.0-33-generic linux-modules-extra-4.15.0-34-generic python-all python-all-dev python-pip python-pip-whl python-wheel
qtdeclarative5-controls-plugin qtdeclarative5-dialogs-plugin thermald
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 330 not upgraded.
2 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up initramfs-tools (0.122ubuntu8.11) ...
update-initramfs: deferring update (trigger activated)
Setting up linux-firmware (1.157.21) ...
update-initramfs: Generating /boot/initrd.img-4.15.0-39-generic
W: Possible missing firmware /lib/firmware/i915/kbl_guc_ver9_14.bin for module i915
W: Possible missing firmware /lib/firmware/i915/bxt_guc_ver8_7.bin for module i915
cat: write error: No space left on device
update-initramfs: failed for /boot/initrd.img-4.15.0-39-generic with 1.
dpkg: error processing package linux-firmware (--configure):
subprocess installed post-installation script returned error exit status 1
Processing triggers for initramfs-tools (0.122ubuntu8.11) ...
update-initramfs: Generating /boot/initrd.img-4.15.0-39-generic
W: Possible missing firmware /lib/firmware/i915/kbl_guc_ver9_14.bin for module i915
W: Possible missing firmware /lib/firmware/i915/bxt_guc_ver8_7.bin for module i915
cat: write error: No space left on device
update-initramfs: failed for /boot/initrd.img-4.15.0-39-generic with 1.
dpkg: error processing package initramfs-tools (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
linux-firmware
initramfs-tools
E: Sub-process /usr/bin/dpkg returned an error code (1)

Unable to find new release ( after interuppting a release upgrade)


i am on 12.10 and had to interrupt a 'do-release-upgrade' to 13.10


Now, later, when i run 'do-release-upgrade;, it reports back as 'unable to find new release'


Can someone help out ?



sudo apt-get update;sudo apt-get dist-upgrade
you may need to use the debian menthod:
sudo sed -i 's/quantal/raring/' /etc/apt/sources.list then run the above command
then to upgrade then you can upgrade to saucy by running sudo sed -i 's/raring/saucy/' /etc/apt/sources.list then run the 1st command


if you meant 13.04 and not 13.10 don't do the second sed command


grub2 - Ubuntu 14.04 dual boot with windows 10



This question got a downvote, and I have no idea why. If you have a good enough reason to do so, please share.




OK, I know that this question has been asked a lot before, but I could not find any questions that exactly relate to my case. I just got a new PC with Windows 10 on an SSD. With my previous PC I had two hard drives, one with Ubuntu, one with Windows 7. I dual booted flawlessly with that setup. Now, I have moved these two HDD's to the new PC, but I would like to know how I can use my HDD with the existing Ubuntu on it to dual boot with the new Windows 10.



In summary:



My new PC has Windows 10 installed.



I moved my HDD containing an existing Ubuntu installation to the new PC.



I would like to set this up such that I can dual boot with windows 10 and ubuntu. Note, both operating systems are already installed on different HDD's, but the ubuntu installation was installed alongside Windows 7 originally (see extra info below). I just need to make them dual boot together. I can already boot into Ubuntu through my BIOS settings (by making the HDD containing Ubuntu the primary HDD), but I would not like to do that every time.




Extra info:



When I boot from the HDD containing Ubuntu, the grub menu comes on, with Windows 7 still as an option, but I cannot boot into Windows 7 though.



Thank you



Eventually you need to make an entry for Win10 in grub if the reconfiguration did not add one. Further, you might want to check if the BIOS (EFI or legacy) has a specific boot-order that queries your Linux HDD first. This shows Grub first and lets you decide which system you want to boot.


package management - Is there a way to search unofficial repositories in launchpad?



I was wondering if this STDIN Plasmoid had been packaged by someone, so I googled for it. It seemed like it has been packaged as plasma-widget-stdin. However, this (unofficial) ppa also contained a some other things that I was uninterested in (and might unintentionally upgrade).




I wanted to see if there were other ppas contained this widget, so I attempted to search. However, it seems that the Launchpad search only contains official packages. Is there a way to search Launchpad for unofficial packages and repositories?



The second link you gave "plasma-widget-stdin" can be found by searching in the main launchpad site by searching by package name(I was able to find it that way). The 3rd link goes to the Ubuntu launchpad website, which only searches Ubuntu packages. I'm not sure how you ended up on the "official Ubuntu only site" but if you end up there in the future, look in the bottom left of the screen, you will see the Launchpad name and logo, it will get you to the main Launchpad website and you can search for unofficial packages there. To go there directly, the website is :



launchpad.net



(Which I belive answers your original question, but please read on)







The ppa that you linked to appears to be no longer maintained, so I would use any packages from it with extreme caution.



If you do find a (active) ppa that contains it, you can download it by




  1. clicking the click just above the package list "view package details"

  2. clicking on the package name

  3. clicking on the .deb package that matches you architecture (i386 for 32bit or amd for 64bit)




I would do this with extreme caution as well, often (but not always) the other packages that are added to the ppa are dependencies of that package that you want to add and using the new package with older dependencies can be unpredictable at best;



It may fail to install at all with the error that xx package is needed then you will have to go back to the ppa that you download the individual package from, download the package the was the dependency, try to install it, then go back again download the dependency for the dependency, then install the dependency for the dependency, then install the dependency, then install the package you wanted(this is known in the Linux world as "dependency hell" for obvious reasons, ppa are used to prevent this problem).


partitioning - Installing dual-boot Windows 10 and Ubuntu on separate disks

I have a new computer. It has a 128GB SSD with Windows 10 pre-installed on it. It also has a 1TB HDD. I would like to install Ubuntu on a partition (say 100GB) on the HDD for a dual-boot. I would like to be prompted which OS I want to boot on start-up.


I have searched for this online, but everyone seems to be saying something else, from just installing Ubuntu to manually setting up partitions and adding all sorts of entries in Grub.


Are there any problems I am overlooking? What makes the tutorials diverge so much from one another?

Ubuntu 16.04.3 - Nvidia driver causing error (login loop) + GPU not showing in Xsettings

After installing Ubuntu the system would hang after the bios boot logo, which I fixed using the following solution:



Hold shift after bios logo to enter GRUB, go to advanced options, press E on top selection and add:




nomodeset


I made this change permenant by entering the desktop and entering in terminal:



sudo nano /etc/default/grub


Add nomodeset to the linux line and then running the following command:




sudo update-grub


Once that was sorted have tried installing several Nvidia drivers including ver 375 recommended via the additional drivers section, all cause a login loop to occur.



To fix the issue and enter the desktop again I must use the following command to switch to IGP:



sudo prime-select intel



I am guessing this has something to do with the kernel 4.10 which I am using.



When I enter Xsettings with Nvidia drivers installed it shows no GPU.
Here are my specs:



Intel I7 7700HQ
16GB ram
GTX 1050
Intel HD 630 graphics




Does anyone know any solutions?

grub2 - Dual boot between ubuntu 18.04 and windows 7 boots straight into ubuntu

I know there are several threads on these but none of their solutions seem to help me.



I had WIN7 and Ubuntu 14.04 installed on this computer and dual booting was working fine. Keep in mind they are being booted from the same SSD. I updated ubuntu to 18.04 (It failed updating through the terminal and I did a clean reinstall with a live usb) and grub disappeared and it boots straight into ubuntu. All my windows files are still here and intact.



What I've tried:





  • os-prober and update-grub or update-grub2 (made no difference).

  • boot-repair and boot-info, none of which made a difference.

  • Used the grub config file to force grub to load (grub loads but the only option I have is to start ubuntu).

  • Tried manually adding the win7 installation to the grub config file without much avail (but I probably did this wrong anyway).

  • Tried grub-customizer, which did not detect win7.



The boot-info pastebin file is found here:



http://paste.ubuntu.com/p/yRDNz8rnCk/




According to the pastebin it seems there is windows 7 loader files on sda1 and sda2 (Assuming one of these is the system reserved partition?) but if I run update-grub I get the following output:



Found linux image: /boot/vmlinuz-4.15.0-33-generic
Found initrd image: /boot/initrd.img-4.15.0-33-generic
Found linux image: /boot/vmlinuz-4.15.0-29-generic
Found initrd image: /boot/initrd.img-4.15.0-29-generic


So I get the impression it does not find windows at all. Should it be looking in sector 2 of sda instead of sector 1? I honestly have no clue what is wrong here.




Any help would be greatly appreciated.



Edit: When I try to manually add windows to grub I get the following error:



error: no such device: D8E475D4E475B57A
error: can't find command 'drivemap' .
error: invalid EIF file path.



Thinking maybe I should repair the win7 loader.



Edit 2: I tried repairing the win7 boot manager using a win7 live usb. It finds windows ok but assures me there are no errors.



Edit 3: Running boot-repair on a live usb instead of in the installed version gave a tiny bit of progress. After doing this, two instances of win7 showed up in grub (Windows 7 /dev/sda1 and Windows 7 /dev/sda2). This is how it used to look when I was dualbooting with ubuntu 14.04.



Unfortunately, neither of them work, prompting this error:



error: file '/boot/grub/x86_64-efi/ntfs.mod' not found.
error: no such device: 4CA8732DA8731524.

error: can't find command 'parttool'.
error: invalid EFI file path.


Upon restarting the computer these two instances of win 7 were gone again.



Edit 4:



I read someone said that checking the partition with gparted fixed some issues for them which made it work. Well, when I tried doing this I got an error message pertaining to sectors being listed multiple times and that I should do chckdisk /f /r. Thinking maybe there were sector issues I made a new windows live USB so I could run chckdisk from the command window. I booted into BIOS and told BIOS to boot from USB. Instead it loaded GRUB (but now in a much higher resolution) and selecting win 7 actually booted into my win 7 installation and everything seems to work fine.




If I do NOT attempt to boot through the usb, win7 will NOT work through Grub. What's more confusing is that if I try to access this USB from Windows it says it is corrupted (I had some error messages when I attempted making the windows bootable so I'm assuming that's why).



Long story short I have a solution if I want to use Windows, but it's not exactly ideal... Maybe this additional information helps diagnose the problem.

customize live cd and add custom user name with default password



For some professional reason, we need to make our simplified live ubuntu version.
(It has to be live, can't be installed on flash drive)




In this link they explain how to disable the auto login, https://help.ubuntu.com/community/LiveCDCustomization#Removing_the_.28Casper.29_Autologin
but now I need to create a default username and password, so how can I achieve this?



Thanks in advance



I found a a solution using cubic.
In case anyone is looking to achieve this:
1-I installed cubic, followed the usual steps(create a project folder, select iso...etc).
2 - In the chroot env. I used vi to edit casper files and disable autologin
https://help.ubuntu.com/community/LiveCDCustomization#Removing_the_.28Casper.29_Autologin




3-after I exited vi, but still in the chroot environment, I added a new user as usual with useradd mycustomuser then add a password with passwd mycustomuser



Then I clicked next and followed the cubic wizard, burned the iso to a flash drive and it worked



Now every time you boot in live mode, it will ask for the password we created. Also if you decide to install the installation will have this pre-created account by default


installation - How to install a program published as a tar.gz file?

I'm trying to download and install software for my Ubuntu Linux machine. I've downloaded it by wget or the download link and so I get this tar.gz file. After that, I extracted it and saved it to my desktop. What's the next step? How do I install this kind of software?

Tuesday, July 24, 2018

dual boot - Install Windows 10 alongside Ubuntu 18.04

I'm trying to install Windows 10 alongside Ubuntu 18.04 beacuse I want to try some games on my laptop, and then go back to Ubuntu.


I have two USB Flash Drives, one with Windows 10 and the other with Ubuntu 18.04


These are the steps I've done after following some answers here on AskUbuntu.


1) Booted on Live Ubuntu, and shrinked my 1TB HDD into a 500 GB ntfs partition with GParted;


2) Booted on my Windows 10 USB Flash (on UEFI) and installing windows without deleting the partition or formatting it, just by pressing next ( I also tried deleting it and make a new one with Windows but I encounter the same issue);


3) After install, it was directly booting into windows, probably installing other stuff, and this is the annoying part, Windows freeze at "Getting devices ready" or something like this. I forced it to shut down and then .. continuing to step 4;


4) I booted again on my Live Ubuntu USB, and I have installed boot-repair, doing the recommended installation.


5) After installing boot-repair, I restarted my laptop, booted on Ubuntu OS redirecting me to GRUB Boot Loader, I selected Windows everything loaded then I got this error that Windows isn't installed properly and I have to restart and reinstall it.


I really don't know what to do anymore, I deleted the ntfs partition and extended my ext4 partition, everything is normal now, but I really need Windows 10, I also need an answer on how to uninstall it and go back to normal.


This is one of the question I was following but it doesn't work for me


And this is the second question, and I was following the first and the second answer, except doing the mount /boot thing beacuse I didn't know what to do exactly


EDIT : Here's the summary of boot-repair

graphics - Why does Ubuntu 14.04 not recognize NVIDIA GeForce 310M hardware?

I've got a typical problem with my NVidia GPU. I recently installed Ubuntu 14.04 over windows 7 and completely whiped everything (on purpose), so I have a clean Ubuntu computer. Some specs:




  • ASUS KJ52c

  • RAM: 4 Gb

  • GPU: Hybrid NVidia 310M and Intel integrated Graphics

  • Processor: some Intel i5




On Ubuntu 13 I had the NVidia card up and running with bumblebee, and on Windows 7 it worked as a charm. Now, it's not recognized as hardware any more.



lspci | grep VGA shows:




00:02.0 VGA compatible controller: Intel Corporation Core Processor Integrated Graphics Controller (rev 18)





lspci -v shows no hint of NVidia anywhere As such, I can't install any drivers for it, nor get bumblebee / nvidia prime running.



Any ideas would be very much appreciated.

dual boot - Need a solution to a blinking screen

I have been facing the terrible problem to get to my Ubuntu desktop. I posted several questions and got several suggestions.
To keep the track let me write down all the process I have been through:
To start with, I have a MSI gaming laptop:
Intel(R) Core i7-6820HK CPU 2.7GHz, 16GB RAM, Windows 10, 64x, NVIDIA GeForce GTX 980M.




About two weeks ago I installed Ubuntu 16.04 as a dual-boot together with Win 10. The obstacles I had during the installation were:




  1. There was a blank-purple screen: to solve it I set nomodeset and went on...


  2. There was no option "install Ubuntu alongside windows 10", I chose something else following the suggestions from this site...


  3. It directed me to partition the disks. There was no windows loader in the box, but only some values such as:



    free space 1 MB;
    /dev/sda1/ntfs with the 528345 MB 87947 MB used;

    /dev/sda2/ntfs with the 429495 MB 150 MB used;
    free space 1 MB;
    /dev/sda3 with the 21474 MB unknown;
    free space 0 MB;
    /dev/sda4 ntfs with the 20885 20100 MB used;
    free space 0 MB.


    However, I had already partitioned two disk spaces (30GB and 400GB) in Windows using disk partitioning...


  4. Then I deleted these two:




    /dev/sda4 ntfs with the 20885 20100 MB used
    /dev/sda3 with the 21474 MB unknown


    to free some space for SWAP, root and boot and home (Mount point).
    I assigned appropriate sizes for respective mount points, again followed advice from Ask Ubuntu here. They are as follows:



     /dev/sda3 swap 2047 MB unknown
    /dev/sda4 ext4 /home 10240 MB unknown

    /dev/sda5 ext4 / 20479 MB unknown
    /dev/sda6 biosgrub 5 MB unknown


    At that stage I confirmed from this forum that I could proceed with the installation.


  5. After some time, I installed Cuda 8.0.44 and cuDNN v5.1 Library for Linux to learn Tensorflow with GPU support. To install Sublimetext I followed Youtube and I installed synaptic package manager and reloaded it as shown. The Reload failed. I thought rebooting might help and restarted the device, since then I couldn't log in to my desktop. I tried several ways to solve the issue such as this and this from Youtube




Side notes:




- there used to be a quick Nvidia window for, say, a millisecond when I switched it on. After installing Cuda 8.0.44 and cuDNN v5.1 that prompt disappeared;
- The laptop functioned strangely, it got shut down with a strange crack noise since I had dual-booted it with Ubuntu.



  1. After trying several solutions given in the forums, I ended up installing Gnome as suggested here as Solution 3. After rebooting, the desktop changed to Ubuntu Gnome, but still didn't solve the loop problem. Then I went to BIOS and changed the boot priority to another option, didn't work, then again came back to previous priority and now I can't even access to that login screen. When I switch the computer on I have purple screen suggesting *Ubuntu, Advanced options for Ubuntu, and System setup. Once I hit Ubuntu it goes through some process: screen
    Then the screen gets dark for about 4 seconds and quickly shows up this: screen
    Then it goes immediately back to dark screen and again after about 4 seconds the latter screen is shown again. This repeats infinitely.




When I type something, I can see them written after voodoo-GT80S 6QE login: but I can write ONLY AND ONLY when it is shown. If I use Ctrl + alt + f1, I can type for a short time, then it gets dark again. When I hit the power off, it shows:



     Starting WPA supplicant
OK
Started WPA supplicant.


Then it is switched off with strange noise- like a rupture.



To solve the problem I tried this, given as Run These Commands




     1:  $ sudo mount /dev/sda5 /mnt
2: $ for i in /sys /proc /run /dev; do sudo mount --bind "$i" "/mnt/$i"; done
3: $ sudo mount /dev/sda6 /mnt/boot/efi
5: $ sudo chroot /mnt
6: # grub-install /dev/sda
7: # update-grub
8: # exit
9: $ for i in /sys /proc /run /dev; do sudo umount "/mnt/$i"; done
10: $ sudo umount /mnt/boot/efi

11: $ exit


When I typed sudo mount /dev/sda6 /mnt/boot/efi it is showing mount: mount point /mnt/boot/efi doesn't exist
Please take into consideration that I am not able to directly write these code blocks to normal terminal because of flickering effect of the terminal. I am writing these things after forcing the terminal to show up every time by pressing ctrl+alt+f1.



I would ask you professionals to look through the problem and give some advice what to do next to restore the Ubuntu!



Thank you for your time and patience!




...this is for the question in the comments

11.10 - Can&#39;t boot from USB after installing Ubuntu

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