LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-25-2018, 10:54 AM   #1
peterp
LQ Newbie
 
Registered: Jun 2018
Posts: 11

Rep: Reputation: Disabled
libmad errors when running Stepmania on 64-bit Linux (Ubuntu 18.04)


I am a first-time Linux user trying to run the Stepmania 5.0.12 program (https://www.stepmania.com/download/) on a Beelink S1 computer running Ubuntu 18.04. Stepmania is very easy to load on earlier 32-bit versions of Linux, but when I run it on 18.04, I get libmad.so.0 errors. It installed fine, but I get error when I run it. I even tried building my own executable from source using git commands, but again it failed with libmad errors.

The easiest thing would be to run an older version of Linux, but I think (not certain because I am a newb) that I need to run a 64-bit OS due to the Apollo Lake processor in my Beelink S1 computer.

My questions are:

1. Is it possible to fix the libmad.so.0 errors when running Stepmania on Ubuntu 18.04 Linux?

or

2. Is it possible to load an older Linux on an Apollo Lake CPU machine that will run Stepmania without error? I tried loading the 32-bit version of Ubuntu 17.10 and also 16.04, and although the 32-bit boot disk showed up in the boot menu, nothing happens when I try to boot with a 32-bit version, so I went back to 18.04, which works fine except for Stepmania.
 
Old 06-25-2018, 11:06 AM   #2
jsbjsb001
Senior Member
 
Registered: Mar 2009
Location: Earth, unfortunately...
Distribution: Currently: OpenMandriva. Previously: openSUSE, PCLinuxOS, CentOS, among others over the years.
Posts: 3,881

Rep: Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063
Quote:
Originally Posted by peterp View Post
I am a first-time Linux user trying to run the Stepmania 5.0.12 program (https://www.stepmania.com/download/) on a Beelink S1 computer running Ubuntu 18.04. Stepmania is very easy to load on earlier 32-bit versions of Linux, but when I run it on 18.04, I get libmad.so.0 errors. It installed fine, but I get error when I run it. I even tried building my own executable from source using git commands, but again it failed with libmad errors.

The easiest thing would be to run an older version of Linux, but I think (not certain because I am a newb) that I need to run a 64-bit OS due to the Apollo Lake processor in my Beelink S1 computer.

My questions are:

1. Is it possible to fix the libmad.so.0 errors when running Stepmania on Ubuntu 18.04 Linux?

...
You should be installing software on Linux though your package manager instead of downloading it from a website - that's what you would normally do in Windows. Linux is NOT Windows.

From this: http://ubuntuhandbook.org/index.php/...beta-released/

It seems like a package is available for Ubuntu to install it. Try that instead.

That should install all of the dependencies for it.
 
1 members found this post helpful.
Old 06-25-2018, 11:42 AM   #3
peterp
LQ Newbie
 
Registered: Jun 2018
Posts: 11

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by jsbjsb001 View Post
You should be installing software on Linux though your package manager instead of downloading it from a website - that's what you would normally do in Windows. Linux is NOT Windows.

From this: http://ubuntuhandbook.org/index.php/...beta-released/

It seems like a package is available for Ubuntu to install it. Try that instead.

That should install all of the dependencies for it.
Thanks -- this is great info. I get the following errors when I run it though related to dependencies:


ubuntu@ubuntu:~$ sudo apt update && sudo apt install stepmania
Ign:1 cdrom://Ubuntu 18.04 LTS _Bionic Beaver_ - Release amd64 (20180426) bionic InRelease
Hit:2 cdrom://Ubuntu 18.04 LTS _Bionic Beaver_ - Release amd64 (20180426) bionic Release
Hit:3 http://archive.ubuntu.com/ubuntu bionic InRelease
Hit:4 http://ppa.launchpad.net/ubuntuhandb...epmania/ubuntu bionic InRelease
Hit:6 http://security.ubuntu.com/ubuntu bionic-security InRelease
Hit:7 http://archive.ubuntu.com/ubuntu bionic-updates InRelease
Reading package lists... Done
Building dependency tree
Reading state information... Done
215 packages can be upgraded. Run 'apt list --upgradable' to see them.
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
stepmania : Depends: libavcodec57 (>= 7:3.4.1) but it is not installable or
libavcodec-extra57 (>= 7:3.4.1) but it is not installable
Depends: libavformat57 (>= 7:3.4.1) but it is not installable
Depends: libavutil55 (>= 7:3.4.1) but it is not installable
Depends: libmad0 (>= 0.15.1b-3) but it is not installable
Depends: libswscale4 (>= 7:3.4.1) but it is not installable
E: Unable to correct problems, you have held broken packages.
ubuntu@ubuntu:~$
 
Old 06-25-2018, 01:46 PM   #4
jsbjsb001
Senior Member
 
Registered: Mar 2009
Location: Earth, unfortunately...
Distribution: Currently: OpenMandriva. Previously: openSUSE, PCLinuxOS, CentOS, among others over the years.
Posts: 3,881

Rep: Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063
While you should make a backup of your system in case things do go south;

Your output does state that you have 215 packages that can be upgraded. You should try this first and then make sure there are no problems with your system afterwards. I'd suggest once you have run the command below, and then after that if all goes well (you don't see any errors happen while the below command is running and it completes successfully), you then restart your system to verify that the are no issues.

Code:
apt-get upgrade
Then try re-running the "sudo apt update && sudo apt install stepmania" command. And hopefully all goes well.

Try that to see if this resolves the dependencies for you.
 
1 members found this post helpful.
Old 06-25-2018, 03:07 PM   #5
peterp
LQ Newbie
 
Registered: Jun 2018
Posts: 11

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by jsbjsb001 View Post
While you should make a backup of your system in case things do go south;

Your output does state that you have 215 packages that can be upgraded. You should try this first and then make sure there are no problems with your system afterwards. I'd suggest once you have run the command below, and then after that if all goes well (you don't see any errors happen while the below command is running and it completes successfully), you then restart your system to verify that the are no issues.

