afamiglietti
Posts: 8
Joined: Mon May 20, 2013 5:07 pm

VLC Illegal Instruction

Tue May 21, 2013 2:04 am

Hey Everybody,

Ever since I ran an "apt-get update && apt-get upgrade" earlier today vlc has been failing with an "illegal instruction."

Anybody else experiencing this?

SirLagz
Posts: 1705
Joined: Mon Feb 20, 2012 8:53 am
Location: Perth, Australia
Contact: Website

Re: VLC Illegal Instruction

Tue May 21, 2013 5:27 am

Sounds like you updated to the wrong arch vlc

can you paste /etc/apt/sources.list
My Blog - http://www.sirlagz.net
Visit my blog for Tips, Tricks, Guides and More !
WiFi Issues ? Have a look at this post ! http://www.raspberrypi.org/phpBB3/viewtopic.php?f=28&t=44044

afamiglietti
Posts: 8
Joined: Mon May 20, 2013 5:07 pm

Re: VLC Illegal Instruction

Tue May 21, 2013 1:22 pm

I had that thought too. I was using a package from deb-multimedia, I *think* because the official version had been doing exactly this when I first installed. Anyway, once I got the error, I decided to go back to the official package, so my sources list now looks like this:

Code: Select all

deb http://mirrordirector.raspbian.org/raspbian/ wheezy main contrib non-free rpi$
#deb-src http://www.deb-multimedia.org sid main
#deb http://www.deb-multimedia.org wheezy main non-free
After commenting out the deb-multimedia sources, I purged vlc, did an auto-remove to pull its dependencies, and then reinstalled. Still broken.

mplayer is also broken, but omxplayer is not. I'm guessing some common dependency is broken? I removed vlc and mplayer and then did an auto-remove in the hopes of getting whatever was bad, but that still didn't fix it. Any ideas?

SirLagz
Posts: 1705
Joined: Mon Feb 20, 2012 8:53 am
Location: Perth, Australia
Contact: Website

Re: VLC Illegal Instruction

Tue May 21, 2013 2:58 pm

It's probably easier to start from scratch.
Otherwise, you could check /var/log/dpkg.log and see if you can backtrack from there as it lists all installed packages by date/time.
My Blog - http://www.sirlagz.net
Visit my blog for Tips, Tricks, Guides and More !
WiFi Issues ? Have a look at this post ! http://www.raspberrypi.org/phpBB3/viewtopic.php?f=28&t=44044

afamiglietti
Posts: 8
Joined: Mon May 20, 2013 5:07 pm

Re: VLC Illegal Instruction

Tue May 21, 2013 7:58 pm

Yeah, I grabbed a fresh SD card and did a new install and sure enough, installing VLC there works fine. I'd love to find the problem library and replace it, so I could use some stuff I set up on the old install, but I suppose I can always back up my home directory and migrate....

SirLagz
Posts: 1705
Joined: Mon Feb 20, 2012 8:53 am
Location: Perth, Australia
Contact: Website

Re: VLC Illegal Instruction

Wed May 22, 2013 1:08 am

Just don't use the deb-multimedia repos again unless you are retrieving source code haha
My Blog - http://www.sirlagz.net
Visit my blog for Tips, Tricks, Guides and More !
WiFi Issues ? Have a look at this post ! http://www.raspberrypi.org/phpBB3/viewtopic.php?f=28&t=44044

RSvedman
Posts: 24
Joined: Sun Dec 29, 2013 12:24 pm

Re: VLC Illegal Instruction

Sun Aug 17, 2014 10:07 pm

I am in tyhe same position, having used deb instead of deb-src on the line for the multimedia repository...

unfortunately i hav einvested many hours of configuration into this raspbian install, and it is my runnning printserver...

any tips ?

ghans
Posts: 7882
Joined: Mon Dec 12, 2011 8:30 pm
Location: Germany

Re: VLC Illegal Instruction

Mon Aug 18, 2014 7:34 am

Any Linux machine (you could use a LiveCD) can be used to backup your files. Especially the /etc directory should contain most of
your custom configuration.

ghans
• Don't like the board ? Missing features ? Change to the prosilver theme ! You can find it in your settings.
• Don't like to search the forum BEFORE posting 'cos it's useless ? Try googling : yoursearchtermshere site:raspberrypi.org

RSvedman
Posts: 24
Joined: Sun Dec 29, 2013 12:24 pm

Re: VLC Illegal Instruction

Sun Sep 07, 2014 7:15 pm

That is true, but I was hoping to just reverse the latest changes to the package database and go from there. There are many hours of downloads & compiling before I have a new system with the same config configured.. I have started bringing up a second raspbian system on another pi (just got me a B+, yay!), and will just stop updating the old one until the new one is ready to take over.

Return to “Troubleshooting”