Totem won't playback DVD

Asked by johny q

says"Totem could not play 'file:///media/cdrom0/VIDEO_TS/VIDEO_TS.VOB'.

I try in terminal:

sudo apt-get install libdvdread3 libxine1-ffmpeg totem-xine build-essential debhelper fakeroot
sudo /usr/share/doc/libdvdread3/install-css.sh

I try this,and the terminal says"the database area is being blocked by another process"
E:Could not get lock /var/lib/dpkg/lock - open (11 resource temporarily unavailable)
E:Unable to lock the administration directory (/var/lib/dpkg/). Is another process using it?

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu totem Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Vojtěch Trefný (vojtech.trefny) said :
#1

Make you sure you have all suitable codecs for playing DVDs.

https://help.ubuntu.com/community/RestrictedFormats/PlayingDVDs
https://help.ubuntu.com/community/RestrictedFormats

You can also try to start Totem via terminal and send error output (if any).

Revision history for this message
johny q (qwestj) said :
#2

sudo apt-get install libdvdread3 libxine1-ffmpeg totem-xine build-essential debhelper fakeroot
sudo /usr/share/doc/libdvdread3/install-css.sh

I try this,and the terminal says"the database area is being blocked by another process"
E:Could not get lock /var/lib/dpkg/lock - open (11 resource temporarily unavailable)
E:Unable to lock the administration directory (/var/lib/dpkg/). Is another process using it?

Revision history for this message
Vojtěch Trefný (vojtech.trefny) said :
#3

Only one application for installation or update (apt-get, synaptic, add/remove...) can run at a time. So close other ones...

Revision history for this message
johny q (qwestj) said :
#4

Maybe if I can resolve the update manager problem,both problems will be solved..I HOPE! THANX

Vojtěch Trefný <email address hidden> wrote: Your question #25199 on totem in ubuntu changed:
https://answers.edge.launchpad.net/ubuntu/+source/totem/+question/25199

    Status: Open => Answered

Vojtěch Trefný proposed the following answer:
Only one application for installation or update (apt-get, synaptic,
add/remove...) can run at a time. So close other ones...

--
If this answers your question, please go to the following page to let us
know that it is solved:
https://answers.edge.launchpad.net/ubuntu/+source/totem/+question/25199/+confirm?answer_id=2

If you still need help, you can reply to this email or go to the
following page to enter your feedback:
https://answers.edge.launchpad.net/ubuntu/+source/totem/+question/25199

You received this question notification because you are a direct
subscriber of the question.

---------------------------------
Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now.

Revision history for this message
miked (miked11) said :
#5

