Posts

Showing posts from May, 2014

server - Exec format error of gcc-compiled Hello World c++ - Ask Ubuntu

i know there many similar questions error message here. cannot find solution yet. on aws ubuntu server, wrote c++ hello, world program #include <iostream> using namespace std; int main(){ cout<<"hello, world!"<<endl; return 0; } and compiled: ubuntu@ip-xxxxx:~/dev/c++$ g++ -c ./test.cc -o out ubuntu@ip-xxxxx:~/dev/c++$ chmod a+x out ubuntu@ip-xxxxx:~/dev/c++$ ./out -bash: ./out: cannot execute binary file: exec format error ubuntu@ip-xxxxx:~/dev/c++$ file ./out ./out: elf 64-bit lsb relocatable, x86-64, version 1 (sysv), not stripped ubuntu@ip-xxxxx:~/dev/c++$ uname -a linux ip-xxxxx 3.13.0-48-generic #80-ubuntu smp thu mar 12 11:16:15 utc 2015 x86_64 x86_64 x86_64 gnu/linux ubuntu@ip-xxxxx:~/dev/c++$ gcc --version gcc (ubuntu 4.8.4-2ubuntu1~14.04) 4.8.4 it seems architecture x86-64 same each other. problem here? have add more c++ flags? the -c flag tells g++ compile source code object code, stop short of linking ne...

16.10 - gwenview - phonon backend plugin could not be loaded - Ask Ubuntu

i have gwenview installed in ubuntu 16.10, , not able play videos. console output gives error: warning: bool phonon::factoryprivate::createbackend() phonon backend plugin not loaded i had tried several options around, including installation of phonon-backends-vlc , did not make difference. after tries, have realised there separate packages phonon qt5. the installation of following packages solved issue on system: sudo apt install phonon4qt5 phonon4qt5-backend-gstreamer phonon4qt5-backend-vlc now, installation of these packages should recommended gwenview package, packaging bug.

apt - Why do I have so many packages that are "newer than version in archive," and how do I downgrade them? - Ask Ubuntu

Image
two-part question: why have many packages showing "newer version in archive," , how downgrade of them current version in archive? background: ran updater ( update-manager-core ) bring ubuntu 14.04 server 16.04.1, , have tons of packages showing "newer version in archive." i'm running problems installing new software, , need downgrade these packages. the contents of sources.list follows: deb http://archive.ubuntu.com/ubuntu xenial main multiverse universe restricted deb http://archive.ubuntu.com/ubuntu xenial-security main multiverse universe restricted the complete list of packages on system shown newer version in archive can found here . generated apt-show-versions | grep "newer version in archive" . you don't want downgrade packages. something in /etc/apt/sources.list , or file in /etc/apt/sources.list.d folder, point old ubuntu version. first check, open software & updates , unity dash, , go other software tab....

networking - Internet drops on Ubuntu 16.04 running on Acer E15 - Ask Ubuntu

i dual booting windows 10 , ubuntu 16.04 in acer e5-575g-53vg. i'm facing issue internet through wifi drops randomly 2 - 3 minutes while on ubuntu. wifi signal full , connected internet in browser says no internet. works on windows , there no drops @ leads me believe driver issue. lscpi output - 00:00.0 host bridge: intel corporation sky lake host bridge/dram registers (rev 08) 00:02.0 vga compatible controller: intel corporation sky lake integrated graphics (rev 07) 00:14.0 usb controller: intel corporation sunrise point-lp usb 3.0 xhci controller (rev 21) 00:14.2 signal processing controller: intel corporation sunrise point-lp thermal subsystem (rev 21) 00:15.0 signal processing controller: intel corporation sunrise point-lp serial io i2c controller (rev 21) 00:16.0 communication controller: intel corporation sunrise point-lp csme heci (rev 21) 00:17.0 sata controller: intel corporation sunrise point-lp sata controlle...

power management - How to find out if computer was shut down at a given time? - Ask Ubuntu

on ubuntu (14/16) there anyway find out if computer running @ given time? (e.g. last night @ 10 pm if computer running or turned off) last -x | less will show both shutdown , time of booting: runlevel (to lvl 5) 3.19.0-71-generi mon oct 17 08:40 - 12:30 (4+03:50) reboot system boot 3.19.0-71-generi mon oct 17 08:39 - 12:30 (4+03:51) shutdown system down 3.19.0-71-generi fri oct 14 17:02 - 08:39 (2+15:36) {user} :0 :0 fri oct 14 07:47 - down (09:15) runlevel (to lvl 5) 3.19.0-71-generi fri oct 14 07:47 - 17:02 (09:15) reboot system boot 3.19.0-71-generi fri oct 14 07:46 - 17:02 (09:15) ... runlevel (to lvl 5) 3.19.0-69-generi mon oct 10 08:32 - 07:47 (3+23:14) reboot system boot 3.19.0-69-generi mon oct 10 08:31 - 17:02 (4+08:30) shutdown system down 3.19.0-69-generi fri oct 7 16:49 - 08:31 (2+15:41)

shortcut keys - How to make propper language switch? - Ask Ubuntu