Code:
apt-get upgrade
Then try re-running the "sudo apt update && sudo apt install stepmania" command. And hopefully all goes well.

Try that to see if this resolves the dependencies for you.
Thank you. That seemed to help a lot, but it seems like a large number of them were upgraded, but it is still showing 3 that need to be upgraded. The output of several commands are shown below:

ubuntu@ubuntu:~$ sudo apt update && sudo apt install stepmania
Ign:1 cdrom://Ubuntu 18.04 LTS _Bionic Beaver_ - Release amd64 (20180426) bionic InRelease
Hit:2 cdrom://Ubuntu 18.04 LTS _Bionic Beaver_ - Release amd64 (20180426) bionic Release
Hit:3 http://security.ubuntu.com/ubuntu bionic-security InRelease
Hit:5 http://archive.ubuntu.com/ubuntu bionic InRelease
Hit:6 http://ppa.launchpad.net/ubuntuhandb...epmania/ubuntu bionic InRelease
Get:7 http://archive.ubuntu.com/ubuntu bionic-updates InRelease [83.2 kB]
Get:8 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages [162 kB]
Fetched 245 kB in 1s (184 kB/s)
Reading package lists... Done
Building dependency tree
Reading state information... Done
3 packages can be upgraded. Run 'apt list --upgradable' to see them.
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
stepmania : Depends: libavcodec57 (>= 7:3.4.1) but it is not installable or
libavcodec-extra57 (>= 7:3.4.1) but it is not installable
Depends: libavformat57 (>= 7:3.4.1) but it is not installable
Depends: libavutil55 (>= 7:3.4.1) but it is not installable
Depends: libmad0 (>= 0.15.1b-3) but it is not installable
Depends: libswscale4 (>= 7:3.4.1) but it is not installable
E: Unable to correct problems, you have held broken packages.
ubuntu@ubuntu:~$ apt-get upgrade
E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied)
E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?
ubuntu@ubuntu:~$ sudo !!
sudo apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages have been kept back:
linux-generic linux-headers-generic linux-image-generic
0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
ubuntu@ubuntu:~$ apt list --upgradable
Listing... Done
linux-generic/bionic-security,bionic-updates 4.15.0.23.25 amd64 [upgradable from: 4.15.0.20.23]
linux-headers-generic/bionic-security,bionic-updates 4.15.0.23.25 amd64 [upgradable from: 4.15.0.20.23]
linux-image-generic/bionic-security,bionic-updates 4.15.0.23.25 amd64 [upgradable from: 4.15.0.20.23]
ubuntu@ubuntu:~$
 