Howdy Mike-d. here,
(disclaimer)
I usually just file bug reports and and sometimes I'm not very good at that either, but I do get this error message every once in a while.
E: Could not get lock /var/lib/dpkg/lock - open (11 Resource temporarily unavailable)
**work aroundis to delete lock file (0k)**
location: /var/lib/dpkg
so left click Places->Computer->Left Double click Filesystem->left double click Var-> left double click Lib->left double click Dpkg:
left click lock file(it will be a size of about 0K ) move it to trash(right click for drop down menu, left click move to trash) you can undue or restore file by going to trash icon at the lower left corner of your screen on the TaskBar, left click on Trash Icon, choose lock file by left clicking on it, then right click for down-down menu choose copy or cut by left clicking on the one you want. Paste it back in the /var/lib/dpkg directory where you moved it to the trash from.(I don't usually need to do this put it back thing because it is replaced next time you run you update terminal command.
Good Luck, ask for more info, if you need more info.
Mike-d. out

Revision history for this message
miked (miked11) said :
#6

Sometimes just repeating the terminal update command a few seconds later a couple of times fixes it now-a-days. You also need to make sure only no other package manager is currently working(my computer has package manager icon on top right taskbar, that if you mouse over it tells you it's status, I don't remember if that is in older versions of Ubuntu.

Revision history for this message
johny q (qwestj) said :
#7

Yhanx for your help!! I can't throw "lock" into trash.. It says"lock" cannot be opened" then, when I try to send it to trash it says"Cannot move "/var/lib/dpkg/lock" to the trash because you do not have permissions to change it or its parent folder. Thanx sooo much!!

miked <email address hidden> wrote: Your question #25199 on totem in ubuntu changed:
https://answers.launchpad.net/ubuntu/+source/totem/+question/25199

    Status: Open => Answered

miked proposed the following answer:
Howdy Mike-d. here,
(disclaimer)
I usually just file bug reports and and sometimes I'm not very good at that either, but I do get this error message every once in a while.
E: Could not get lock /var/lib/dpkg/lock - open (11 Resource temporarily unavailable)
**work aroundis to delete lock file (0k)**
location: /var/lib/dpkg
so left click Places->Computer->Left Double click Filesystem->left double click Var-> left double click Lib->left double click Dpkg:
left click lock file(it will be a size of about 0K ) move it to trash(right click for drop down menu, left click move to trash) you can undue or restore file by going to trash icon at the lower left corner of your screen on the TaskBar, left click on Trash Icon, choose lock file by left clicking on it, then right click for down-down menu choose copy or cut by left clicking on the one you want. Paste it back in the /var/lib/dpkg directory where you moved it to the trash from.(I don't usually need to do this put it back thing because it is replaced next time you run you update terminal command.
Good Luck, ask for more info, if you need more info.
Mike-d. out

--
If this answers your question, please go to the following page to let us
know that it is solved:
https://answers.launchpad.net/ubuntu/+source/totem/+question/25199/+confirm?answer_id=4

If you still need help, you can reply to this email or go to the
following page to enter your feedback:
https://answers.launchpad.net/ubuntu/+source/totem/+question/25199

You received this question notification because you are a direct
subscriber of the question.

---------------------------------
Looking for last minute shopping deals? Find them fast with Yahoo! Search.

Revision history for this message
Randy LeJeune (lejeunerandy-fastmail) said :
#8

Try:

sudo cat /dev/null > /var/lib/dpkg/lock

and see if that helps.

Revision history for this message
gear3895 (gear3895) said :
#9

If VLC or Totem doesn't work, and you want to watch dvd movies or play downloaded flv video files in Ubuntu,
Google for "flv flash Totem internal data stream vlc undf"
... it's better to install everything in 32 bit, even if you have a 64 bit machine, as there are something missing in 64 bit depository like drivers, codecs,...

Revision history for this message
marcobra (Marco Braida) (marcobra) said :
#10

Play mp3 and dvd under Ubuntu install skype googleearth acroread and other stuffs using Medibuntu

First please install https://help.ubuntu.com/community/RestrictedFormats

You need to have extra repositories enabled..

Please first enable the universe and multiverse repository:

Open System → Administration → Software sources → [ Tab Ubuntu software ]

enable "Community-maintained Open Source software ( universe )"
enable "Proprietary drivers for devices ( restricted )"
enable "Software restrictecd by copyright or legal issue ( multiverse )"

Close and confirm the repository reload.

Then open a Terminal from the menu Applications→Accessories→Terminal

Tip: right click with mouse on the terminal title caption and select the item "Always on Top" doing this you will force the terminal window to stay on top of the other windows and you will find very easy to copy single row from this web page into the terminal...
Something more about using the terminal https://help.ubuntu.com/community/UsingTheTerminal

Then type or better copy and paste a row a time then press enter:
(Tip: select the single row to copy then right click into the terminal and to quick paste click with middle button of mouse )

and type or better copy and paste:

sudo aptitude install vlc smplayer mplayer

To get better dvd playback and optional packages here the medibuntu available software list http://packages.medibuntu.org/
you need to add the medibuntu http://www.medibuntu.org/ repository to your /etc/apt/sources.list file:
( here the medibuntu howto https://help.ubuntu.com/community/Medibuntu but see below )

In short please open a Terminal from the menu Applications → Accessories → Terminal and type or copy and paste:

sudo wget http://www.medibuntu.org/sources.list.d/$(lsb_release -cs).list --output-document=/etc/apt/sources.list.d/medibuntu.list; sudo apt-get -q update; sudo apt-get --yes -q --allow-unauthenticated install medibuntu-keyring; sudo apt-get -q update

-- give your user password when requested, you don't see nothing when you type it, then press enter

Now to install, type:

sudo apt-get update
sudo apt-get install ubuntu-restricted-extras libxine1-ffmpeg non-free-codecs
sudo aptitude install libdvdread3 libdvdnav4 libdvdcss2 regionset gnome-mplayer
sudo aptitude install gstreamer0.10-pitfdll gstreamer0.10-plugins-good
sudo aptitude install gstreamer0.10-plugins-ugly gstreamer0.10-plugins-ugly-multiverse

Then to install the codecs if you are using:
-- a Ubuntu 32 bits:
sudo aptitude install w32codecs
-- a Ubuntu 32 bits:
sudo apt-get install w64codecs

give your user password when requested, you don't see nothing when you type it, then press enter.

Then to play encrypted dvd please read: http://www.ubuntugeek.com/playing-encrypted-dvds-in-ubuntu.html

You can also install other Medibuntu repository provided optional software http://packages.medibuntu.org/ :

sudo apt-get install skype
sudo apt-get install googleearth
sudo apt-get install acroread

Hope this helps

Can you help with this problem?

Provide an answer of your own, or ask johny q for more information if necessary.

To post a message you must log in.