currently switching languages gsettings set org.gnome.desktop.input-sources current n with shorcut "super +n" n can 0,1,2. works pretty laggy: if use shortcut, , continue type, words pringted previous language several seconds if delete text , switch language, deleted words pasted on position of cursor

backup - Accidentally overwrote hard disk (with content) with a disk-to-disk image - Ask Ubuntu

i decided format laptop , reinstall again, borrowed friend's external drive had content in , downloaded disk imaging software backup hard own drive on friend's drive. i figured software automatically created folder in destination drive, no: overwrote whole thing , content identical hard drive's - , friend's files gone...! is possible recover friend's data? before continue let's clear: some data has been irrecoverably lost! however , depending on size of data , size of friend's data, might still recoverable. e.g. if cloned small 80gb hdd onto 2tb hdd, containing 1tb of data, 80gb of 1tb lost. if other way around, data lost. if former, testdisk best tool, work tedious... sorry, that's best can without laying our hands on hdd... :-(

python - ImportError: No module named 'PyQt4.QtWebKit' - Ask Ubuntu

i upgraded ubuntu 16.04 16.10, , python3 code working, not work anymore, i.e.: $ python3 python 3.5.2+ (default, sep 22 2016, 12:18:14) [gcc 6.2.0 20160927] on linux type "help", "copyright", "credits" or "license" more information. >>> pyqt4.qtwebkit import qwebview traceback (most recent call last): file "<stdin>", line 1, in <module> importerror: no module named 'pyqt4.qtwebkit' >>> package python3-pyqt4 installed. why this, , other packages needed work? it looks pyqt4.qtwebkit package got removed in ubuntu 16.10, because both pyqt4 , qtwebkit long unmaintained.

nvidia - Ubuntu Login bounce back - Ask Ubuntu

Image
disclaimer: have tried existing answers various questions already. none of them worked. problem: when login ubuntu 14.04 via gui, i'm redirected login page again. observations: i'm able login via terminal (using alt + ctrl + f1 ) when login via gui, i'm not getting password mismatch errors. redirect me login screen again. i'm able login guest in via gui. creating new user , logging in under 1 has same problem. /etc/lightdm/lightdm.conf not found (only users.conf exist in /etc/lightdm/ ). under ~/.cache/ , sessions not there. (identified while trying answer ask ubuntu) linux-generic date. background: changed login password per this . i'm getting problem after that. things tried: updating ( sudo apt-get update ) removing .xauthority file. reinstalling lightdm . installing gdm instead of lightdm . reconfiguring above lightdm . changing ownership of .xauthority . reinstalling nvidia . purging , reinstalling ubuntu-desktop . ...

How do I change permissions so I can edit the PAM password file? - Ask Ubuntu

i leading group of students working ubuntu 14.04. need add password edits, , have been able type them in, unable save due file being read only. have tried change permissions, keep getting "operation not permitted." help, please :) try putting sudo in front of command. said if using gedit need use gksu gedit instead of putting sudo in front. we see occasional questions students here needing homework projects first 1 teacher i've seen....

16.10 - How can I check if my laptop's wireless card supports 802.11AC wifi? - Ask Ubuntu

i tried commands iw list , iwconfig couldn't see supported wifi version (b/g/n/ac). the simplest way find out card type , search online capabilities. command find hardware lshw -c network . in case, gives: *-network description: wireless interface product: qca9565 / ar9565 wireless network adapter vendor: qualcomm atheros physical id: 0 bus info: pci@0000:02:00.0 logical name: wlan7 version: 01 serial: d0:53:49:3d:53:fd width: 64 bits clock: 33mhz capabilities: bus_master cap_list rom ethernet physical wireless configuration: broadcast=yes driver=ath9k driverversion=4.4.0-31-generic firmware=n/a ip=192.168.0.78 latency=0 link=yes multicast=yes wireless=ieee 802.11bgn resources: irq:17 memory:d0700000-d077ffff memory:d0780000-d078ffff warning: output may incomplete or inaccurate, should run program super-user. note, in case shown in comments card it's lucky coincidence...

permissions - VirtualBox Ubuntu server guest: serving of symfony app ends up with: attempt denied by server configuration - Ask Ubuntu

Image
i'm running ubuntu server using virtualbox develop symfony app. i've set shared folder, changed apache default folder /var/www/html /media/sf_apache_shared shared folder, convenient development. the default apache's index.html file, denoting apache set correctly, works fine. problematic moment comes play, once try run symfony app. if try create default symfony app, following result: although can create symfony app using same way, outside of folder, example inside of /var/www/html . i've checked permission of sf_apache_shared folder result of 770 , using following command: stat -c %a directory but aside fact, manually copied symfony app project sf_apache_shared , tried access project, windows host, using chrome. result apache's logs are: client denied server configuration: /media/sf_apache_shared/my_project_name/app/ client denied server configuration: /media/sf_apache_shared/my_project_name/src/ here server configuration:

networking - SSL errors when connecting to University Network - Ask Ubuntu

