Wednesday, May 31, 2017

ati - Unity top bar, side bar, and window decorations missing after upgrade to 12.10



I upgraded from 12.04.1 to 12.10 via the Update Manager and the upgrade said it completed successfully, however after rebooting the Unity task bar was missing along with the launch bar and the window decorations.


All compiz settings seemed to be purge deleted, and at first boot it gave me a system error. The desktop exists, and once I remember I messed up the compiz settings and just had to press Ctrl+Alt+F1 and in the virtual terminal type unity --reset then sudo reboot.


Everything worked as if I reinstalled the entire operating system. This time it said:




Warning no variable set. setting to :0. The reset option is now
dupricated.






What am I suppose to do now? I need this fixed as soon as possible because I need a couple of certainly installed programs and the data within them (long story short).



I finally got Unity back at a normal resolution with compiz working as usual (apparently). It doesn't feel as snappier as before, but at least I can work with it.



This is what I did (hope it helps others):





  • Tried resetting xorg.conf file as @RobertPitt suggested (which, actually, did nothing for me).


  • Then tried what @Freedom suggested, but there was no entry inside the additional drivers tab.


  • Googled for a while and tried the steps outlined in this page and this page. After following the first web page steps nothing changed. As for the second page, I couldn’t get the ATI driver package to build.


  • Out of frustration, I got rid of fglrx with sudo apt-get autoremove fglrx --purge and rebooted sudo shutdown -r now.




After reboot, everything looked and seemed to work as usual. So weird.



By the way, I have a Radeon HD 3400 (RV620) card and there's still no entry for proprietary drivers in the additional drivers tab.


partitioning - Lost extended partition after installing windows

I was using Ubuntu 13.04 and the hard disk was partitioned as follows:





  • Primary Ext4 (250GB)

  • Linux Extended (250GB) and Ext3 or Ext4 logical partition

  • Linux Swap (4GB)



I have installed Windows 7, and during the installation I have deleted the Linux Primary partition and created windows NTFS primary partition on its place and installed windows 7 on it. I thought that using any Ext3/4 reader I can extract the data on my logical partition but all the tools I used only view the Extended partition with un-located space!! as there is no logical partition at all. I have tried to boot to Ubuntu using the live CD but it didn't mount the partition and even when I used the default partitiion management tool it showed the same result of extended partition with un-located space.



Please help me to recover the data in the extended partition.

Dual boot ubuntu windows ssd in caddy

I have a spare smaller SSD.




Can I install windows into a second SSD in caddy in my laptop dvd slot WHILE keeping my Ubuntu 18.04 OS in my main first SSD drive?



ie I am running Ububtu 18.04. I want install windows into another drive using the DVD caddy space.



-what are the exact steps I need to do to make it happen?
-Will grub detect ok or will windows boot ruin my original Ubuntu grub?
-is there an easy way to do this?



(note :- I tried installing windows first then Ubuntu as dual boot after on one drive but so many problems with either linux or Ubuntu not booting. I tried with manjaro and I had much more problems than with Ubuntu.. so I am sticking with Ubuntu as main OS on SSD1




My Ubuntu is working great so I don't want to wipe everything and install Windows then dual boot ubuntu on same drive again.. too many problems before. Even bootrepair didn't help. I just heard that installing windows on second drive might be better? )



appreciate any advice

networking - Mobile broadband sharing over adhoc wireless

I have a Huwaei modem (E1820 to be precise) that i use for my internet whims and fancies. But what I want to do is set up an adhoc wireless network so another device can connect to my network and in turn I want that device to be able connect to the internet through the network. I've managed to set it up relatively effortlessly on Win7 so the it is possible on my hardware. But now I need to do it here.



Basically what i've done is the following.




  1. Connect to a "Automatic (PPP)" Mobile Broadband


  2. Set up a wireless network




    1. Set the SSID to a unique name

    2. Set the Mode to "Ad-hoc"

    3. Set the IPv4 Method to "Manual"

    4. Set the IP Address (196.168.137.100), Netmask, Gateway (196.168.137.1) to the same as what I would on win7

    5. Tried leaving the DNS server blank, tried filling it with the same DNS server the mobile card uses and tried setting it to 8.8.8.8





tested... didn't work... read some tutorials




  1. Installed Firestarter




    1. Set the Internet Connected Network device to ppp0

    2. Local network connected device to wlan0

    3. Enable internet connection sharing





at this point i cant even connect to the internet on this computer unless i disable the wlan



what am i doing wrong?

Tuesday, May 30, 2017

Are ubuntu Snappy and "Traditional Ubuntu Core" now just one?


Quoting from http://blog.dustinkirkland.com/2015/01/snappy-vs-apt-get-ubuntu-matrix.html:



Q: I'm looking for the smallest possible Ubuntu image that still
supports apt-get... A: You want our Traditional Ubuntu Core. This is
often useful in building Docker and LXC containers.


Q: I'm building the next wearable IoT device/drone/robot, and perhaps
deploying a fleet of atomically updated micro-services to the cloud...
A: You want Snappy Ubuntu Core.



There seems to be two flavors of ubuntu... an "Ubuntu core" which supports apt-get and the snappy which doesnt.


Where can we download the "Traditional Ubuntu Core" from? Did it cease to exist and is now the same as the snappy?



Indeed, in the past Core and Snappy were two distinct OS flavors. If you dig through old releases, there's core images, but no snappy.


Dustin's blog dates to January 22, 2015. In this techcrunch article from December 9, 2014 the author refers to the two as distinct versions:



A few years ago, Ubuntu launched a minimalist “core” version of its
operating system for embedded systems. Today, it is launching an alpha
version of its new “snappy” edition of Ubuntu Core with transactional
updates that is specifically geared toward container farms, large
Docker deployments and platform-as-a-service environments



Since around mid-2015, Ubuntu Core ceased to exist and now "Snappy" and "Snappy Core" are used interchangeably.


14.04 - How to update nvidia driver without causing a black screen?

I am using Ubuntu 14.04LTS on a thinkpad with an intel integrate card and a nvidia card.


Everything is fine with nvidia-304 or nvidia-340. However, every time I install newer nvidia driver such as nvidia-352, nvidia-361 or nvidia-367, I would be greeted with a black screen after reboot. I can hear the greeting sound of ubuntu, but cannot see anything. Then I have to remove the nvidia drivers.


All the commands are:


sudo apt-get install nvidia-version
sudo apt-get remove nvidia* --purge

Why is this happening? Are there any methods to prevent this problem? Any help would be appreciated!!


Update:


I installed nvidia-375 but was still greeted by a black screen.Then I installed nvidia-prime and insert the command 'prime-select intel'. Then the black screen has gone. But it seems that it simply avoids using the nvidia driver and card instead of solving the real problem. Even if it works, as I prefer bumblebee, I think installing nvidia-prime is not the best solution.


P.S.


I have found some answers about how to fix the black screen problem, but none of them can help me install newer version of nvidia driver.


Some other information:


lspci |grep 3D
01:00.0 3D controller: NVIDIA Corporation GF117M [GeForce 610M/710M/810M/820M / GT 620M/625M/630M/720M]

networking - Why does my Wireless connection block my internet traffic?

I am on Ubuntu Gnome 15.04 and experincing a strange "bug".


When i have wireless activated and connect my coble bound network - it looks like everything is fine (in the menu bar i see a connection on cable and one for wireless) - but I dont have Internet at all.


When I deactivate my wireless connection - everything works again...
...so I can live with this dirty workaround - but this wasn't occuring when I used older Ubuntus (but there I was on the standard unity based Release plan)


My Hardware is a Lenovo Yoga 2 Pro http://www.linlap.com/lenovo_ideapad_yoga_2_pro


here some more infos (i masked mac adresses and ipv6):
ifconfig with wireless connection without connected rj45:


route -n


Kernel-IP-Routentabelle
Ziel Router Genmask Flags Metric Ref Use Iface
0.0.0.0 192.168.1.1 0.0.0.0 UG 100 0 0 eth1
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1
192.168.122.0 0.0.0.0 255.255.255.0 U 0 0 0 virbr0

$ ifconfig


eth1      Link encap:Ethernet  Hardware Adresse 00:00:00:00:00:00
UP BROADCAST MULTICAST MTU:1500 Metrik:1
RX-Pakete:1323913 Fehler:0 Verloren:0 Überläufe:0 Fenster:0
TX-Pakete:737593 Fehler:0 Verloren:0 Überläufe:0 Träger:0
Kollisionen:0 Sendewarteschlangenlänge:1000
RX-Bytes:1906094750 (1.9 GB) TX-Bytes:77943741 (77.9 MB)
lo Link encap:Lokale Schleife
inet Adresse:127.0.0.1 Maske:255.0.0.0
inet6-Adresse: ::1/128 Gültigkeitsbereich:Maschine
UP LOOPBACK RUNNING MTU:65536 Metrik:1
RX-Pakete:6296 Fehler:0 Verloren:0 Überläufe:0 Fenster:0
TX-Pakete:6296 Fehler:0 Verloren:0 Überläufe:0 Träger:0
Kollisionen:0 Sendewarteschlangenlänge:0
RX-Bytes:609707 (609.7 KB) TX-Bytes:609707 (609.7 KB)
virbr0 Link encap:Ethernet Hardware Adresse 00:00:00:00:00:00
inet Adresse:192.168.122.1 Bcast:192.168.122.255 Maske:255.255.255.0
UP BROADCAST MULTICAST MTU:1500 Metrik:1
RX-Pakete:0 Fehler:0 Verloren:0 Überläufe:0 Fenster:0
TX-Pakete:0 Fehler:0 Verloren:0 Überläufe:0 Träger:0
Kollisionen:0 Sendewarteschlangenlänge:0
RX-Bytes:0 (0.0 B) TX-Bytes:0 (0.0 B)
wlan0 Link encap:Ethernet Hardware Adresse 00:00:00:00:00:00
inet Adresse:192.168.1.115 Bcast:192.168.1.255 Maske:255.255.255.0
inet6-Adresse: 0000::0000:0000:0000:0000/64 Gültigkeitsbereich:Verbindung
UP BROADCAST RUNNING MULTICAST MTU:1500 Metrik:1
RX-Pakete:177 Fehler:0 Verloren:0 Überläufe:0 Fenster:0
TX-Pakete:224 Fehler:0 Verloren:0 Überläufe:0 Träger:0
Kollisionen:0 Sendewarteschlangenlänge:1000
RX-Bytes:59623 (59.6 KB) TX-Bytes:69647 (69.6 KB)

Activated WLAN without RJ45:


eth1      Link encap:Ethernet  Hardware Adresse 00:00:00:00:00:00
UP BROADCAST MULTICAST MTU:1500 Metrik:1
RX-Pakete:1323913 Fehler:0 Verloren:0 Überläufe:0 Fenster:0
TX-Pakete:737593 Fehler:0 Verloren:0 Überläufe:0 Träger:0
Kollisionen:0 Sendewarteschlangenlänge:1000
RX-Bytes:1906094750 (1.9 GB) TX-Bytes:77943741 (77.9 MB)
lo Link encap:Lokale Schleife
inet Adresse:127.0.0.1 Maske:255.0.0.0
inet6-Adresse: ::1/128 Gültigkeitsbereich:Maschine
UP LOOPBACK RUNNING MTU:65536 Metrik:1
RX-Pakete:6296 Fehler:0 Verloren:0 Überläufe:0 Fenster:0
TX-Pakete:6296 Fehler:0 Verloren:0 Überläufe:0 Träger:0
Kollisionen:0 Sendewarteschlangenlänge:0
RX-Bytes:609707 (609.7 KB) TX-Bytes:609707 (609.7 KB)
virbr0 Link encap:Ethernet Hardware Adresse 00:00:00:00:00:00
inet Adresse:192.168.122.1 Bcast:192.168.122.255 Maske:255.255.255.0
UP BROADCAST MULTICAST MTU:1500 Metrik:1
RX-Pakete:0 Fehler:0 Verloren:0 Überläufe:0 Fenster:0
TX-Pakete:0 Fehler:0 Verloren:0 Überläufe:0 Träger:0
Kollisionen:0 Sendewarteschlangenlänge:0
RX-Bytes:0 (0.0 B) TX-Bytes:0 (0.0 B)
wlan0 Link encap:Ethernet Hardware Adresse 00:00:00:00:00:00
inet Adresse:192.168.1.115 Bcast:192.168.1.255 Maske:255.255.255.0
inet6-Adresse: 0000::0000:0000:0000:0000/64 Gültigkeitsbereich:Verbindung
UP BROADCAST RUNNING MULTICAST MTU:1500 Metrik:1
RX-Pakete:177 Fehler:0 Verloren:0 Überläufe:0 Fenster:0
TX-Pakete:224 Fehler:0 Verloren:0 Überläufe:0 Träger:0
Kollisionen:0 Sendewarteschlangenlänge:1000
RX-Bytes:59623 (59.6 KB) TX-Bytes:69647 (69.6 KB)

connected rj45 with activated wireless:


$ route -n


Kernel-IP-Routentabelle
Ziel Router Genmask Flags Metric Ref Use Iface
0.0.0.0 192.168.1.1 0.0.0.0 UG 100 0 0 eth1
0.0.0.0 192.168.1.1 0.0.0.0 UG 400 0 0 wlan0
169.254.0.0 0.0.0.0 255.255.0.0 U 1000 0 0 wlan0
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 wlan0
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1
192.168.122.0 0.0.0.0 255.255.255.0 U 0 0 0 virbr0

$ ifconfig


eth1      Link encap:Ethernet  Hardware Adresse 00:00:00:00:00:00
inet Adresse:192.168.1.156 Bcast:192.168.1.255 Maske:255.255.255.0
inet6-Adresse: 0000::0000:0000:0000:000/64 Gültigkeitsbereich:Verbindung
UP BROADCAST RUNNING MULTICAST MTU:1500 Metrik:1
RX-Pakete:1323958 Fehler:0 Verloren:0 Überläufe:0 Fenster:0
TX-Pakete:737638 Fehler:0 Verloren:0 Überläufe:0 Träger:0
Kollisionen:0 Sendewarteschlangenlänge:1000
RX-Bytes:1906104358 (1.9 GB) TX-Bytes:77951597 (77.9 MB)
lo Link encap:Lokale Schleife
inet Adresse:127.0.0.1 Maske:255.0.0.0
inet6-Adresse: ::1/128 Gültigkeitsbereich:Maschine
UP LOOPBACK RUNNING MTU:65536 Metrik:1
RX-Pakete:6453 Fehler:0 Verloren:0 Überläufe:0 Fenster:0
TX-Pakete:6453 Fehler:0 Verloren:0 Überläufe:0 Träger:0
Kollisionen:0 Sendewarteschlangenlänge:0
RX-Bytes:624567 (624.5 KB) TX-Bytes:624567 (624.5 KB)
virbr0 Link encap:Ethernet Hardware Adresse 00:00:00:00:00:00
inet Adresse:192.168.122.1 Bcast:192.168.122.255 Maske:255.255.255.0
UP BROADCAST MULTICAST MTU:1500 Metrik:1
RX-Pakete:0 Fehler:0 Verloren:0 Überläufe:0 Fenster:0
TX-Pakete:0 Fehler:0 Verloren:0 Überläufe:0 Träger:0
Kollisionen:0 Sendewarteschlangenlänge:0
RX-Bytes:0 (0.0 B) TX-Bytes:0 (0.0 B)
wlan0 Link encap:Ethernet Hardware Adresse 00:00:00:00:00:00
inet Adresse:192.168.1.115 Bcast:192.168.1.255 Maske:255.255.255.0
inet6-Adresse: 0000::0000:0000:0000:0000/64 Gültigkeitsbereich:Verbindung
UP BROADCAST RUNNING MULTICAST MTU:1500 Metrik:1
RX-Pakete:557 Fehler:0 Verloren:0 Überläufe:0 Fenster:0
TX-Pakete:551 Fehler:0 Verloren:0 Überläufe:0 Träger:0
Kollisionen:0 Sendewarteschlangenlänge:1000
RX-Bytes:188727 (188.7 KB) TX-Bytes:154595 (154.5 KB)

in the latest status no ping is going thorugh:


ping www.heise.de
PING www.heise.de (193.99.144.85) 56(84) bytes of data.
^C
--- www.heise.de ping statistics ---
5 packets transmitted, 0 received, 100% packet loss, time 4032ms

Ubuntu login loop 14.04.2




I just recently started using Ubuntu and have run into the first problem that I have not been able to solve with a few hours of web browsing so I thought I would ask here.



I'm currently experiencing the 14.04 login loop that other users have been reporting on these forums. To summarize the problem: After getting to the Ubuntu login screen and typing in my password, my PC briefly (for less than a second or two) looks like it's going to log in, but then just takes me back to the login screen. The guest account works fine though and lets me log in without a problem.
Additionally, I am using an AMD R9 270x which may be the cause of the loop (looking into that).



Now I know that this has been reported by several other users, and I have tried a few of the solutions presented, but it was while trying another solution today that I ran into something interesting.



Using Ctrl + Alt + F2 to get to the terminal I was hoping to follow the instructions provided here.
I made it to the section where I was supposed to enter





ls -ld ~/.*authority




and was met with the following error:




ls: cannot access /home/username/.*authority: no such file or directory





My question is twofold:
Can I fix this and if so where should I look on how to fix this?



On a possibly related note, whenever I access the terminal via the method above I always notice the following lines:




[ 84.456557] Mount of device (uid: 1090) not owned by requested user (uid: 1000)



[ 84.456611] Reading sb failed; rc = [-1]




mount: Operation not permitted




I am not sure if this is contributing to the error message above, or if this is a separate issue (or a non-issue).



It should be noted that a complete reinstall of Ubuntu is an option for me, but I'd rather learn to fix this problem.



P.S. apologies for any poor formatting, writing this on a tablet sucks (I miss Ctrl + C and Ctrl + V).




EDIT: Found a solution here: 14.04: login loops back on itself - ecryptfs



May be a problem with the graphics hardware...



Try the solutions described in the following link:



14.04 Freeze on Splash after Installing NVIDIA Drivers



Hope this help.


package management - Is universe checked by the Ubuntu Security team?

I have a generall question regarding the Ubuntu universe repository. Does anybody know if they are checked by Ubuntu Security Team? Will they move or delete packages if any problem is encountered especially security problem.


Thanks for help :)




I just want to know how much trust can I put in programs in Universe-Repositories. I do install only stuff from main.
If a package in the Universe will be found as dangerous - will Ubuntu Team delete it?
Thanks

Failure of release upgrade from 14.04 LTS to 16.04 LTS because of ubuntu-desktop package dependencies



Context: I attempted an upgrade from 14.04 LTS to 16.04 LTS, and everything went smoothly until just near the end when I got a message that although the upgrade had been installed, some errors had occurred. Doing a bit of digging, it seemed that the 'ubuntu-desktop' package had some unsolvable dependencies. Output of /var/log/dist-upgrade/apt.log:



Log time: 2017-01-09 10:30:59.192116
Starting pkgProblemResolver with broken count: 1

Starting 2 pkgProblemResolver with broken count: 1
Investigating (0) qtdeclarative5-ubuntu-ui-toolkit-plugin [ amd64 ] < none -> 1.3.1918+16.04.20160404-0ubuntu1 > ( libs )
Broken qtdeclarative5-ubuntu-ui-toolkit-plugin:amd64 Depends on qml-module-ubuntu-components [ amd64 ] < none -> 1.3.1918+16.04.20160404-0ubuntu1 > ( libs )
Considering qml-module-ubuntu-components:amd64 1 as a solution to qtdeclarative5-ubuntu-ui-toolkit-plugin:amd64 0
Holding Back qtdeclarative5-ubuntu-ui-toolkit-plugin:amd64 rather than change qml-module-ubuntu-components:amd64
Investigating (0) checkbox-converged [ amd64 ] < none -> 1.2.4-0ubuntu1 > ( oldlibs )
Broken checkbox-converged:amd64 Depends on qtdeclarative5-ubuntu-ui-toolkit-plugin [ amd64 ] < none -> 1.3.1918+16.04.20160404-0ubuntu1 > ( libs )
Considering qtdeclarative5-ubuntu-ui-toolkit-plugin:amd64 0 as a solution to checkbox-converged:amd64 -1
Holding Back checkbox-converged:amd64 rather than change qtdeclarative5-ubuntu-ui-toolkit-plugin:amd64
Investigating (1) checkbox-gui [ amd64 ] < none -> 1.2.4-0ubuntu1 > ( utils )

Broken checkbox-gui:amd64 Depends on checkbox-converged [ amd64 ] < none -> 1.2.4-0ubuntu1 > ( oldlibs )
Considering checkbox-converged:amd64 -1 as a solution to checkbox-gui:amd64 0
Holding Back checkbox-gui:amd64 rather than change checkbox-converged:amd64
Investigating (1) ubuntu-desktop [ amd64 ] < 1.361 > ( metapackages )
Broken ubuntu-desktop:amd64 Depends on checkbox-gui [ amd64 ] < none -> 1.2.4-0ubuntu1 > ( utils )
Considering checkbox-gui:amd64 0 as a solution to ubuntu-desktop:amd64 0
Removing ubuntu-desktop:amd64 rather than change checkbox-gui:amd64
Done
Starting pkgProblemResolver with broken count: 1
Starting 2 pkgProblemResolver with broken count: 1

Investigating (0) ubuntu-desktop [ amd64 ] < 1.361 > ( metapackages )
Broken ubuntu-desktop:amd64 Depends on checkbox-gui [ amd64 ] < none -> 1.2.4-0ubuntu1 > ( utils )
Considering checkbox-gui:amd64 1 as a solution to ubuntu-desktop:amd64 10000
Reinst Failed early because of qtdeclarative-abi-5-5-0:amd64
Reinst Failed because of libubuntugestures5:amd64
Reinst Failed because of qml-module-ubuntu-components:amd64
Reinst Failed because of qtdeclarative5-ubuntu-ui-toolkit-plugin:amd64
Reinst Failed because of checkbox-converged:amd64
Done
ERROR:root:failed to mark 'ubuntu-desktop' for install (E:Unable to correct problems, you have held broken packages.)



However, my system seemed to be doing fine on 16.04 so I ignored this for a little while. But recently, my laptop has been a bit buggy (system fonts not displaying upon re-wake and inability to shutdown properly following this), so I think it is best I try to get 'ubuntu-desktop' installed. I made some of my own attempts using synaptic and aptitude from the command line (instead of apt-get) to see if their smart dependency resolving could help, but to no avail. The output of sudo aptitude install ubuntu-desktop is very similar to the apt.log above [edit: included in full upon request in comments, and I have also included the result upon rejecting the first dependency resolution suggestion]



$ sudo aptitude install ubuntu-desktop
The following NEW packages will be installed:
checkbox-converged{a} checkbox-gui{a} libandroid-properties1{a} libhardware2{a} libhybris{a} libhybris-common1{a} libmedia1{a} liboxideqt-qmlplugin{a} liboxideqtcore0{ab} liboxideqtquick0{a}
libqt5organizer5{ab} libqt5quicktest5{a} libubuntugestures5{ab} libubuntutoolkit5{ab} libunity-webapps0{a} pyotherside{a} python3-aptdaemon.pkcompat{ab} qml-module-io-thp-pyotherside{a}
qml-module-qt-labs-folderlistmodel{a} qml-module-qt-labs-settings{a} qml-module-qtgraphicaleffects{a} qml-module-qtquick-layouts{a} qml-module-qttest{a} qml-module-ubuntu-components{ab}
qml-module-ubuntu-layouts{ab} qml-module-ubuntu-performancemetrics{a} qml-module-ubuntu-test{ab} qml-module-ubuntu-web{a} qmlscene{a} qtdeclarative5-dev-tools{a} qtdeclarative5-test-plugin{a}

qtdeclarative5-ubuntu-ui-toolkit-plugin{a} suru-icon-theme{a} ubuntu-desktop ubuntu-mobile-icons{a} unity-webapps-common{a} unity-webapps-qml{a} unity-webapps-service{a} webapp-container{ab}
webbrowser-app{ab}
0 packages upgraded, 40 newly installed, 0 to remove and 63 not upgraded.
Need to get 43.8 MB/44.2 MB of archives. After unpacking 161 MB will be used.
The following packages have unmet dependencies:
qml-module-ubuntu-test : Depends: qtbase-abi-5-5-1 which is a virtual package, provided by:
- libqt5core5a, but 5.6.1+dfsg-3ubuntu1~xenialoverlay1~4+fix1 is installed. - libqt5core5a, but 5.6.1+dfsg-3ubuntu1~xenialoverlay1~4+fix1 is installed.
liboxideqtcore0 : Depends: qtbase-abi-5-5-1 which is a virtual package, provided by:
- libqt5core5a, but 5.6.1+dfsg-3ubuntu1~xenialoverlay1~4+fix1 is installed. - libqt5core5a, but 5.6.1+dfsg-3ubuntu1~xenialoverlay1~4+fix1 is installed.
libqt5organizer5 : Depends: qtbase-abi-5-5-1 which is a virtual package, provided by:

- libqt5core5a, but 5.6.1+dfsg-3ubuntu1~xenialoverlay1~4+fix1 is installed. - libqt5core5a, but 5.6.1+dfsg-3ubuntu1~xenialoverlay1~4+fix1 is installed.
webapp-container : Depends: qtbase-abi-5-5-1 which is a virtual package, provided by:
- libqt5core5a, but 5.6.1+dfsg-3ubuntu1~xenialoverlay1~4+fix1 is installed. - libqt5core5a, but 5.6.1+dfsg-3ubuntu1~xenialoverlay1~4+fix1 is installed.
Depends: qtdeclarative-abi-5-5-0 which is a virtual package, provided by:
- libqt5qml5, but 5.6.1-4ubuntu1~xenialoverlay1~4 is installed.
qml-module-ubuntu-layouts : Depends: qtdeclarative-abi-5-5-0 which is a virtual package, provided by:
- libqt5qml5, but 5.6.1-4ubuntu1~xenialoverlay1~4 is installed.
python3-aptdaemon.pkcompat : Depends: python3-aptdaemon (= 1.1.1+bzr982-0ubuntu14) but 1.1.1+bzr982-0ubuntu16~ubuntu16.04~ppa1 is installed.
Conflicts: packagekit but 1.1.1-1ubuntu1~ubuntu16.04~ppa1 is installed.
Conflicts: packagekit:i386 but it is not going to be installed.

qml-module-ubuntu-components : Depends: qtbase-abi-5-5-1 which is a virtual package, provided by:
- libqt5core5a, but 5.6.1+dfsg-3ubuntu1~xenialoverlay1~4+fix1 is installed. - libqt5core5a, but 5.6.1+dfsg-3ubuntu1~xenialoverlay1~4+fix1 is installed.
Depends: qtdeclarative-abi-5-5-0 which is a virtual package, provided by:
- libqt5qml5, but 5.6.1-4ubuntu1~xenialoverlay1~4 is installed.
libubuntutoolkit5 : Depends: qtbase-abi-5-5-1 which is a virtual package, provided by:
- libqt5core5a, but 5.6.1+dfsg-3ubuntu1~xenialoverlay1~4+fix1 is installed. - libqt5core5a, but 5.6.1+dfsg-3ubuntu1~xenialoverlay1~4+fix1 is installed.
aptdaemon : Breaks: python3-aptdaemon.pkcompat but 1.1.1+bzr982-0ubuntu14 is to be installed.
webbrowser-app : Depends: qtbase-abi-5-5-1 which is a virtual package, provided by:
- libqt5core5a, but 5.6.1+dfsg-3ubuntu1~xenialoverlay1~4+fix1 is installed. - libqt5core5a, but 5.6.1+dfsg-3ubuntu1~xenialoverlay1~4+fix1 is installed.
Depends: qtdeclarative-abi-5-5-0 which is a virtual package, provided by:

- libqt5qml5, but 5.6.1-4ubuntu1~xenialoverlay1~4 is installed.
libubuntugestures5 : Depends: qtdeclarative-abi-5-5-0 which is a virtual package, provided by:
- libqt5qml5, but 5.6.1-4ubuntu1~xenialoverlay1~4 is installed.
Internal error: found 2 (choice -> promotion) mappings for a single choice.
Internal error: found 2 (choice -> promotion) mappings for a single choice.
The following actions will resolve these dependencies:

Keep the following packages at their current version:
1) checkbox-converged [Not Installed]
2) checkbox-gui [Not Installed]

3) liboxideqt-qmlplugin [Not Installed]
4) liboxideqtcore0 [Not Installed]
5) liboxideqtquick0 [Not Installed]
6) libqt5organizer5 [Not Installed]
7) libubuntugestures5 [Not Installed]
8) libubuntutoolkit5 [Not Installed]
9) libunity-webapps0 [Not Installed]
10) python3-aptdaemon.pkcompat [Not Installed]
11) qml-module-ubuntu-components [Not Installed]
12) qml-module-ubuntu-layouts [Not Installed]

13) qml-module-ubuntu-test [Not Installed]
14) qml-module-ubuntu-web [Not Installed]
15) qtdeclarative5-ubuntu-ui-toolkit-plugin [Not Installed]
16) ubuntu-desktop [Not Installed]
17) unity-webapps-common [Not Installed]
18) unity-webapps-qml [Not Installed]
19) unity-webapps-service [Not Installed]
20) webapp-container [Not Installed]
21) webbrowser-app [Not Installed]




Accept this solution? [Y/n/q/?] n
The following actions will resolve these dependencies:

Install the following packages:
1) liboxideqtcore0 [1.13.6-0ubuntu1 (xenial)]

Keep the following packages at their current version:
2) checkbox-converged [Not Installed]

3) checkbox-gui [Not Installed]
4) liboxideqt-qmlplugin [Not Installed]
5) liboxideqtquick0 [Not Installed]
6) libqt5organizer5 [Not Installed]
7) libubuntugestures5 [Not Installed]
8) libubuntutoolkit5 [Not Installed]
9) libunity-webapps0 [Not Installed]
10) python3-aptdaemon.pkcompat [Not Installed]
11) qml-module-ubuntu-components [Not Installed]
12) qml-module-ubuntu-layouts [Not Installed]

13) qml-module-ubuntu-test [Not Installed]
14) qml-module-ubuntu-web [Not Installed]
15) qtdeclarative5-ubuntu-ui-toolkit-plugin [Not Installed]
16) ubuntu-desktop [Not Installed]
17) unity-webapps-common [Not Installed]
18) unity-webapps-qml [Not Installed]
19) unity-webapps-service [Not Installed]
20) webapp-container [Not Installed]
21) webbrowser-app [Not Installed]


Downgrade the following packages:
22) oxideqt-codecs-extra [1.19.4-0ubuntu0.16.04.1 (now, xenial-security, xenial-updates) -> 1.13.6-0ubuntu1 (xenial)]



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


I think this could possibly be related to the launchpad question here https://answers.launchpad.net/ubuntu/+question/433070 which inevitably points out some conflict between qtbase-abi-5-5-1 and qtbase-abi-5-6-1 but I don't have the expertise to conclusively determine that. Given my output, it ceertainly seems like something is up with my Qt libraries (which I don't mess with).




For completeness:



$ lsb_release -crid
Distributor ID: Ubuntu
Description: Ubuntu 16.04.1 LTS
Release: 16.04
Codename: xenial


In case another Ubuntu internet wanderer stumbles across a similar issue to the above and is wondering if a fresh installation is necessary, then the answer for my case was yes. If you have a suitable backup then this really isn't too onerous. Just make sure you don't pollute your new installation with anything other than 'pure data'. I have started using VMs in which I install third party software in order to 'sandbox' them and isolate them from my host OS which I am attempting to keep as vanilla as possible so that upgrades go smoothly in the future.




See https://ubuntuforums.org/showthread.php?t=2350343 for some more in depth answers to my questions over at UbuntuForums.


sound - Ubuntu 13.10 issues with AMD driver & Audio

I am on Ubuntu 13.10, my graphics card is AMD Radeon HD4200. My sound card is a realtek HDMI. I've tried downloading and installing both drivers but nothing works.


Graphics card:


When I run the .run file (from http://www2.ati.com/drivers/legacy/amd-driver-installer-catalyst-13.1-legacy-linux-x86.x86_64.zip) I get an error. I check the fglrx-install log and it says this:


Check if system has the tools required for installation.
fglrx installation requires that the system have kernel headers. /lib/modules/3.11.0-12-generic/build/include/linux/version.h cannot be found on this system.
One or more tools required for installation cannot be found on the system. Install the required tools before installing the fglrx driver.
Optionally, run the installer with --force option to install without the tools.
Forcing install will disable AMD hardware acceleration and may make your system unstable. Not recommended.

Audio:


Since my first install I've had no audio. I've tried everything outlined in this site: http://itsfoss.com/fix-sound-ubuntu-1304-quick-tip/ to no avail. I've download the linux drivers from Realtek HDMI audio but have had no luck.

Monday, May 29, 2017

unity - Disable new keyboard shortcut for Show Desktop

After a recent upgrade of 14.04, an icon "Show Desktop" appeared in my launcher bar.



I removed it with Unity Tweak Tool.



A new keyboard shortcut was also setup: Super+D now also shows the desktop. This is annoying, since pressing Super+Alt+D in that order is not the same as pressing Alt+Super+D in that order. The former is erroneously interpreted as Super+D on my machine.




What I would like to do in a first step is to disable Super+D, but I cannot find where I can turn this off.



Here are the things I checked:




  • nothing in Settings > Keyboard

  • there is something in CompizConfig Settings Manager > Unity > General, but it is set to d. Disabling it does not disable d.

  • I disabled the shortcut in Unity Tweak Tool > Window Manager > Keyboard shortcuts > Show desktop

  • gconf-editor -> apps/compiz-1/plugins/showdesktop, I can't find anything about keyboard shortcut there


  • dconf-editor -> org/compiz/profiles/unity/plugins/unityshell -> show-desktop-key is Disabled



How do I disable the new d shortcut?

development - What is http://extras.ubuntu.com/ repository for?


What will this repository hold? What is policy for it?



Starting with Ubuntu 10.10, it's set to host new applications that aren't in the repositories at the time of release. The process and implementation are documented on the wiki.


15.10 - Nomodeset on intel boot with NVIDIA PRIME

Using Ubuntu 15.10 on Kernel 4.2



I have installed the closed-source NVIDIA drivers for my optimus laptop and nvidia-prime. It works perfectly with one slight problem: If I want to boot with intel graphics I need to add nomodeset to the boot line in GRUB. NVIDIA works fine without it, actually it won't boot correctly with nomodeset (black screen).



Is there any way to boot with intel graphics without nomodeset? Or do I have to do this every time I switch with prime-select?

Password protect application without using sudo

I have an unusual request. I need to put a password on an app but I need the app to run at the user level (not Sudo or SU). Is there an easy way to do this?

data recovery - Is there any way to unformat an external hard drive?




I accidentally formatted my external WD Elements hard disk.Is there any software to undo it.Or any way to just recover the photos in it.



Take a look at testdisk. It should recover most of the data if the drive is formatted "quickly".


how can I install nvidia drivers?

i have a laptop with Ubuntu 13.10 GNOME in it. GNOME Shell version is 3.10.1.
Here's what I got from running the following command:




lspci | grep VGA
00:02.0 VGA compatible controller: Intel Corporation 2nd Generation Core Processor
Family Integrated Graphics Controller (rev 09)
01:00.0 VGA compatible controller: NVIDIA Corporation GF108M [GeForce 610M] (rev a1).


In the Additional Drivers pane, I have listed just my wifi card driver. How can I install Nvidia drivers without bumblebee and via ppa?
I'm really confused about this. I would like to install the 319.17 drivers, which are the stable version for my graphics card. I don't know what to install (nvidia, nvidia-current, nvidia graphic 319, etc.)
could you tell me what I have to do to install nvidia 319,17 (or just 319) via ppa and without bumblebee, please!




I tried going to System Settings -> Software & Updates -> Additional Drivers to check for additional Nvidia drivers, but there weren't any Nvidia drivers in the list in the Additional Drivers tab. However when I checked in the Ubuntu Software Center, there were several different nvidia packages there, as shown in this screenshot: http://img22.imageshack.us/img22/6374/8w0l.png



I have already tried to install the nvidia-319 package from the Ubuntu Software Center, but after reboot Ubuntu did not load correctly. I could only see the mark of Ubuntu GNOME and nothing else, the desktop or GNOME Shell didn't even load. I also couldn't go to the login page. Then I removed the nvidia-319 package, and now I have my system back. Through all of this I have been using the default gdm package for the login screen display manager application.



I still don't know what Nvidia package to install and how to get the proprietary Nvidia graphics package to work on my system. Please help i don't know what to do. Thanks in advance!

grub2 - How to install Windows 7 after Ubuntu and dual boot?

I just installed Ubuntu, a full install removing the prior OS. I was forced to remove Windows 7 from my HP dv6 because of the max four partitions already being there. I didn't lose anything, all backed up. However, now I am looking to create another partition and install Windows 7 on it.


Do I also need some sort of boot loader that lets me choose which to boot?

14.04 - initctl: event failed after "login: *Starting CPU ..."

I am currently running Ubuntu 14.04 LTS and I recall the last thing i tried doing in terminal was to attempt removing packettracer which failed to start on my system. I followed the guide found in
How to uninstall PacketTracer

Sad thing is, after this the OS started freezing up and so I decided to reboot and all hell broke loose. The normal boot would get stuck with the blinker at the top left corner of the screen (not blinking). I tried booting with Advaned options and chose recovery mode. That's when it reported




Ubuntu 14.04.1 LTS nana-qhuacy-HP-Stream tty1
nana-qhuacy-HP-Stream login: *Starting CPU interrupts balancing daemon [OK]
initctl: Event failed
_


I've tried both answers in

How to repair installation, accidentally deleted /sbin/initctl
The second answer came close to working but also reported an error.

software installation - Wine won't install, Does not have valid release file

I'm trying to install wine on Ubuntu Mate 18.04. Whenever I add the repository I get the error message



Blockquote E: The repository 'http://ppa.launchpad.net/ubuntu-wine/ppa/ubuntu bionic Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.



It's given the same error message for a few other programs I've tried to install too. Is it because 18.04 is so new it doesn't officially support it yet?

12.04 - unable to mount windows partition


I can't mount the windows 8 partition. I have shut it down properly. When I try to open up in devices, it gives me the following error:


Unable to mount 413 GB Filesystem
Error mounting: mount exited with exit code 14: Windows is hibernated, refused to mount.
Failed to mount '/dev/sda3': Operation not permitted
The NTFS partition is hibernated. Please resume and shutdown Windows
properly, or mount the volume read-only with the 'ro' mount option, or
mount the volume read-write with the 'remove_hiberfile' mount option.
For example type on the command line:


  mount -t ntfs-3g -o remove_hiberfile /dev/sda3 /media/F866CF6F66CF2CE6

When I try the suggested command, I get:


 $LogFile version 2.0 is not supported.  (This driver supports version 1.1 only.)
$LogFile version 2.0 is not supported. (This driver supports version 1.1 only.)
Did not find any restart pages in $LogFile and it was not empty.
The file system wasn't safely closed on Windows. Fixing.
fuse: failed to access mountpoint /media/F866CF6F66CF2CE6: No such file or directory

Here is the output of blkid:


/dev/sda1: LABEL="Recovery" UUID="9AA42216A421F603" TYPE="ntfs"
/dev/sda2: LABEL="System Reserved" UUID="8E76CDA076CD8A03" TYPE="ntfs"
/dev/sda3: UUID="F866CF6F66CF2CE6" TYPE="ntfs"
/dev/sda5: UUID="a30b4dc5-5f9a-42fb-b0da-33d932472fa3" TYPE="ext4"
/dev/sda6: UUID="908d3819-a350-4a62-bd00-f7a2c3d494cb" TYPE="swap"
/dev/sr0: LABEL="Tablet_CD" TYPE="iso9660"
/dev/mmcblk0p1: LABEL="NIKON D90" UUID="6265-3236" TYPE="vfat"


You should have this directory already created and it should have proper permissions.


1.mkdir -p /media/F866CF6F66CF2CE6


and then do


2.sudo mount -t ntfs-3g -o remove_hiberfile,uid=,gid= /dev/sda3 /media/F866CF6F66CF2CE6


You can get your user id and group id from /etc/passwd file. This is how my user's entry looks like in my /etc/passwd file. First 1000 is my UID and the second 1000 is my GID.


thefourtheye:x:1000:1000:thefourtheye,,,:/home/thefourtheye:/bin/bash


If you dont want to execute the mount command each and every time you boot up, just add that command in /etc/rc.local file.


Sunday, May 28, 2017

12.04 - How to solve the error AFTER setup an ubuntu in my pc

I have windows 7 my computer. Now i tried to install ubuntu 12.04 in my pc. after installting the ubuntu pc suddenly took restart and after that i see this image on my screen, when the pc starts. is there any way to solve this? i can not go into my windows 7 too. enter image description here


EDIT:


now i have inserted the ubuntu dvd to set up again.i go to the boot option and i clicked F12 but same erroor appears again. enter image description here


EDIT AGAIN:


After using the "try ubuntu" i got this display enter image description here


I wrote the terminal as you suggested. Where to find the Ubuntu repair now/. ?

Which version of Ubuntu will work out of the box on Intel 82845G Board?

I am new to Linux. I have tried tried many Linux distro but none of them work on motherboard with Intel 82845g/gl graphics card. The only version that worked out of the box was Ubuntu 8.04.4 LTS. None of the latest release works on my dreaded PC.


How can I install i810 driver in 12.04?


Ubuntu developers please support old computers. What should I do with this old PC?

Which Ubuntu version to install (12.04 or 13.04)

I have windows 7 installed in my laptop. I have a lenovo G570 series laptop. I would like to install ubuntu. Can anyone tell me which version to install ( 32-bit or 64-bit and 12.04 or 13.04)

boot - How can I access my desktop from root shell prompt in recovery menu?



I updated graphics drivers today, which unfortunately causes a black screen at login. I want to access my desktop so I can copy certain files off the laptop while I figure out a fix, but I'm unable to open a terminal at login using Ctrl+Alt+F1.



Booting in recovery mode, I can select the "root" option to drop to a root shell prompt. From here, I can login to my user account through:



su --login myuser




...where I get a message that says "No directory, logging in with HOME=/". However, I cannot change directories to my Desktop, which should be located at /home/myuser/Desktop/. I can cd into the home directory, but it appears like there's nothing in it. Any thoughts on how to access my Desktop through the root shell?



As I know, when you boot into recovery mode, the home partition will not mount automatically.



First locate your home partition using commands like: lsblk or fdisk -l or even by having a look at /etc/fstab:



# grep '/home' /etc/fstab | grep ext



Then mount that partition at /home (in my case sda2 is my home partition).



# mount /dev/sda2 /home


And copy your file to your desired path, device.



Remember that you may need to remount or mount your partitions with rw option.


system installation - "Install alongside" option missing. How do I install Ubuntu beside Windows using "Something Else"?


Whenever I startup from the LinuxLive USB, and try to install Ubuntu 12.04, it only gives me two options instead of the usual 3 or 4. My options are "Replace Windows 7 with Ubuntu" and "Something Else". Whenever I go into "Something else", it looks extremely confusing. How do I install it side-by-side while using the "Something else" section? These are my partitions.


/dev/sda
/dev/sda1 ntfs (104Mb, System Required Partition)
/dev/sda2 ntfs (1000097Mb, Windows 7 Partition)

Or should I try reinstalling my installer on a CD rather than USB and maybe then it will have the "Install alongside" function?



Usually, Ubuntu's installer gives you the option to shrink your Windows partition and install alongside it. In your case, that option did not appear. This sometimes happens, and possible causes include:



  • Windows was hibernated rather then shut down.

  • Windows was not properly shut down. (Perhaps there was a power failure, or it bluescreened last time it ran?)

  • The Windows partition is damaged, and should be fixed with chkdsk in Windows.

  • The Windows partition is too full to be shrunk.

  • The Windows partition cannot be shrunk because the files in it are too badly fragmented, preventing them from being constrained to exist only within the new boundaries.

  • The Windows partition cannot be shrunk because of immovable files near the boundary.

  • The drive has been formatted as a "Windows Dynamic Disk" - Ubuntu can not be installed on a Dynamic Disk, you will need to convert the drive to a Basic Disk.


Since you're running Windows 7 (this also applies to Windows Vista, and to the corresponding Server versions, and will apply to Windows 8 as well), you can try to shrink the Windows partition using Windows, and then try again to install Ubuntu.


To do this, right click My Computer (sometimes just Computer) on the desktop or Start Menu in Windows and click Manage. Go to Disk Management.


(Alternatively, enter diskmgmt.msc into the text box in the Start Menu and press enter.)


Then you can use Disk Management to attempt to shrink your Windows partition. It will schedule the operation for when the system is shut down, so that even files that are in use when the system is running can be moved.


However, system files marked immovable still usually will not be moved in this way. So you may need to disable hibernation, and even disable swap (i.e., the page file), in order to make this succeed. (You can re-enable them afterwards.)


As Mitch says, it's advisable to ensure all backups of documents and other important files are current, before dynamically resizing a partition (no matter how you do it).


boot - After Nvidia driver install, LightDM won't start automatically

I did a clean install and after installing updates and drivers (Nvidia VGA) for a 460GTX, I'm shown a black screen with various Stopping/Starting messages. The last of these messages is different (this time it's "Stopping save kernel messages") every time I try and boot up the system. Logging into tty1 and doing sudo startx or start lightdm works. Nvidia drivers seem to be working.



Some things I've tried or noticed.





  • Problem seems to start after installing Nvidia drivers.

  • cat /etc/X11/default-display-manager spits out /usr/sbin/lightdm.

  • sudo dpkg-reconfigure lightdm gives me DPKG_MAINTSCRIPT_NAME and PACKAGE missing.

  • Also restored lightdm settings and reinstalled it.

Saturday, May 27, 2017

How do I upgrade from 10.04 to 10.10 in one command by using the terminal?





Possible Duplicate:
Upgrading from the command line?







Hi,



I dont want to use the update manager I just want to type one command in a terminal do you understand?
I am at 10.04 and want to upgrade to 10.10 (and on the 29 of april 11.04) in a terminal, can it be done?



$ sudo apt-get dist-upgrade
[sudo] password for alvar:
Reading package lists... Done
Building dependency tree

Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
alvar@alvars-laptop:~$


check this:



Upgrading from the command line?


12.04 - With this way to set up Ubuntu, would I have to set up Windows again on my machine with RAID-10?

If I have a Windows 7 64-bit system with RAID-10 and OCZ 128GB Synapse Cache drive for caching, will I have to totally redo my setup if I do a total install of Ubuntu 12.04?

Can Ubuntu touch run Linux programs?




I'm interested in Ubuntu Touch.



I'm wondering if it can run Linux programs like Steam or LibreOffice?
Some Android mobile users installed Ubuntu 13.04 on their devices, and they can run Linux programs.



tl;dr: It's not possible to run Steam and Libreoffice currently, but it eventually might be.



The goal of Ubuntu Touch is convergence - the same app being able to run on different devices, like computers and phones.




While Ubuntu Touch is Linux-based, graphical programs currently won't work on it unless they're written specifically to run on it. That may change in the future, however.



Valve, the owner of Steam, hasn't said anything about supporting Ubuntu Touch yet. Any Steam support will have to come from them.



LibreOffice is open source, so you could port it Ubuntu Touch. That being said, it would be quite an undertaking. Again, there currently aren't any plans to do so.



As far as LibreOffice is concerned, there will be alternatives to it. It'll take a while, though, before it and Steam are ported (if they ever are).


Adjusting resolution for individual Wine programs


How can I specify the resolution of a program to 800*600, and for other programs to full screen or other specific resolutions?



You could try a way i was searching for when i wanted to use different programs an the same time or even the same program in multiple windows:


Lets assume you have World of Warcraft installed in /media/fun/wow
Lets also assume you have Left 4 Dead 2 installed in /media/fun/l4d2
Lets last assume you installed yesterday Ventrillo and it went to .wine in your home folder.


Do the following if you want to have them all open at the same time


FOR WOW:



  1. export WINEPREFIX='/media/fun/wow'

  2. wine --prefix '/media/fun/wow'

  3. wine explorer /desktop=WOW,1024x768 "/media/fun/wow/Wow.exe" -opengl -console


FOR LEFT 4 DEAD 2:



  1. export WINEPREFIX='/media/fun/l4d2'

  2. wine --prefix '/media/fun/l4d2'

  3. wine explorer /desktop=L4D2,1024x768 "/media/fun/l4d2/left4dead2.exe"


LAST VENTRILLO



  1. Just run it from the wine menu. Applications>Wine>Programs...


You will have all 3 open and visibly active. Here is the trick:


You EXPORT the wine configuration to the games folders using the export WINEPREFIX
You them run the wine --prefix so it makes the new wine configuration in that directory.
Then run the game in its own wine configuration.


The wine explorer options used above are (In the case of WOW):


wine explorer - Opens the explorer


/desktop=X,Y - It creates a virtual desktop where X is the name of the desktop and Y is the resolution. For example WOW,1024x768


" " - After the variables for /desktop the stuff inside the double quotes is the executable. You do not need to have it inside quotes but just in case you have spaces you will need them.


-opengl -console - This are only parameters that WOW uses. You can put the parameters for a game after all has been typed as you can see in the above example for wow.


This took me almost a whole year to find and use since sometimes users wanted 2 or 3 opened programs at the same time. And since i teach free software i had to really dig into this.


After doing the above you can just create a LAUNCHER in the desktop pointing at the executable with the wine explorer /desktop line.


Other tips and tricks are:


Using Regedit


Just type regedit in the terminal. It will open the wine regedit version for you to edit anything related to the registry.


Unistall App


Just type wine uninstaller in the terminal. It will open an app similar to the Add & Remove of Windows.


Hope it helps anybody.


Wine


 For more information see How to install and configure Wine?


versions - Install an old OpenShot release in Ubuntu 18.04

OpenShot is a free video editing software. In 2017, developpers updated it in a QT version. Recently I moved to Ubuntu 18.04 instead of 16.04 so I had no choice and had to use the new version of OpenShot. But, this version is paradoxaly slow and not precise at all. So can you help me to downgrade to the former version 1.4.3(for instance) instead of 2.x version(the new one) ?



I tested many alternative like Shotcut, Flowblade or Kdenlive but I prefere the old OpenShot. I know that what I ask for can create an unstable system but I really need it for school and if I can't install it on 18.04 I have to downgrade to 16.04.




Thanks by advance guys ! :) And sorry for my poor English, I'm French.



EDIT : I read this : Openshot Video Editor 1.4.3-1.2 - How to stop it auto updating to v 2.43 etc in 18.04 LTS but the person who sent the question didn't explained how he installed OpenShot and the dependances.

apt - How to version control of Kernel ABI versions and matching package repositories?

I need to be able to version control a Ubuntu LTS kernel version at the ABI version level with the matching packages for my current and future installations of a given kernel.


Given the Ubuntu kernel version numbering scheme:


[base kernel version]-[ABI number].[upload number]-[flavour]


Part 1


How long is a given kernel ABI version of the kernel supported for with LTS releases? For example, when creating an Amazon AWS 16.04 image, the kernel is currently 4.4.0-36. In general, how long should I expect the -36 version to remain available? By available I mean I can obtain the image from an official Ubuntu download site and install packages for that OS/kernel version without having to downgrade packages.


Part 2


Assuming I want to be able to support a given ABI level of the Kernel for longer than the ABI version is available on the internet, what do I need to do to mirror the package repositories so I can install packages on my systems? Are there any guides on how to create a local mirror of packages so I can maintain a version controlled OS baseline against a given kernel ABI? I understand that once the kernel has been superseded, it is difficult to take a current image and downgrade it to a desired baseline as the package repository baselines are not archived as such.

networking - Wireless problems Lenovo Thinkpad E580

I recently got a Thinkpad and installed Ubuntu 18.04. I am having trouble connecting to wifi but ethernet works great. I have looked around but have not found any solutions that work.


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


########## wireless info START ##########
Report from: 05 Dec 2018 16:57 PST -0800
Booted last: 05 Dec 2018 00:00 PST -0800
Script from: 22 Oct 2018 03:34 UTC +0000
##### release ###########################
Distributor ID: Ubuntu
Description: Ubuntu 18.04.1 LTS
Release: 18.04
Codename: bionic
##### kernel ############################
Linux 4.15.0-42-generic #45-Ubuntu SMP Thu Nov 15 19:32:57 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
Parameters: ro, quiet, splash, vt.handoff=1
##### desktop ###########################
Ubuntu
##### lspci #############################
03:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 10)
Subsystem: Lenovo RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [17aa:5068]
Kernel driver in use: r8169
05:00.0 Network controller [0280]: Realtek Semiconductor Co., Ltd. Device [10ec:b822]
Subsystem: Lenovo Device [17aa:b024]
Kernel driver in use: r8822be
##### lsusb #############################
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 004: ID 06cb:00a2 Synaptics, Inc.
Bus 001 Device 003: ID 04f2:b604 Chicony Electronics Co., Ltd
Bus 001 Device 005: ID 0bda:b023 Realtek Semiconductor Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
##### PCMCIA card info ##################
##### rfkill ############################
1: phy0: Wireless LAN
Soft blocked: yes
Hard blocked: no
2: tpacpi_bluetooth_sw: Bluetooth
Soft blocked: yes
Hard blocked: no
4: hci0: Bluetooth
Soft blocked: no
Hard blocked: no
##### secure boot #######################
SecureBoot disabled
##### lsmod #############################
rtl_pci 32768 0
rtlwifi 77824 2 rtl_pci,btcoexist
mac80211 778240 3 rtl_pci,rtlwifi,r8822be
cfg80211 622592 3 rtlwifi,mac80211,r8822be
wmi_bmof 16384 0
intel_wmi_thunderbolt 16384 0
wmi 24576 2 intel_wmi_thunderbolt,wmi_bmof
##### interfaces ########################
[/etc/network/interfaces]
auto lo
iface lo inet loopback
##### ifconfig ##########################
1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
link/loopback brd
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: enp3s0: mtu 1500 qdisc fq_codel state UP group default qlen 1000
link/ether brd
inet 192.168.1.23/24 brd 192.168.1.255 scope global dynamic noprefixroute enp3s0
valid_lft 86038sec preferred_lft 86038sec
inet6 fe80::5eb6:3bf7:e789:f962/64 scope link noprefixroute
valid_lft forever preferred_lft forever
3: wlp5s0: mtu 1500 qdisc noop state DOWN group default qlen 1000
link/ether brd
##### iwconfig ##########################
lo no wireless extensions.
enp3s0 no wireless extensions.
wlp5s0 IEEE 802.11 ESSID:off/any
Mode:Managed Access Point: Not-Associated Tx-Power=off
Retry short limit:7 RTS thr=2347 B Fragment thr:off
Power Management:on
##### route #############################
default via 192.168.1.1 dev enp3s0 proto dhcp metric 100
169.254.0.0/16 dev enp3s0 scope link metric 1000
192.168.1.0/24 dev enp3s0 proto kernel scope link src 192.168.1.23 metric 100
##### resolv.conf #######################
[777 root '/etc/resolv.conf' -> '../run/systemd/resolve/stub-resolv.conf']
nameserver 127.0.0.53
search Home
##### network managers ##################
Installed:
NetworkManager
Running:
root 785 1 0 16:16 ? 00:00:00 /usr/sbin/NetworkManager --no-daemon
##### NetworkManager info ###############
GENERAL.DEVICE: enp3s0
GENERAL.TYPE: ethernet
GENERAL.NM-TYPE: NMDeviceEthernet
GENERAL.VENDOR: Realtek Semiconductor Co., Ltd.
GENERAL.PRODUCT: RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
GENERAL.DRIVER: r8169
GENERAL.DRIVER-VERSION: 2.3LK-NAPI
GENERAL.FIRMWARE-VERSION: --
GENERAL.HWADDR:
GENERAL.MTU: 1500
GENERAL.STATE: 100 (connected)
GENERAL.REASON: 0 (No reason given)
GENERAL.UDI: /sys/devices/pci0000:00/0000:00:1c.4/0000:03:00.0/net/enp3s0
GENERAL.IP-IFACE: enp3s0
GENERAL.IS-SOFTWARE: no
GENERAL.NM-MANAGED: yes
GENERAL.AUTOCONNECT: yes
GENERAL.FIRMWARE-MISSING: no
GENERAL.NM-PLUGIN-MISSING: no
GENERAL.PHYS-PORT-ID: --
GENERAL.CONNECTION: Wired connection 1
GENERAL.CON-UUID: 8ba9a365-d4c1-3e09-8ccc-633c5c49df8c
GENERAL.CON-PATH: /org/freedesktop/NetworkManager/ActiveConnection/1
GENERAL.METERED: no (guessed)
CAPABILITIES.CARRIER-DETECT: yes
CAPABILITIES.SPEED: 100 Mb/s
CAPABILITIES.IS-SOFTWARE: no
CAPABILITIES.SRIOV: no
WIRED-PROPERTIES.CARRIER: on
IP4.ADDRESS[1]: 192.168.1.23/24
IP4.GATEWAY: 192.168.1.1
IP4.ROUTE[1]: dst = 0.0.0.0/0, nh = 192.168.1.1, mt = 100
IP4.ROUTE[2]: dst = 192.168.1.0/24, nh = 0.0.0.0, mt = 100
IP4.ROUTE[3]: dst = 169.254.0.0/16, nh = 0.0.0.0, mt = 1000
IP4.DNS[1]: 192.168.1.1
IP4.DOMAIN[1]: Home
DHCP4.OPTION[1]: requested_host_name = 1
DHCP4.OPTION[2]: requested_domain_search = 1
DHCP4.OPTION[3]: network_number = 192.168.1.0
DHCP4.OPTION[4]: requested_time_offset = 1
DHCP4.OPTION[5]: requested_domain_name = 1
DHCP4.OPTION[6]: requested_rfc3442_classless_static_routes = 1
DHCP4.OPTION[7]: requested_broadcast_address = 1
DHCP4.OPTION[8]: domain_name = Home
DHCP4.OPTION[9]: requested_netbios_scope = 1
DHCP4.OPTION[10]: next_server = 0.0.0.0
DHCP4.OPTION[11]: broadcast_address = 192.168.1.255
DHCP4.OPTION[12]: requested_interface_mtu = 1
DHCP4.OPTION[13]: requested_subnet_mask = 1
DHCP4.OPTION[14]: dhcp_lease_time = 86400
DHCP4.OPTION[15]: dhcp_message_type = 5
DHCP4.OPTION[16]: ip_address = 192.168.1.23
DHCP4.OPTION[17]: subnet_mask = 255.255.255.0
DHCP4.OPTION[18]: requested_wpad = 1
DHCP4.OPTION[19]: routers = 192.168.1.1
DHCP4.OPTION[20]: requested_domain_name_servers = 1
DHCP4.OPTION[21]: requested_ntp_servers = 1
DHCP4.OPTION[22]: expiry = 1544143902
DHCP4.OPTION[23]: requested_netbios_name_servers = 1
DHCP4.OPTION[24]: requested_routers = 1
DHCP4.OPTION[25]: requested_ms_classless_static_routes = 1
DHCP4.OPTION[26]: requested_static_routes = 1
DHCP4.OPTION[27]: domain_name_servers = 192.168.1.1
DHCP4.OPTION[28]: dhcp_server_identifier = 192.168.1.1
IP6.ADDRESS[1]: fe80::5eb6:3bf7:e789:f962/64
IP6.GATEWAY: --
IP6.ROUTE[1]: dst = ff00::/8, nh = ::, mt = 256, table=255
IP6.ROUTE[2]: dst = fe80::/64, nh = ::, mt = 256
IP6.ROUTE[3]: dst = fe80::/64, nh = ::, mt = 100
CONNECTIONS.AVAILABLE-CONNECTION-PATHS: /org/freedesktop/NetworkManager/Settings/{7}
CONNECTIONS.AVAILABLE-CONNECTIONS[1]: 8ba9a365-d4c1-3e09-8ccc-633c5c49df8c | Wired connection 1
GENERAL.DEVICE: wlp5s0
GENERAL.TYPE: wifi
GENERAL.NM-TYPE: NMDeviceWifi
GENERAL.VENDOR: Realtek Semiconductor Co., Ltd.
GENERAL.PRODUCT: --
GENERAL.DRIVER: r8822be
GENERAL.DRIVER-VERSION: 4.15.0-42-generic
GENERAL.FIRMWARE-VERSION: N/A
GENERAL.HWADDR:
GENERAL.MTU: 1500
GENERAL.STATE: 20 (unavailable)
GENERAL.REASON: 2 (Device is now managed)
GENERAL.UDI: /sys/devices/pci0000:00/0000:00:1d.2/0000:05:00.0/net/wlp5s0
GENERAL.IP-IFACE: --
GENERAL.IS-SOFTWARE: no
GENERAL.NM-MANAGED: yes
GENERAL.AUTOCONNECT: yes
GENERAL.FIRMWARE-MISSING: no
GENERAL.NM-PLUGIN-MISSING: no
GENERAL.PHYS-PORT-ID: --
GENERAL.CONNECTION: --
GENERAL.CON-UUID: --
GENERAL.CON-PATH: --
GENERAL.METERED: unknown
CAPABILITIES.CARRIER-DETECT: no
CAPABILITIES.SPEED: unknown
CAPABILITIES.IS-SOFTWARE: no
CAPABILITIES.SRIOV: no
WIFI-PROPERTIES.WEP: yes
WIFI-PROPERTIES.WPA: yes
WIFI-PROPERTIES.WPA2: yes
WIFI-PROPERTIES.TKIP: yes
WIFI-PROPERTIES.CCMP: yes
WIFI-PROPERTIES.AP: yes
WIFI-PROPERTIES.ADHOC: yes
WIFI-PROPERTIES.2GHZ: yes
WIFI-PROPERTIES.5GHZ: yes
CONNECTIONS.AVAILABLE-CONNECTION-PATHS: --
SSID BSSID MODE CHAN FREQ RATE SIGNAL BARS SECURITY ACTIVE IN-USE
##### NetworkManager.state ##############
[main]
NetworkingEnabled=true
WirelessEnabled=false
WWANEnabled=true
##### NetworkManager config #############
[[/etc/NetworkManager/conf.d/default-wifi-powersave-on.conf]]
[connection]
wifi.powersave = 3
[[/etc/NetworkManager/NetworkManager.conf]]
[main]
plugins=ifupdown,keyfile
[ifupdown]
managed=false
[device]
wifi.scan-rand-mac-address=no
[[/usr/lib/NetworkManager/conf.d/10-dns-resolved.conf]]
[main]
dns=systemd-resolved
[[/usr/lib/NetworkManager/conf.d/10-globally-managed-devices.conf]]
[keyfile]
unmanaged-devices=*,except:type:wifi,except:type:wwan
[[/usr/lib/NetworkManager/conf.d/20-connectivity-ubuntu.conf]]
[connectivity]
uri=http://connectivity-check.ubuntu.com/
[[/usr/lib/NetworkManager/conf.d/no-mac-addr-change.conf]]
[device-mac-addr-change-wifi]
match-device=driver:rtl8723bs,driver:rtl8189es,driver:r8188eu,driver:8188eu,driver:eagle_sdio,driver:wl
wifi.scan-rand-mac-address=no
wifi.cloned-mac-address=preserve
ethernet.cloned-mac-address=preserve
##### NetworkManager profiles ###########
[[/etc/NetworkManager/system-connections/eduroam]] (600 root)
[connection] id=eduroam | type=wifi | permissions=
[wifi] mac-address= | mac-address-blacklist= | ssid=eduroam
[802-1x] ca-cert=/home/alec/Desktop/ca.der
[ipv4] method=auto
[ipv6] method=auto
[[/etc/NetworkManager/system-connections/Orca]] (600 root)
[connection] id=Orca | type=wifi | permissions=
[wifi] mac-address= | mac-address-blacklist= | ssid=Orca
[ipv4] method=auto
[ipv6] method=auto
[[/etc/NetworkManager/system-connections/UCSC-Guest]] (600 root)
[connection] id=UCSC-Guest | type=wifi | permissions=
[wifi] mac-address= | mac-address-blacklist= | ssid=UCSC-Guest
[ipv4] method=auto
[ipv6] method=auto
[[/etc/NetworkManager/system-connections/DIRECT-41-HP DeskJet 3700 series]] (600 root)
[connection] id=DIRECT-41-HP DeskJet 3700 series | type=wifi | permissions=
[wifi] mac-address= | mac-address-blacklist= | ssid=DIRECT-41-HP DeskJet 3700 series
[ipv4] method=auto
[ipv6] method=auto
[[/etc/NetworkManager/system-connections/Orca_5GEXT]] (600 root)
[connection] id=Orca_5GEXT | type=wifi | permissions=
[wifi] mac-address= | mac-address-blacklist= | ssid=Orca_5GEXT
[ipv4] method=auto
[ipv6] method=auto
[[/etc/NetworkManager/system-connections/iPhone]] (600 root)
[connection] id=iPhone | type=wifi | permissions=
[wifi] mac-address= | mac-address-blacklist= | ssid=iPhone
[ipv4] method=auto
[ipv6] method=auto
##### Netplan config ####################
[/etc/netplan/01-network-manager-all.yaml]
network:
version: 2
renderer: NetworkManager
##### iw reg get ########################
Region: America/Los_Angeles (based on set time zone)
global
country 00: DFS-UNSET
(2402 - 2472 @ 40), (N/A, 20), (N/A)
(2457 - 2482 @ 20), (N/A, 20), (N/A), AUTO-BW, PASSIVE-SCAN
(2474 - 2494 @ 20), (N/A, 20), (N/A), NO-OFDM, PASSIVE-SCAN
(5170 - 5250 @ 80), (N/A, 20), (N/A), AUTO-BW, PASSIVE-SCAN
(5250 - 5330 @ 80), (N/A, 20), (0 ms), DFS, AUTO-BW, PASSIVE-SCAN
(5490 - 5730 @ 160), (N/A, 20), (0 ms), DFS, PASSIVE-SCAN
(5735 - 5835 @ 80), (N/A, 20), (N/A), PASSIVE-SCAN
(57240 - 63720 @ 2160), (N/A, 0), (N/A)
##### iwlist channels ###################
lo no frequency information.
enp3s0 no frequency information.
wlp5s0 32 channels in total; available frequencies :
Channel 01 : 2.412 GHz
Channel 02 : 2.417 GHz
Channel 03 : 2.422 GHz
Channel 04 : 2.427 GHz
Channel 05 : 2.432 GHz
Channel 06 : 2.437 GHz
Channel 07 : 2.442 GHz
Channel 08 : 2.447 GHz
Channel 09 : 2.452 GHz
Channel 10 : 2.457 GHz
Channel 11 : 2.462 GHz
Channel 12 : 2.467 GHz
Channel 13 : 2.472 GHz
Channel 36 : 5.18 GHz
Channel 40 : 5.2 GHz
Channel 44 : 5.22 GHz
Channel 48 : 5.24 GHz
Channel 52 : 5.26 GHz
Channel 56 : 5.28 GHz
Channel 60 : 5.3 GHz
Channel 64 : 5.32 GHz
Channel 100 : 5.5 GHz
Channel 104 : 5.52 GHz
Channel 108 : 5.54 GHz
Channel 112 : 5.56 GHz
Channel 116 : 5.58 GHz
Channel 120 : 5.6 GHz
Channel 124 : 5.62 GHz
Channel 128 : 5.64 GHz
Channel 132 : 5.66 GHz
Channel 136 : 5.68 GHz
Channel 140 : 5.7 GHz
##### iwlist scan #######################
lo Interface doesn't support scanning.
enp3s0 Interface doesn't support scanning.
wlp5s0 Interface doesn't support scanning : Network is down
##### module infos ######################
[rtl_pci]
filename: /lib/modules/4.15.0-42-generic/kernel/drivers/net/wireless/realtek/rtlwifi/rtl_pci.ko
description: PCI basic driver for rtlwifi
license: GPL
author: Larry Finger
author: Realtek WlanFAE
author: lizhaoming
srcversion: D883A6C5A490FBE0CDF1B6A
depends: mac80211,rtlwifi
retpoline: Y
intree: Y
name: rtl_pci
vermagic: 4.15.0-42-generic SMP mod_unload
signat: PKCS#7
signer:
sig_key:
sig_hashalgo: md4
[rtlwifi]
filename: /lib/modules/4.15.0-42-generic/kernel/drivers/net/wireless/realtek/rtlwifi/rtlwifi.ko
description: Realtek 802.11n PCI wireless core
license: GPL
author: Larry Finger
author: Realtek WlanFAE
author: lizhaoming
srcversion: 12BDF0F9FFC2ACFD3465C5A
depends: mac80211,cfg80211
retpoline: Y
intree: Y
name: rtlwifi
vermagic: 4.15.0-42-generic SMP mod_unload
signat: PKCS#7
signer:
sig_key:
sig_hashalgo: md4
[mac80211]
filename: /lib/modules/4.15.0-42-generic/kernel/net/mac80211/mac80211.ko
license: GPL
description: IEEE 802.11 subsystem
srcversion: 10B87D6D65DDD085D1326C9
depends: cfg80211
retpoline: Y
intree: Y
name: mac80211
vermagic: 4.15.0-42-generic SMP mod_unload
signat: PKCS#7
signer:
sig_key:
sig_hashalgo: md4
parm: minstrel_vht_only:Use only VHT rates when VHT is supported by sta. (bool)
parm: max_nullfunc_tries:Maximum nullfunc tx tries before disconnecting (reason 4). (int)
parm: max_probe_tries:Maximum probe tries before disconnecting (reason 4). (int)
parm: beacon_loss_count:Number of beacon intervals before we decide beacon was lost. (int)
parm: probe_wait_ms:Maximum time(ms) to wait for probe response before disconnecting (reason 4). (int)
parm: ieee80211_default_rc_algo:Default rate control algorithm for mac80211 to use (charp)
[cfg80211]
filename: /lib/modules/4.15.0-42-generic/kernel/net/wireless/cfg80211.ko
description: wireless configuration support
license: GPL
author: Johannes Berg
srcversion: 62FD05DCC5AEEA290640C3D
depends:
retpoline: Y
intree: Y
name: cfg80211
vermagic: 4.15.0-42-generic SMP mod_unload
signat: PKCS#7
signer:
sig_key:
sig_hashalgo: md4
parm: bss_entries_limit:limit to number of scan BSS entries (per wiphy, default 1000) (int)
parm: ieee80211_regdom:IEEE 802.11 regulatory domain code (charp)
parm: cfg80211_disable_40mhz_24ghz:Disable 40MHz support in the 2.4GHz band (bool)
##### module parameters #################
[mac80211]
beacon_loss_count: 7
ieee80211_default_rc_algo: minstrel_ht
max_nullfunc_tries: 2
max_probe_tries: 5
minstrel_vht_only: Y
probe_wait_ms: 500
[cfg80211]
bss_entries_limit: 1000
cfg80211_disable_40mhz_24ghz: N
ieee80211_regdom: 00
##### /etc/modules ######################
##### modprobe options ##################
[/etc/modprobe.d/amd64-microcode-blacklist.conf]
blacklist microcode
[/etc/modprobe.d/blacklist-ath_pci.conf]
blacklist ath_pci
[/etc/modprobe.d/blacklist.conf]
blacklist evbug
blacklist usbmouse
blacklist usbkbd
blacklist eepro100
blacklist de4x5
blacklist eth1394
blacklist snd_intel8x0m
blacklist snd_aw2
blacklist prism54
blacklist bcm43xx
blacklist garmin_gps
blacklist asus_acpi
blacklist snd_pcsp
blacklist pcspkr
blacklist amd76x_edac
[/etc/modprobe.d/blacklist-rare-network.conf]
alias net-pf-3 off
alias net-pf-6 off
alias net-pf-9 off
alias net-pf-11 off
alias net-pf-12 off
alias net-pf-19 off
alias net-pf-21 off
alias net-pf-36 off
[/etc/modprobe.d/intel-microcode-blacklist.conf]
blacklist microcode
[/etc/modprobe.d/iwlwifi.conf]
remove iwlwifi \
(/sbin/lsmod | grep -o -e ^iwlmvm -e ^iwldvm -e ^iwlwifi | xargs /sbin/rmmod) \
&& /sbin/modprobe -r mac80211
[/etc/modprobe.d/r8822be.conf]
options r8822be aspm=0
[/etc/modprobe.d/rtl8822be.conf]
options rtl8822be fwlps=0
##### rc.local ##########################
grep: /etc/rc.local: No such file or directory
##### pm-utils ##########################
##### udev rules ########################
##### dmesg #############################
[ 14.475967] Bluetooth: hci0: rtl: examining hci_ver=07 hci_rev=000b lmp_ver=07 lmp_subver=8822
[ 14.475982] Bluetooth: hci0: rtl: loading rtl_bt/rtl8822b_config.bin
[ 14.476163] Bluetooth: hci0: rtl: loading rtl_bt/rtl8822b_fw.bin
[ 137.598486] r8822be: rtlwifi: wireless switch is on
[ 137.646691] r8169 0000:03:00.0 enp3s0: link down
[ 138.828323] Bluetooth: hci0: rtl: examining hci_ver=07 hci_rev=000b lmp_ver=07 lmp_subver=8822
[ 138.828330] Bluetooth: hci0: rtl: loading rtl_bt/rtl8822b_config.bin
[ 138.828354] Bluetooth: hci0: rtl: loading rtl_bt/rtl8822b_fw.bin
[ 139.066312] IPv6: ADDRCONF(NETDEV_UP): enp3s0: link is not ready
[ 139.110259] r8169 0000:03:00.0 enp3s0: link down
[ 139.110318] IPv6: ADDRCONF(NETDEV_UP): enp3s0: link is not ready
[ 139.110937] IPv6: ADDRCONF(NETDEV_UP): wlp5s0: link is not ready
[ 141.489614] r8169 0000:03:00.0 enp3s0: link up
[ 141.489634] IPv6: ADDRCONF(NETDEV_CHANGE): enp3s0: link becomes ready
########## wireless info END ############

Friday, May 26, 2017

drivers - Unable to fix Ubuntu 16.04 “The system is running in low-graphics mode” error

In an attempt to set up an external monitor, I have screwed up my Ubuntu 16.04 Dell laptop. Seems like I messed up the graphic drivers and now I am stuck at the “The system is running in low-graphics mode” screen with no option to proceed after booting.



I can only run commands from a terminal by pressing CTRL+ALT+F1.



Output of lspci command says VGA compatible controller: Advanced Micro Devices. Inc [AMD/ATI] Mars [Radeon HD 8730] (rev ff)




Here is what I have tried so far:




  • I tried to fix the issue by following this step-by-step guide. However, no luck. Especially, sudo apt-get install fglrx yield no such package.

  • I also followed the official guidelines by AMD. No luck here as well. No noticeable errors as such. But, the error message "system is running in low-graphics mode” still persists after reboot.

  • As a last resort, I tried to upgrade to 18.04 LTS through a bootable flash USB. To my bad luck, there is no option to upgrade, and it shows only install alongside or erase/reinstall.



I have spent almost 8 hours trying to debug now, and all my trials are getting useless and redundant. Any help to guide me in the right direction would be much appreciated. What am I missing basically?

resize - How to increase size of /boot partition using gparted


please help me here
i am always getting messages saying no free space available in boot partition.