Old 06-25-2018, 03:15 PM   #6
jsbjsb001
Senior Member
 
Registered: Mar 2009
Location: Earth, unfortunately...
Distribution: Currently: OpenMandriva. Previously: openSUSE, PCLinuxOS, CentOS, among others over the years.
Posts: 3,881

Rep: Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063
Your output is a little confusing and I didn't help by forgetting to put "sudo" in front of the "apt-get upgrade" command - sorry about that. So that should have read "sudo apt-get upgrade", but I think you figured that out lucky, I think.

Just so you know; the "sudo" command gives you root user rights for what-ever command you put after it - it's needed for doing stuff to installed packages. A normal user in Linux does not have system-wide permissions to modify things - they only have permission to their own user account.

Can you also use CODE tags so it's a bit easier to read the output from commands - see my signature below if you're not sure how to do that.

Can you have a look at this: https://askubuntu.com/questions/1106...t-dependencies

...and try the commands listed about halfway down that page - to save me typing it all out here.

Those last three packages are for the Linux kernel - I wouldn't worry about upgrading them just yet, they shouldn't matter at this point (the 3 packages listed by the "apt list --upgradable" command in your last post above).

Last edited by jsbjsb001; 06-25-2018 at 03:55 PM. Reason: additions
 
1 members found this post helpful.
Old 06-25-2018, 04:19 PM   #7
peterp
LQ Newbie
 
Registered: Jun 2018
Posts: 11

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by jsbjsb001 View Post
Your output is a little confusing and I didn't help by forgetting to put "sudo" in front of the "apt-get upgrade" command - sorry about that. So that should have read "sudo apt-get upgrade", but I think you figured that out lucky, I think.

Just so you know; the "sudo" command gives you root user rights for what-ever command you put after it - it's needed for doing stuff to installed packages. A normal user in Linux does not have system-wide permissions to modify things - they only have permission to their own user account.

Can you also use CODE tags so it's a bit easier to read the output from commands - see my signature below if you're not sure how to do that.

Can you have a look at this: https://askubuntu.com/questions/1106...t-dependencies

...and try the commands listed about halfway down that page - to save me typing it all out here.

Those last three packages are for the Linux kernel - I wouldn't worry about upgrading them just yet, they shouldn't matter at this point (the 3 packages listed by the "apt list --upgradable" command in your last post above).
Thanks. I tried the commands, but the last one gives an error of conflicting commands. I do think that the "libmad" is important because I think that is related to processing the audio files.

Code:
sudo apt update && sudo apt install stepmania
Ign:1 cdrom://Ubuntu 18.04 LTS _Bionic Beaver_ - Release amd64 (20180426) bionic InRelease
Hit:2 cdrom://Ubuntu 18.04 LTS _Bionic Beaver_ - Release amd64 (20180426) bionic Release
Get:3 http://security.ubuntu.com/ubuntu bionic-security InRelease [83.2 kB]
Hit:5 http://archive.ubuntu.com/ubuntu bionic InRelease
Hit:6 http://ppa.launchpad.net/ubuntuhandb...epmania/ubuntu bionic InRelease
Get:7 http://archive.ubuntu.com/ubuntu bionic-updates InRelease [83.2 kB]
Fetched 166 kB in 1s (170 kB/s)
Reading package lists... Done
Building dependency tree
Reading state information... Done
3 packages can be upgraded. Run 'apt list --upgradable' to see them.
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
stepmania : Depends: libavcodec57 (>= 7:3.4.1) but it is not installable or
libavcodec-extra57 (>= 7:3.4.1) but it is not installable
Depends: libavformat57 (>= 7:3.4.1) but it is not installable
Depends: libavutil55 (>= 7:3.4.1) but it is not installable
Depends: libmad0 (>= 0.15.1b-3) but it is not installable
Depends: libswscale4 (>= 7:3.4.1) but it is not installable
E: Unable to correct problems, you have held broken packages.