to start, have no problems @ on home network or on phone's mobile hotspot. basically when connect school's open wifi network ssl errors in connected applications (chrome, firefox, dropbox, tresorit). seem have no connectivity. i'm on brand new laptop running ubuntu 16.04.1. i'm quite new ubuntu , have no idea how troubleshoot this. i've checked normal stuff proxy/system time , looks normal. i'm kind of thinking specific school's network , laptop because else seems using wifi network without problems. i have gufw firewall installed, disabled doesn't seem make difference. any appreciated. edit: here info on wifi adapter, i'm starting think has specific adapter: intel 3165ngw filename: /lib/modules/4.4.0-45-generic/kernel/drivers/net/wireless/iwlwifi/iwlwifi.ko license: gpl author: copyright(c) 2003- 2015 intel corporation > description: intel(r) wireless wifi driver linux firmware: iwlwifi-100...

hybrid - Crashes on BayTrail device - Ask Ubuntu

shortly after trading tablet toshiba satellite click 2 (hybrid touchscreen laptop) installed linux. found out there bug in kernel results in linux intermittently crashing on baytrail integrated graphics devices. make sure wasnt installation problem tried out different ubuntu desktop environments distros , other linux distros manjaro. same problem. installed android x86 , same problem occurs. running fine , shuts off without warning if battery yanked device or power plug pulled. dead. have boot up. installed windows 10 , doesnt crash sure bug. googled , found "intel_idle.max_cstate=1" kernel boot flag. boot flag "intel_pstate=disable". i applied these boot flags both grub menu @ boot , in /etc/default/grub file. still random crashes. not isolated action or application either. way fix this? any appreciated thanks! i read link zanna provided in comments there else should at: bay trail freezing . there on 500 messages here bay trail users (plus few othe...

How to change the language in which official Ubuntu documentation (online) is displayed? - Ask Ubuntu

the official ubuntu documentation available @ https://help.ubuntu.com/ . curiously, automatically displays content in locale user's browser provides, without option change language. example, when open url https://help.ubuntu.com/lts/serverguide/cups.html , it's automatically in german, i'd read in english. how may it? as of 2017-10-12, there no nice way via user interface. there bug report asking way, bug #1532537 . please add list of affected people. workaround you can call webpage language of choice appending .<language code> url. examples: https://help.ubuntu.com/stable/ubuntu-help/index.html.en https://help.ubuntu.com/stable/ubuntu-help/index.html.fr https://help.ubuntu.com/stable/ubuntu-help/index.html.de

16.04 - Bluetooth keyboard disabled after logging in - Ask Ubuntu

i paired bluetooth keyboard ubuntu 16.04. @ first, seemed work. opened "keyboard settings", , keyboard not work anymore. the funny thing is, if logout, can type login password keyboard. when log in, keyboard not work anymore. how can make keyboard work when logged in? note: keyboard not have receiver. the problem numlock turn on default. solve it: install numlockx: sudo apt-get install numlockx turn off numlock: numlockx off personally, add command autostart, numlock disable @ login. related documentation: numlockapplekeyboard . note method disable numlock in documentation outdated (16.04), setting entry not available anymore.

The Software center won't start anymore how to fix it? - Ask Ubuntu

Image
my software center in ubuntu 14:04 wont start anymore. error received below in screen shot. i'm new in ubuntu. so, can give me step step instructions solve issues more appreciated. thank in advance.. :) i had same problem 14.04. each time computer started dialog appear stating - system program problem detected -do want report now? when tried report after awhile state didn't have enough ram it, , had try solve problem myself. realized ubuntu hadn't been updating system lately quite unusual clicked on software updater , wouldn't connect either. next approach open synaptic , might me. noticed square in front of update manager gray exclamation mark meant needed upgraded. right clicked on , selected upgrade marked other file selected applied it, , after finished quit synaptic. time system updater worked, , after downloading , installing 210 mega-bytes , restarting, ubuntu software center working again. that' can tell you. i'm not expert.

lubuntu - Linux sees only 1/2 of my RAM? - Ask Ubuntu

Image
this question has answer here: why ubuntu show 3gb of ram? 6 answers linux see 1/2 of ram ram size 2048mb, linux see 1300mb. why? no, it's not buffered, because ubuntu free command don't print free buffered ram here output of command free lubuntu 16.04 x32 your ram there. it's of being used. whenever computer on, things loaded ram never see entire ram shown "available". looking in "total" column. for example, on machine: total used free shared buff/cache available mem: 15938 9361 2307 1436 4269 4807 swap: 16383 868 15515 i have 15938 m of ram, of 4807 available , 9361 being used various processes. don't see 2048 because you're using -m . try --mega instead. , if next question why linux taking ram, see http...

Accidentally modified .bashrc and now I cant login despite entering password correctly - Ask Ubuntu

i messed bigtime bashrc file. installing gurobi , had set path variables in bashrc file. so, replaced text in bashrc path variables , saved bashrc file. , made sure, if bad happens, have backup of file. original unmodified backup file in downloads folder. now when restarted system, not able login despite giving proper password. hence, i'd ask help. kind of fixes possible given fact still have bashrc file in downloads directory use liveusb or livedvd. boot live session, mount hard-drive, , copy original .bashrc file on modified. then can safely reboot (eject usb or dvd). general info: in case wouldn't have backup of .bashrc file, can use 1 liveusb/dvd.

apt - Yakketey Yak problem - Ask Ubuntu

i having problem yakketey yak. ubuntu user long time ago, 16.10 version new me. can me? image 1 translation - repository informations download failed image 2 translation - e: obtaining failed cdrom://ubuntu 16.10 _yakkety yak_ - release amd64 (20161012.2)/dists/yakkety/main/binary-i386/packages por favor utilize o apt-cdrom apt recognizes cd. apt-get update can't used add new cds e: obtaining failed http://ppa.launchpad.net/pinta-maintainers/pinta-stable/ubuntu/dists/yakkety/main/binary-amd64/packages 404 not found e: obtaining failed http://ppa.launchpad.net/pipelight/stable/ubuntu/dists/yakkety/main/binary-i386/packages 404 not found e: index files download failed. they're ignored or last ones replaced them. if want console, it's pretty simple. need drop root shell , disable offending sources: sudo add-apt-repository -r ppa:pinta-maintainers/pinta-stable sudo add-apt-repository -r ppa:pipelight/stable finally, disable cd-rom source: sudo nano ...

Steam won't start on Ubuntu GNOME 16.04 - Ask Ubuntu

this question has answer here: steam doesn't start after upgrade ubuntu 16.04 2 answers steam not opening in ubuntu 16.04 lts 6 answers i'm using latest ubuntu gnome. when download steam-installer though software works, after nothing happens no update , won't launch. here error message when try launch steam in terminal: $ steam running steam on ubuntu 16.04 64-bit steam_runtime enabled automatically grep: symbol lookup error: grep: undefined symbol: pcre_jit_stack_alloc grep: symbol lookup error: grep: undefined symbol: pcre_jit_stack_alloc grep: symbol lookup error: grep: undefined symbol: pcre_jit_stack_alloc installing breakpad exception handler appid(steam)/version(1461972496) libgl error: unable load driver: swrast_dri.so libgl error: failed load driver: s...

freeze - Usb transfer crash - Ask Ubuntu

i have been researching days , not know do. when transferring data (30+ gb) hard drive (ssd) usb cause computer freeze , way out hold power button. i changed dirty ratios 0, answered in post not working. it makes life difficult :( ubuntu 16.04 lts

grub2 - How to remove Grub - Ask Ubuntu

i installed ubuntu , had dual boot option windows 10 enterprise running alongside ubuntu. remove ubuntu still have grub boot launcher. every time start surface pro 3 have type exit in grub. after that, takes me login screen. the pc working fine, boot launcher comes every time. i have seen other tutorials remove boot launcher, don't have windows disk, tutorials need have one well in old days of win98 , ,you open command prompt , type "fdisk /mbr" without inverted commas , rid of grub, dont know whether command works on recent versions of windows, or whether still have fdisk even, can find out command prompt typing fdisk -help , see happens hope find useful

What does 'Ign' mean when running an apt-get update? - Ask Ubuntu

i had bunch of errors in output of sudo apt-get update: duplicate entries , 404 not found errors. figured out, hope: removed ppas didn't have packages associated them, removed out duplicate entry in /etc/apt/sources.list . it seems have royally buggered up. of lines ign when sudo apt-get update . how go straightening out have screwed up? need rid of these ign s on place. there 50% (eyeball guess) ign s! when use apt-get update verifies if same update indexes need downloading, if not not download same updated indexes again. hit means apt checked timestamps on package list, match , there no changes. ign means there no changes in pdiff index file, wont bother downloading again. nothing scared of, means there no need download updated indexes again, ones have current.

keyboard - Is it possible to assign a shortcut key to fn+function key combination? - Ask Ubuntu

i assign shortcut reload page in chrome. fn keys enabled default. f5 key blank. if disable fn key enable lose functionality of other keys brightness control , media control. possible assign shortcut key 1 key combination fn+f5 reload, can press 1 key instead of two. the hotkeys f1-help f2-brightness decrease f3-brightness increase f4-change display output f5-blank f6-mute f7-volume decrease f8-volume increase f9-previous f10-play/pause f11-next f12-flight mode

software installation - How do I install the latest version of Git with apt? - Ask Ubuntu

i read security flaw in git, fixed in version 2.2.1. have git 2.1.0 on system (ubuntu 14.10), , tried reinstall apt. however, apt told me have latest version. the git website not have prebuilt versions linux. can install package managers. without building source, how install latest version of git? use ppa maintainers of git on ubuntu: sudo apt-add-repository ppa:git-core/ppa sudo apt-get update sudo apt-get install git if don't know ppas are, first read what ppas , how use them? if receive error add-apt-repository command not found may need add python-software-properties package or software-properties-common depending on ubuntu version. ubuntu 14.04 sudo apt-get install software-properties-common ubuntu 13.10 or earlier sudo apt-get install python-software-properties

software installation - Manager Accounting update/install fails - Ask Ubuntu

tried update manager.io accounting program using ubuntu software center. update fails with: the following packages have unmet dependencies: manager-accounting: depends: libmono-wcf3.0-cil (>= 2.6.3) not going installed here now, cannot open manager. tried re-installing: $ sudo apt-get install libmono-wcf3.0-cil reading package lists... done building dependency tree reading state information... done package libmono-wcf3.0-cil not available, referred package. may mean package missing, has been obsoleted, or available source following packages replace it: libmono-wcf3.0a-cil libmono-cil-dev e: package 'libmono-wcf3.0-cil' has no installation candidate so, tried install replacement packages: $ sudo apt-get install libmono-wcf3.0a-cil reading package lists... done building dependency tree reading state information... done libmono-wcf3.0a-cil newest version. 0 upgraded, 0 newly installed, 0 remove , 0 not upgraded. $ sudo apt-get install libmono-cil-dev reading p...

In-application Icons not viewable in ReText under Kubuntu 16.10 - Ask Ubuntu

Image
the icons in retext not visible: here how supposed like: i have installed repositories. ideas? edit content of .gtkrc-2.0 per request in comments include "/usr/share/themes/breeze/gtk-2.0/gtkrc" style "user-font" { font_name="noto sans regular" } widget_class "*" style "user-font" gtk-font-name="noto sans regular 10" gtk-theme-name="breeze" gtk-icon-theme-name="breeze" gtk-fallback-icon-theme="gnome" gtk-toolbar-style=gtk_toolbar_icons gtk-menu-images=1 gtk-button-images=1 ok, after setting icon set in kde breeze , resetting breeze dark, retext picked , shows icons.... thank pointing me in right direction.

Trying to install windows from USB ISO file - Ask Ubuntu

i have created fat usb flash drive windows iso file on replace ubuntu on 1 of pcs. when hit f2 on boot up, takes me asrock uefi screen prioritize usb. not computer boot usb. when hit f11 boot menu screen 1 says "please select boot device" , shows sata , usb options. select usb , goes screen says 2 "gnu grub version 2.02~beta2-36ubuntu3.2" 4 options: *ubuntu, advanced options ubuntu, memory test (memtest86+), memory test (memtest86+, serial console 115200) someone please, love of god, me figure out how boot darn usb.

gnome panel - 16.04 Flashback Metacity: ALL upper-right applets now missing - Ask Ubuntu

i'm on 16.04. 3 monitors. nvidia card. station has been upgraded 14.04. i'm using flashback metacity theme. there lot of people experiencing issue in these forums [ i've scoured ]. solutions i've tried. not work. all until 2 days ago. time/date logout gear thing -- upper right items gone. i've tried following: reinstall indicator-datetime rm -rf ~/.config/dconf/ reinstall flashback sudo dpkg-reconfigure --frontend noninteractive tzdata dconf reset -f /com/canonical/indicator/datetime/ pkill -f datetime reboot, logout, login ...etc. settings -> show date ..etc. no change whatsoever. sound/volume missing --all applets in upper right missing , right-clicking not offer options. ps ax | grep -i indicator-datetime for time being i'm running xclock. have no logout,restart,sound ...etc. i can't add indicator applet panel in gnome-classic was able manually add in equivalent items detailed above. still wondering why stuff disap...

networking - After network restart, device not ready Xubuntu 16.04, Intel 3945ABG Wireless card - Ask Ubuntu

when wifi drops, disable , re-enable wifi. sometimes, doesn't fix problem. show no networks. reset network sudo service network-manager restart , device not ready i end having reboot , fixes things temporarily, until next time. how fix don't have restart computer every , again? as suggested @vbf below, ran these commands , got these results when things stopped working. here output of ifconfig : enp9s0 link encap:ethernet hwaddr 00:18:8b:dd:24:32 broadcast multicast mtu:1500 metric:1 rx packets:0 errors:0 dropped:0 overruns:0 frame:0 tx packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 rx bytes:0 (0.0 b) tx bytes:0 (0.0 b) interrupt:18 lo link encap:local loopback inet addr:127.0.0.1 mask:255.0.0.0 inet6 addr: ::1/128 scope:host loopback running mtu:65536 metric:1 rx packets:10682 errors:0 dropped:0 overruns:0 fram...

Ubuntu 16.04 keeps asking screen password after installation of Radeon graphics driver - Ask Ubuntu

this question has answer here: ubuntu gets stuck in login loop 37 answers i using ubuntu 16.04 on dell 5559 radeon graphics. downloaded package amd , installed it. after restarting keeps on asking password after put right password. once put password, read , again return , asking password. now can't login system. kindly assist, how can open it? ajay, i experienced same wasn't able fix went original situation. have firepro v4900 card. used linux-image-4.4.0-45 boot from; my solution far reboot using older kernel (43) @ grub boot screen. uninstalled 45 image (and thereby amd driver) using apt-get remove or synaptic . run grub update . reboot , should default boot in 43. reinstall 45 image. don't touch amd package.... when retried reproduced saw before.... trouble! my 2ct alex

Cant fix directory in ubuntu 16.04 - Ask Ubuntu

this question has answer here: invalid filename extension in apt sources.list 1 answer i tried install yandex browser. went wrong , message: n: ignoring file 'yandex-browser.list.save.1' in directory '/etc/apt/sources.list.d/' has invalid filename extension n: ignoring file 'yandex-browser.list.save.2' in directory '/etc/apt/sources.list.d/' has invalid filename extension e: type 'andex.ru/yandex-browser/deb' not known on line 1 in source list /etc/apt/sources.list.d/yandex-browser.list e: list of sources not read. n: ignoring file 'yandex-browser.list.save.1' in directory '/etc/apt/sources.list.d/' has invalid filename extension n: ignoring file 'yandex-browser.list.save.2' in directory '/etc/apt/sources.list.d/' has invalid filename extension e: type 'andex.ru/yandex-browser/deb' not ...

microsoft office - Script that opens a program in a VM - Ask Ubuntu

so began using ubuntu , i'd use ms office suite. have full suite through office education program, i'd able use it. wondering if it's possible me write script called "microsoft word" when run it, opens word in windows 10 vm. i'm using kvm vm. possible? also, best way able use ms office on ubuntu? or there another, easier way? fyi, don't have installation cd, id have download office programs online through either windows computer or vm. thanks

package management - Problems with dependencies for The Witcher 2 - Ubuntu 16.10 x64 - Ask Ubuntu

as i've written, have problems launching or editing settings of the witcher 2: assassins of kings enhanced edition . everytime try launchit, pops me window dependencies problems -> xwindow - dependencies problems screenshot . so, can tell me way, how fix it? :) thanks! ^^ try following command in terminal (you can use ctrl + alt + t open terminal , ctrl + shift + v paste in terminal): sudo apt install libc6:i386 libasound2:i386 libasound2-data:i386 libasound2-plugins:i386 libgtk2.0-0:i386 libsdl2-2.0-0:i386 libsdl2-image-2.0-0:i386 libfreetype6:i386 libcurl3:i386 make sure doesn't try remove crucial packages window manager. might list packages under 'the following packages removed:' before says 'do want continue? [y/n]'. source (search ( ctrl + f ) dependencies) source said might need install dependencies

command line - How to get a login screen on a serial terminal? - Ask Ubuntu

i trying connect serial (dumb) terminal ubuntu 16.04lts system. there how-to's around, have problems them . need "simple" logon message on serial terminal - after unixoids multi-user-systems. 1 of suggestions led dead system, requiring re-install. gtkterm using /dev/ttys0 connects ok terminal, i.e. typing text on serial terminal , reading on gtkterm works ok typing on gtk , reading on dumb terminal - connection set-up ok. i read " https://help.ubuntu.com/community/serialconsolehowto ", not sure portions need when need additional "login" screen on dumb terminal, "only". for above text, set-up file ttys0 mentioned facing issues when entering sudo start ttys0 : start: connection upstart not possible: failed connect socket /com/ubuntu/upstart: connection set-up rejected." the user member of these groups: uucp dialout cdrom sudo dip plugdev lpadmin sambashare i don't want tamper grub etc, need ubuntu login-screen, ones see...

Distribution upgrade from 12.04 to 14.04 on Power PC - Ask Ubuntu

i running 1.67ghz powerbook ubuntu 12.04 lts standard unity desktop. update manager suggests update 14.04.5 lts. know ubuntu not available ppc image in 14.04. happen if chose distribution upgrade? this not of answer, @ least can tell in case trying upgrade has not caused bad happen. have tried twice upgrade old g4 mac mini , each time unable complete upgrade. can't remember happened. know nothing broke , ended same old 12.04lts system. every , tells me there upgrade available, thought i'd check see if has yet been able such upgrade on ppc.

Nautilus : python extension package compatibility issue (Ubuntu 14.04)? - Ask Ubuntu

i tried install several python nautilus extensions (i.e. nautilus-columns, nautilus-open-as-root,... ) without success. installation goes fine, nothing shows in nautilus. of course, package python-nautilus installed: ii python-nautilus 1.1-8 amd64 python binding nautilus components digging little bit, discovered nautilus complaining when starting: importerror: not import gobject (could not find _pygobject_api object) (nautilus:18199): nautilus-python-warning **: pygobject initialization failed (nautilus:18199): nautilus-python-warning **: nautilus_python_init_python failed looks issue gobject library or that. as i'm running ubuntu 14.04.5 python upgraded, may issue there ? here extract of packages available on distribution: ii libpython-stdlib:amd64 2.7.5-5ubuntu3 amd64 interactive high-...

16.04 - Deleted Network manger trying to install from usb hasn't worked for 2 days - Ask Ubuntu

the title pretty explains it. accidentally deleted network manager , have rebooted system since. thus, no longer in cache folder in /var . other issue cannot wired connection on computer have use usb ethernet , cannot install driver linux. from i've read have find network-manager.deb , run sudo dpkg -i *.deb install it. issue can't find file or package contains anywhere. i have downloaded network-manager_1.1.10ubuntu0.16.04.3.debian.tar.xz , , have original usb ubuntu iso , above mentioned file on it. again efforts have been fruitless in finding actual .deb file. there debian folder (nothing in ends in .deb) in folder extracted to, seems nothing in there aids install. , nothing i've found online has helped. if give me steps remedy or tell me can find network-manager.deb appreciated. also, i'd prefer not having boot live usb if possible, because tried method involving , disastrous least. go this web page . can directly download .deb file architectu...

Autostart Resilio Sync Script in Ubuntu 16.04 - Ask Ubuntu

i trying configure script (resilio sync) start every time boot up, tried crontab @reboot seems work on reboots, not when booting cold. tried adding resilio sync in gnome tweaks (i use ubuntu gnome) since it's script, not seem have .desktop file associated it. is way can start script on boot-up create .desktop file integrate via tweak tools startup? or there maybe less cumbersome way achieve goal? best, berliny

environment variables - What does MANPATH, LD_LIBRARY_PATH mean in Linux? - Ask Ubuntu

what manpath , ld_library_path mean in linux ? uses of these? manpath . see "2.3.2. man pages". manpath path manual pages. ld_library_path . see "3.3.1. ld_library_path". in linux, environment variable ld_library_path colon-separated set of directories libraries should searched first, before standard set of directories; useful when debugging new library or using nonstandard library special purposes. environment variable ld_preload lists shared libraries functions override standard set, /etc/ld.so.preload does. these implemented loader /lib/ld-linux.so. should note that, while ld_library_path works on many unix-like systems, doesn't work on all; example, functionality available on hp-ux environment variable shlib_path, , on aix functionality through variable libpath (with same syntax, colon-separated list).

Downloading all images from website - Ask Ubuntu

Image
i'm trying download images of website here website : https://wall.alphacoders.com/by_sub_category.php?id=173173&name=naruto+wallpapers i tried: wget -nd -r -p /home/pictures/ -a jpeg,jpg,bmp,gif,png https://wall.alphacoders.com/by_sub_category.php?id=173173&name=naruto+wallpapers s but doesn't download images result http request sent, awaiting response... 200 ok length: unspecified [text/html] /home/pictures: permission denied/home/pictures/by_sub_category.php?id=173173: no such file or directory cannot write ‘/home/pictures/by_sub_category.php?id=173173’ (no such file or directory). to download images specified page wget can use command: wget -i `wget -qo- https://wall.alphacoders.com/by_sub_category.php\?id\=173173\&name\=naruto+wallpapers | sed -n '/<img/s/.*src="\([^"]*\)".*/\1/p'` in example html file download wget stdout, parsed sed img url remain , passed wget -i input list downloading. ...

server - Ubuntu 16.04 installer hangs on softlockup 812LC - Ask Ubuntu

posting on behalf of community member erik kooistra (erikk): i installing ubuntu 16.04 using net install on multiple 812lc machines. every time installer hangs with. [ 125.900503] nmi watchdog: bug: soft lockup - cpu#4 stuck 23s! [swapper/4:0] and installer frozen time, after can continue installer. also can connect installer using sol remote control not work. is there fix this? dmesg output this looks race condition in ast framebuffer driver we've (now repeatedly) squashed on $time. you should able add "ast.blacklist=yes" kernel command line blacklist ast framebuffer driver. disable vga port , you'll have use text installer (but you're doing that). i thought newer kernels have had fix in them, perhaps particular ubuntu 1 has 1 of two/three fixes.

command line - Snap Launching on Unity 7 But Not Unity 8 - Ask Ubuntu

i have snap working , running on unity 7 (16.04 , 16.10). however when try run on unity 8 (16.10) hit this: ... gmt qxcbconnection: not connect display aborted (core dumped) ( see full log ) has come across this? if so, mean , how resolve , snap working on unity 8? from searching i've done mention headless server isn't case because i'm trying launch snap not server. any appreciated, in advance!

keyboard - Disabling Alt L from going to the File/Edit/View menu (within TeXstudio) - Ask Ubuntu

i want create various keyboard shortcuts within texstudio, problem left alt key takes me out of text editor , file/edit/view menus (so can navigate around these menus arrow keys). if press alt l again, return text editor. how can disable alt l doing this, can use e.g. alt+a \alpha, , on? thank you.

graphics - Can't GUI login after nvidia update - Ask Ubuntu

my ubuntu 16.04 system running ok until allowed today's update. after system reboot, not able log in using gui. after entering in password, system pause, after bit screen go black, , return login screen. 1 of updates nvidia driver update nvidia-current:amd64 (304.131-0ubuntu3, 304.132-0ubuntu0.16.04.2) /var/log/apt/history.log when remove nvidia using $ sudo apt purge nvidia-* following packages removed: nvidia-304* nvidia-common* nvidia-current* nvidia-opencl-icd-304* nvidia-settings* the system works, although think using base graphics. when reinstall using $ sudo apt-get install nvidia-current nvidia-settings following additional packages installed: nvidia-304 nvidia-opencl-icd-304 following new packages installed: nvidia-304 nvidia-current nvidia-opencl-icd-304 nvidia-settings the system no longer logs in , bad before. some system info: $ lspci | grep vga 05:00.0 vga compatible controller: nvidia corporation g98 [quadro nvs 420] (rev a1) $ ls -l...

14.04 - Why can't I install git and node.js? - Ask Ubuntu

i installed ubuntu alongside windows. know have git , node on windows, can't open them on ubuntu, , can't install them. what showing when trying install git? please try following commands in terminal window sudo apt-get update sudo apt-get install git to install node js try sudo apt-get install nodejs

partitioning - Resize LVM partition? - Ask Ubuntu

i have 1023g tb lvm partition on /dev/sda5, partition same on /dev/sda2 id of 5 , labeled "extended partition". /dev/sda 1.8 tb. finally, have /dev/mapper/files--vg-root 1022.5 gib , lvm swap wich 1gib so how might go resizing either of there partitions don't know 1 actual lvm partition. thanks! i suggest using gui resize partition. try kde partition manager 3.0 can see lvm partitions. you can on neon live cd (user edition enought now) then open terminal , install partitionmanager: apt update; apt install partitionmanager

How do I use grep to generate - Ask Ubuntu

how generate list displays lowest numbers in file? ex. list item 2476 jackie woodson :manager: :sales: :05/01/59: 110000 list item 2000 jack wilson :director: :accounts: :04/19/55: 80000 list item 7700 wilson ali :executie: :accounts: :08/30/56: 90000 list item 3364 bill wilcocks :manager: :sales: :12/12/55: 65000 list item 4290 neil o'bryan :executive: :accounts: :05/01/59: 100000 list item 2000 wilson albert :chairman: :productions: :03/12/50: 125000 i want list show range between 60000 , 9000 , list using grep i've tried grep "[69]" .....$ filename grep not numeric comparisons, , not tool use here. i'd use: sort --field-separator=":" --numeric-sort --reverse --key=7 --ignore-leading-blanks filename | \ tail --lines=3 | \ sort --field-separator=":" --numeric-sort --key=7 --ignore-leading-blanks

evolution - PGP key manager - Ask Ubuntu

i have 2 vmware machines on player.. first ubuntu email client evolution have generated key in seahorse on email a@xxx.com second windows email client thunderbird have generated key enigmail on email b@xxx.com what want send encrypted , signed emails a@xxx.com b@xxx.com , reply a@xxx.com b@xxx.com with enigmail have downloaded public key b@xxx.com , can see it. problem simple: when send email thunderbird a@xxx.com signed , encrypted b@xxx.com works fine , can see message. but when try reply b@xxx.com (evolution mail client) a@xxx.com (thunderbird mail client) error: : because "gpg: using subkey xxxxxxxx instead of primary key xxxxxxxxxx gpg: no trust check due '--trust-model always' option gpg: : skipped: no public key gpg: [stdin]: encryption failed: no public key ", may need select different mail options. problem cant reply b@xxx.com a@xxx.com of error ^^^^

sftp - FTP client with cyberduck like 'open in your editor' functionality - Ask Ubuntu

on mac os there great ftp client called cyberduck upon connection offers open file on server preferred text editor. downloads file in temporary folder, opens in text editor , upon saving uploads server. know there plenty of ftp clients linux, yet come across 1 provides feature. can mention 1 me? thanks all text editors gvfs (e. g. gedit, gnome's default text editor) or kio (e. g. kate, kde's default text editor) support can open files on "virtual" file systems including ftp network resources. in addition you'll need file manager knows gvfs/kio can browse virtual directories , knows how tell gvfs/kio-enabled applications open resources on such file systems. examples such file browsers are nautilus, ubuntu's/gnome's default file manager, thunar, xubuntu's/xfce's default file manager, nemo, fork of nautilus, dolphin, kubuntu's/kde's default file manager, konqueror (also kde). you can instruct file manager access ftp ...

boot - Keyboard Error in bootup - Ask Ubuntu

i installed fresh version of 16.04 on low mid range desktop (hp slimline) use headless plex server direct streaming. after successful install, plan stow desktop away in closet run headless ethernet connection , power. management done via ssh remote computer on network. when remove peripherals monitor, mouse , keyboard, , restart system, desktop refuses reboot , displays message "keyboard error". need plug in keyboard , system restarts fine. my question is, how can run desktop headless, no keyboard? looked in menu's , cant seem find solution. need switch operating systems ubuntu server better results? hi use case recommend starting ubuntu-server-image , asks on installation services want installed, sshd . image differs desktop-images it's install routine , not ship desktopenvironment (e.g. unity). , after installation can run headless , without need of attached keyboard.

How to correctly enable Postgresql on ubuntu 16.04 - Ask Ubuntu

i installed psql (postgresql) 9.6.1. when type psql i got: psql: not connect server: no such file or directory server running locally , accepting connections on unix domain socket "/var/run/postgresql/.s.pgsql.5432"? when type netstat -ln i got following: active internet connections (only servers) proto recv-q send-q local address foreign address state tcp 0 0 0.0.0.0:17500 0.0.0.0:* listen tcp 0 0 127.0.0.1:17600 0.0.0.0:* listen tcp 0 0 127.0.0.1:17603 0.0.0.0:* listen tcp 0 0 127.0.1.1:53 0.0.0.0:* listen tcp6 0 0 :::10137 :::* listen tcp6 0 0 :::17500 :::* listen tcp6 0 0 127.0.0.1:8005 :::* listen tcp6 0 0 :...