Debian (buster) requiring iwlwifi-5000[1-5].ucode - installation

During Debian (buster) installation, I got a message telling me that the files
iwlwifi-5000[1-5].ucode were needed. I first finished installing without the files.
Then, after reading this related page:
https://packages.debian.org/buster/all/firmware-iwlwifi/download
I have added the following line to the file /etc/apt/sources.list
deb http://ftp.debian.org/debian buster main non-free
but when running the command:
aptitude search iwlwifi
I don't get any result.
Did I forget something or did anything the wrong way?

A stupid mistake for those often using aptitude or apt.
I had forgotten to run:
aptitude update
after modifying the file /etc/apt/sources.list
Hoping this will be useful to someone.

Related

FSL installation in Ubuntu FAILED message

I am a traditional Windows user and therefore you have to excuse me for my lack of experience with other OS. I installed Ubuntu in order to install FSL in my computer (seems the Windows installation failed so I tried this). However, the download goes right, but at the end it says "[FAILED] Unable to unpack FSL".
How can I solve it?
Thanks a lot
First of all, this is not a programming question. If it can still be moved to AskUbuntu (or SuperUser) it may be better appreciated.
In Ubuntu the easy way to install software is through the package manager. This is by far the least amount of work and installs binary packages in default locations (FSL is in the path straight away), plus it takes care of all the dependencies!
FSL is in the NeuroDebian repository, and if you add this to one of your 'software sources' then you can install it via Ubuntu's package manager, APT:
go to https://neuro.debian.net and find out how to add the right repository, e.g.
$ wget -O- http://neuro.debian.net/lists/focal.de-fzj.full | sudo tee /etc/apt/sources.list.d/neurodebian.sources.list
$ sudo apt-key adv --recv-keys --keyserver hkp://pool.sks-keyservers.net:80 0xA5D32F012649A5A9
update the list of packages APT can find:
$ sudo apt update
install the fsl packages you want, e.g.
$ sudo apt install fsl-5.0 fsl-harvard-oxford-cortical-lateralized-atlas

ansible installation fails on control node, but not fails on local host itself?

Description: Ansible yum module doesn't install through control host, but local yum install works perfectly? What could cause such issue? I appreciate any response. Thank you guys. I worked on this 8 hours, I have researched various of things, and tried very different approaches. No success.
Node: Centos7 (newly installed), Control-Node: Ubuntu-LTS18.
Command:
ansible ansitest2 -i ../inv -b -m yum -a "name=epel-release state=present"
it can be any package though.
This fails, however at the bottom I can see that it found the package and tried to install it. ()
If I go to host itself and try to install it, it is successful. :
yum install epel-release -y
After spending almost 2 days on this, finally found answer, /etc/resolve.conf file needed to be updated with option rotate timeout:1,
So, if you have such issue, it is mainly about resolve.conf
man resolve.conf will give very good description.

Error: unable to locate package libpam-google-authenticator

I'm having trouble setting up 2 factor authentication in Ubuntu Server 18.04.
I'm following this tutorial: http://www.ubuntuboss.com/how-to-set-up-2-factor-authentication-in-ubuntu-server-18-04/
But on the first step when I try to install the package I get the package not found error as seen in the title.
sudo apt-get install libpam-google-authenticator
I have looked around to see if the package has been updated and goes by a different name and I am sure I have the most recent version of the package manager.
Has the package changed or is there anyway around this problem.
Had the same problem. Turned out it's because Ubuntu Server doesn't include the Universe Repository.
Add this line
sudo add-apt-repository universe
Then run the command again and it will install.
I found a way round this issue,
/tmp$ wget http://launchpadlibrarian.net/326531917/libpam-google-authenticator_20170702-1_amd64.deb
I was able to manually install it via this link and installed the missing dependencies the same way and was able to finish the tutorial as normal.

How to install firefox in precise64 vagrant box

I want to use selenium-webdriver with chrome or firefox in precise 64 bit box.
At first I must install firefox, so I followed this instraction.
http://www.installationpage.com/selenium/how-to-run-selenium-headless-firefox-in-ubuntu/
I added ppa:mozillateam/firefox-stable to /etc/apt/sources.list, then sudo apt-get update.
But then I got this error.
E: Type 'ppa:mozillateam/firefox-stable' is not known on line 2 in source list /etc/apt/sources.list
E: The list of sources could not be read.
I also tried add-apt-repository but it fails with command not found error.
How can do to install firefox to precise64? Or is it better if I use another box for using selenium webdriver?
Installing firefox will cause a lot of dependencies to be installed, .e.g X and a desktop environment or at least a light weight WM.
In fact, 12.04.4 LTS already has firefox 28.0 in its official repository, you don't have to add a PPA to get the latest stable, just do sudo apt-get -y install firefox and it'll do.
BTW: You are getting the error because it's not the correct line(s) to be added in sources.list or split files under /etc/sources.list.d/*.list
it should be like below:
deb http://ppa.launchpad.net/mozillateam/firefox-next/ubuntu precise main
deb-src http://ppa.launchpad.net/mozillateam/firefox-next/ubuntu precise main
To use add-apt-repository command, you'll have to install python-software-properties beforehand.

Having trouble configuring sphinx search

I downloaded sphinx 0.9.9 to my ubuntu 10.4 machine.
I ran cd ~/sphinx-0.9.9 then ./configure, then make then make install.
Make install gave me errors so I ran sudo make install and then there were no errors.
I am going through the documentation. I am at 2.6. Quick Sphinx usage tour.
It says:
All the example commands below assume that you installed Sphinx in /usr/local/sphinx, so searchd can be found in /usr/local/sphinx/bin/searchd.
I do have /usr/local/sphinx but there is no bin folder in it, just etc and var.
It then also says:
there's example.sql sample data file to populate that table with a few documents for testing purposes:
$ mysql -u test < /usr/local/sphinx/etc/example.sql
but inside my /usr/local/sphinx/etc/ folder there is only one file: sphinx.conf
and according to the docs that file shouldnt event exist yet, it should be sphinx.conf.dist
I tried to install sphinx 6 months ago and gave up. I am only revisiting it now, so maybe there is a chance I screwed something up then that is giving me problems now. Is there a way to remove everything sphinx so I can try again fresh? Or does anyone have any other ideas what is going on?
You might try installing the package version of sphinx; it's slightly older, but should work as well. As far as compiling problems, you might check the SphinxSearch forum.
Looks like you have installation issue here.
The output of make command will be helpful.
I would suggest reinstalling sphinx, just delete the folder/or run sudo make uninstall, where you had installed the sphinx, and then following these steps to reinstall sphinx
Update and Grab dependencies. Run these commands in order to get the files you need to install Sphinx.
sudo apt-get update
sudo apt-get dist-upgrade
sudo apt-get install build-essential
sudo apt-get install libmysqlclient15-dev
Download source, Untar and prep. Here's where it gets a bit complicated. You'll need to extract the source, change into the directory and configure Sphinx. Do that with these commands.
tar xvzf sphinx-0.9.8.1.tar.gz
cd sphinx-0.9.8.1/
./configure --with-mysql-includes=/usr/include/mysql --with-mysql-libs=/usr/lib/mysql
Make and Install Sphinx
make
sudo make install

Resources