Code:
ubuntu@ubuntu:~$ sudo apt-get autoclean
Reading package lists... Done
Building dependency tree
Reading state information... Done
Code:
ubuntu@ubuntu:~$ sudo apt-get clean
ubuntu@ubuntu:~$ sudo apt-get autoremove
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.

Code:
ubuntu@ubuntu:~$ sudo dpkg --remove -force --force-remove-reinstreq stepmania
dpkg: error: conflicting actions -f (--field) and -r (--remove)

Type dpkg --help for help about installing and deinstalling packages[*];
Use 'apt' or 'aptitude' for user-friendly package management;
Type dpkg -Dhelp for a list of dpkg debug flag values;
Type dpkg --force-help for a list of forcing options;
Type dpkg-deb --help for help about manipulating *.deb files;

Options marked[*] produce a lot of output - pipe it through 'less' or 'more' !
 
Old 06-25-2018, 04:27 PM   #8
jsbjsb001
Senior Member
 
Registered: Mar 2009
Location: Earth, unfortunately...
Distribution: Currently: OpenMandriva. Previously: openSUSE, PCLinuxOS, CentOS, among others over the years.
Posts: 3,881

Rep: Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063
You need ALL of packages it's complaining about not be able to install. Otherwise Stepmania will not work.

Don't worry about the following command and that might remove the very package you're trying to install;

Code:
sudo dpkg --remove -force --force-remove-reinstreq stepmania
It was the commands you run before the one above that I was talking about - sorry once again I wasn't clear on that.

Try just running the commands in that same link in my last post again (without the above command) and then run the following one, as it is below:

Code:
sudo apt install stepmania
I checked and the release of Ubuntu you have does have the packages it's complaining about not being able to install, in it's repo's.
 
1 members found this post helpful.
Old 06-25-2018, 04:57 PM   #9
peterp
LQ Newbie
 
Registered: Jun 2018
Posts: 11

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by jsbjsb001 View Post
You need ALL of packages it's complaining about not be able to install. Otherwise Stepmania will not work.

Don't worry about the following command and that might remove the very package you're trying to install;

Code:
sudo dpkg --remove -force --force-remove-reinstreq stepmania
It was the commands you run before the one above that I was talking about - sorry once again I wasn't clear on that.

Try just running the commands in that same link in my last post again (without the above command) and then run the following one, as it is below:

Code:
sudo apt install stepmania
I checked and the release of Ubuntu you have does have the packages it's complaining about not being able to install, in it's repo's.
Thanks for clarifying. It seems like it behaves the same after running those commands:

