Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 7 years ago.
Improve this question
sorry - might be a bit of a Newbie question, but after researching via Google I am even more confused.
I have Jon Severinsson's ffmpeg PPA installed on Ubuntu 14.04 and want to replace it with mc4man's PPA.
How do I purge the old PPA correctly and clean, so I can get the new one?
Is it
sudo ppa-purge ppa:jon-severinsson/ffmpeg
and then
sudo add-apt-repository ppa:mc3man/trusty-media
sudo apt-get update
sudo apt-get dist-upgrade
?
To be on safe side I removed ffmpeg completely before:
sudo apt-get --purge remove ffmpeg
sudo apt-get --purge autoremove
sudo apt-get install ppa-purge
sudo ppa-purge ppa:jon-severinsson/ffmpeg
sudo add-apt-repository ppa:mc3man/trusty-media
sudo apt-get update
sudo apt-get dist-upgrade
sudo apt-get install ffmpeg
I am not expert so maybe there is safer/better way but this worked for me. Interestingly last ffmpeg version from jon-severinsson was ffmpeg version 1.2.6-7:1.2.6-1~trusty1 Copyright (c) 2000-2014 the FFmpeg developers and in mc3man repo
ffmpeg version 2.6.1 Copyright (c) 2000-2015 the FFmpeg developers.
Today I found another PPA providing Jon Severinsson's ffmpeg package: https://launchpad.net/~fnu/+archive/ubuntu/main-fnu. Unlike the mc3man/trusty-media PPA it provides ffmpeg version 1.2.6-7:1.2.6-1~trusty1. It seems to be the same package contained in the old jon-severinsson/ffmpeg PPA.
Related
I need a specific version of ffmpeg to be able to read video with torchvision (0.12.0+cu113), which currently supports ffmpeg 4.2. I have already tried to upgrade ffmpeg with the next command:
add-apt-repository -y ppa:jonathonf/ffmpeg-4
But it gives me a version 4.3.2. How to install exactly 4.2?
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 2 years ago.
Improve this question
I have recently upgraded metasploit framework and after doing it, when I try to launch it I get the next error:
msfconsole
Unable to find a spec satisfying metasploit-framework (>= 0) in the set. Perhaps the lockfile is corrupted?
Run bundle install to install missing gems.
I have unistalled it and reinstall but the problem continues. Any suggestion?
I had the same problem, the following fixed it:
sudo gem install bundler -v 2.2.4
sudo msfdb reinit
sudo msfconsole
Just be aware that the bundler version may have updated since this was posted and therefore may need to be changed. Check what version you're currently running before making these changes.
https://github.com/rapid7/metasploit-framework/issues/11597
What finally worked for me was updating my bundler then running bundle install :
/usr/share/metasploit-framework$ sudo gem install bundler:2.2.5
/usr/share/metasploit-framework$ sudo bundle install
happend to me too. but my solution was easier. i didnt touch kali for a while, so i did all the upgrades and therfore i started entering "sudo su". so when i then start msfconsole i get exactly the same error message. enter "exit" to leave root and try again... worked for me.
I got the same issue after doing sudo apt upgrade.
To fix that, I had to do sudo apt update && sudo apt full-upgrade -y.
I got this solution from here https://www.reddit.com/r/Kalilinux/comments/l4zi6i/hey_everyone/
After launching Ubuntu Server 14.04 LTS (HVM), I tried to install CUDA as following
wget http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1404/x86_64/cuda-repo-ubuntu1404_7.5-18_amd64.deb
sudo dpkg -i cuda-repo-ubuntu1404_7.5-18_amd64.deb
sudo apt-get update
sudo apt-get install -y cuda
export PATH=/usr/local/cuda-7.5/bin:$PATH
export LD_LIBRARY_PATH=/usr/local/cuda-7.5/lib64:$LD_LIBRARY_PATH
sudo reboot
Then I run a test
cuda-install-samples-7.5.sh .
cd ~/NVIDIA_CUDA-7.5_Samples/1_Utilities/deviceQuery
make
./deviceQuery
got the error:
modprobe: ERROR: could not insert 'nvidia_352': Unknown symbol in
module, or unknown parameter (see dmesg) cudaGetDeviceCount returned
38
-> no CUDA-capable device is detected
What could be wrong here?
Upgrade Ubuntu and install linux-image-extra before install nvidia-driver
sudo apt-get update && sudo apt-get -y upgrade
sudo apt-get install -y linux-image-extra-`uname -r`
It would appear that this is a known issue within CUDA 7.5 on AWS gpu instances. The short term work around seems to be to downgrade to CUDA 7 for the moment.
Edited in December 2015 to add that Robert Crovella from NVIDIA advises that CUDA 7.5 on EC2 g2.2xlarge should now be usable with a 352.63 or later driver. So a driver update should resolve the issue.
[This answer was assembled from comments and added as a community wiki entry to get this question off the unanswered list]
On a clean Debian 8 installation i had to install some gstreamer-plugins. While most of them were already installed or were easily installable via apt-get, gstreamer0.10-ffmpeg was not installable:
sudo apt-get install gstreamer0.10-ffmpeg
threw out following warnings:
Package gstreamer0.10-ffmpeg is not available, but is referred to by
another package. This may mean that the package is missing, has been
obsoleted, or is only available from another source
E: Package
'gstreamer0.10-ffmpeg' has no installation candidate
How can i install the package anyhow?
There is no package, so you cannot install it.
Debian has switched to libav in favour of ffmpeg, and the gstreamer0.10-ffmpeg package currently cannot be be build using libav. hence it is not jessie.
You might have luck (or not) using one of the gstreamer0.10-ffmpeg packages on some ubuntu PPAs (use them at your own risk).
Btw, gstreamer0.10 has reached it's end-of-life a while ago. Debian/stretch (the next Debian release) will have gstreamer0.10 removed.
Update: recently (2015/06) Debian has decided to switch back from libav to ffmpeg. However, I don't think that this will make gstreamer0.10-ffmpeg reappear.
I've been working with Qt & Qt Multimedia on Debian Jessie and I realized Qt Multimedia uses the GStreamer multimedia framework as the backend for audio and video playback on Linux.
The way of getting all the required packages which are not available in Debian Jessie was using the repo for the wheezy distribution.
Adding the next repository in /etc/apt/sources.list, the gstreamer0.10-ffmpeg pluging is available via apt-get.
deb http://ftp.uk.debian.org/debian/ wheezy main
deb-src http://ftp.uk.debian.org/debian/ wheezy main
A better solution is to install the Debian multimedia repository:
Add this line in /etc/apt/sources.list:
deb http://www.deb-multimedia.org jessie main non-free
Update apt:
sudo apt-get update
Then, you will need the key of this repo, that you can get with:
sudo apt-get install deb-multimedia-keyring
And now, again:
sudo apt-get update
After these steps above, you can safely execute:
sudo apt-get install gstreamer0.10-ffmpeg
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 11 months ago.
Improve this question
To solve the following error Cucumber Rails 3.1 uninitialized constant ActionController::Dispatcher (NameError), I am following this post -> http://www.ruby-on-rails-outsourcing.com/articles/2011/01/07/getting-started-with-rvm-and-rails/ .
On running this command on my terminal,
sudo apt-get install build-essential bison openssl libreadline6 libreadline6-dev curl git-core zlib1g zlib1g-dev libssl-dev libyaml-dev libsqlite3-0 libsqlite3-dev sqlite3 libxml2-dev libxslt-dev autoconf libc6-dev
I get this error: zsh: command not found: apt-get. Few posts suggested using Macports but I am not sure how to use that.
apt-get is a Linux package manager. On OS X you need to use something Mac specific like Macports or Homebrew. I recommend trying out Homebrew.
Install android-sdk using brew:
brew install --cask android-sdk