Posts

Showing posts from February, 2013

How to add a directory permanently to my Path? - Ask Ubuntu

this question has answer here: how add directory path? 18 answers basically want know that. how can add directory (/tmp in case) path permanently terminal? export path=/tmp:$path current session. echo -e '\nexport path=/tmp:$path' >> ~/.profile future sessions.

boot - How to move system partition on same hdd? - Ask Ubuntu

this question has answer here: gparted can't move extended partition right? 1 answer so have inconvenient partition config on win7/ubuntu system. wanna have extended sdb3 moved ajar in screenshot later add swap , home partition (latter on drive). despite easy sounding explanation here how can expand partition non adjacent free space using gparted? gparted allows me put copy (sdb4) of sdb5 desired location. tried desperately make copy boot-able (uuid in grub) hours no progress far open input. what you're trying move water without moving glass it's in, move glass , water follow! move left edge of /dev/sdb3 (the glass) left , move /dev/sdb5 (the water) left edge! :-) and that's why they're both coloured blue...

Second Monitor Not Detected, Displays Underscore 16.04 - Ask Ubuntu

i have gtx 950 connected huge monitor, , motherboard's vga connected 18" dell...which displays things fine during boot (and in windows), time hit ubuntu splash screen, blank console-like screen underscore displayed in top left. other (main) monitor works fine. nvidia binary driver 361.42 i've failed detect display in settings , in nvidia's xserver program to. have tried rebooting , th elike really use help, hate have resort windows not sure if it'd helpful worth try first list detected monitors using xrandr --current this show connected display devices. mine shows this screen 0: minimum 8 x 8, current 1920 x 1080, maximum 16384 x 16384 lvds-1 connected 1366x768 60.10 + 1360x768 59.80 59.96 1024x768 60.04 60.00 960x720 60.00 928x696 60.05 896x672 60.01 960x600 60.00 960x540 59.99 800x600 60.00 60.32 56.25 840x525 60.01 59.88

internet - Netgear N-300/ WNA3100 USB Adapter for Ubuntu 16.04 - Ask Ubuntu

i new linux , ubuntu , having trouble connecting internet. i have netgear wna3100 usb adapter , don't have in additional drivers. you can add support netgear n-300/ wna3100 usb adapter installing ndiswrapper , loading windows network driver. install ndiswrapper modules $ sudo apt-get install ndiswrapper-dkms ndisgtk ndiswrapper-common $ sudo apt-get install ndiswrapper-source ndiswrapper-utils-1.9 activate ndiswrapper: $ sudo modprobe ndiswrapper load driver ndiswrapper: navigate saved driver (look @ download windows netgear drivers section below): $ sudo ndiswrapper -i bcmwlhigh5.inf (add ndiswrapper modules boot configuration with:) $ sudo ndiswrapper -m download windows netgear drivers you can download driver netgear site: wna3100 drivers . thing need download package wna3100 folder. the exptracted wna3100 folder available at: http://faq.apollo3.com/ljames/ubuntu/networksupport/ note: you need wine extracting wna3100.zip pack

Is it safe to install Ubuntu 16.04 beside WIndows 10 with UEFI? - Ask Ubuntu

this question has answer here: ubuntu windows safe? 3 answers so kinda worried installing ubuntu on main pc, since love it. but problem is, motherboard uefi. gigabyte h81m-hd3. would safe dual boot windows , linux on this? also, installation easy installing on pc has bios? (i have ubuntu on laptop) also, last question, let's installed ubuntu , windows, , windows gets update, can update break grub2 bootloader? thanks help, if able install ubuntu 16.04 on custom build pc i'd happy hell. i agree byte commander's answer; however, it's worth noting modern uefis provide compatibility support module (csm), enables them boot bios-mode oses. since refer gigabyte motherboard, not computer vendor sells whole systems (like dell or lenovo), it's installed windows yourself, , installed in either bios/csm/legacy or efi/uefi mode. can determine b

dependencies - E: Package 'libpng12-0' has no installation candidate [ubuntu 16.10 Gnome] - Ask Ubuntu

i tried install wps office on laptop (ubuntu 16.10 gnome, 64 bit) gdebi installer said dependency not satisfiable: libpng12-0 then tried open library follows sudo apt-get install libpng12-0 but encountered error: reading package lists... done building dependency tree reading state information... done package libpng12-0 not available, referred package. may mean package missing, has been obsoleted, or available source e: package 'libpng12-0' has no installation candidate can help? lot you can download libpng12-0 package here: http://packages.ubuntu.com/xenial/i386/libpng12-0/download i386 architecture , http://packages.ubuntu.com/xenial/amd64/libpng12-0/download amd64. i had same dependency problem. downloading , installing fix edthe error. ubuntu 16.10 killed these libs jeje.

High CPU Usage for "kidle_inject / x" in Ubuntu 16.10 - Ask Ubuntu