Code:
ubuntu@ubuntu:~$ sudo apt-get update
Ign:1 cdrom://Ubuntu 18.04 LTS _Bionic Beaver_ - Release amd64 (20180426) bionic InRelease
Hit:2 cdrom://Ubuntu 18.04 LTS _Bionic Beaver_ - Release amd64 (20180426) bionic Release
Hit:3 http://security.ubuntu.com/ubuntu bionic-security InRelease
Hit:4 http://ppa.launchpad.net/ubuntuhandb...epmania/ubuntu bionic InRelease
Hit:5 http://archive.ubuntu.com/ubuntu bionic InRelease
Hit:7 http://archive.ubuntu.com/ubuntu bionic-updates InRelease
Reading package lists... Done
Code:
ubuntu@ubuntu:~$ sudo apt-get autoclean
Reading package lists... Done
Building dependency tree
Reading state information... Done
Code:
ubuntu@ubuntu:~$ sudo apt-get clean
ubuntu@ubuntu:~$ sudo apt-get autoremove
[c
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
Code:
ubuntu@ubuntu:~$ sudo apt install stepmania
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
stepmania : Depends: libavcodec57 (>= 7:3.4.1) but it is not installable or
libavcodec-extra57 (>= 7:3.4.1) but it is not installable
Depends: libavformat57 (>= 7:3.4.1) but it is not installable
Depends: libavutil55 (>= 7:3.4.1) but it is not installable
Depends: libmad0 (>= 0.15.1b-3) but it is not installable
Depends: libswscale4 (>= 7:3.4.1) but it is not installable
E: Unable to correct problems, you have held broken packages.
ubuntu@ubuntu:~$
 
Old 06-25-2018, 05:12 PM   #10
jsbjsb001
Senior Member
 
Registered: Mar 2009
Location: Earth, unfortunately...
Distribution: Currently: OpenMandriva. Previously: openSUSE, PCLinuxOS, CentOS, among others over the years.
Posts: 3,881

Rep: Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063
Try this command first:

Code:
sudo apt --fix-broken install
Then try this:

Code:
sudo apt-get install stepmania
If that still fails:

Code:
sudo apt-get --fix-missing install
then:

Code:
sudo apt-get install stepmania
If that still fails, try the following:

Code:
sudo apt-get install libavcodec* libavformat libavutil libmad libswscale stepmania
If it still fails again:

Code:
sudo apt-get install libavcodec*
then:

Code:
sudo apt-get install libavformat
then:

Code:
sudo apt-get install libavutil
then:

Code:
sudo apt-get install libmad
then:

Code:
sudo apt-get install libswscale
(If it complains about not being able to find the packages above, add the first one or two numbers in their package names to the end of the above package name, like for example "libavformat57", etc - refer to your outputs above.)

then:

Code:
sudo apt-get install stepmania
Hopefully that finally does it!

Last edited by jsbjsb001; 06-25-2018 at 05:16 PM. Reason: forgot "sudo" for first command :doh: again!
 
1 members found this post helpful.
Old 06-25-2018, 05:32 PM   #11
peterp
LQ Newbie
 
Registered: Jun 2018
Posts: 11

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by jsbjsb001 View Post
Try this command first:

Code:
sudo apt --fix-broken install
Then try this:

Code:
sudo apt-get install stepmania
If that still fails:

Code:
sudo apt-get --fix-missing install
then:

Code:
sudo apt-get install stepmania
If that still fails, try the following:

Code:
sudo apt-get install libavcodec* libavformat libavutil libmad libswscale stepmania
If it still fails again:

Code:
sudo apt-get install libavcodec*
then:

Code:
sudo apt-get install libavformat
then:

Code:
sudo apt-get install libavutil
then:

Code:
sudo apt-get install libmad
then:

Code:
sudo apt-get install libswscale
(If it complains about not being able to find the packages above, add the first one or two numbers in their package names to the end of the above package name, like for example "libavformat57", etc - refer to your outputs above.)

then:

Code:
sudo apt-get install stepmania
Hopefully that finally does it!
This is what I get when I spell it out with exact names:

Code:
ubuntu@ubuntu:~$ sudo apt-get install libavcodec57 libavformat57 libavutil55 libmad0 libswscale4 stepmania
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package libavcodec57 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

Package libavformat57 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

Package libavutil55 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

Package libmad0 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

Package libswscale4 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 'libavcodec57' has no installation candidate
E: Package 'libavformat57' has no installation candidate
E: Package 'libavutil55' has no installation candidate
E: Package 'libmad0' has no installation candidate
E: Package 'libswscale4' has no installation candidate
ubuntu@ubuntu:~$
 
Old 06-25-2018, 05:39 PM   #12
jsbjsb001
Senior Member
 
Registered: Mar 2009
Location: Earth, unfortunately...
Distribution: Currently: OpenMandriva. Previously: openSUSE, PCLinuxOS, CentOS, among others over the years.
Posts: 3,881

Rep: Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063
First, you don't need to quote my posts - it's too much for others to read - they can still follow what's being said.

Try again omitting the numbers at the end of the package names. You should at least be able to install the packages beginning with "lib" individually.

Then:

Code:
sudo apt-get install stepmania
Also, if you didn't already:

Code:
sudo apt-get install libavcodec* libavformat libavutil libmad libswscale stepmania
Without the numbers at the end of the package names! - exactly like above.

I did say IF it complains and only IF, not do it anyway.

Last edited by jsbjsb001; 06-25-2018 at 05:55 PM. Reason: clarity
 
1 members found this post helpful.
Old 06-25-2018, 06:36 PM   #13
peterp
LQ Newbie
 
Registered: Jun 2018
Posts: 11

Original Poster
Rep: Reputation: Disabled
Sorry for not including it earlier (I had to leave for a few minutes and rushed the response out), but I did try first with the generalized names and it looks like only one was recognized:

Code:
ubuntu@ubuntu:~$ sudo apt-get install libavcodec* libavformat libavutil libmad libswscale stepmania
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'libavcodec57' for glob 'libavcodec*'
Note, selecting 'libavcodec-extra57' for glob 'libavcodec*'
E: Unable to locate package libavformat
E: Unable to locate package libavutil
E: Unable to locate package libmad
E: Unable to locate package libswscale

Code:
ubuntu@ubuntu:~$ sudo apt-get install libavcodec*
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'libavcodec57' for glob 'libavcodec*'
Note, selecting 'libavcodec-extra57' for glob 'libavcodec*'
0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
Code:
ubuntu@ubuntu:~$ sudo apt-get install libavformat
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package libavformat
Code:
ubuntu@ubuntu:~$ sudo apt-get install libavutil
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package libavutil
Code:
ubuntu@ubuntu:~$ sudo apt-get install libmad
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package libmad
Code:
ubuntu@ubuntu:~$ sudo apt-get install libswscale
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package libswscale
ubuntu@ubuntu:~$
 
Old 06-25-2018, 07:59 PM   #14
AwesomeMachine
LQ Guru
 
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,524

Rep: Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015
I would open 'synaptic' to try to straighten things out. First hit 'reload'. There's a filter for broken packages. Just remove those for now. Then search for stepmania and select it. Try the install that way.
 
1 members found this post helpful.
Old 06-26-2018, 01:05 PM   #15
peterp
LQ Newbie
 
Registered: Jun 2018
Posts: 11

Original Poster
Rep: Reputation: Disabled
I will check out 'synaptic', but before I saw that message I tried a different approach of using the Ubuntu 18.02 launchpad for Stepmania here: https://launchpad.net/~ubuntuhandboo...ania/+packages

Although I don't really know what I'm doing, all the steps seem to work until I try to install the AMD64.deb file. Then the installer shows a file size of 3.3Mb (so it does see the file), but when I click "install", it only runs for about a tenth of a second and very briefly flashes the orange install progress bar to 100%, but nothing is installed and that button on the installer goes back to saying "install" again rather than showing "remove" as it would if it had actually installed. If anybody has any advice on getting the install to work, I'd appreciate that.

If this different approach above doesn't work, I will go back to where I left off and try synaptic. I'm running on Ubuntu on a USB drive for now, so I can go back to a clean slate every time I reboot. Hoping to kick Windows to the curb, but no joy in Mudville so far .

Below shows the excerpts of what I'm using from the link above:

Quote:
Originally Posted by Excerpt_From_Link_Above
Built packages

stepmania Advanced rhythm game
stepmania-data Advanced rhythm game - data files
stepmania-doc Advanced rhythm game - doc files
Package files

stepmania-data_5.1.0+dfsg-beta1+3ubuntu18.04_all.deb (46.4 MiB)
stepmania-doc_5.1.0+dfsg-beta1+3ubuntu18.04_all.deb (654.8 KiB)
stepmania_5.1.0+dfsg-beta1+3ubuntu18.04.debian.tar.gz (6.3 KiB)
stepmania_5.1.0+dfsg-beta1+3ubuntu18.04.dsc (2.0 KiB)
stepmania_5.1.0+dfsg-beta1+3ubuntu18.04_amd64.deb (3.2 MiB) <-- This is the one that doesn't install
stepmania_5.1.0+dfsg-beta1+3ubuntu18.04_i386.deb (3.4 MiB)
stepmania_5.1.0+dfsg.orig.tar.gz (178.0 MiB)

Last edited by peterp; 06-26-2018 at 01:08 PM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't run Stepmania under 64-bit SuSE 10.2 killy9999 SUSE / openSUSE 0 03-09-2008 11:49 AM
Stepmania not deetecting libmad Boxman Linux - Software 0 04-12-2006 04:19 PM
Sound doesn't work at all after running StepMania ChocolateNinj4 Linux - Games 3 03-30-2006 06:38 AM
Stepmania running at 5 FPS wirercx Linux - Games 15 02-12-2004 08:34 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:52 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration