Saturday, March 31, 2018

14.04 - How to reenable unity - tried the standard stuff





While going through my compiz settings, I noticed, that windows decarator is off, and I clicked to turn it on - then clicked yes, before I've read that this will turn off unity.



I tried reenabling it using steps like here:





and some others, but this doesn't help.



Unity supported command confirms, that it is supported on my machine. My system is Ubuntu 14.04. Currently I can see that Unity is enabled in ccsm settings (and decorator disabled), but I have no launcher, no upper bar, no side bar, no windows title bar, nothing. Just the desktop.
Of course I tried restaring my computer, pluging it off and on again, etc ;)




I also tried to have fun with compiz and the same happened. Here is what I did:



If you see your desktop like I did, then you can make a link that opens a Gnome Terminal.



From within the Console mode(Ctrl+Alt+F1), do the following:



cd ~/Desktop/
ln -s /usr/bin/gnome-terminal gnome-terminal



In the Console mode you still won't be able to enable Unity, unless there is a way to point to the Xserver. [Edit] oh "export DISPLAY=:0" does just that, but you noted that the answers in the linked question didn't help, so starting to doubt if this answer will.



IIRC, from the desktop launched Gnome Terminal do:



unity-reset

Ubuntu 11.10 will only start in restore mode



I have Ubuntu 11.10, with gnome, running on a Dell Inspiron 620.




It was running fine until the power company came around and turned off the power to change a meter. Now, when I try to boot it up, it will only start in restore mode. I tried



Check all file systems


and it reported that it had fixed the hardware clock. I then ran



Repair broken packages



and it ran to completion but it still will not start in graphics mode. Whe I try to start it up in normal mode, the screen just remains black.




When the terminal started up in restore mode, I entered



sudo service lightdm start


That got stuck on



Stopping Userspace bootsplash



I tried to fix this with the following procedure



sudo apt-get clean
sudo apt-get autoclean
sudo apt-get autoremove
sudo dpkg-reconfigure -phigh -a

reboot



I went into recovery mode again and entered



sudo service lightdm start


It failed on:
- Stopping automatic crash report generation
- Starting deferred execution scheduler
- starting save kernel messages

- Starting load fallback graphics devices



This time it did get past "Stopping Userspace bootsplash"



Now it hangs on



Starting CUPS printing spooler/server


Fixed the problem. Got the restore mode terminal and entered




sudo service gdm start


This brought up Gnome which I much prefer to Unity.


display - could you possibly install a malicious program using apt-get?




While installing various programs, I get asked to download some packages that are required for it to work. Some of them are well known applications, where the read-me document is trustworthy whereas some other lesser known programs are the ones where I guess I need to be careful.




So, I'm trying to install a game known as Tennis Elbow, where the read me doc says:




On Ubuntu 14.10 64bit, the following instructions have been reported to work:



sudo apt-get install libcurl3:i386
sudo apt-get install libvorbisfile3:i386




So, how can we know if the files I download are safe or not?



I know this seems like more than one question, but I basically need this game to work, and so I just need know if I it is safe to install the packages mentioned or not.