enter image description here


output of ls -alh /boot


total 79M
drwxr-xr-x 4 root root 1.0K Sep 7 20:53 .
drwxr-xr-x 23 root root 4.0K Sep 5 18:38 ..
-rw-r--r-- 1 root root 1.2M May 8 16:14 abi-3.16.0-38-generic
-rw-r--r-- 1 root root 1.3M Aug 17 12:10 abi-4.1.6-040106-generic
-rw-r--r-- 1 root root 168K May 8 16:14 config-3.16.0-38-generic
-rw-r--r-- 1 root root 177K Aug 17 12:10 config-4.1.6-040106-generic
drwxr-xr-x 5 root root 1.0K Sep 5 14:23 grub
-rw-r--r-- 1 root root 28M Aug 22 22:49 initrd.img-3.16.0-38-generic
-rw-r--r-- 1 root root 28M Aug 24 00:35 initrd.img-4.1.6-040106-generic
drwx------ 2 root root 12K Aug 12 12:52 lost+found
-rw-r--r-- 1 root root 173K Mar 12 2014 memtest86+.bin
-rw-r--r-- 1 root root 174K Mar 12 2014 memtest86+.elf
-rw-r--r-- 1 root root 175K Mar 12 2014 memtest86+_multiboot.bin
-rw------- 1 root root 3.4M May 8 16:14 System.map-3.16.0-38-generic
-rw------- 1 root root 3.6M Aug 17 12:10 System.map-4.1.6-040106-generic
-rw-r--r-- 1 root root 6.1M Jun 28 01:15 vmlinuz-3.16.0-38-generic
-rw------- 1 root root 6.4M Aug 17 12:10 vmlinuz-4.1.6-040106-generic

output of sudo parted -l


Model: ATA ST9500325AS (scsi)
Disk /dev/sda: 500GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Number Start End Size Type File system Flags
1 1049kB 106MB 105MB primary ntfs hidden
2 106MB 140GB 140GB primary ntfs boot
3 140GB 471GB 331GB primary ntfs
4 471GB 500GB 29.5GB extended lba
5 471GB 493GB 22.0GB logical ext4
6 493GB 499GB 6536MB logical linux-swap(v1)
7 499GB 500GB 910MB logical ext4

@Pilot6



You need to boot from Ubuntu LiveUSB first.


Your sda5, sda6 and sda7 partitions are inside the extended sda4 partition.


You will need to extend sda4, then move sda5 and sda6 left, then extend sda7.


You will also need to re-install grub, because start sector of your /boot partition will change. It can be done from LiveUSB by


sudo mount /dev/sda5 /mnt
sudo mount /dev/sda7 /mnt/boot
sudo chroot /mnt
sudo grub-install /dev/sda
exit

apt - dpkg: error processing procps (--configure)

How can I fix this issue?



user@server:/var/lib/dpkg/info$ sudo apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages have been kept back:
landscape-common mysql-client-5.5 mysql-server-5.5 mysql-server-core-5.5 nginx nginx-common nginx-full
The following packages will be upgraded:
procps udev
2 upgraded, 0 newly installed, 0 to remove and 7 not upgraded.
14 not fully installed or removed.
Need to get 552 kB of archives.
After this operation, 1,024 B of additional disk space will be used.
Do you want to continue [Y/n]? Y
Get:1 http://nl.archive.ubuntu.com/ubuntu/ precise-updates/main procps amd64 1:3.2.8-11ubuntu6.4 [233 kB]
Get:2 http://nl.archive.ubuntu.com/ubuntu/ precise-updates/main udev amd64 175-0ubuntu9.9 [319 kB]
Fetched 552 kB in 2s (247 kB/s)
Setting up procps (1:3.2.8-11ubuntu6.3) ...
start: Job failed to start
invoke-rc.d: initscript procps, action "start" failed.
dpkg: error processing procps (--configure):
subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of udev:
udev depends on procps; however:
Package procps is not configured yet.
dpkg: error processing udev (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of dmsetup:
dmsetup depends on udev (>> 141-2); however:
Package udev is not configured yet.
dpkg: error processing dmsetup (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of plymouth:
plymouth depends on udev (>= 166-0ubuntu4); however:
Package udev is not configured yet.
dpkg: error processing plymouth (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of mountall:
mountall depends on udev; however:
Package udev is not configured yet.
mountall depends on plymouth; however:
Package plymouth is not configured yet.
dpkg: error processing mountall (--configure):
dependency problems - leaving unconfiguredNo apport report written because the error message indicates its a followup error from a previous failure.
No apport report written because the error message indicates its a followup error from a previous failure.
No apport report written because MaxReports is reached already
No apport report written because MaxReports is reached already
No apport report written because MaxReports is reached already
No apport report written because MaxReports is reached already
No apport report written because MaxReports is reached already
No apport report written because MaxReports is reached already
No apport report written because MaxReports is reached already
No apport report written because MaxReports is reached already
No apport report written because MaxReports is reached already
No apport report written because MaxReports is reached already
No apport report written because MaxReports is reached already
dpkg: dependency problems prevent configuration of plymouth-theme-ubuntu-text:
plymouth-theme-ubuntu-text depends on plymouth; however:
Package plymouth is not configured yet.
dpkg: error processing plymouth-theme-ubuntu-text (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of ppp:
ppp depends on procps; however:
Package procps is not configured yet.
dpkg: error processing ppp (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libdevmapper1.02.1:
libdevmapper1.02.1 depends on dmsetup (>= 2:1.02.48-4ubuntu7.4); however:
Package dmsetup is not configured yet.
dpkg: error processing libdevmapper1.02.1 (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libparted0debian1:
libparted0debian1 depends on libdevmapper1.02.1 (>= 2:1.02.36); however:
Package libdevmapper1.02.1 is not configured yet.
dpkg: error processing libparted0debian1 (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of parted:
parted depends on libparted0debian1 (>= 2.2-1); however:
Package libparted0debian1 is not configured yet.
dpkg: error processing parted (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of grub-common:
grub-common depends on libdevmapper1.02.1 (>= 2:1.02.36); however:
Package libdevmapper1.02.1 is not configured yet.
dpkg: error processing grub-common (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of grub2-common:
grub2-common depends on grub-common (= 1.99-21ubuntu3.17); however:
Package grub-common is not configured yet.
dpkg: error processing grub2-common (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of grub-pc-bin:
grub-pc-bin depends on libdevmapper1.02.1 (>= 2:1.02.36); however:
Package libdevmapper1.02.1 is not configured yet.
grub-pc-bin depends on grub-common (= 1.99-21ubuntu3.17); however:
Package grub-common is not configured yet.
dpkg: error processing grub-pc-bin (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of grub-pc:
grub-pc depends on grub-common; however:
Package grub-common is not configured yet.
grub-pc depends on grub2-common (= 1.99-21ubuntu3.17); however:
Package grub2-common is not configured yet.
grub-pc depends on grub-pc-bin (= 1.99-21ubuntu3.17); however:
Package grub-pc-bin is not configured yet.
dpkg: error processing grub-pc (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
procps
udev
dmsetup
plymouth
mountall
plymouth-theme-ubuntu-text
ppp
libdevmapper1.02.1
libparted0debian1
parted
grub-common
grub2-common
grub-pc-bin
grub-pc
E: Sub-process /usr/bin/dpkg returned an error code (1)
user@enn:/var/lib/dpkg/info$ sudo dpkg --remove --force-remove-reinstreq procps
dpkg: dependency problems prevent removal of procps:
ubuntu-minimal depends on procps.
dpkg: error processing procps (--remove):
dependency problems - not removing
Errors were encountered while processing:
procps

I tried these commands. No one helped me.


apt-get update
apt-get install -f
apt-get autoremove -f
dpkg-reconfigure -a
dpkg --remove --force-remove-reinstreq procps

kernel - Why an I2C device driver doesn't appear in /sys/bus/i2c/drivers?


Starting from an image ubuntu-18.04.2-preinstalled-server-arm64+raspi3.img.xz (https://wiki.ubuntu.com/ARM/RaspberryPi) I'm trying to add the ad525x_dpot I2C driver which was not enabled during the build of the kernel.


I've taken ad525x_dpot.c, ad525x_dpot.h, ad525x_dpot-i2c.c from the corresponding linux source to make a DKMS package.


dkms.conf:


PACKAGE_NAME="ad525x_dpot"
PACKAGE_VERSION="0.10"
MAKE[0]="make all KVERSION=$kernelver"
CLEAN="make clean"
BUILT_MODULE_NAME[0]="ad525x_dpot"
DEST_MODULE_LOCATION[0]="/kernel/drivers/misc"
AUTOINSTALL="yes"

Makefile:


obj-m := ad525x_dpot.o ad525x_dpot-i2c.o
KVERSION := $(shell uname -r)
all:
$(MAKE) -C /lib/modules/$(KVERSION)/build M=$(PWD) modules
clean:
$(MAKE) -C /lib/modules/$(KVERSION)/build M=$(PWD) clean

The module ad525x_dpot can be loaded by modprobe and it shows in lsmod but not in /sys/bus/i2c/drivers. There are some warnings in syslog.


ad525x_dpot: loading out-of-tree module taints kernel.
ad525x_dpot: module verification failed: signature and/or required key missing - tainting kernel

Why doesn't it show in /sys/bus/i2c/drivers?


I've tried to load a similar kernel module ad799x that comes with the kernel. It appears in /sys/bus/i2c/drivers/ad799x (no devices are defined to use the ad799x, so it's not related to the device tree or the board config).



Had to split ad525x_dpot.o and ad525x_dpot-i2c.o into two DKMS packages to have two separate kernel modules.


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