this question has answer here: kidle_inject causing high load 3 answers after upgrading ubuntu 16.10 not able use laptop because of high cpu usage of "kidle_inject". pid user pr ni virt res shr s %cpu %mem time+ command 7966 root -51 0 0 0 0 s 35.2 0.0 4:27.77 kidle_inject/1 8327 xxxx 20 0 1906104 302952 69876 s 34.9 3.7 0:08.15 chromium-browse 7968 root -51 0 0 0 0 s 34.5 0.0 4:31.28 kidle_inject/3 7965 root -51 0 0 0 0 s 33.9 0.0 4:24.68 kidle_inject/0 7967 root -51 0 0 0 0 s 32.6 0.0 4:28.50 kidle_inject/2 sudo rmmod intel_powerclamp stops crazy processes need execute each time after restarting pc. please me. thanks. you

Distribution upgrade from 14.04 to 16.04 stuck installing pepperflashplugin-nonfree (amd64) - Ask Ubuntu

Image
what should do? have "distribution upgrade" window open. has green check marks along "preparing upgrade", "setting new software channels" , "getting new packages." on "installing upgrades" step, , hanging on "preparing pepperflashplugin-nonfree (amd64)". there expandable/collapsible terminal @ bottom of "distribution upgrade" window, no text visible (it black), , when click on it flashes. my screenshot application not open (perhaps because upgrade in progress?), can still open chrome. should do? should restart machine? in upgrade warned not turn off machine until upgrade complete. should hanging part way through? edit: screenshot tool no longer opens, apparently gimp does. here screenshot: when click on "terminal" black rectangle flashes (without changing size, i.e. not open up). if right click on "distribution upgrade" bar @ top of window, minimize, maximize , resize options g

unity - 16.10 Obiaf's driver not showing at additional drivers - Ask Ubuntu

i installed mesa packages , obiaf's amd driver ppa. (i'm using r9 280) i want enable hardware acceleration unity desktop because has ugly , slow rendering. but @ additional drivers window obiaf's driver not showing @ additional drivers window. additional drivers window image thanks!

bash - How to using a file as input to program starting from specific line in command? - Ask Ubuntu

to use file input program, < operator can used. for example, xmacroplay "$display" < input.txt however, there command specify if don't want use whole file, take lines input? some like, xmacroplay "$display" < input.txt --starting_line=100 --ending_line=120 (this surely won't work, want know if there option that) use sed or tool filter out specific line , pipe command. example, following send 10th , 13th lines of file xmacroplay : sed -n '10p; 13p' input.txt | xmacroplay "$display" --starting_line=100 --ending_line=120 or in awk : awk 'nr == 10 || nr == 13' input.txt | xmacroplay "$display" --starting_line=100 --ending_line=120 if, reason, cannot use pipe, use process substitution: xmacroplay "$display" --starting_line=100 --ending_line=120 < <(sed -n '10p; 13p' input.txt)

12.04 - dual boot fails Windows after update/upgrade - Ask Ubuntu

http://paste.ubuntu.com/23384999/ use 12.04 , windows 7(installed second). updated/upgraded ubuntu terminal , lost wireless found it.but gnu grub version 1.99-21ubuntu3.19 not loading windows. select windows , screen goes black second , goes purple again (returns grub menu). checked partitions, windows still have flag:boot. did update grub , "found windows 7 (loader) on dev/sda3...done". also, grub menu has 8 options after upgrade , not 7 before, new 1 returning ubuntu factory state. can please me boot windows again?

nvidia - ubuntu 16.04 and three monitors - Ask Ubuntu

i've got nvidia geforce gt 730 supports 2 monitors thought using integrated card. possible? have enabled card in bios after connecting can see black screen (not 'no signal' or message). i've got gigabyte b85m-d3h-a. technically possible since b85 supports intel fdi (flexible display interface), may have resort using nouveau drivers.

cron - Ubuntu crontab backup website files won't run - Ask Ubuntu

i use linux vps webhosting. want create backups automaticly. currently database backup works, daily created @ around 3:30 local time. but other backups won't anything, in screenshot below added * * * * * time notation testing, doesn't create file. if copy , paste exact same command (wihtout time) runs , creates backup. i hope can me, in advance. screenshot steeldriver: the % signs in database backup commands escaped e.g. date +\%y; in first command, aren't. see example how can execute date inside of cron tab job? thank much. typed / instead of \ in first place, did remove them becouse changed name. did solve problem.

package management - apt-get install git-all dpkg error - Ask Ubuntu

this question has answer here: “unable connect upstart” error when installing git-all 5 answers linux noob here. been trying setup git , having difficulty setting repository , linking git hub. issue. while trying figure out used following commands 1 after @ various times try , install correct packages need apt-get install git apt-get install git-core and finally apt-get install git-all while running last command received following error e: sub-process /usr/bin/dpkg returned error code (1) i have searched site try , find solution seems case dependent ran sudo apt-get install -f and got following output reading package lists... done building dependency tree reading state information... done following packages automatically installed , no longer required: linux-headers-4.4.0-31 linux-headers-4.4.0-31-generic linux-headers- 4.4.0-38 linux-he

dual boot - How can I install Windows after I've installed Ubuntu? - Ask Ubuntu

