Me again on cd rom errors

Asked by jodi

Pleas refer to my previous instance in reinstall the w32codecs in #55795. When I put any cd in drive I get an error in movie player that states Could not open location. You might not have permission to open the file. So what else am I missing?

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
Andy Ruddock
Solved:
Last query:
Last reply:
Revision history for this message
Andy Ruddock (andy-ruddock) said :
#1

If you open a terminal and type the command :

groups

what do you see?

Revision history for this message
jodi (jodi5549) said :
#2

This is on music cd if anyone can help

Revision history for this message
jodi (jodi5549) said :
#3

Give me a moment I'm on another computer. The one I'm working on is a little slow

Revision history for this message
Andy Ruddock (andy-ruddock) said :
#4

You should see "cdrom" in the list. If not, type

sudo adduser jodi cdrom

I'm assuming your username is "jodi", and then log out and back in again.

Revision history for this message
jodi (jodi5549) said :
#5

This is what I got without putting sudo in front so is it ok that I did the way you said?

sherrie@sherrie-desktop:~$ groups
sherrie adm dialout cdrom floppy audio dip video plugdev fuse lpadmin admin
sherrie@sherrie-desktop:~$

Sherrie is the user, I'm trying to put the old clunker in use for my sister, so I assume follow your instruction using her name?

Revision history for this message
jodi (jodi5549) said :
#6

I did sudo adduser sherrie cdrom and it stated sherrie is already a member of 'cdrom'

Revision history for this message
Andy Ruddock (andy-ruddock) said :
#7

If you enter

ls -lL /dev/cdrom

(that's 2 L's, 1 small & 1 capital) what do you get?

Revision history for this message
jodi (jodi5549) said :
#8

Sorry so long, I copy and paste and here's the result:

sherrie@sherrie-desktop:~$ ls -lL /dev/cdrom
brw-rw----+ 1 root cdrom 11, 0 2009-01-03 14:26 /dev/cdrom
sherrie@sherrie-desktop:~$

Revision history for this message
Andy Ruddock (andy-ruddock) said :
#9