Is it possible to install a malicious program using apt-get? Sure, but that requires there to be malicious software in your computer's listed repositories. That can happen:




  • If you have added a malicious repository, it can provide malicious packages. PPAs, for example could contain malicious code. They can also provide any package (they could provide an ubuntu-minimal replacement that would infect everybody.


  • But not just PPAs. Software in the main repositories could be infected, either because the Ubuntu maintainer is hacked or disgruntled, or because the Debian upstream maintainer is hacked or disgruntled, or that the original developer is hacked or disgruntled and that bad code filters through uncaught.



  • Somebody has somehow managed to intercept your network traffic and has also somehow managed to either sign a packages' manifest or alter a binary package without altering the package checksum.



    Both are incredibly unlikely unless you've been adding random keys, but even then it's hard to do without being at least partially on-site. It's a pretty complicated hack to pull off.




But is any of that it likely here? Is it telling you to install malicious software?



No. It's just asking you to install 32bit versions of these libraries because it uses them but was compiled against their 32bit versions.



But what are they? libcurl3 is used for downloading things within an application and libvorbisfile3 is for decoding Vorbis-encoded audio.




The :i386 on the end of the package name means. It's specifying the architecture. In Ubuntu's case, we use i386 to mean 32bit, it's actually compiled with i686 processor instructions.






If you're going to be paranoid about anything, downloading and running a closed source binary from a random website is the real danger here.


server - How to winstall Nvidia drivers to use CUDA without also installing X11?

I have a headless box that will be used for CUDA computing. I installed Ubuntu server 16.04.1 but when I try to install the nVidia drivers via apt-get it also wants me to install X11 and other GUI components.



How can I just install the driver and CUDA libs without installing X11 and friends?



Ideally without downloading the run file directly from nVidia. I'd like to use debian packages if possible.

64 bit - Why does Ubuntu URL include AMD when I choose 64bit and not AMD64bit?

First, I have Intel processors and a PC workstation.



I "Choose my Flavor" of "64bit" and get the following iso possibility with the URL having "&version=14.04.1&architecture=amd64":



"ubuntu-14.04.1-desktop-amd64.iso"



If I choose AMD64, I get the following iso possibility with URL having &version=14.04.1&architecture=amd64+mac:



ubuntu-14.04.1-desktop-amd64+mac.iso




As mentioned, I have Intel and PC and not AMD or Mac on the workstation I want to download onto.

Can't boot from Live CD nor Pendrive

I have Ubuntu 14.04 and I want to install Windows 8 along side it. But I can't boot from any live CD or pendrive. My laptop goes into network boot and says- insert proper boot device and press any key.


My laptop is Asus x54c.

Intel Wireless 8260 not detected by Ubuntu 19.04 on Dell E7450 Laptop

Problem # Not able to detect Wifi Adapter – Intel 8260 – Ubuntu 19.04



Hardware #



Laptop Dell Latitude E7450 – BIOS version 21 – Service Tag # 789YD72
4GB + 4GB = 8 GB DDR3L
Core i7 5600U @ 2.6 Ghz – Processor id 306d4
Wifi # Intel Wireless 8260NGW




Notes #




  1. Aeroplane Mode disabled using Dell Hardware keys – Fn + PrtScr.



https://ibb.co/6wPY0N3




  1. rfkill list




    sysadmin@AMMZ-LT-E7450-001: $ rfkill list
    0: dell-wifi: Wireless LAN
    Soft-blocked: no
    Hard blocked: no


  2. sudo dmidecode | grep -i version




https://ibb.co/Bn5qw2r



Version: A21
Version: Not Specified
Version:

Version: Not Specified
Version: Intel(R) Core(TM) i7-5600U CPU @ 2.60GHz
Name: Firmware Version Info
SBDS Version: 1.0



  1. sudo dmidecode | grep -i dell




https://ibb.co/dQ15T46



Vendor: Dell Inc.
Manufacturer: Dell Inc.
Manufacturer: Dell Inc.
Manufacturer: Dell Inc.
String 1: Dell System
String 4: 12[www.dell.com]
Name: DELL 5K1GW57
DELL




  1. sudo tee /etc/modprobe.d/dell.conf <<< "blacklist dell_laptop"



https://ibb.co/qs6DXq6



blacklist dell_laptop




  1. sudo modprobe iwlwifi
    dmesg | grep iwl



https://ibb.co/82Rvn5v



https://ibb.co/FVqwDVD




[    3.030949] iwlwifi 0000:02:00.0: enabling device (0000 -> 0002)
[ 3.048420] iwlwifi 0000:02:00.0: loaded firmware version 36.9f0a2d68.0 op_mode iwlmvm
[ 3.090015] iwlwifi 0000:02:00.0: Detected Intel(R) Dual Band Wireless AC 8260, REV=0x208
[ 5.173958] iwlwifi 0000:02:00.0: Error sending NVM_ACCESS_CMD: time out after 2000ms.
[ 5.173962] iwlwifi 0000:02:00.0: Current CMD queue read_ptr 0 write_ptr 1
[ 5.174220] iwlwifi 0000:02:00.0: Microcode SW error detected. Restarting 0x2000000.
[ 5.174239] iwlwifi 0000:02:00.0: Start IWL Error Log Dump:
[ 5.174242] iwlwifi 0000:02:00.0: Status: 0x00000100, count: 6
[ 5.174244] iwlwifi 0000:02:00.0: Loaded firmware version: 36.9f0a2d68.0
[ 5.174246] iwlwifi 0000:02:00.0: 0x00000084 | NMI_INTERRUPT_UNKNOWN

[ 5.174248] iwlwifi 0000:02:00.0: 0x000002F0 | trm_hw_status0
[ 5.174250] iwlwifi 0000:02:00.0: 0x00000000 | trm_hw_status1
[ 5.174252] iwlwifi 0000:02:00.0: 0x00012526 | branchlink2
[ 5.174253] iwlwifi 0000:02:00.0: 0x0001C2B6 | interruptlink1
[ 5.174255] iwlwifi 0000:02:00.0: 0x000136AA | interruptlink2
[ 5.174257] iwlwifi 0000:02:00.0: 0x00000000 | data1
[ 5.174259] iwlwifi 0000:02:00.0: 0x00000080 | data2
[ 5.174261] iwlwifi 0000:02:00.0: 0x07030000 | data3
[ 5.174262] iwlwifi 0000:02:00.0: 0x00000000 | beacon time
[ 5.174264] iwlwifi 0000:02:00.0: 0x001EBBCE | tsf low

[ 5.174266] iwlwifi 0000:02:00.0: 0x00000000 | tsf hi
[ 5.174268] iwlwifi 0000:02:00.0: 0x00000000 | time gp1
[ 5.174269] iwlwifi 0000:02:00.0: 0x001EBBCF | time gp2
[ 5.174271] iwlwifi 0000:02:00.0: 0x00000009 | uCode revision type
[ 5.174273] iwlwifi 0000:02:00.0: 0x00000024 | uCode version major
[ 5.174275] iwlwifi 0000:02:00.0: 0x9F0A2D68 | uCode version minor
[ 5.174276] iwlwifi 0000:02:00.0: 0x00000201 | hw version
[ 5.174278] iwlwifi 0000:02:00.0: 0x00489008 | board version
[ 5.174280] iwlwifi 0000:02:00.0: 0x00000000 | hcmd
[ 5.174281] iwlwifi 0000:02:00.0: 0x00022080 | isr0

[ 5.174282] iwlwifi 0000:02:00.0: 0x00000000 | isr1
[ 5.174284] iwlwifi 0000:02:00.0: 0x08001802 | isr2
[ 5.174286] iwlwifi 0000:02:00.0: 0x004000C0 | isr3
[ 5.174287] iwlwifi 0000:02:00.0: 0x00000000 | isr4
[ 5.174288] iwlwifi 0000:02:00.0: 0x00000000 | last cmd Id
[ 5.174290] iwlwifi 0000:02:00.0: 0x00000000 | wait_event
[ 5.174292] iwlwifi 0000:02:00.0: 0x00006B98 | l2p_control
[ 5.174293] iwlwifi 0000:02:00.0: 0x00000000 | l2p_duration
[ 5.174295] iwlwifi 0000:02:00.0: 0x00000000 | l2p_mhvalid
[ 5.174296] iwlwifi 0000:02:00.0: 0x00000000 | l2p_addr_match

[ 5.174298] iwlwifi 0000:02:00.0: 0x0000000F | lmpm_pmg_sel
[ 5.174300] iwlwifi 0000:02:00.0: 0x04120134 | timestamp
[ 5.174301] iwlwifi 0000:02:00.0: 0x00340008 | flow_handler
[ 5.174441] iwlwifi 0000:02:00.0: 0x00000000 | ADVANCED_SYSASSERT
[ 5.174443] iwlwifi 0000:02:00.0: 0x00000000 | umac branchlink1
[ 5.174445] iwlwifi 0000:02:00.0: 0x00000000 | umac branchlink2
[ 5.174446] iwlwifi 0000:02:00.0: 0x00000000 | umac interruptlink1
[ 5.174448] iwlwifi 0000:02:00.0: 0x00000000 | umac interruptlink2
[ 5.174449] iwlwifi 0000:02:00.0: 0x00000000 | umac data1
[ 5.174451] iwlwifi 0000:02:00.0: 0x00000000 | umac data2

[ 5.174453] iwlwifi 0000:02:00.0: 0x00000000 | umac data3
[ 5.174455] iwlwifi 0000:02:00.0: 0x00000000 | umac major
[ 5.174456] iwlwifi 0000:02:00.0: 0x00000000 | umac minor
[ 5.174458] iwlwifi 0000:02:00.0: 0x00000000 | frame pointer
[ 5.174460] iwlwifi 0000:02:00.0: 0x00000000 | stack pointer
[ 5.174461] iwlwifi 0000:02:00.0: 0x00000000 | last host cmd
[ 5.174463] iwlwifi 0000:02:00.0: 0x00000000 | isr status reg
[ 5.174467] iwlwifi 0000:02:00.0: OTP is blank
[ 5.174470] iwlwifi 0000:02:00.0: Can't parse empty family 8000 OTP/NVM sections
[ 5.174472] iwlwifi 0000:02:00.0: Failed to read NVM: -61

[ 5.192190] iwlwifi 0000:02:00.0: Failed to run INIT ucode: -61



  1. Explorer view of lib/firmware



https://ibb.co/fFYWQgn





  1. (




Reading database ... 208667 files and directories currently installed.) Preparing to unpack linux-headers-5.3.1-050301_5.3.1-050301.201909210632_all.deb ... Unpacking linux-headers-5.3.1-050301 (5.3.1-050301.201909210632) over (5.3.1-050301.201909210632) ... Preparing to unpack linux-headers-5.3.1-050301-generic_5.3.1-050301.201909210632_amd64.deb ... Unpacking linux-headers-5.3.1-050301-generic (5.3.1-050301.201909210632) over (5.3.1-050301.201909210632) ... Preparing to unpack linux-image-unsigned-5.3.1-050301-generic_5.3.1-050301.201909210632_amd64.deb ... Unpacking linux-image-unsigned-5.3.1-050301-generic (5.3.1-050301.201909210632) over (5.3.1-050301.201909210632) ... Preparing to unpack linux-modules-5.3.1-050301-generic_5.3.1-050301.201909210632_amd64.deb ... Unpacking linux-modules-5.3.1-050301-generic (5.3.1-050301.201909210632) over (5.3.1-050301.201909210632) ... Setting up linux-headers-5.3.1-050301 (5.3.1-050301.201909210632) ... Setting up linux-headers-5.3.1-050301-generic (5.3.1-050301.201909210632) ... Setting up linux-modules-5.3.1-050301-generic (5.3.1-050301.201909210632) ... Setting up linux-image-unsigned-5.3.1-050301-generic (5.3.1-050301.201909210632) ... Processing triggers for linux-image-unsigned-5.3.1-050301-generic (5.3.1-050301.201909210632) ... /etc/kernel/postinst.d/initramfs-tools: update-initramfs: Generating /boot/initrd.img-5.3.1-050301-generic I: The initramfs will attempt to resume from /dev/dm-1 I: (/dev/mapper/ubuntu--vg-swap_1) I: Set the RESUME variable to override this. /etc/kernel/postinst.d/zz-update-grub: Sourcing file /etc/default/grub' Sourcing file/etc/default/grub.d/init-select.cfg' Generating grub configuration file ... Found linux image: /boot/vmlinuz-5.3.1-050301-generic Found initrd image: /boot/initrd.img-5.3.1-050301-generic Found linux image: /boot/vmlinuz-5.0.0-29-generic Found initrd image: /boot/initrd.img-5.0.0-29-generic Found linux image: /boot/vmlinuz-5.0.0-13-generic Found initrd image: /boot/initrd.img-5.0.0-13-generic Adding boot menu entry for EFI firmware configuration done




  1. Copied Location Link




Please Help. Thanks!





  1. @K7AAY - still the same.



11.



1a98-INTEL-EDK2-2-tplg.bin  ctfw-3.2.1.1.bin             isci                     iwlwifi-7265D-12.ucode             libertas                       ql2200_fw.bin             tehuti
3com ctfw-3.2.3.0.bin iwlwifi-1000-5.ucode iwlwifi-7265D-13.ucode liquidio ql2300_fw.bin ti_3410.fw
a300_pfp.fw ctfw-3.2.5.1.bin iwlwifi-100-5.ucode iwlwifi-7265D-16.ucode matrox ql2322_fw.bin ti_5052.fw

a300_pm4.fw ctspeq.bin iwlwifi-105-6.ucode iwlwifi-7265D-17.ucode mediatek ql2400_fw.bin ti-connectivity
acenic cxgb3 iwlwifi-135-6.ucode iwlwifi-7265D-21.ucode mellanox ql2500_fw.bin tigon
adaptec cxgb4 iwlwifi-2000-6.ucode iwlwifi-7265D-22.ucode microchip qlogic ti-keystone
advansys dpaa2 iwlwifi-2030-6.ucode iwlwifi-7265D-27.ucode moxa r128 tlg2300_firmware.bin
agere_ap_fw.bin dsp56k iwlwifi-3160-10.ucode iwlwifi-7265D-29.ucode mrvl r8a779x_usb3_v1.dlmem ttusb-budget
agere_sta_fw.bin dvb-fe-xc4000-1.4.1.fw iwlwifi-3160-12.ucode iwlwifi-8000C-13.ucode mt7601u.bin r8a779x_usb3_v2.dlmem ueagle-atm
amd dvb-fe-xc5000-1.6.114.fw iwlwifi-3160-13.ucode iwlwifi-8000C-16.ucode mt7650.bin r8a779x_usb3_v3.dlmem usbdux
amdgpu dvb-fe-xc5000c-4.1.30.7.fw iwlwifi-3160-16.ucode iwlwifi-8000C-21.ucode mt7662.bin radeon usbduxfast_firmware.bin
amd-ucode dvb-usb-dib0700-1.20.fw iwlwifi-3160-17.ucode iwlwifi-8000C-22.ucode mt7662_rom_patch.bin README usbdux_firmware.bin
ar3k dvb-usb-it9135-01.fw iwlwifi-3160-7.ucode iwlwifi-8000C-27.ucode mts_cdma.fw regulatory.db usbduxsigma_firmware.bin

ar5523.bin dvb-usb-it9135-02.fw iwlwifi-3160-8.ucode iwlwifi-8000C-31.ucode mts_edge.fw regulatory.db.p7s v4l-cx231xx-avcore-01.fw
as102_data1_st.hex dvb-usb-terratec-h5-drxk.fw iwlwifi-3160-9.ucode iwlwifi-8000C-34.ucode mts_gsm.fw rockchip v4l-cx23418-apu.fw
as102_data2_st.hex e100 iwlwifi-3168-21.ucode iwlwifi-8000C-36.ucode mts_mt9234mu.fw rp2.fw v4l-cx23418-cpu.fw
asihpi ea iwlwifi-3168-22.ucode iwlwifi-8265-21.ucode mts_mt9234zba.fw rsi v4l-cx23418-dig.fw
ath10k edgeport iwlwifi-3168-27.ucode iwlwifi-8265-22.ucode mwl8k rsi_91x.fw v4l-cx2341x-dec.fw
ath3k-1.fw emi26 iwlwifi-3168-29.ucode iwlwifi-8265-27.ucode mwlwifi rt2561.bin v4l-cx2341x-enc.fw
ath6k emi62 iwlwifi-3945-2.ucode iwlwifi-8265-31.ucode myri10ge_eth_big_z8e.dat rt2561s.bin v4l-cx2341x-init.mpg
ath9k_htc ene-ub6250 iwlwifi-4965-2.ucode iwlwifi-8265-34.ucode myri10ge_ethp_big_z8e.dat rt2661.bin v4l-cx23885-avcore-01.fw
atmel ess iwlwifi-5000-5.ucode iwlwifi-8265-36.ucode myri10ge_ethp_z8e.dat rt2860.bin v4l-cx25840.fw
atmel_at76c504_2958.bin f2255usb.bin iwlwifi-5150-2.ucode iwlwifi-9000-pu-b0-jf-b0-33.ucode myri10ge_eth_z8e.dat rt2870.bin v4l-pvrusb2-24xxx-01.fw

atmel_at76c504a_2958.bin go7007 iwlwifi-6000-4.ucode iwlwifi-9000-pu-b0-jf-b0-34.ucode myri10ge_rss_eth_big_z8e.dat rt3070.bin v4l-pvrusb2-29xxx-01.fw
atmsar11.fw hfi1_dc8051.fw iwlwifi-6000g2a-5.ucode iwlwifi-9000-pu-b0-jf-b0-38.ucode myri10ge_rss_ethp_big_z8e.dat rt3090.bin vicam
atusb hfi1_fabric.fw iwlwifi-6000g2a-6.ucode iwlwifi-9000-pu-b0-jf-b0-41.ucode myri10ge_rss_ethp_z8e.dat rt3290.bin vntwusb.fw
av7110 hfi1_pcie.fw iwlwifi-6000g2b-6.ucode iwlwifi-9000-pu-b0-jf-b0-43.ucode myri10ge_rss_eth_z8e.dat rt73.bin vpu_d.bin
bnx2 hfi1_sbus.fw iwlwifi-6050-5.ucode iwlwifi-9260-th-b0-jf-b0-33.ucode netronome RTL8192E vpu_p.bin
bnx2x hp iwlwifi-7260-10.ucode iwlwifi-9260-th-b0-jf-b0-34.ucode NPE-B rtl_bt vxge
brcm htc_7010.fw iwlwifi-7260-12.ucode iwlwifi-9260-th-b0-jf-b0-38.ucode NPE-C rtl_nic WHENCE.ubuntu
cadence htc_9271.fw iwlwifi-7260-13.ucode iwlwifi-9260-th-b0-jf-b0-41.ucode nvidia rtlwifi whiteheat.fw
carl9170-1.fw i2400m-fw-usb-1.4.sbcf iwlwifi-7260-16.ucode iwlwifi-9260-th-b0-jf-b0-43.ucode ositech rtw88 whiteheat_loader.fw
carl9170fw i2400m-fw-usb-1.5.sbcf iwlwifi-7260-17.ucode iwlwifi-Qu-b0-hr-b0-48.ucode phanfw.bin s2250.fw wil6210.brd

cavium i6050-fw-usb-1.5.sbcf iwlwifi-7260-7.ucode iwlwifi-Qu-b0-jf-b0-48.ucode qat_895xcc.bin s2250_loader.fw wil6210.fw
cbfw-3.2.1.1.bin i915 iwlwifi-7260-8.ucode iwlwifi-Qu-c0-hr-b0-48.ucode qat_895xcc_mmp.bin s5p-mfc.fw wsm_22.bin
cbfw-3.2.3.0.bin imx iwlwifi-7260-9.ucode iwlwifi-Qu-c0-jf-b0-48.ucode qat_c3xxx.bin s5p-mfc-v6.fw yam
cbfw-3.2.5.1.bin intel iwlwifi-7265-10.ucode iwlwifi-QuZ-a0-hr-b0-48.ucode qat_c3xxx_mmp.bin s5p-mfc-v6-v2.fw yamaha
cis intel-ucode iwlwifi-7265-12.ucode iwlwifi-QuZ-a0-jf-b0-48.ucode qat_c62x.bin s5p-mfc-v7.fw zd1201-ap.fw
configure ipw2100-1.3.fw iwlwifi-7265-13.ucode kaweth qat_c62x_mmp.bin s5p-mfc-v8.fw zd1201.fw
cpia2 ipw2100-1.3-i.fw iwlwifi-7265-16.ucode keyspan qat_mmp.bin sb16 zd1211
ct2fw-3.2.1.1.bin ipw2100-1.3-p.fw iwlwifi-7265-17.ucode keyspan_pda qca scripts
ct2fw-3.2.3.0.bin ipw2200-bss.fw iwlwifi-7265-8.ucode korg qcom sdd_sagrad_1091_1098.bin
ct2fw-3.2.5.1.bin ipw2200-ibss.fw iwlwifi-7265-9.ucode lbtf_usb.bin qed slicoss

ctefx.bin ipw2200-sniffer.fw iwlwifi-7265D-10.ucode lgs8g75.fw ql2100_fw.bin

Upgrade directly from 14.04.3 to 15.04

I already have Ubuntu 14.04.3 and I want to go to 15.04. Do I need to fully install the new version or can I upgrade it from the existing version?

Friday, March 30, 2018

Cannot login to tty / Login incorrect / Unity Launcher and Menu Bar disappeared in 14.04

I'm facing the same (or similar) issue as described here: Unity Launcher and Top Panel disappeared in 14.04



Unfortunately I cannot try the provided solution (https://askubuntu.com/a/476623), as I fail to log in. I always get Login incorrect.




I already checked my password by typing it in as login name. Everything is correct. No caps, no num. I also have no problems getting to my desktop with my user name and password. Could it be due to my username Stefan Schmid with a space?



The System is 14.04 LTS. On the login screen there is still the menu bar. I even can get to settings. But thats about it. E.g: when I click on users, nothing happens.



What should I do?

64 bit - How do you run a 32-bit program on a 64-bit version of Ubuntu?

I have a 64-bit version of Ubuntu 13.10. I want to run a 32-bit version of a program. However I see ia32-libs is not included in 13.10. Is there a replacement package for this or what?

How to install second life?

I downloaded Second life from the website for Ubuntu . And I extracted the file but I cant get it to run or know how to get it to run so that I can install it right.The program is in script until I can get it to run. Can someone please tell me what to do after I extracted the file. Please try to make it simple instructions, step by step, not to great on knowing how to do computer stuff.

hardware - My wireless is hard-blocked








I'm new to linux and i am having trouble getting my wireless to work



I've found the following things



 Wireless LAN
Soft blocked: no

Hard blocked: yes


and :



*-network DISABLED      
description: Wireless interface
product: RT3090 Wireless 802.11n 1T/1R PCIe
vendor: Ralink corp.
physical id: 0

bus info: pci@0000:02:00.0
logical name: wlan0
version: 00
serial: 6c:62:6d:19:38:b9
width: 32 bits
clock: 33MHz
capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless
configuration: broadcast=yes driver=rt2800pci driverversion=3.2.0-25-generic-pae firmware=0.34 latency=0 link=no multicast=yes wireless=IEEE 802.11bgn
resources: irq:16 memory:fdfe0000-fdfefff



Can you please tell me what to do?

Thursday, March 29, 2018

gparted - How to enlarge Ubuntu system partition to the left?

sda6 is ext4 file system and where my ubuntu is installed, 30GB. sda3 is "ntfs" file system and where my windows is installed, 400GB. sda7 is a 50 GB empty partition with "ext4" file system.




How to move the space of sda7 to sda6 to let sda6 become 50+28=78 GB.



enter image description here



Here's a real case of mine :( I want to add more space into my ubuntu (28.2 GB one) from other emtpy partition space.

apt - How does one count the packages in Ubuntu's repositories from the command-line?



On many distributions and the BSDs there are ways to determine the number of packages in the distro's enabled repositories, e.g. on FreeBSD you could use pkg stats, is there such a way with Ubuntu? I know how to count the number of installed packages, namely using:




dpkg -l | wc -l


which on my Ubuntu 18.04 Bionic Beaver (developmental version) system returns 1962 (and yes I know not to rely on the stability of a developmental release, as things can and often do break, this is just a system for me to satisfy my curiosity about the new release to come), but how do I count all packages in its enabled repositories?



I would imagine that apt-cache search "*" would return a list of all available packages, which I could then count with wc -l but no it returns:



E: Regex compilation error



.



apt-cache has a function to list all packages



sudo apt-cache pkgnames | wc -l


returns 58218 packages with main, universe, multiverse, restricted and backports enabled on artful.


boot - GRUB not showing up



I installed Ubuntu 14.10 alongside windows 8.1 and it was working fine until I ran the CHKDSK command in windows now when I restart the PC, there is no GRUB screen and the PC boots directly into windows. I used the boot-repair-disk but no luck. My secure boot is off and I also tried to reinstall GRUB using this but still no luck. I know there are A LOT of threads similar to this but I have tried methods given in several of those but no luck :( Here is the URL I got after using the recommended repair option in Boot-repair:



Use a Ubuntu Live CD, launch a terminal console and type:



sudo su Enter




gparted Enter



Observe what is the Ubuntu partition. Probably it will be /dev/sda2. Assuming that, then, it closes gparted and (sudo is not required because you are already root with sudo su):



mount /dev/sda2 /mnt Enter



mount -B /dev /mnt/dev Enter



chroot /mnt Enter




grub-install /dev/sda Enter



reboot Enter



Then you will have grub2 re-installed.


How do I get Ubuntu to recognize my nvidia graphics card?


If i type lspci| grep VGA into the terminal i get this output:


00:02.0 VGA compatible controller: Intel Corporation Ivy Bridge Graphics Controller(rev 09)
01:00.0 VGA compatible controller: NVIDIA Corporation Device 0fd1 (rev a1)

When i install nvidia-current it installs 259.49 which is the wrong driver for the 650m (259.59 is the correct). Any thoughts?


EDIT: I employed this command dpkg --list | egrep '(nvidia|bumbl)' | grep ^ii which output


ii  bumblebee                              3.0-2~preciseppa1                       nVidia Optimus support
ii bumblebee-nvidia 3.0-2~preciseppa1 nVidia Optimus support using the proprietary NVIDIA driver
ii nvidia-common 1:0.2.44 Find obsolete NVIDIA drivers
ii nvidia-current 295.40-0ubuntu1 NVIDIA binary Xorg driver, kernel module and VDPAU library
ii nvidia-settings 295.33-0ubuntu1 Tool of configuring the NVIDIA graphics driver

So I guess this shows that since it has no idea which card it is, it doesn't pick the right drivers...


Also the computer is a Samsung Series 7 (700Z7C) if that helps


Running optirun glxspheres gives this output in kern.log


NVRM: GPU at 0000:01:00.0 has fallen off the bus.
NVRM: GPU at 0000:01:00.0 has fallen off the bus.
NVRM: RmInitAdapter failed! (0x26:0xffffffff:1170)
NVRM: rm_init_adapter(0) failed


Ok, as you haven't mentioned in your question that you have optimus enabled laptop and as per the interaction with other users it is clear that you are into a mess. A fresh install is required, Let me explain it to you.


optimus isn't supported by nvdia drivers in linux. So if you install nvidia drivers from any repo. You won't be able to boot into GUI. The linux driver page of nvidia has a warning like The driver won't work with few models (few means optimus enabled graphics cards)


So there is some unofficial work to get the power save feature at least (i.e. to turn off the discrete GPU). The first success was by mj-casalogic.(I don't know his name) His first project named as bumblebee then he updated it and renamed it ironhide.


However ironhide wasn't well designed and it has lot of problems. It is now abandoned project.


Bumblebee 3.0 was a fork of original bumblebee project. It has more stability and whole code was re written a C. Now a daemon runs from the startup. Disable the discrete GPU automatically and use it only when required. But this is not compatible with ironhide or earlier bumblebee. You have to do a lot of things to get this working. Its easier to reinstall ubuntu.


After clean installation of ubuntu, do the following


Instruction for installing Bumblebee to turn off discrete GPU and enable only when required



  1. Type the following in terminal:


    sudo add-apt-repository ppa:bumblebee/stable
    sudo apt-get update

  2. To install Bumblebee using the proprietary nvidia driver:


    For 12.04 - 13.04


    sudo apt-get install bumblebee bumblebee-nvidia virtualgl linux-headers-generic

    And for 13.10:


    sudo apt-get install bumblebee bumblebee-nvidia primus linux-headers-generic

  3. Reboot.





If you just want to disable nvidia card, no need to learn followings


Usage Instruction :


To run a program with nvidia card, use optirun command prefixed in terminal.
Like to run glxspheres with nvidia card type


optirun glxspheres

To run firefox type : optirun firefox &




To get the graphics card model, install mesa-utils Install mesa-utils.Remember the graphics card model won't be nvidia one. It will be intel, because in nvidia optimus the nvidia card isn't exposed directly. Nvidia card is wired via the intel one


Linked Questions:


How well will Nvidia Optimus cards be supported in 12.04?


Is a NVIDIA GeForce with Optimus Technology supported by Ubuntu?


Can't use nvidia card/driver on optimus notebook


command line - How to run libreoffice via ssh with x11-forwarding



I am trying to launch loffice or localc via an established ssh connection (ForwardX11 enabled). It does however fail to show the loffice gui / splashscreen on the computer from where I run my ssh session. The loffice application runs in the remote bash but without any command line output.



All other gui applications like xterm, gvim, PyQt5 scripts work fine.
I also tried to run




/usr/lib/libreoffice/program/soffice.bin


directly, but to no avail. (loffice is a shell script redirecting to another shell script, which as far as I understand eventually launches soffice.bin.)



Also without any success I tried:



loffice --display ${DISPLAY}



If a LibreOffice window is open, it opens a window in the display of that process. Therefore one way would be to kill any running LibreOffice processes.


command line - How do I find and set my $EDITOR environment variable?


When I am using ipython or ipython3, I can use the %edit command to open up an editor to write my python scripts in. My problem is that the default editor is vim and I really do not get how to use that editor. What I would like to do is to change the editor to either nano or gedit. I think to stay with the terminal I would prefer to change it to the nano editor.


When I type in the 'edit?' command into the ipython terminal it says :



%edit runs IPython's editor hook. The default version of this hook is
set to call the editor specified by your $EDITOR environment variable.
If this isn't found, it will default to vi under Linux/Unix and to
notepad under Windows. See the end of this docstring for how to change
the editor hook.



Then when I see the end of that docstring I see this:



Changing the default editor hook:


If you wish to write your own editor hook, you can put it in a
configuration file which you load at startup time. The default hook
is defined in the IPython.core.hooks module, and you can use that as a
starting example for further modifications. That file also has
general instructions on how to set a new hook for use once you've
defined it.



Sorry to be such a newbie, but I get lost here. I am not sure how to get to the IPython.core.hooks module, or just simply set an environment variable $EDITOR to nano.


Any suggestions?



You can set the $EDITOR variable with this command:


export EDITOR="/usr/bin/nano"

This will define the variable EDITOR for the current session and pass it into the environment of all its child processes. To set it permanently you must define it in one of the system configuration files. The highest level at which you can do this is to set it in /etc/environment. This defines it globally:


PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games"
EDITOR="/usr/bin/nano"

Check that variable is defined:


$ echo $EDITOR
/usr/bin/nano

Editor's note: it's often preferable to put environment variables in your own ~/.profile, which is a lot easier to fix if something goes wrong.


12.04 - Kernel update (64) will not boot. How can I automatically boot with earlier version? U12.04LTS


Ubuntu 12.04LTS


After an automatic kernel update through update-manager I cannot boot up without intervention any more. Latest version which GRUB boots automatically is 3.2.0-64-generic-pae which fails during startup at a blank screen.


[ 2.140928] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block (0,0)
[ 2.141024] Pid: 1, comm; swapper/0 Not tainted 3.2.0-64-generic-pae #97 Ubuntu

followed by a call trace, found at the end of the bootup in recovery mode.


It is not a disk error as I bootup properly with both 63 and 29.

May be the same as I want to recover my data on Ubuntu but maybe not. Others get the same message for unrelated (?) problems.

Another post has a reply which suggests it might be the boot cd - my cd has simcity in it - a wine project I am working on - getting it working !!


I am obliged to use 3.2.0-63-generic-pae in order to bootup properly.

How can I remove 64 and automatically bootup 63? I presume I have to edit a GRUB script but which and where is it?


If I physically remove 64 (how? which of the two shown below? do I need to make a new "generic" image?) will I then be deprived of future kernel updates which depend upon 64?


harveyp@harveyp:~$ sudo dpkg -l | grep linux-image
[sudo] password for harveyp:
ii linux-image-3.2.0-29-generic-pae 3.2.0-29.46 Linux kernel image for version 3.2.0 on 32 bit x86 SMP
ii linux-image-3.2.0-63-generic-pae 3.2.0-63.95 Linux kernel image for version 3.2.0 on 32 bit x86 SMP
ii linux-image-3.2.0-64-generic-pae 3.2.0-64.97 Linux kernel image for version 3.2.0 on 32 bit x86 SMP
ii linux-image-generic-pae 3.2.0.64.76 Generic Linux kernel image


Which kernel version to use ... has a reply which suggests ...


sudo apt-get purge linux-image-X linux-headers-X where X is the version that is giving you issues


but here too I am unsure what to do about the "generic" image as I have a pae 64 and a generic 64. And I don't wish to break it any more than it is already ...


Thank you for your help.



To remove a new linux kernel version (for example linux-image-3.2.0-64-generic), use the following command:


sudo apt-get purge linux-image-3.2.0-64-generic linux-headers-3.2.0-64-generic linux-headers-3.2.0-64

This command will remove the kernel and associated headers and then update the GRUB boot loader. Subsequent boots will use the most recent previous kernel version on your system.


With kubuntu 12.04 and linux-image-3.2.0-64-generic I discovered that my windows applications would no longer run using crossover office. Hence I downgraded to 3.2.0-63.


Wednesday, March 28, 2018

If I buy an Ubuntu tablet, will I be able to use it in the same way as an ubuntu PC?

I'm looking to buy a new computer. I have noticed that I can get a 2 in 1 computer, with touch features and desktop features, provided by Windows 8. If I install Ubuntu, can I use touch features and desktop features in the one computer?

16.04 - Can't run Aptitude update: The method driver /usr/lib/apt/methods/http could not be found

When I run the "sudo aptitude update" I get the following output:



E: The method driver /usr/lib/apt/methods/http could not be found.

E: The method driver /usr/lib/apt/methods/http could not be found.
E: The method driver /usr/lib/apt/methods/http could not be found.
E: The method driver /usr/lib/apt/methods/http could not be found.
E: The method driver /usr/lib/apt/methods/http could not be found.
E: The method driver /usr/lib/apt/methods/http could not be found.
E: The method driver /usr/lib/apt/methods/http could not be found.
E: The method driver /usr/lib/apt/methods/http could not be found.
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/xenial/InRelease:
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/xenial-updates/InRelease:
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/xenial-backports/InRelease:

W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/xenial-security/InRelease:
W: Failed to fetch http://apt.galliumos.org/dists/xenon/InRelease:
W: Failed to fetch http://download.mono-project.com/repo/ubuntu/dists/vs-xenial/InRelease:
W: Failed to fetch http://ppa.launchpad.net/papirus/papirus/ubuntu/dists/xenial/InRelease:
W: Failed to fetch http://packages.microsoft.com/repos/vscode/dists/stable/InRelease:
E: Some index files failed to download. They have been ignored, or old ones used instead.


And when I run "ls -la /usr/lib/apt/methods/http" I get this output:




ls: cannot access '/usr/lib/apt/methods/http': No such file or directory


How do I fix this? I tried installing apt-transport-https which was recommended and it did nothing.

package management - Blue screen after boot

After everything boots I get this blue screen. This happened after aomw (some???) kind of dpkg error package. I tried sudo dpkg --configure -a but it always gives me an error message. The error is class apt_pkg.Error E:The package libtiff5 needs to be reinstalled, but I can't find an archive for it. And I can't browse to anywhere, because when I press something it just doesn't respond.

Which codecs does ubuntu-touch support?

Which codecs does ubuntu-touch support? Can I add restricted-codecs package?
I've copied an .avi file to ubuntu-touch, and I can hear it, but I can't see anything.

How do I extend the desktop to the third monitor using a Displaylink USB-to-VGA adapter?

I have a DisplayLink USB-to-VGA adapter (17e9:0198 Newnham Research) I would like to add to my system (eventually two). I am running Linux 3.5.0-19-generic #30~precise1-Ubuntu SMP Wed Nov 14 21:43:28 UTC 2012 i686 i686 i386 GNU/Linux and Ubuntu 12.04.1 LTS.



I have an Asus G74Sx with the main screen and a second monitor on the VGA port. The DisplayLink-connected monitor shows green unless I hit CTRL-ALT-F1 in which case the other two monitors go blank and a login screen appears on the monitor connected to the DisplayLink. I can login and have a text-mode display.



What I really would like is to extend the desktop to the third monitor. Can anyone help?

boot - Setting up Ubuntu 16.04 with nvidia gtx 1070

I have already opened a topic about this before, but I have tried some other things since. I have recently purchased a computer with an nvidia 1070 graphics card. Ubuntu is having problems running this however.

I have tried following things:


1. After installing Ubuntu, an error occurred stating "out of range error". I solved by adding 'nomodeset' to the into grub config file. Reference Link: How do I set 'nomodeset' after I've already installed Ubuntu?

The only difference was that I had to press 'esc' once while booting.


2. After this, on Desktop was not showing any of the icons, just the purple screen. From following guide and have worked through most of the solutions: Graphics issues after/while installing Ubuntu 16.04/16.10 with NVIDIA graphics


3. After doing all this, I got stuck in login screen. As I try to login into the system and it never logged into system and comes back to the login screen again, Tried to solve as per given solution in following link; installed lightdm and tried to reconfigure it: 14.04 unity does not start after login screen

Installation succeeded and when doing 'sudo dpkg-reconfigure lightdm' it. No screen pops up which lets me choose which one I want to use.


Anyway assuming it would all work fine, rebooted my computer and logged in (I didn't get stuck into a login screen), however the items didn't load sigh.


So it appears that I am kind of stuck in an error loop which I can't get out of.


Does anybody have any suggestions for this?


Riaan

12.04 - nvidia-settings error: nvidia driver not in use



I have an Asus with GEFORCE GT520M CUDA (Optimus) and I am running Kubuntu 12.04, 64bit. I am trying to connect an external monitor through DVI and the monitor is not detected. Nvidia settings dont show properly and each time I fire them up there is a warning message: "You do not appear to be using the NVidia X driver. Please, edit...." (you probably know it and heard of this before).


I have googled a lot and I have tried some things out but no luck so far. Is there a solution which has worked for someone out there? If so, please be very specific about what I need to do since I am really not good at using the terminal and generally new to ubuntu. I can use the terminal only to copy-paste things. :)


Thanks in advance to everyone!


ps. Seems like some people dealt with this by fixing the Nvidia settings problem but the instructions have never been clear enough for me to be able to understand.

Tuesday, March 27, 2018

Cannot Login to 14.10 GUI

I cannot login my GUI login in 14.10


guest login works
boot in recovery mode and change user password with success


reboot and cannot get past GUI login -- it takes password then it acts like its going to the desktop then it goes back to GUI login


I can login in recovery mode with this user name just fine so I know the password is good


Please Help --- I really don't want to reinstall

16.04 - snap versions don't match

After a fresh Ubuntu server install I've done a:


snap install core

and the result was:



Apr 27 07:10:07 n snap[11059]: cmd.go:114: DEBUG: not restarting into "/snap/core/current/usr/bin/snap" ([VERSION=2.23.6 2.23.6]): older than "/usr/bin/snap" (2.24.1)



Can I solve this?

12.04 - How to bulk convert .djvu files to .pdf?



I have about 200 .djvu ebooks which I want to convert into .pdf. Since one-by-one conversion is tiresome I want to know if there is a way to convert them all at once. Any help will be appreciated.



You could use ddjvu, in a shell script. That said, the output PDFs are much larger (x10), which makes it hardly worth the effort. Ubuntu has no problem reading djvu files, but if your reason is good enough, use the following script.



Warning: Do not try it on 200 files right away. Run a test first on one or two small ones, to get the feel of how long it takes, and to make sure you are satisfied with the result. Press Ctrl + C, in case you want to stop the process.



#!/bin/bash

for i in *.djvu;
do ddjvu -format=pdf -scale=100 "$i" "${i/%.djvu/}.pdf"
done


...or the same, as a one-liner



for i in *.djvu; do ddjvu -format=pdf -scale=100 "$i" "${i/%.djvu/}.pdf";done



Simply run that in a folder with djvu files. The -scale=100 option downscales the output images, which makes the process much faster, and the output files' size more reasonable. Without it, the resulting PDFs were much larger then the originals, and took ages to convert, at least in my tests.


nvidia - Unity Desktop not loading after auto update and installing CUDA in Ubuntu 14.04



I have installed CUDA 6.5 in Ubuntu 14.04 and am using NVIDIA driver version 346.35 [Graphics Card NVIDIA GTX 960]. I have successfully compiled the sample codes that come with CUDA and they have been running perfectly. But today I did an auto update and after that Unity Desktop was running blank after login. I tried all suggestions given in the below post and it did not help me get back my desktop:



Ubuntu Desktop does not load




I also tried un-installing and re-installing lightdm, Ubuntu desktop, etc.... but nothing seems to work.



Most of the posts ask to purge everything related to NVIDIA and then reinstall NVIDIA driver again. Now for someone running CUDA it is my understanding that doing a purge on nvidia-* will remove the Nvidia driver as well as the CUDA installation, which would mean reinstalling everything all over again which is highly undesirable.



I have somehow managed to work around it by uninstalling the NVIDIA 346.35 driver and then reinstalling it again. But I am having to do this every time I update Ubuntu, which is again not handy at all. Can someone suggest a better solution which does not involve tinkering with the NVIDIA drivers or my CUDA installation?



To just unistall NVIDIA driver, I dropped to command console on login window by pressing Ctrl+Alt+F1 and ran the below command:



sudo ./NVIDIA-Linux-x86_64-346.35.run --uninstall



After it uninstalls run again:



sudo ./NVIDIA-Linux-x86_64-346.35.run


restart. This seems to have fixed the issue for now.



You've used a .run file which is out-of-scope for the automatic updates. Have a look here for more background information.




So you're stuck with manual updates of your .run file ad infinitum.



There is however another way to get the NVidia 346.35 on your system and that is to install the xorg.edgers PPA. As the xorg.edgers group ask not to give installation instructions directly without linking to their page, this is the best I can do for now…



If you don't know what a PPA is or need some guidance about rolling forward and backward of driver versions after reading their page, leave a comment below.


sync - Ubuntu active directory like login

In a configuration of various users and machines is it possible to sync or do something similar to windows domain accounts where every user can login on every machine with the same domain login? Basically like a domain login in Windows? I don't know where to start searching for the information I need to do this. These are all linux machines I'm working with.

Cannot upgrade Ubuntu from 14.04 to the latest release

When I try to upgrade, I get the following error:



sudo aptitude upgrade
Resolving dependencies...
open: 217520; closed: 114638; defer: 5; conflict: 6 O
terminate called after throwing an instance of 'std::bad_alloc'
what(): std::bad_alloc



If I try using Software Updater, first I get a dialog that says
not all updates can be installed



Run a partial upgrade ... When I try that, it says installation requires untrusted software and terminates. I tried going through the packages that do need to get upgraded but there are many and not easy to figure out which is causing the problem.



Any hints or helps is greatly appreciated. I can't afford to let this machine to get obsolete and unsupported.



My current release is



DISTRIB_ID=Ubuntu

DISTRIB_RELEASE=14.04
DISTRIB_CODENAME=trusty
DISTRIB_DESCRIPTION="Ubuntu 14.04.2 LTS"


Complete output of sudo apt-get update



Ign dl.google.com stable InRelease
Hit dl.google.com stable Release.gpg
Ign us.archive.ubuntu.com utopic InRelease

Ign security.ubuntu.com utopic-security InRelease
Hit dl.google.com stable Release
Ign us.archive.ubuntu.com utopic-updates InRelease
Hit security.ubuntu.com trusty-security InRelease
Ign extras.ubuntu.com utopic InRelease
Hit archive.canonical.com utopic InRelease
Ign archive.ubuntu.com trusty InRelease
Ign ppa.launchpad.net trusty InRelease
Hit dl.google.com stable/main i386 Packages
Ign us.archive.ubuntu.com utopic Release.gpg

Ign security.ubuntu.com utopic-security Release.gpg
Hit extras.ubuntu.com utopic Release.gpg
Hit archive.canonical.com natty InRelease
Ign us.archive.ubuntu.com utopic-updates Release.gpg
Hit security.ubuntu.com trusty-security/main i386 Packages
Hit archive.ubuntu.com trusty-updates InRelease
Hit ppa.launchpad.net trusty Release.gpg
Ign us.archive.ubuntu.com utopic Release
Hit security.ubuntu.com trusty-security/multiverse i386 Packages
Hit extras.ubuntu.com utopic Release

Hit archive.canonical.com utopic/partner i386 Packages
Hit archive.ubuntu.com trusty Release.gpg
Ign us.archive.ubuntu.com utopic-updates Release
Hit ppa.launchpad.net trusty Release
Hit security.ubuntu.com trusty-security/restricted i386 Packages
Ign us.archive.ubuntu.com utopic/main Sources/DiffIndex
Hit security.ubuntu.com trusty-security/universe i386 Packages
Hit extras.ubuntu.com utopic/main Sources
Hit archive.canonical.com utopic/partner Translation-en
Hit archive.ubuntu.com trusty-updates/main i386 Packages

Hit ppa.launchpad.net trusty/main i386 Packages
Ign us.archive.ubuntu.com utopic/restricted Sources/DiffIndex
Hit security.ubuntu.com trusty-security/main Translation-en
Hit extras.ubuntu.com utopic/main i386 Packages
Ign us.archive.ubuntu.com utopic/universe Sources/DiffIndex
Hit security.ubuntu.com trusty-security/multiverse Translation-en
Hit archive.canonical.com natty/partner Sources
Hit archive.ubuntu.com trusty-updates/multiverse i386 Packages
Hit ppa.launchpad.net trusty/main Translation-en
Ign us.archive.ubuntu.com utopic/multiverse Sources/DiffIndex

Hit security.ubuntu.com trusty-security/restricted Translation-en
Ign us.archive.ubuntu.com utopic/main i386 Packages/DiffIndex
Hit archive.ubuntu.com trusty-updates/restricted i386 Packages
Hit security.ubuntu.com trusty-security/universe Translation-en
Ign us.archive.ubuntu.com utopic/restricted i386 Packages/DiffIndex
Ign security.ubuntu.com utopic-security Release
Ign dl.google.com stable/main Translation-en_US
Ign dl.google.com stable/main Translation-en
Hit archive.ubuntu.com trusty-updates/universe i386 Packages
Ign us.archive.ubuntu.com utopic/universe i386 Packages/DiffIndex

Ign security.ubuntu.com utopic-security/main Sources/DiffIndex
Ign us.archive.ubuntu.com utopic/multiverse i386 Packages/DiffIndex
Ign security.ubuntu.com utopic-security/restricted Sources/DiffIndex
Hit archive.ubuntu.com trusty-updates/main Translation-en
Ign security.ubuntu.com utopic-security/universe Sources/DiffIndex
Ign security.ubuntu.com utopic-security/multiverse Sources/DiffIndex
Hit archive.ubuntu.com trusty-updates/multiverse Translation-en
Ign security.ubuntu.com utopic-security/main i386 Packages/DiffIndex
Hit archive.ubuntu.com trusty-updates/restricted Translation-en
Ign security.ubuntu.com utopic-security/restricted i386 Packages/DiffIndex

Ign security.ubuntu.com utopic-security/universe i386 Packages/DiffIndex
Hit archive.ubuntu.com trusty-updates/universe Translation-en
Hit archive.ubuntu.com trusty Release
Ign security.ubuntu.com utopic-security/multiverse i386 Packages/DiffIndex
Hit archive.ubuntu.com trusty/main Sources
Ign extras.ubuntu.com utopic/main Translation-en_US
Ign us.archive.ubuntu.com utopic-updates/main Sources/DiffIndex
Hit archive.ubuntu.com trusty/universe Sources
Ign us.archive.ubuntu.com utopic-updates/restricted Sources/DiffIndex
Ign extras.ubuntu.com utopic/main Translation-en

Ign us.archive.ubuntu.com utopic-updates/universe Sources/DiffIndex
Hit archive.ubuntu.com trusty/restricted Sources
Ign us.archive.ubuntu.com utopic-updates/multiverse Sources/DiffIndex
Ign us.archive.ubuntu.com utopic-updates/main i386 Packages/DiffIndex
Hit archive.ubuntu.com trusty/multiverse Sources
Ign us.archive.ubuntu.com utopic-updates/restricted i386 Packages/DiffIndex
Ign us.archive.ubuntu.com utopic-updates/universe i386 Packages/DiffIndex
Hit archive.ubuntu.com trusty/main i386 Packages
Ign us.archive.ubuntu.com utopic-updates/multiverse i386 Packages/DiffIndex
Hit archive.ubuntu.com trusty/universe i386 Packages

Hit archive.ubuntu.com trusty/restricted i386 Packages
Hit archive.ubuntu.com trusty/multiverse i386 Packages
Hit archive.ubuntu.com trusty/main Translation-en
Hit archive.ubuntu.com trusty/multiverse Translation-en
Hit archive.ubuntu.com trusty/restricted Translation-en
Hit archive.ubuntu.com trusty/universe Translation-en
Ign archive.ubuntu.com trusty/main Translation-en_US
Ign archive.ubuntu.com trusty/multiverse Translation-en_US
Ign archive.ubuntu.com trusty/restricted Translation-en_US
Ign archive.ubuntu.com trusty/universe Translation-en_US

Ign security.ubuntu.com utopic-security/main Translation-en_US
Ign security.ubuntu.com utopic-security/main Translation-en
Ign security.ubuntu.com utopic-security/multiverse Translation-en_US
Ign security.ubuntu.com utopic-security/multiverse Translation-en
Ign security.ubuntu.com utopic-security/restricted Translation-en_US
Ign security.ubuntu.com utopic-security/restricted Translation-en
Ign security.ubuntu.com utopic-security/universe Translation-en_US
Ign security.ubuntu.com utopic-security/universe Translation-en
Err security.ubuntu.com utopic-security/main Sources
404 Not Found [IP: 91.189.91.23 80]

Err security.ubuntu.com utopic-security/restricted Sources
404 Not Found [IP: 91.189.91.23 80]
Err security.ubuntu.com utopic-security/universe Sources
404 Not Found [IP: 91.189.91.23 80]
Err security.ubuntu.com utopic-security/multiverse Sources
404 Not Found [IP: 91.189.91.23 80]
Err security.ubuntu.com utopic-security/main i386 Packages
404 Not Found [IP: 91.189.91.23 80]
Err security.ubuntu.com utopic-security/restricted i386 Packages
404 Not Found [IP: 91.189.91.23 80]

Err security.ubuntu.com utopic-security/universe i386 Packages
404 Not Found [IP: 91.189.91.23 80]
Err security.ubuntu.com utopic-security/multiverse i386 Packages
404 Not Found [IP: 91.189.91.23 80]
Ign us.archive.ubuntu.com utopic/main Translation-en_US
Ign us.archive.ubuntu.com utopic/main Translation-en
Ign us.archive.ubuntu.com utopic/multiverse Translation-en_US
Ign us.archive.ubuntu.com utopic/multiverse Translation-en
Ign us.archive.ubuntu.com utopic/restricted Translation-en_US
Ign us.archive.ubuntu.com utopic/restricted Translation-en

Ign us.archive.ubuntu.com utopic/universe Translation-en_US
Ign us.archive.ubuntu.com utopic/universe Translation-en
Ign us.archive.ubuntu.com utopic-updates/main Translation-en_US
Ign us.archive.ubuntu.com utopic-updates/main Translation-en
Ign us.archive.ubuntu.com utopic-updates/multiverse Translation-en_US
Ign us.archive.ubuntu.com utopic-updates/multiverse Translation-en
Ign us.archive.ubuntu.com utopic-updates/restricted Translation-en_US
Ign us.archive.ubuntu.com utopic-updates/restricted Translation-en
Ign us.archive.ubuntu.com utopic-updates/universe Translation-en_US
Ign us.archive.ubuntu.com utopic-updates/universe Translation-en

Err us.archive.ubuntu.com utopic/main Sources
404 Not Found [IP: 91.189.91.13 80]
Err us.archive.ubuntu.com utopic/restricted Sources
404 Not Found [IP: 91.189.91.13 80]
Err us.archive.ubuntu.com utopic/universe Sources
404 Not Found [IP: 91.189.91.13 80]
Err us.archive.ubuntu.com utopic/multiverse Sources
404 Not Found [IP: 91.189.91.13 80]
Err us.archive.ubuntu.com utopic/main i386 Packages
404 Not Found [IP: 91.189.91.13 80]

Err us.archive.ubuntu.com utopic/restricted i386 Packages
404 Not Found [IP: 91.189.91.13 80]
Err us.archive.ubuntu.com utopic/universe i386 Packages
404 Not Found [IP: 91.189.91.13 80]
Err us.archive.ubuntu.com utopic/multiverse i386 Packages
404 Not Found [IP: 91.189.91.13 80]
Err us.archive.ubuntu.com utopic-updates/main Sources
404 Not Found [IP: 91.189.91.13 80]
Err us.archive.ubuntu.com utopic-updates/restricted Sources
404 Not Found [IP: 91.189.91.13 80]

Err us.archive.ubuntu.com utopic-updates/universe Sources
404 Not Found [IP: 91.189.91.13 80]
Err us.archive.ubuntu.com utopic-updates/multiverse Sources
404 Not Found [IP: 91.189.91.13 80]
Err us.archive.ubuntu.com utopic-updates/main i386 Packages
404 Not Found [IP: 91.189.91.13 80]
Err us.archive.ubuntu.com utopic-updates/restricted i386 Packages
404 Not Found [IP: 91.189.91.13 80]
Err us.archive.ubuntu.com utopic-updates/universe i386 Packages
404 Not Found [IP: 91.189.91.13 80]

Err us.archive.ubuntu.com utopic-updates/multiverse i386 Packages
404 Not Found [IP: 91.189.91.13 80]

software center - Ubuntu Restricted Extras Won't Work


Ok, so, I installed Ubuntu-Restricted-Extras on Ubuntu version 16.04 LTS. I have all the updates. I used the terminal to install it because I couldn't find it in Ubuntu Software. But what I want to know is the Ubuntu Software Center, is Ubuntu Software and Ubuntu Software Center the same thing? Because if they are there is something wrong with mine, I can't install things like preload at all and flash player won't work (has it been removed?). In the Ubuntu Software app there are hardly any programs, and again, nothing like preload or Ubuntu restricted extras. Help me I am going bloody insane.



Solution?


I don't think Ubuntu Restricted Extras Won't Work.


I think the problem is 'Ubuntu Software [Center]'. Maybe the following link (within AskUbuntu) can help you solve that problem.


Ubuntu 16.04 software center not working


Workarounds


But there are work-arounds.



  • Continue to use the command line tools,


    to keep Ubuntu up to date


    sudo apt update
    sudo apt full-upgrade

    to keep Ubuntu clean (remove unnecessary program packages)


    sudo apt autoremove
    sudo apt autoclean
    sudo apt clean

    to install a new program package program-package


    sudo apt install program-package

  • Use the Synaptic Package Manager


    Install it


    sudo apt install synaptic

    and start it from 'Dash', after clicking on the Ubuntu icon at the top left corner and typing syn.


    There is a learning curve, but Synaptic is reliable and powerful. Later on, when 'Ubuntu Software' starts working again, you might stay with Synaptic, because you know it and like it :-)


    enter image description here



Ubuntu 14.04 keeps freezing and does not take any inputs



GF108M [GeForce GT 635M] Nvidia Graphics card, and have ubuntu 14.04 os. Every 10 minutes or so it freezes. Alt+Ctrl+F2 and Alt+Ctrl+F7 is my temporary solution. What do I do to fix this?



lspci -k | egrep 'VGA|3D' -A2 gives the following output:




00:02.0 VGA compatible controller: Intel Corporation 3rd Gen Core processor Graphics Controller (rev 09)
Subsystem: ASUSTeK Computer Inc. Device 1447



Kernel driver in use: i915



01:00.0 VGA compatible controller: NVIDIA Corporation GF108M [GeForce GT 635M] (rev a1)
Subsystem: ASUSTeK Computer Inc. Device 1447
Kernel driver in use: nvidia




Well, re-installing the latest driver would the first step of course. First try using the Software & Updates to install the latest proprietary and preferably tested driver.



Open the Ubuntu Software Center, move your mouse to the top, from the Edit menu, choose Software Sources . Click on Additional Drivers tab, wait for it to load the information and choose the latest proprietary for the NVIDIA. For me (GeForce GT 730) at this time it shows:



Using NVIDIA binary driver - version 346.59 from nvidia-346 (proprietary, tested)


Click on Apply and wait for it to install it. If your screen keeps crashing during this process, then you won't have a choice other than trying to install it from terminal.


Monday, March 26, 2018

partitioning - Format USB drive to NTFS so it is usable under Windows


When I format a drive to NTFS under Windows and plug it into the Ubuntu machine it is perfectly usable, but when I format it under Ubuntu using Disks (delete all partitions and create one single partition with NTFS) it does not show up when plugged into Windows machine.


Please note that in both cases USB drive contains only one, primary partition formatted to NTFS, for example:


/dev/sdb - the actual device
/dev/sdb1 - the only, primary partition


I've checked both this behaviour both with solid state USB pen-drive as well as external USB magnetic HDD.


How to (re)format USB HDD or a stick to NTFS under Ubuntu so it is usable under Windows?



gparted (GNU Partition Editor) is a good graphical tool for formating drives to a variety of different filesystem types. You can install it with sudo apt-get install gparted.


Just as when you are using Disks, be very careful that you are making changes to the correct device. You can format your device to NTFS using the following steps:



  1. Select the correct device from the dropdown selector on the top right.

  2. Delete any partitions that already exist on the device.

  3. Create a new partition using all of the available space and set the type to ntfs

  4. Click the "Apply" button and wait for the operations to complete


If Windows still doesn't recognize the device, the partition table may be in a different type than the MS-DOS type (Ubuntu uses gpt partition type by default I think). Click "View >> Device Information" from the menu to see what the partition table type is. In this case, use the "Device >> Create Partition Table" menu option to change the partition table type to MS-DOS. You may have to follow the above steps again to create your NTFS partition.


apt - How to install ATLAS on Kubuntu 18.04(Bionic)



Things I've already tried:



1. install all of this:




sudo apt-get install libblas3gf
sudo apt-get install libblas-doc

sudo apt-get install libblas-dev
sudo apt-get install liblapack3gf
sudo apt-get install liblapack-doc
sudo apt-get install liblapack-dev



And none of them were installed. I've receive this error message all the time





E: Unable to locate package X




2. Installing this




sudo apt-get install libblas-dev liblapack-dev




Also with an error message:





Package liblapack-dev is not available, but is referred to by another
package. This may mean that the package is missing, has been
obsoleted, or is only available from another source



Package libblas-dev is not available, but is referred to by another
package. This may mean that the package is missing, has been
obsoleted, or is only available from another source




E: Package 'libblas-dev' has no installation candidate E: Package
'liblapack-dev' has no installation candidate




3. Trying to update my system and after that following the same steps
as before again.




sudo apt-get update





But nothing had changed... Everything was staying exactly the same.



4. Trying to install like this:




sudo apt-get install libatlas-base-dev




And of course again is not working and I get an error which sound like this





E: Unable to locate package libatlas-base-dev




My system:



I'm using Kubunut 18.04



I was thinking that maybe is missing some repository and I don't know but how I can see it here is not.




Does any of you have any idea how can I fix this problem? If so, please let me know.



Output of apt-cache policy libatlas-base-dev liblapack-dev (after sudo add-apt-repository universe, sudo add-apt-repository main, sudo apt-get update)



libatlas-base-dev:
Installed: (none)
Candidate: 3.10.3-5
Version table:
3.10.3-5 500

500 http://archive.ubuntu.com/ubuntu bionic/universe amd64 Packages
liblapack-dev:
Installed: (none)
Candidate: 3.7.1-4ubuntu1
Version table:
3.7.1-4ubuntu1 500
500 http://archive.ubuntu.com/ubuntu bionic/main amd64 Packages


It seems that you do not have universe repository (for libatlas-base-dev).

LAPACK and BLAS are in main. You should have both repositories enabled.



Try to add the repositories with



sudo add-apt-repository universe
sudo add-apt-repository main
sudo apt-get update


And then install needed packages with




sudo apt-get install libatlas-base-dev liblapack-dev libblas-dev

software recommendation - Graphical user interface to view man page?


Are there any tools to view man pages in a GUI?


I personally dislike the command line interface. It lacks easy scrolling, searching and so on. Is there any tool with some more intuitive user interface and features?


Preferably for KDE.



From the Ubuntu man page, Gman is a "GTK+ based front-end for man, a good replacement for xman."


Gman provides an index of the man pages installed on your local system and offers several options for viewing the man pages. The default option is to have gman open the man pages within an xterm session. This can be modified to suit your taste with four other options.


The other viewing options available are:



  • ghostview

  • Evince

  • LocalBrowse

  • NetBrowse


In order to change the application used for viewing, select View from the menu and then select the radio button next to your preferred application, as shown below:



The last two options require having the man2html package installed on your system and will bring up the man pages in your default browser.


bug reporting - How to request moving this bug report to the correct package/team?



There is a bug in Ubuntu's keyboard shortcuts that is still very much active but was reported incorrectly in gnome-terminal and was eventually marked as "Fix Released" for reasons I do not comprehend. It is this one:



https://bugs.launchpad.net/ubuntu/+source/gnome-terminal/+bug/1292113




It is a pretty serious bug that causes various keys and key combinations to stop working for no discernible reason.



How can I request that this is moved to whichever bug team it should belong to (who that is, I'm not quite sure -- if anyone knows, tell me)? Do I have to file a new report, or do the official people have the ability to move it? Should I cite the old report?



The Fix Released message is probably due to comments #5 and #10, where OP says:




@Alfredo: Non-working FN-keys is not related to this issue.




Also regarding the original bug report. This issue is fixed for me
since the release date.






I do not have this issue anymore since a long time. Might be fixed with 14.10.




You should file a new bug.




You could cite the old report. However, since the person who filed that doesn't have this problem any more, and since the post was rather specifically about CtrlAltT, it's not sure you have the same problem, or even that it's related. I don't see much use of linking to the old one from the new report. You could comment on the old report that you made a new bug report, so that others who subscribed are notified.


Old kernel with Ubuntu 16.04.2 update


My machine was updated today to Ubuntu 16.04.2. However, the kernel is still "4.4.0-62-generic". What happened (it seemed that the principal advantage of the 16.04.2 version was the update of the kernel to 4.8) ?
Do I have to make a fresh install ?



"Updated to 16.04.2" and "installed 16.04.2" do not render the same result. The HWE packs for the Kernel and X aren't automatically installed onto existing non-point-release installs of Ubuntu.


For the main reason that it'd really annoy a whole load of people who have a stable system one day and then have to battle a new kernel. That's why the .0 kernel gets a full five year support.


You can opt-in to install the HWE packs (and have been able to for a little while) with:


sudo apt-get install --install-recommends xserver-xorg-hwe-16.04



There is an important point to make here that starting from 16.04.2, point releases will be on rolling HWE stacks. You will automatically be shunted onto newer major versions of X and the Kernel.


This is a really important thing to note if you're deploying Ubuntu in low-maintenance situations. You don't want to climb a 50-foot ladder to get to your digital signage controller because a dodgy kernel update caught you off guard.


Sunday, March 25, 2018

Ubuntu 16.04 Unity No desktop just background wallpaper

I just did a fresh install of Ubuntu 16.04 that I set to log in automatically. When it loads up all I get is the desktop wall paper but not top panel or unity side bar. Previously I was using Ubuntu 16.04 Mate edition and everything worked great. I read this question Ubuntu 16.04 unity desktop environment doesn't load after fresh install but I could not get to a tty screen like the poster in that thread. When I did Ctrl+Alt+F1 all I would get is a blank screen. I've tried switching monitor inputs and going from my nvidia card to the onboard graphics but nothing seems to work. I'm just going to switch back to Mate for now but I would really want to check out what's new in Unity. Thanks for any and all help!

apt - dpkg: error processing package linux-image-generic (--configure): dependency problems - leaving unconfigured

dpkg --configure -a




Setting up linux-image-3.13.0-35-generic (3.13.0-35.62) ...
Running depmod.
update-initramfs: deferring update (hook will be called later)
The link /initrd.img is a dangling linkto /boot/initrd.img-3.13.0-35-generic
vmlinuz(/boot/vmlinuz-3.13.0-35-generic
) points to /boot/vmlinuz-3.13.0-35-generic
(/boot/vmlinuz-3.13.0-35-generic) -- doing nothing at /var/lib/dpkg/info/linux-image-3.13.0-35-generic.postinst line 491.
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 3.13.0-35-generic /boot/vmlinuz-3.13.0-35-generic
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.13.0-35-generic /boot/vmlinuz-3.13.0-35-generic

update-initramfs: Generating /boot/initrd.img-3.13.0-35-generic

gzip: stdout: No space left on device
E: mkinitramfs failure cpio 141 gzip 1
update-initramfs: failed for /boot/initrd.img-3.13.0-35-generic with 1.
run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1
Failed to process /etc/kernel/postinst.d at /var/lib/dpkg/info/linux-image-3.13.0-35-generic.postinst line 1025.
dpkg: error processing package linux-image-3.13.0-35-generic (--configure):
subprocess installed post-installation script returned error exit status 2
dpkg: dependency problems prevent configuration of linux-image-extra-3.13.0-35-generic:

linux-image-extra-3.13.0-35-generic depends on linux-image-3.13.0-35-generic; however:
Package linux-image-3.13.0-35-generic is not configured yet.

dpkg: error processing package linux-image-extra-3.13.0-35-generic (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of linux-image-generic:
linux-image-generic depends on linux-image-3.13.0-35-generic; however:
Package linux-image-3.13.0-35-generic is not configured yet.
linux-image-generic depends on linux-image-extra-3.13.0-35-generic; however:
Package linux-image-extra-3.13.0-35-generic is not configured yet.


dpkg: error processing package linux-image-generic (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
linux-image-3.13.0-35-generic
linux-image-extra-3.13.0-35-generic
linux-image-generic

oracle mariaDB installation on ubuntu 14.04

How to install oracle mariaBD in ubuntu 14.04 ? please provide me step by step method

apt - mysql reinstallation still getting problems ubuntu

Renaming removed key_buffer and myisam-recover options (if present)
mysql_upgrade: Got error: 1045: Access denied for user 'root'@'localhost' (using password: NO) while connecting to the MySQL server
Upgrade process encountered error and will not continue.
mysql_upgrade failed with exit status 11
dpkg: error processing package mysql-server-5.7 (--configure):
subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of mysql-server:
mysql-server depends on mysql-server-5.7; however:
Package mysql-server-5.7 is not configured yet.
dpkg: error processing package mysql-server (--configure):
dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
Processing triggers for libc-bin (2.23-0ubuntu10) ...
Processing triggers for systemd (229-4ubuntu21.4) ...
Processing triggers for ureadahead (0.100.0-19) ...
Errors were encountered while processing:
mysql-server-5.7
mysql-server
E: Sub-process /usr/bin/dpkg returned an error code (1)

I am getting the above erros when I try to install mysql. I tried these steps to install:



  1. sudo apt-get remove --purge mysql*

  2. sudo apt-get purge mysql*

  3. sudo apt-get autoremove

  4. sudo apt-get autoclean

  5. sudo apt-get remove dbconfig-mysql

  6. sudo apt-get dist-upgrade

  7. sudo apt-get install mysql-server


These step are from here


Is there any step I missed ?

How can I turn off hard disk power management in 12.04?

In Ubuntu 12.04 the power management does not allow control of hard disk spinning preferences. As a result, when the laptop is on battery the hard disk continues to stop spinning to save power.




I could change manually the settings via the command



sudo hdparm -B 255 /dev/sda



that disables the hard disk power management and lets it spin continuously also on battery. But when I plug the laptop to power and then return to battery the manual setting is lost.



Is there a way to configure this permanently? I really don't care if the laptop consumes more power, but I don't like the disk stopping and starting when I am on battery.

13.04: Kernel panic - not syncing: No init found




I know this question has been asked several times on this forum, but none of the answers given worked for me.



Tonight I did an install of Ubuntu 13.04 on a brand new Acer Aspire laptop. I formatted the complete harddisk, removing the existing windows 8 partitions. Installation had no problems. After rebooting the system hangs and says: "Kernel panic - not syncing: No init found. Try passing init= option to kernel".



I am able to boot the liveUSB.



What I have tried





  • Complete re-install of the system. Same error appears

  • Started LiveUSB, mounted filesystem, restarted. Same error.

  • Started LiveUSB, tried sudo fsck /dev/sdb1, mounted filesystem, restarted. Same error.



I am quite new to Ubuntu, what next steps can I take? How can I pass init= option to the kernel?



Thank you very much in advance!



I tried a lot of things, it apparently was no mistake during the installation, since I tried it many times. I think it is a hardware/driver issue in 13.04.




I finally solved the issue by installing Ubuntu 12.04 LTS, which worked immediately. Maybe this is helpful for somebody facing the same problem.


Saturday, March 24, 2018

11.10 - Firmware missing for Broadcom 802.11b/g Adapter?



I have a HP Pavilion zx5280us laptop (it says HP Pavilion zx5000 on the physical laptop but it's really an HP Pavilion zx5280us when detected on the HP website) and I installed Ubuntu 11.10 alongside Windows XP Professional x86. I tried to use a wireless connection but it said "device not ready (firmware missing)". Any help on this? Here's the code output:


00:14.4 PCI bridge [0604]: ATI Technologies Inc IXP200 3COM 3C920B Ethernet Controller [1002:4342]
00:14.5 Multimedia audio controller [0401]: ATI Technologies Inc IXP150 AC'97 Audio Controller [1002:4341]
Subsystem: Hewlett-Packard Company Device [103c:006b]
--
02:02.0 Network controller [0280]: Broadcom Corporation BCM4306 802.11b/g Wireless LAN Controller [14e4:4320] (rev 03)
Subsystem: Hewlett-Packard Company Broadcom 802.11b/g WLAN [103c:12f4]
Kernel driver in use: b43-pci-bridge
--
02:03.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ [10ec:8139] (rev 10)
Subsystem: Hewlett-Packard Company Device [103c:006b]
Kernel driver in use: 8139too

Openstack Ubuntu 14.04 cannot access dashboard after reboot

I am a novice on openstack. I have followed the steps to intell openstack on my Intel based linux box (not on a virtual machine): http://ubuntu-cloud-installer.readthe...


With "sudo openstack-install --upstream-ppa" after 2 hours, I found all services are up and running, then I was able to login to horizon.


But after reboot the linux and the linux box, I cannot access to horizon any more. Actually, I do not know the proper procedure how to reboot the machine, I just reboot the linux system.


I believe there should a way to shutdown openstack and rejoin the stacks after reboot, which I don't know how. When I checked the "openstack-status", it looks pretty normal and all services are running right after reboot. But I don't really sure they are really running.

command line - How can I run sudo gedit as gksu gedit



I'm looking into ways of automatically loading Gedit as gksu gedit when I enter sudo gedit by mistake?



I have found that I have made a number of files unreachable by using gedit and I have only just found out why!



ACHIEVED SO FAR



I have written a script which will make an alias so that if I type in sudo it can automatically convert that to gksu but I want to make this alias stick, so that I don't have to run the script every time I boot the computer.




Is there a config file I can edit or should I run this script as a start up script (which would be inconvenient!)?



Open .bashrc file
gedit ~/.bashrc



Add following alias
alias sudo='gksu'



Now restart terminal to start using the alias.



Only add alias gedit='gksu gedit' if you want gksu only for gedit.
echo 'alias gedit='gksu gedit' >> ~/.bashrc



libreoffice - Will snap packages get differential (delta) updates?


I downloaded and installed LibreOffice 5.2.0 beta2 as described in LibreOffice 5.2.0 beta2 as a snap package. It weighed in at 1015 MiB.


There will certainly be more updates before the RC is out. My question is this: will snap packages get differential (delta) updates or will the entire snap package, 1 GiB in this case, have to be downloaded each time?


(BTW: this version fixes the long-standing vanishing clipboard content issue!)


Postscript question: I want to know if I can delete libreoffice_5.2.0.0.beta2_amd64.snap, the 1 GiB "source" file, or must it remain on the system for the delta updates to work?



This OMG! Ubuntu article says delta:



Newer Apps, Larger


One side-effect of the ‘bundle’ approach is, naturally, a larger
initial package size.


But Snaps are clever; transactional and delta updates allows devs to
only upgrade the parts that need updating, be it a single lib, an app
icon, or the entire freaking thing.



The documentation on Snappy Ubuntu Core also mentions these points:




  • The OS and application files are kept completely separate, as a set of distinct read-only images.

  • Transactional, image-based delta updates for the system and applications that can always be rolled back.

  • These files are read-only, which means they cannot be tampered with and can be updated perfectly and predictably every time.

  • Signatures and fingerprints ensure you’re running exactly what was published by the developer, no funny business even if the bits came
    from the internet.

  • Delta management keeps the size of downloads to the bare minimum.



boot - Nvidia logo appears for a split second then back to console login



I just upgraded to 16.04 from 14.04 and I installed the nvidia proprietary drivers. After rebooting, I see the nvidia logo for a split second. Then the screen goes black and I end up at the console with a login prompt. Not sure why this happens? I would like to use the proprietary drivers so that I can use Kodi with accelerated graphics.



Looks like I was close. After installing the proprietary drivers, I had to blacklist the noveau drivers. Here's what I did:



Edit /etc/modprobe.d/blacklist.conf




Add the following lines:



blacklist nouveau
blacklist lbm-nouveau
options nouveau modeset=0
alias nouveau off
alias lbm-nouveau off


Now restart and you should now have the nvidia drivers load and stay loaded.



12.04 & Nvidia problem: WHICH card series WORK?

I Upgraded an Acer Extensa with an integrated nvidia 7050/nv620i, from 10.04 to 12.04.(full reinstall)
With the buggy nvidia driver 295.40,the system was unuable.


I downloaded from nvidia site and manually installed the following drivers that doesn't work perfectly:


295.49;
295.33;
302.07 (beta);


The situation was better than 295.40, but still non usable.
Moving from one desktop to another keep 2 seconds. Clicking on hour/date applet on top bar, shows the small windows drawing slowly....


What can Nvidia user do ?
Is it possible to state which Nvidia series works by sure :


100, 200, 400, 500 ?? Which one ?


For production environment, is changing card brand the only viable solution ?

ppa - Downgrading libreoffice from repository

I am trying to downgrade from libreoffice 4.3.0~rc1 to the most recent stable 4.2.0.


This is on account of this bug .


I have seen this question about How to downgrade to a specific ppa version of libreoffice which suggests


sudo apt-get install libreoffice=version

but I can't figure out how to specify the version.


libreoffice=4-2 or libreoffice=4.2 or libreoffice=4.2.0 all give me variations on


E: Version '4-2' for 'libreoffice was not found

I have also tried


sudo ppa-purge ppa:libreoffice/ppa
sudo add-apt repository ppa:libreoffice/libreoffice-4-2
sudo apt-get update
sudo apt-get install libreoffice

but that also gives me the new, unworking 4.3 version.


Any suggestions? I suppose I could install from the .deb files, but I'd rather use a repository version if possible.


Note that:


apt-cache policy libreoffice
libreoffice:
Installed: 1:4.3.0~rc1-0ubuntu1~precise0.2
Candidate: 1:4.3.0~rc1-0ubuntu1~precise0.2
Version table:
*** 1:4.3.0~rc1-0ubuntu1~precise0.2 0
500 http://ppa.launchpad.net/libreoffice/libreoffice-prereleases/ubuntu/ precise/main amd64 Packages
100 /var/lib/dpkg/status
1:3.5.7-0ubuntu6.1 0
500 http://us.archive.ubuntu.com/ubuntu/ precise-updates/main amd64 Packages
1:3.5.4-0ubuntu1.1 0
500 http://security.ubuntu.com/ubuntu/ precise-security/main amd64 Packages
1:3.5.2-2ubuntu1 0
500 http://us.archive.ubuntu.com/ubuntu/ precise/main amd64 Packages
but "sudo apt-get install libreoffice=1:3.5.7-0ubuntu6.1.0"
returns
"E: Version '1:3.5.7-0ubuntu6.1.0' for 'libreoffice' was not found"

installation - Can't get Ubuntu to load from USB stick

I'm massively new at this stuff, so please forgive me. But I've just built a new PC. I've downloaded a USB boot installer for Ubuntu 12.04.



When I power on the PC with the stick in, it all seems to start off well. It gives me the option to install Ubuntu which I choose.



However, it starts to work then just hangs on a black screen. If it leave it even longer, it will say something about the system needing to run in low graphics mode.




Any help!?



I have no CD drive on my build so need to get an OS on there via USB.



Many thanks!

upgrade - problem upgrading 12.04 to 14.04

im getting the following error while upgrading 12.04 to 14.04


W:Failed to fetch http://archive.ubuntu.com/ubuntu/dists/quantal/main/binary-i386/Packages 404 Not Found [IP: 91.189.91.23 80]
, E:Some index files failed to download. They have been ignored, or old ones used instead.

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