i have ubuntu on laptop. want install windows 7 in dual-boot. how can this? i can't lose ubuntu files, , i'm afraid might break grub . here's general outline: make space windows install windows mount /boot direcory or partition install bootloader ( grub ) step 1 – make space windows open gparted , , make sure have @ least 20 gb available windows 7, either partition can remove, or unpartitioned space. if it's partition, remove grub make sure doesn't break ubuntu install — gparted complain if bad happen. make note of current /boot device. if doesn't show there, make note of / device. device name sda5 . step 2 – install windows install windows 7 space made step 3 – mount /boot note: instead of mounting boot directory or partition installation in live media environment can specify path --boot-directory parameter grub-install, more information on manpage. load ubuntu live cd , , run these commands. if not have separate

apt - Trouble downloading packages list due to a "Hash sum mismatch" error - Ask Ubuntu

when check updates, "failed download repository information" error. this comes under details: w: failed fetch gzip:/var/lib/apt/lists/partial/us.archive.ubuntu.com_ubuntu_dists_natty_main_source_sources hash sum mismatch, e: index files failed download. have been ignored, or old ones used instead. just remove content of /var/lib/apt/lists directory: sudo rm -rf /var/lib/apt/lists/* then run: sudo apt-get update

Should I create an alias for each bash function? - Ask Ubuntu

i did short course on bash , terminal , 1 of best practices laid out in course creating alias each function created. example if had function: function e() { echo "$*"; } i should create create alias: alias e='e' do think makes sense , if yes reasoning? figure can source functions , use them without aliases anyway seems kind of unnecessary work. case aliases aliases can quite useful when want refer lengthy command short name. in order of precedence, aliases stand higher functions, in case want override existing name for own session you'd use alias. case functions when have command requires dealing single , double quotes @ same time , use functions. deal sed or awk lot understand. when want refer lengthy task consisting of multiple commands interacting variables, use function. in general , follow rule if there's more 3 commands, it's time use function. aliases can escaped appending \ . useful system administrators. if don&

Unable to mount Windows (NTFS) filesystem due to hibernation - Ask Ubuntu

whenever boot ubuntu, message cannot mount windows partition, , can choose either wait, skip or manually mount. when try enter windows partition through nautilus message saying partition hibernated , need enter file system , close it, have done no problem don't know why happens. here's partition table, if more data needed please let me know. device boot start end blocks id system /dev/sda1 2048 20000767 9999360 83 linux /dev/sda2 20002814 478001151 228999169 5 extended /dev/sda3 * 478001152 622532607 72265728 7 hpfs/ntfs/exfat /dev/sda4 622532608 625141759 1304576 82 linux swap / solaris /dev/sda5 20002816 478001151 228999168 83 linux a bug has been filed nautilus dialog seeing recommends potentially dangerous option result in data loss. please not run command in dialog unless want delete saved windows session , potentially lose unsaved work. explana

Questions about snap - Ask Ubuntu

i installed libreoffice , other programs snap, , have 2 question right now: it seems program cannot read outside of ~/snap/name_of_app/. guess security reasons, but...is there way read files outside of folder? mean, put stuff ~/document folder example , want snap version of libreoffice read it. the libreoffice package doesn't come traditional chinese interface language. there's no lang pack can install snap. chance can copy-paste language files folders, or add language in way? i'm running 16.04 x64 btw if makes difference. in advance. normally should have happened automatically, can connect libreoffice /home directory manually. open terminal , execute following command : sudo snap connect libreoffice:home ubuntu-core:home . check whether libreoffice connected /home directory running following snap command : snap interfaces you can try copy on language files /snap directory, think not idea, might break things. please bare in mind snap packaging

scripts - How can I periodically search ~/Downloads and add new files to Recent? - Ask Ubuntu

i periodically search newly added (created) files inside ~/downloads , add these files list of recent able listed , recognised applications such recent files indicator . introduction technically speaking, each gui application chooses register files opens gtk.recentmanager can so, , files appear in application reads recent files, including recent files indicator. however, command line applications don't that. possible , however, track directory , add newly created files recentmanager. script presented below allows doing that. usage the usage simple - run script python3 , give list of directories command line arguments. standard rules quoting command-line arguments apply. example: python3 indexdir.py ~/downloads source code: also available on github : #!/usr/bin/env python3 # author: serg kolo # date: november 19, 2016 # written for: http://askubuntu.com/q/842038/295286 gi.repository import gtk gi.repository import gio gi.repository import glib import u

16.04 - How to completelly reinstall LibreOffice? - Ask Ubuntu

Image
i installed ubuntu 16.04 (fresh installation), have lot of problems libreoffice. not more specific, these problems seems of various nature, windows not updating, crashing , on. had no problems in 14.04. so, "reset" libreoffice , reinstall it. best way reinstall libreoffice packages in ubuntu 16.04? updated : did lookup libreoffice packages in synaptic , "purged" them before reinstalling, still have problems can see following screenshot (editing math formula not problem, repeatable one, using benchmark of things working or not) i haven't encountered problem myself, didn't have chance experiment following solution myself. but, according blog post , askubuntu answer , forum thread , solution problem follows: open terminal pressing ctrl + alt + t , type: sudo apt-get remove --purge libreoffice* sudo apt-get clean sudo apt-get autoremove

command line - Terminal with output scrolling down - Ask Ubuntu

i have decided test double monitors in vertical configuration, , came across problem had never had before: input line on terminal far down screen! i wondering if there way make output scroll downwards, input line stays @ top. e.g., normal terminal view looks this: ping 8.8.8.8 (8.8.8.8) 56(84) bytes of data. 64 bytes 8.8.8.8: icmp_req=1 ttl=46 time=28.3 ms 64 bytes 8.8.8.8: icmp_req=2 ttl=46 time=13.7 ms 64 bytes 8.8.8.8: icmp_req=3 ttl=46 time=19.1 ms 64 bytes 8.8.8.8: icmp_req=4 ttl=45 time=20.8 ms 64 bytes 8.8.8.8: icmp_req=5 ttl=45 time=15.6 ms 64 bytes 8.8.8.8: icmp_req=6 ttl=46 time=15.3 ms 64 bytes 8.8.8.8: icmp_req=7 ttl=46 time=15.3 ms 64 bytes 8.8.8.8: icmp_req=8 ttl=45 time=14.3 ms 64 bytes 8.8.8.8: icmp_req=9 ttl=45 time=14.3 ms 64 bytes 8.8.8.8: icmp_req=10 ttl=45 time=15.5 ms 64 bytes 8.8.8.8: icmp_req=11 ttl=45 time=16.9 ms 64 bytes 8.8.8.8: icmp_req=12 ttl=45 time=16.3 ms 64 bytes 8.8.8.8: icmp_req=13 ttl=45 time=20.0 ms ^c --- 8.8.8.8 ping statistics --- 13

noobslab/themes repository for Ubuntu 16.10 - Ask Ubuntu

where can find repository newest version of ubuntu? add-apt-repository ppa:noobslab/themes does not work, results error: cannot add ppa: 'ppa:~noobslab/ubuntu/themes'. error: '~noobslab' user or team not exist. what should do? ppa:noobslab/themes not have packages in ubuntu 16.10. latest published packages in ppa:noobslab/themes ubuntu 16.04.

apt - How can I find all the additional packages I installed? - Ask Ubuntu

this question has answer here: generating list of manually installed packages , querying individual packages 11 answers is there way list of package names have installed additionally shipped copy of ubuntu? i didn't find options under manual files of apt , dpkg , apt-get seemed kind of function. edit clarify: assuming ubuntu came packages a,b,c,d,e,f , manually installed packages x,y,z , how can list of x,y,z ? i believe there better ways this, works. first download ubuntu manifest file ubuntu release wget -c "releases.ubuntu.com/$(lsb_release -r -s)/ubuntu-$(lsb_release -r -s)-desktop-$(dpkg --print-architecture).manifest" -o ubuntu.manifest then generate list of packages have in system , save in file called installed dpkg-query -w -f='${binary:package}\t${version}\n' > installed then copy , paste python code file

system installation - Ubuntu installer fails in various ways - Ask Ubuntu

i'm trying install ubuntu-16.04.1-desktop-amd64.iso live usb drive. fails in different ways depending on choices installer. way 1: boot installer, connect wi-fi network, , check "download updates while installing". can "install now" step, after "erase disk , install ubuntu" (with "use lvm" checked, though may not important, since tried other things below). click "install now", window pops partition info, , click permission go ahead -- , seems stuck spinning cursor. (i waited @ least 30 minutes, on hour.) might wrong? can find out? downloading updates time without saying it's doing? the sha256sum of iso checks out. when wrote usb drive (using rufus usb installer, following the directions ), set "check device bad blocks" option, , passed. the first time tried install, picked "install alongside windows" instead of "erase disk", , seemed hang same way. maybe repartitioning hours while display

Nvidia video card problems - Ask Ubuntu

i have nvidia video card not working @ full capacity , need use generic video drivers install linux. computer working windows 10 although generic drivers not allow me use video card full capacity. great since video card not work @ proper drivers. try linux, everytime tried fail. tried ubuntu, puppy , linux mint , of them fail. questions how can install linux generic video drivers or same windows? just download ubuntu , either burn onto dvd or usb stick ... boot using default use open source video drivers not nividia ... quick way see of machine happy running ubuntu ... if ok install today open source graphics driver ( nouveau ) robust , uses current opengl release ... in ancient past dedicated oem drivers nvidia or amd offered current opengl specs are seeing nouveau not giving current opengl release nvidia graphics card supports ? once installed can choose nvidia drivers ... system settings -> software & updates -> additional drivers ... give few seconds li

how to add any linux kernel manual from my file - Ask Ubuntu

this question has answer here: how can install newer kernel? 2 answers how update kernel latest mainline version without distro-upgrade? 13 answers i want add last kernel , not @ ubuntu apt yet want know if have kernel file on pc how can install kernel need manual file? i got https://www.kernel.org/ , used xz -cd linux-4.x.tar.xz | tar xvf - install thought done , found have old 1 uname -r , found files still @ home folder after extract past code , refused build said no files so need way install direct file time want. i made upgrade apt-get not last 1 wanted ,thank u.

Nautilus not showing on launcher and alt+tab - Ask Ubuntu

when launch nautilus in system, window appears not showing on launcher bar. problem cannot switch opened nautilus window after going other applications. alt + tab not showing active nautilus window. if want go nautilus window have minimize or close other windows , apps. have tried lock nautilus launcher opening new window without showing opened window

14.04 - I want to download and use Ubuntu - Ask Ubuntu

this question has answer here: where can ubuntu installation cd/dvd/usb? 8 answers is possible send me dvd download ubuntu or there other way? you asked question i'll give answer. warned linux system willing read , educate themselves. if don't try learn before ask question, you're going irritate people in forum, subject. after learn, should pay forward. sending dvd costs time , money. reading time, , in end, saves more time because you'll know how on come problem when encounter it. the resources on internet available teach you, if read. go ubuntu downloads , read page on alternative downloading or switching systems. read on getting bootable usb flash drive.

Unable to find a medium containing a live file system on second boot - Ask Ubuntu

before closing/marking duplicate read below first. using live ubuntu 14.04 lts pen drive , various troubleshooting on similar posts able successfully boot once mouse , keyboard not working went reboot , after reboot again got unable find live file system error message every time on , on again after created bootable pen drive using same steps. md5 hash correct. steps:- i using gigabyte ga-990fxa-ud3 rev 5 motherboard partitioned 8gb pendrive 2 parts each less 4gb , created bootable pen drive.i disabled usb 3.0, because when tried partitioned pen drive or disabling usb 3.0 did not work. note:- tried using same pen drive laptop(hp pavilion p-077tx) of friend , pen drive works fine. okay found error, since partitioned pen drive 2 equal parts around 3850 mb each in windows space calculations on linux done differently so, when repartitioned pen drive time 4-equal parts bootable pen drive worked fine.

software installation - error when trying to install scip - Ask Ubuntu

i try install scip package in ubuntu 16.04 encounter error: "bin/scip-3.2.1.linux.x86_64.gnu.opt.spx" not found. needed ./check.sh work. check $path variable or install tool "bin/scip-.2.1.linux.x86_64.gnu.opt.s" what should do? if ran make lps=cpx or another linear solver other soplex , tried run make test have write make test lps=cpx or abbr. of linear solver used.

apt - Error when trying to reinstall package - Ask Ubuntu

i first run sudo dpkg --remove jenkins , response : dpkg: error processing package jenkins (--remove): package in bad inconsistent state; should reinstall before attempting removal errors encountered while processing: jenkins so try sudo apt-get --reinstall install jenkins , result : reading package lists... done building dependency tree reading state information... done following packages upgraded: jenkins 1 upgraded, 0 newly installed, 0 remove , 0 not upgraded. 1 not installed or removed. need 0 b/68.9 mb of archives. after operation, 895 kb of additional disk space used. selecting unselected package jenkins. (reading database ... 346826 files , directories installed.) preparing unpack .../jenkins_2.19.1_all.deb ... not configured run standalone invoke-rc.d: initscript jenkins, action "stop" failed. dpkg: warning: subprocess old pre-removal script returned error exit status 1 dpkg: trying script new package instead ... not configured ru

suspend - Crash after resume on Dell Latitude 5175 - Ask Ubuntu

i have installed ubuntu gnome 16.10 on dell latitude 5175, skylake based table keyboard. everything works great apart when resume tablet wakes second crashes, able login screen crashes , requires hard restart. i have checked syslog , can see tablet enter sleep don't see messages around waking or cause of crash/lockup is. i have tried updating kernal , playing around bios settings no luck. looking suggestions on how debug issue, possible enable more verbose logging?

No sound after fresh installation of Xubuntu 16.04 (Dual Boot with Windows XP) - Ask Ubuntu

i've tried lot of different approaches none of them successfull, installed xubuntu 16.04 in pc (desktop), in dual boot windows xp , speakers not working @ all. please me? ): edit: sorry, yes, speakers work fine in windows, , under "output devices" of pavucontrol there "hdmi / displayport (unplugged)" option. don't remember approaches did try, i'm sure sound not muted (? :) this output of aplay -l in computer. **** list of playback hardware devices **** card 0: nvidia_1 [hda nvidia], device 0: alc883 analog [alc883 analog] subdevices: 1/1 subdevice #0: subdevice #0 card 0: nvidia_1 [hda nvidia], device 1: alc883 digital [alc883 digital] subdevices: 1/1 subdevice #0: subdevice #0 card 1: nvidia [hda nvidia], device 3: hdmi 0 [hdmi 0] subdevices: 0/1 subdevice #0: subdevice #0 card 1: nvidia [hda nvidia], device 7: hdmi 0 [hdmi 0] subdevices: 1/1 subdevice #0: subdevice #0 card 1: nvidia [hda nvidia], device 8: hdmi 0 [hdmi 0] s

networking - How configure Distribute Virtual Router(DVR) on Neutron with JUJU? - Ask Ubuntu

i installed ubuntu openstack using autopilot. try configure dvr neutron-api charm activating dvr. when run command "neutron agent-list" it's possible see open vswitch agents on computes nodes have been created iniatial l3 agent , other neutron services on network node died. how can debug error? i'm checking /var/log/neutron logs not show anything. regards, checking issue. discover when make change on neutron-gateway charm neutron components @ network node fail. the right logs stored @ /var/log/upstar. cheking log neutron-openvswitch-agent.log saw following error: traceback (most recent call last): file "/usr/bin/neutron-openvswitch-agent", line 6, in neutron.cmd.eventlet.plugins.ovs_neutron_agent import main file "/usr/lib/python2.7/dist-packages/neutron/cmd/eventlet/plugins/ovs_neutron_agent.py", line 16, in import neutron.plugins.ml2.drivers.openvswitch.agent.main agent_main file "/usr/lib/python2.7/di

How to install software or upgrade from an old unsupported release? - Ask Ubuntu

recently have installed older version of ubuntu on old machine. whenever try install software, error saying couldn't found: $ sudo apt-get install vlc reading package lists... done building dependency tree reading state information... done e: couldn't find package vlc the repositories older releases not supported (like 11.04, 11.10 , 13.04) moved archive server. there repositories available @ http://old-releases.ubuntu.com the reason is out of support , no longer receiving updates , security patches. i urge consider supported distribution. if computer old in terms of memory or processor should consider distribution such lubuntu or xubuntu. if want continue using outdated release edit /etc/apt/sources.list , change archive.ubuntu.com , security.ubuntu.com old-releases.ubuntu.com . you can sed : sudo sed -i -re 's/([a-z]{2}\.)?archive.ubuntu.com|security.ubuntu.com/old-releases.ubuntu.com/g' /etc/apt/sources.list the

suspend - Wake on Linux Xubuntu.16.04.1 - Ask Ubuntu

msi notebook gp72-6qe 254xfr xubuntu 16.04.1 lts (linux 4.4.0.42 x86_64) system on ssd. swap on hdd. swap size > memory size. graphics cards: nvidia gm107m [geforce gtx 950m] display server: x.org 1.18.4 driver: nvidia resolution: 1920x1080@60.00hz glx renderer: geforce gtx 950m/pcie/sse2 glx version: 4.5.0 nvidia 361.42 suspending nobebook successful in closing screen. but, wake on pc done touching mouse. 2 errors messages zipping lines in wake: dpm_run_callback() : usb_dev_resume+0x0/0x20 returns -32 pm: device 1-7 failed resume async: error -32 how set wake on pc power button ? (and not mouse) match these 2 lines of errors ? thank you.

xorg - not able to run glxdemo from inside lxc container using nvidia - Ask Ubuntu

i have created lxc container of our custom toolchain has many packages. related graphics, have installed nvidia 367.27 driver using nvidia installer inside container(called mk7icontainer ) the nvidia driver libraries/binaries installed @ path /usr/share/nvidia path inside container. i have installed mesa installed in path /usr inside container. i compiled glxdemo source code using command as: gcc -g glxdemo.c -wl,--rpath-link,/usr/share/nvidia/lib -wl,-rpath,/usr/share/nvidia/lib \ -wl,--rpath-link,/usr/share/nvidia/lib/tls -wl,-rpath,/usr/share/nvidia/lib/tls \ -wl,--rpath-link,/usr/share/nvidia/lib/vdpau -wl,-rpath,/usr/share/nvidia/lib/vdpau \ -wl,--rpath-link,/usr/share/nvidia/lib/xorg/modules -wl,-rpath,/usr/share/nvidia/lib/xorg/modules \ -wl,--rpath-link,/usr/share/nvidia/lib/xorg/modules/drivers -wl,-rpath,/usr/share/nvidia/lib/xorg/modules/drivers \ -wl,--rpath-link,/usr/share/nvidia/lib/xorg/modules/extensions -wl,-rpath,/usr/share/nvidia/lib/xorg/modules/e

command line - how do you copy a directory and its contents to a new location under a new directory name? - Ask Ubuntu

i'm new linux command line , trying grips copy command @ moment. can please tell me if it's possible copy directory subdirectories , associated files new directory new name e.g. directory_backup? thanks , in advance you use -r (copy recursively) , specify new name cp -r /path/to/directory /path/to/location/new-name replace real paths... example copy stuff home directory existing directory backup , name new directory stuff-backup (if directory exists, note stuff copied into it, not overwrite it). cp -r ~/stuff ~/backup/stuff-backup ~ shortcut home directory /home/$user or /home/zanna in case. can omit if current working directory home directory - can see prompt zanna@monster:~$ ^--the ~ here - home! you can add -v verbose flag make cp report each copy being performed... $ cp -vr stuff backup/stuff-backup 'stuff/thing1' -> 'backup/stuff-backup/thing1' 'stuff/thing2' -> 'backup/stuff-backup/

Munin on Ubuntu 16.04 - Empty network graphs - Ask Ubuntu

Image
i have strange issue munin on ubuntu 16.04. graphs ok network traffic , errors empty. i see nothing in logs it, , running: munin-run if_eth0 gives output: down.value 5382101121 up.value 79038417951 which seems ok me. running if_err_eth0 works too, graphs this: how can fix strange behaviour? ok, found problem was. munin unable determine ethernet connection speed, , in details of traffic graph reporting: maximum speed -1mb/s. i don't know if issue global ubuntu 16.04, not here on same cloud instance prior versions of os. to fix it, forced link speed in plugin's configuration (/etc/munin/plugin-conf.d/munin-node): [if_*] user root env.speed 1000

partitioning - Is it possible to install Ubuntu 16.04 LTS without formatting? - Ask Ubuntu

this question has answer here: is possible install ubuntu without formatting partitions? 8 answers is possible install ubuntu 16.04 lts without formatting target partiton?? hdd partitions: have manjaro gnome installed on /dev/sda4 , /dev/sda3 set swap . /dev/sda2 partition ntfs partition personal data. have installed manjaro in single partition. target parition /dev/sda1 has movies , videos. partitoning scheme mbr it depend file system on hard drive. if had older version of ubuntu answer yes. note, however, if have not partitioned hard drive have /home in own partition, loose information. if not have such partition, may not late. depending on how free space have in hard drive, create new ext4 partition , copy files there. then, when install ubuntu make sure not format partition. if provide additional information edit answer more specific.

command line - How to delete top directory that contain all files inside modified at least n days before today? - Ask Ubuntu

consider following folder structure dir sandbox1 mywebsite file ... sandbox2 mywebsite file ... i have thousands of these sandbox directory created peers. since running out of inode, decide delete sandbox directory has content not modified 20 days. eg. dir sandbox1 (modified 23 days ago) mywebsite file (modified 22 days ago) ... (modified 24 days ago) sandbox2 (modified 23 days ago) mywebsite file (modified 19 days ago) ... in case sandbox1 deleted since has not been modified 20 days, , content has not been modified 20 days sandbox2 not deleted, since has content modified 19 days ago i know find /dir/ -maxdepth 1 -mtime +n finds directory modified @ least n days, content inside each directory not reflected. is there way find directory such directory , content have not been modified n days? any appreciated. if file modification times critical need @ file modification ti

apache2 - How to have apache serve nextcloud index when pointing directly to the server url? - Ask Ubuntu

Image
seem have made mistake in trying fix issue letsencrypt, , when enter url server, list of directories opposed nextcloud index.php (which serving default before). i don't know of change have made along way should cause this, it's happening anyway. guess chance learn. how can have server go straight url.etc/owncloud opposed showing pair of folders? p.s. i'm not apache expert did before asking , nothing jumped out @ me. p.s. 2 couldn't think of better title - feel free edit (i'm tired, honest). i found issue. problem non-default site accidentally enabled (how, don't know, never manually enabled it), site being instance of collabora office online (which has yet actually... work). to find out sites enabled, had run: apache2ctl -s then, had disable offender: a2dissite office . then restart server: service apache2 restart . note: 14.04 server, last command systemctl restart apache2 on 16.04 , up. many muru pointing me in right direction

gconf - How to remove the panel's menu-bar, and decorations for all local windows under Gnome? - Ask Ubuntu

i'm running gnome version 3.4.1 , script in charge of disabling menu-bar , decorations run locally (no sudoing). might have gconftool-2 , gsettings or compiz (all available in ubuntu-12.04-based distro), can't figure out how. out of that, old release plenty of configuration ( xml ) files, again, after searching don't know touch. note: should done core commands , in home directories, user cannot install software, nor alter system's files.

networking - I can't open ports on Ubuntu 16.04 VPS - Ask Ubuntu

i made ubuntu 16.04 vps using digitalocean . installed openvpn using this script . none of ports open. 22 working. want open 1194 , 443 ports. please, help! root@sanfrancisco-vpn:~# sudo ufw status status: active action -- ------ ---- 22/tcp allow anywhere 80 allow anywhere 443 allow anywhere 443/tcp allow anywhere 53 allow anywhere 22 allow anywhere 2222 allow anywhere 4832 allow anywhere 21/tcp allow anywhere 6000:6007/tcp allow anywhere 6000:6007/udp allow anywhere 22/tcp (v6) allow anywhere (v6) 80 (v6) allow anywhere (v6) 443 (v6) allow anywhere (v6) 443/tcp (v6)

dell vostro - No Bluetooth Adapters found on Ubuntu 16.04 - Ask Ubuntu

(i know error has been reported in different guises none of older solutions on site have worked me) i can't see bluetooth adapters in unity control center bluetooth program. laptop dell vostro 3300 , i'm using ubuntu 16.04.1 output of sudo lsmod |grep bluetooth bluetooth 520192 4 btbcm,btrtl,btusb,btintel output of sudo lsusb |grep bluetooth bus 001 device 003: id 0a5c:4500 broadcom corp. bcm2046b1 usb 2.0 hub (part of bcm2046 bluetooth) output of dmesg | grep bluetooth [ 516.708947] bluetooth: core ver 2.21 [ 516.708977] bluetooth: hci device , connection manager initialized [ 516.708981] bluetooth: hci socket layer initialized [ 516.708984] bluetooth: l2cap socket layer initialized [ 516.708991] bluetooth: sco socket layer initialized output of sudo rfkill list 0: phy0: wireless lan soft blocked: no hard blocked: no 1: brcmwl-0: wireless lan soft blocked: no hard blocked: no edit: tried solution recommended pilot6 does

nvidia - GPU Tensorflow Installation issue - Ask Ubuntu

i new user of ubuntu, , spending last whole week trying gpu tensorflow work. whenever tried import tensorflow , received this: import tensorflow tensorflow/stream_executor/dso_loader.cc:128] opened cuda library libcublas.so.8.0 locally tensorflow/stream_executor/dso_loader.cc:128] opened cuda library libcudnn.so.5.1.5 locally tensorflow/stream_executor/dso_loader.cc:128] opened cuda library libcufft.so.8.0 locally tensorflow/stream_executor/dso_loader.cc:119] couldn't open cuda library libcuda.so.1. ld_library_path: :/usr/local/cuda/lib64:/usr/local/cuda/extras/cupti/lib64 tensorflow/stream_executor/cuda/cuda_diagnostics.cc:165] hostname: ___ tensorflow/stream_executor/cuda/cuda_diagnostics.cc:189] libcuda reported version is: not found: unable find libcuda.so dso loaded program tensorflow/stream_executor/cuda/cuda_diagnostics.cc:193] kernel reported version is: permission denied: not open driver version path reading: /proc/driver/nvidia/version tensorflow/stream_executo

soundcard - Sound card not detected (16.04) - Ask Ubuntu

running ubuntu 16.04 on dell xps 13 i've installed os , dual booting windows 10. i'm brand new linux , wanted give ubuntu try can't audio play, works fine in windows. sound card isn't being recognized, aplay -l returns no soundcards found . i've tried reinstalling alsa , pulseaudio that's done nothing. lspci -v returns: 00:1f.3 audio device: intel corporation device 9d71 (rev 21) (prog-if 80) subsystem: dell device 075b flags: fast devsel, irq 255 memory @ dc428000 (64-bit, non-prefetchable) [disabled] [size=16k] memory @ dc400000 (64-bit, non-prefetchable) [disabled] [size=64k] capabilities: <access denied> kernel modules: snd_hda_intel as i'm brand new linux , wanted ease myself in gently turning headache. appreciated. this bug may same problem having, https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1551880 , can try upgrading kernel module. can upgrade high newest kernel going http://kernel.ubuntu.com/~kernel-ppa/main

nvidia - Scale application differently on different monitors - Ubuntu 16.04 - Ask Ubuntu

Image
i have found lot of solid articles/answers topic: https://askubuntu.com/a/555812/574648 https://unix.stackexchange.com/a/213984 https://askubuntu.com/a/662567/574648 and of course: https://wiki.archlinux.org/index.php/xrandr https://wiki.archlinux.org/index.php/hidpi#multiple_displays however, i'm still struggling. laptop dell xps15. display 3840x2160. have tried different external monitors, @ moment 1 use dell resolution 1920x1080. when connect external monitor, of panels become small on 3840x2160 screen. when try scale build-in display, chrome scales, ide scales, displays window along other windows nvidia x server settings stay small. have tried play scale window contents match in display no avail. it's either big on external screen or small on build-in. have tried xrandr scale param gives me: xrandr --output hdmi-1 --scale 2x2 x error of failed request: badvalue (integer parameter out of range operation) major opcode of failed request: 140 (randr)

Apache2 not reading my conf file - Ask Ubuntu

i'm used apache2 , can running without of headache. time stumbled on problem can't shake off. on local work nginx have modification on .htaccess file. installed apache2. both apache2 , nginx use port 80 disabled nginx time being. i ceated virtual host file under /etc/apache2/sites-available/ , looks this: <virtualhost *:80> servername dev-my-site.apache serveradmin my-email@gmail.com documentroot /var/www/html/my-site </virtualhost> basic, should enough, right? there symbolic link in corresponding /etc/apache2/sites-enabled/ pointing conf file. restarted apache , added following entry /etc/hosts : 127.0.0.1 dev-my-site.apache from here expect http://dev-my-site.apache point /var/www/html/my-site/ doesn't. points instead /var/www/html/ default document root apache2, , displays index.html file sits there. here result of apache2ctl -s , supposed list vhosts: virtualhost configuration: serverroot: "/etc/apache2" mai

software installation - qtjackctl ./configure returns JACK library not found - Ask Ubuntu

trying qtjackctl , running in installed 16.04..... i've installed qt5 , jack, then: $ cd qjackctl-0.4.3 $ ./configure" [...] configure: error: jack library not found. i've done fair amount of forum hunting, rely on , in ubuntu. jack development files in libjack-dev package. install with: sudo apt install libjack-dev

dns - Am I running NIS? - Ask Ubuntu

i pretty new ubuntu 16, reading securing , optimizing linux rh edition and /etc/nsswitch.conf had in # /etc/nsswitch.conf # # example configuration of gnu name service switch functionality. # if have `glibc-doc-reference' , `info' packages installed, try: # `info libc "name service switch"' information file. passwd: compat group: compat shadow: compat gshadow: compat hosts: files mdns4_minimal [notfound=return] dns myhostname networks: files protocols: db files services: db files ethers: db files rpc: db files netgroup: nis so replaced hosts: dns files passwd:files shadow:files group:files hosts:dns files bootparams:files ethers:files netmasks:files networks:files protocols:files rpc:files services:files automount:files aliases:files so q