Does this only happen with music CDs? Movie player won't play audio CDs, which could be reason for this error - I'm running 8.10 and get an error message to that effect. The error message may have changed since 8.04 (which is what you're using - am I correct?).
If you click the error message away and then try to use another media player (rhythmbox or amarok for example), what happens then?

Revision history for this message
jodi (jodi5549) said :
#10

I didn't know movie player wouldn't play music cd's, that apparently is my problem. But it doesn't give me an error to that effect. Yes I'm using 8.04. I don't have rythmbox or amarok. Which one is the lightest for this old system? Is is pretty slow.

Revision history for this message
jodi (jodi5549) said :
#11

I tried to open add/remove to check it out and it wanted to update and this is the error I got. What could it mean?

W: GPG error: http://packages.medibuntu.org hardy Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 2EBC26B60C5A2783

Revision history for this message
jodi (jodi5549) said :
#12

This is what I got when I tried to close that error window:

You have 1 broken package on your system!

Use the "Broken" filter to locate it.

How do I do this?

Revision history for this message
jodi (jodi5549) said :
#13

Won't let me close out another error:

Could not apply changes!
Fix broken packages first.

Revision history for this message
Andy Ruddock (andy-ruddock) said :
#14

Here's a link to some info on a media player for xubuntu.

https://help.ubuntu.com/xubuntu/desktopguide/C/play-music.html

Although you can install any media player your better off using one which already uses the libraries that your desktop is using - it uses less memory that way (no point loading all the KDE libraries just to listen to a CD).

Don't forget to follow the link and read about multimedia support.

Revision history for this message
Andy Ruddock (andy-ruddock) said :
#15

To add the medibuntu pgp key use the following :

sudo apt-get update && sudo apt-get install medibuntu-keyring && sudo apt-get update

From :
https://help.ubuntu.com/community/Medibuntu

Revision history for this message
Andy Ruddock (andy-ruddock) said :
#16

Open a terminal window

sudo apt-get check

what does it say?

Revision history for this message
jodi (jodi5549) said :
#17

I ran your last suggestion first, here it is:

sherrie@sherrie-desktop:~$ sudo apt-get check
[sudo] password for sherrie:
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run `apt-get -f install' to correct these.
The following packages have unmet dependencies:
E: Unmet dependencies. Try using -f.
sherrie@sherrie-desktop:~$

Revision history for this message
Andy Ruddock (andy-ruddock) said :
#18

So if you try

sudo apt-get -f install

what do you get?

Revision history for this message
jodi (jodi5549) said :
#19

sherrie@sherrie-desktop:~$ sudo apt-get -f install
[sudo] password for sherrie:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following packages were automatically installed and are no longer required:
  java-common sun-java6-bin unixodbc odbcinst1debian1 sun-java6-jre
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
  odbcinst1debian1 sun-java6-bin sun-java6-jre unixodbc
Suggested packages:
  binfmt-support sun-java6-fonts sun-java6-plugin ia32-sun-java6-plugin libct1
  libmyodbc odbc-postgresql
Recommended packages:
  gsfonts-x11
The following NEW packages will be installed:
  odbcinst1debian1 sun-java6-bin unixodbc
The following packages will be upgraded:
  sun-java6-jre
1 upgraded, 3 newly installed, 0 to remove and 2 not upgraded.
1 not fully installed or removed.
Need to get 0B/34.0MB of archives.
After this operation, 97.5MB of additional disk space will be used.
Do you want to continue [Y/n]? sudo apt-get -f install

Shall I try to say yes, I don't really know how much disk space I've got left but I'll try

Revision history for this message
Andy Ruddock (andy-ruddock) said :
#20

Say yes, let's see what happens.

Revision history for this message
jodi (jodi5549) said :
#21

I think I answered yes wrong. I typed in y for yes then it came up with abort see below, can I do this again?

Do you want to continue [Y/n]? sudo apt-get -f instally
Abort.
sherrie@sherrie-desktop:~$ y
bash: y: command not found
sherrie@sherrie-desktop:~$

Revision history for this message
Andy Ruddock (andy-ruddock) said :
#22

Just type the command

sudo apt-get -f install

When it prompts you to continue, just press the RETURN key.

(Often a program will display the default option in capital letters [Y/n])

Revision history for this message
jodi (jodi5549) said :
#23

Ok I ended up with this screen on configuring java6 bin and I hit enter and nothing happen

┤ Configuring sun-java6-bin ├───────────────────────┐
 │ │
 │ Agreement will remain in effect upon the parties' agreement to ↑
 │ revised terms that most nearly accomplish the same effect. This ▒
 │ Agreement is the entire agreement between you and Sun relating to ▒
 │ its subject matter. It supersedes all prior or contemporaneous ▒
 │ oral or written communications, proposals, representations and ▒
 │ warranties and prevails over any conflicting or additional terms ▒
 │ of any quote, order, acknowledgment, or other communication ▒
 │ between the parties relating to its subject matter during the term ▒
 │ of this Agreement. No modification of this Agreement will be ▒
 │ binding, unless in writing and signed by an authorized ▒
 │ representative of each party. ▒
 │ ▒
 │ ▒
 │ For inquiries please contact: Sun Microsystems, Inc., 4150 Network ▒
 │ Circle, Santa Clara, California 95054, U.S.A. ▒
 │ ▮
 │ DLJ v1.1 27APR2006ANS ↓
 │

Revision history for this message
Andy Ruddock (andy-ruddock) said :
#24

You need to press the TAB key so that the OK at the bottom is highlighted, you can then press ENTER.

Revision history for this message
jodi (jodi5549) said :
#25

Thank you for that tip, I wish I had thought of it. Processing triggers for libc6 now taking place. Shall I copy the result to you again?

Revision history for this message
jodi (jodi5549) said :
#26

Selecting previously deselected package unixodbc.
Unpacking unixodbc (from .../unixodbc_2.2.11-16build1_i386.deb) ...
Selecting previously deselected package sun-java6-bin.
Unpacking sun-java6-bin (from .../sun-java6-bin_6-07-3ubuntu2_i386.deb) ...
Preparing to replace sun-java6-jre 6-07-3ubuntu2 (using .../sun-java6-jre_6-07-3ubuntu2_all.deb) ...
sun-dlj-v1-1 license has already been accepted
Unpacking replacement sun-java6-jre ...
Setting up odbcinst1debian1 (2.2.11-16build1) ...

Setting up unixodbc (2.2.11-16build1) ...

Setting up sun-java6-bin (6-07-3ubuntu2) ...

Setting up sun-java6-jre (6-07-3ubuntu2) ...

Processing triggers for libc6 ...
ldconfig deferred processing now taking place
sherrie@sherrie-desktop:~$

Is it done, nothing else happening?

Revision history for this message
Andy Ruddock (andy-ruddock) said :
#27

You should now be able to do

sudo apt-get update && sudo apt-get install medibuntu-keyring && sudo apt-get update

to install the pgp key for the medibuntu repository

Revision history for this message
jodi (jodi5549) said :
#28

Shall I say yes, with the y and then enter. The N is larger on this?

sherrie@sherrie-desktop:~$ sudo apt-get update && sudo apt-get install medibuntu-keyring && sudo apt-get update
[sudo] password for sherrie:
Hit http://security.ubuntu.com hardy-security Release.gpg
Ign http://security.ubuntu.com hardy-security/main Translation-en_US
Hit http://us.archive.ubuntu.com hardy Release.gpg
Ign http://us.archive.ubuntu.com hardy/main Translation-en_US
Get:1 http://packages.medibuntu.org hardy Release.gpg [189B]
Ign http://security.ubuntu.com hardy-security/restricted Translation-en_US
Ign http://security.ubuntu.com hardy-security/universe Translation-en_US
Ign http://security.ubuntu.com hardy-security/multiverse Translation-en_US
Hit http://security.ubuntu.com hardy-security Release
Ign http://us.archive.ubuntu.com hardy/restricted Translation-en_US
Ign http://us.archive.ubuntu.com hardy/universe Translation-en_US
Ign http://us.archive.ubuntu.com hardy/multiverse Translation-en_US
Hit http://us.archive.ubuntu.com hardy-updates Release.gpg
Ign http://us.archive.ubuntu.com hardy-updates/main Translation-en_US
Ign http://us.archive.ubuntu.com hardy-updates/restricted Translation-en_US
Ign http://us.archive.ubuntu.com hardy-updates/universe Translation-en_US
Ign http://us.archive.ubuntu.com hardy-updates/multiverse Translation-en_US
Hit http://us.archive.ubuntu.com hardy Release
Ign http://packages.medibuntu.org hardy/free Translation-en_US
Hit http://us.archive.ubuntu.com hardy-updates Release
Ign http://packages.medibuntu.org hardy/non-free Translation-en_US
Hit http://security.ubuntu.com hardy-security/main Packages
Hit http://security.ubuntu.com hardy-security/restricted Packages
Hit http://security.ubuntu.com hardy-security/main Sources
Hit http://security.ubuntu.com hardy-security/restricted Sources
Hit http://us.archive.ubuntu.com hardy/main Packages
Hit http://security.ubuntu.com hardy-security/universe Packages
Hit http://security.ubuntu.com hardy-security/universe Sources
Hit http://security.ubuntu.com hardy-security/multiverse Packages
Hit http://security.ubuntu.com hardy-security/multiverse Sources
Get:2 http://packages.medibuntu.org hardy Release [9335B]
Hit http://us.archive.ubuntu.com hardy/restricted Packages
Hit http://us.archive.ubuntu.com hardy/main Sources
Hit http://us.archive.ubuntu.com hardy/restricted Sources
Ign http://packages.medibuntu.org hardy Release
Hit http://us.archive.ubuntu.com hardy/universe Packages
Hit http://us.archive.ubuntu.com hardy/universe Sources
Hit http://us.archive.ubuntu.com hardy/multiverse Packages
Hit http://us.archive.ubuntu.com hardy/multiverse Sources
Hit http://us.archive.ubuntu.com hardy-updates/main Packages
Hit http://us.archive.ubuntu.com hardy-updates/restricted Packages
Hit http://us.archive.ubuntu.com hardy-updates/main Sources
Hit http://us.archive.ubuntu.com hardy-updates/restricted Sources
Hit http://us.archive.ubuntu.com hardy-updates/universe Packages
Hit http://us.archive.ubuntu.com hardy-updates/universe Sources
Hit http://us.archive.ubuntu.com hardy-updates/multiverse Packages
Hit http://us.archive.ubuntu.com hardy-updates/multiverse Sources
Hit http://packages.medibuntu.org hardy/free Packages
Hit http://packages.medibuntu.org hardy/non-free Packages
Fetched 190B in 1s (99B/s)
Reading package lists... Done
W: GPG error: http://packages.medibuntu.org hardy Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 2EBC26B60C5A2783
W: You may want to run apt-get update to correct these problems
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
  java-common sun-java6-bin unixodbc odbcinst1debian1 sun-java6-jre
Use 'apt-get autoremove' to remove them.
The following NEW packages will be installed:
  medibuntu-keyring
0 upgraded, 1 newly installed, 0 to remove and 2 not upgraded.
Need to get 3448B of archives.
After this operation, 49.2kB of additional disk space will be used.
WARNING: The following packages cannot be authenticated!
  medibuntu-keyring
Install these packages without verification [y/N]?

Revision history for this message
Andy Ruddock (andy-ruddock) said :
#29

Yes, press Y for this.

After this you can type :

sudo apt-get --purge autoremove

which will remove those packages which were installed as dependencies and can be safely removed, and

sudo apt-get install xfmedia

to install the media player, and

sudo apt-get clean

to remove downloaded packages from the disk and give you some disk space back.

Revision history for this message
Andy Ruddock (andy-ruddock) said :
#30

Hope this has got your system running a bit more smoothly - need to hit the sack now.

Revision history for this message
jodi (jodi5549) said :
#31

Thank you so much, hopefully it will. Have a good night wherever you are!

Revision history for this message
jodi (jodi5549) said :
#32

I see your still here, one last question before you leave. On the sudo apt-get clean, should I have seen more happening or did it do correctly? I will try to play music now.

ldconfig deferred processing now taking place
sherrie@sherrie-desktop:~$ sudo apt-get clean
sherrie@sherrie-desktop:~$

Revision history for this message
jodi (jodi5549) said :
#33

After all this why in the world cannot I still not get permissions to play any music cd's? Not trying to rant but this is frustrating. Please see the previous #55795 also. Been on this for a while. Is this a bug in the xubuntu 8.04?

Revision history for this message
Andy Ruddock (andy-ruddock) said :
#34

You won't see anything after apt-get clean - it just deletes the downloaded .deb files.

I've just installed xfmedia - it crashes on startup :(

Need to find a lightweight cd player - I'll get back to you on that.

Revision history for this message
Andy Ruddock (andy-ruddock) said :
#35

We can try using alsaplayer, open a terminal window :

First we'll install those extras referenced in the xubuntu documentation :

sudo apt-get install gstreamer0.10-plugins-ugly gstreamer0.10-ffmpeg gstreamer0.10-plugins-base gstreamer0.10-plugins-good gstreamer0.10-plugins-ugly-multiverse libxine1-ffmpeg ffmpeg lame faad sox mjpegtools

(that's all on one line if you're copying & pasting)

sudo apt-get install alsaplayer-alsa

which should also install alsaplayer-common & alsaplayer-gtk

then insert your music CD in the drive. Dismiss any messages which may pop-up and close any applications which may automatically start.
Then in the terminal window :

alsaplayer-alsa --verbose

In the AlsaPlayer window that opens, you should be able to click on the CD icon and listen.

Revision history for this message
jodi (jodi5549) said :
#36

My apologies for coming back so late, had to go to a Shriners dinner today. I played with the cd-rom for awhile last night. It will bring up my pictures on cd and data disk. I tried to put a movie in The Planet of the Apes which I recorded about 3 yrs ago. The movie player came up for a few minutes and showed the title of the movie and then closes out on it's own after some kind of update on avi, mp3 and some other ext pertaining to movies. The movie showed as an avi file which I think was a divx movie. But as far as music movie player comes up automatically and states could not open location you might not have permission to open file. I did download rythembox and it doesn't open music in it either. When I open it tells me plugin errors unable to activate plugin jamendo and magnatune. I also think I've already downloaded alsaplayer, but not sure about the sudo apt-get gstreamer, but I think it might be in there also. The sound of not sure as of yet. I do know I'm getting tones thru the speakers tho. Right now I just try to fix the music playing deal right now. Then I'll know more about sounds.

Revision history for this message
Andy Ruddock (andy-ruddock) said :
#37

It sounds as though you just need to follow the instructions on the medibuntu web-site regarding installation of the various packages to enable playing of mp3.
With the number of audio/video formats available getting a system to play them can be a nightmare, even for experienced Linux users.

Revision history for this message
jodi (jodi5549) said :
#38

Ok, I did the sudo apt-get install gstreamer0.10-plugins-ugly gstreamer0.10-ffmpeg gestreamer0.10-plugins-base gstreamer0.10-plugins-good gstreamer0.10-plugins-ugly-multiverse libxine 1-ffmpeg ffmpeg lame faad sox mjpegtools. Which I didn't remember if I already done that. I know I had previously installed the the alsamixer or player before, but I did as above anyway and everthing seem to go fine and put a music cd in drive and dismissed all that came up and then copy and pasted the last command alsaplayer-alsa --verbose and stated command not found. Also does this GPG public key error above need to be done? I've already did the Medibuntu thing and copy and pasted the Ubuntu 8.04 Hardy Herron. I don't understand there what else I need to do.

Revision history for this message
jodi (jodi5549) said :
#39

WooHoo got it to play with alsaplayer alsa --verbose. But I have to do this in the terminal every time I load a cd? It also will not let me swap disks while the player is up and at the same time the terminal is up. If I close either one and then reopen the terminal and put in the command is the only way the alsaplay will come up. Then I can get another cd to play. It will not let me click on it under the multimedia tab. Is there a way to get around that?

Revision history for this message
Andy Ruddock (andy-ruddock) said :
#40

I'm using the standard release of Ubuntu, I get alsaplayer installed in my Menu under "Sound & Video", so I can start Alsaplayer from the menu, stick in a CD and play it (after dismissing the dialog tat asks me what I should do with the CD - the dialogs pop up automatically and I never get round to sorting out automatic responses).

I'm not how you set the default applications in xubuntu, but I'm sure you could set the default application for audio CDs as being alsaplayer.

Regarding ejecting CDs, I'm at work at the moment and don't have a CD to hand, I'll try when I get home and report back.

Revision history for this message
jodi (jodi5549) said :
#41

Alsaplayer is installed under the multimedia tab, but when I try to click on it a picture of a cd turning then dissapears and it doesn't come up in it's own window. The only way is the way you told me in the terminal that I can bring it up if I put cd in first then brring up terminal and type alsaplayer alsa --verbose. But I have to do that evertime I want to put in a new cd. When I was in the program I selected alway on top, but that is not working, movieplayer still wants to come up for everything. So back to the terminal I go! I don't have any problem physically ejecting cd, the program will not let me swap. I don't know how to set the default application otherwise. Appreciate you coming back, time to go to bed for me. I'll come back tomorrow on this and I really Thank you for your time.

Revision history for this message
Andy Ruddock (andy-ruddock) said :
#42

I installed xubuntu on my machine here - now it's version 8.10 as opposed to 8.04 so there may be some differences.
The default media player is called "listen".

sudo apt-get install listen (If you want to install it)

To edit default applications use the Applications menu,
Select "Settings" -> "Settings Manager" which opens the "Xfce Settings Manager".
Click on "Removable Drives and Media", under the "Multimedia" tab are options to select which programs are used when media are inserted.
On my machine the settings are :

Audio CDs
    [x] Play audio CDs when inserted
        Command: listen

Video CDs/DVDs
    [x] Play video CDs and DVDs when inserted
        Command: totem dvd:/

Portable Music Players
    [ ] Play music files when connected
        Command:

I don't know why alsaplayer won't start.
Make sure that you don't have a player window open.
Try typing

pkill alsaplayer
rm -r ~/.alsaplayer

and trying again.

When you've made lots of changes it can be worth logging out and back in again, just to ensure that no program anywhere has been caching your old settings just to confuse you.

Revision history for this message
jodi (jodi5549) said :
#43

Ok. I don't know if I want to install any more. I already have rythembox which I think I want to keep and xfmedia which I would like to delete. I should have clerified myself but I don't have a dvd rom, but that movie planet of the apes, that won't play is on cd-r. Anyway I'll try the pkill alsaplayer then go back in and do the rm -r ~/.alsaplayer. Also under the multimedia tab, mine shows totem cdda:// under audio cds and under video it shows totem dvd://. Should I change those? Note I've got two // because someone else told me to change it to that further back.

Revision history for this message
Best Andy Ruddock (andy-ruddock) said :
#44

If you're happy with rhythmbox I wouldn't bother with listen - personally I prefer rhythmbox.

To remove xfmedia

sudo apt-get remove --purge xfmedia

which totally removes it, including any configuration files assiciated with it.

You can leave the two slashes.

If the movie is a .AVI file on a CD then it should be treated as any other data CD, use your file manager to browse it and open the file using movie player.

Probably time to recap now what is, and what isn't, working for you.

Revision history for this message
jodi (jodi5549) said :
#45

Your suggestion worked on the alsaplay. I can now click on the program. Sure appreciate your time. I did change the part under the video from dvd:// to totem cdda://. That shouldn't hurt anything would it? If my question here on the totem part needs to be changed back please let me know and I will marked this solve. Thank you so very much!

Revision history for this message
jodi (jodi5549) said :
#46

Thanks Andy Ruddock, that solved my question.