I am using Ubuntu 16.04 LTS. I was updating the software on my PC through the Software Updater. It downloaded all the packages but unfortunately during the installation process it stopped responding from the last 3 hours. Please suggest the safest possible way to get out of this situation.
Saprativa Bhattacharjee's questions
I have recently installed the YouCompleteMe plugin for vim through Vundle. It works really well for Python. Problem starts when I import the third party library nltk. For example if I do the following import:
from nltk.corpus import brown
And then type something like this:
print brown.
I get the following suggestions:
However in idle as well as bpython I get the correct suggestions:
How can I make it work in YouCompleteMe?
Although Ubuntu 16.04 release notes mention that:
The default VIM package has been built against python3 instead of python2.
Yet after I installed vim with the following command:
sudo apt-get install vim
And checked:
vim --version
It showed:
-python
-python3
Is it a bug? How do I get vim with Python support?
I am running Ubuntu 15.04 on my laptop. Is it possible to upgrade directly to 16.04?
I know this sounds similar but my problem is unique. I have a new HP Pavilion 15-p073TX NB PC. Recently I installed Ubuntu 14.04.2 but was not able to start WIFI. I searched a bit and got some answers here and here. But nothing seems to be working till now.
lspci -vvnn | grep -A 9 Network
gave me the following:
08:00.0 Network controller [0280]: Broadcom Corporation BCM43142 802.11b/g/n [14e4:4365] (rev 01)
Subsystem: Hewlett-Packard Company Device [103c:2230]
Control: I/O- Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Interrupt: pin A routed to IRQ 18
Region 0: Memory at b5500000 (64-bit, non-prefetchable) [size=32K]
Capabilities: <access denied>
sudo apt-get install bcmwl-kernel-source
gives me the following error:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
dkms fakeroot libfakeroot
Suggested packages:
dpkg-dev debhelper
The following NEW packages will be installed:
bcmwl-kernel-source dkms fakeroot libfakeroot
0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/1,271 kB of archives.
After this operation, 6,564 kB of additional disk space will be used.
Do you want to continue? [Y/n] Y
Selecting previously unselected package dkms.
(Reading database ... 163826 files and directories currently installed.)
Preparing to unpack .../dkms_2.2.0.3-1.1ubuntu5.14.04_all.deb ...
Unpacking dkms (2.2.0.3-1.1ubuntu5.14.04) ...
Selecting previously unselected package bcmwl-kernel-source.
Preparing to unpack .../bcmwl-kernel-source_6.30.223.141+bdcom-0ubuntu2_amd64.deb ...
Unpacking bcmwl-kernel-source (6.30.223.141+bdcom-0ubuntu2) ...
Selecting previously unselected package libfakeroot:amd64.
Preparing to unpack .../libfakeroot_1.20-3ubuntu2_amd64.deb ...
Unpacking libfakeroot:amd64 (1.20-3ubuntu2) ...
Selecting previously unselected package fakeroot.
Preparing to unpack .../fakeroot_1.20-3ubuntu2_amd64.deb ...
Unpacking fakeroot (1.20-3ubuntu2) ...
Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
Setting up dkms (2.2.0.3-1.1ubuntu5.14.04) ...
Setting up bcmwl-kernel-source (6.30.223.141+bdcom-0ubuntu2) ...
Loading new bcmwl-6.30.223.141+bdcom DKMS files...
First Installation: checking all kernels...
Building only for 3.16.0-30-generic
Building for architecture x86_64
Building initial module for 3.16.0-30-generic
Error! Bad return status for module build on kernel: 3.16.0-30-generic (x86_64)
Consult /var/lib/dkms/bcmwl/6.30.223.141+bdcom/build/make.log for more information.
modprobe: FATAL: Module wl not found.
update-initramfs: deferring update (trigger activated)
Setting up libfakeroot:amd64 (1.20-3ubuntu2) ...
Setting up fakeroot (1.20-3ubuntu2) ...
update-alternatives: using /usr/bin/fakeroot-sysv to provide /usr/bin/fakeroot (fakeroot) in auto mode
Processing triggers for initramfs-tools (0.103ubuntu4.2) ...
update-initramfs: Generating /boot/initrd.img-3.16.0-30-generic
I am new to vi, actually I have started learning vi from today and I have got stuck at the behavior of the backspace key.
Actually when I fired up vi on my Ubuntu 12.04 for the first time my backspace key was working normally but after that it has started behaving strangely. Whenever I press the backspace in the insert mode it just moves one place to the left instead of erasing the character.
How can I get back the default backspace functionality? Please note that I don't want to install vim or set nocompatibilty.