Saturday, May 27, 2017

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