Can't find the package to install - libdvdplay0

Asked by tadiv

When I use the package manager, it does not find the package libdvdplay0 to be installed to support gxine ... I'm new, but can use a terminal... I'm trying to install gxine to play commercial DVD as described at https://help.ubuntu.com/7.10/musicvideophotos/C/video.html#video-dvd

I have the 7.10 disk from download...

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu synaptic Edit question
Assignee:
No assignee Edit question
Solved by:
Olivier
Solved:
Last query:
Last reply:
Revision history for this message
tjagoda (tjagoda) said :
#1

Open up your terminal, and type the following, without copying the quotation marks:

" sudo apt-get install libdvdplay0 "

What does the Terminal output?

Revision history for this message
tadiv (tadiv-comcast) said :
#2

Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Couldn't find package libdvdplay0

Revision history for this message
tjagoda (tjagoda) said :
#3

Go to the following directory:

/etc/apt/

And open the file named "sources.list" in text editor. Copy/Past the output here, please.

Revision history for this message
Olivier (olivier-lacroix) said :
#4

just proceed without installing this package. it is no more in the repositories and is not needed.

Revision history for this message
tadiv (tadiv-comcast) said :
#5

tjagoda:

deb cdrom:[Ubuntu 7.10 _Gutsy Gibbon_ - Release i386 (20071016)]/ gutsy main restricted
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.

deb http://us.archive.ubuntu.com/ubuntu/ gutsy main restricted
deb-src http://us.archive.ubuntu.com/ubuntu/ gutsy main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://us.archive.ubuntu.com/ubuntu/ gutsy-updates main restricted
deb-src http://us.archive.ubuntu.com/ubuntu/ gutsy-updates main restricted

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## universe WILL NOT receive any review or updates from the Ubuntu security
## team.
deb http://us.archive.ubuntu.com/ubuntu/ gutsy universe
deb-src http://us.archive.ubuntu.com/ubuntu/ gutsy universe
deb http://us.archive.ubuntu.com/ubuntu/ gutsy-updates universe
deb-src http://us.archive.ubuntu.com/ubuntu/ gutsy-updates universe

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://us.archive.ubuntu.com/ubuntu/ gutsy multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ gutsy multiverse
deb http://us.archive.ubuntu.com/ubuntu/ gutsy-updates multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ gutsy-updates multiverse

## Uncomment the following two lines to add software from the 'backports'
## repository.
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
# deb http://us.archive.ubuntu.com/ubuntu/ gutsy-backports main restricted universe multiverse
# deb-src http://us.archive.ubuntu.com/ubuntu/ gutsy-backports main restricted universe multiverse

## Uncomment the following two lines to add software from Canonical's
## 'partner' repository. This software is not part of Ubuntu, but is
## offered by Canonical and the respective vendors as a service to Ubuntu
## users.
deb http://archive.canonical.com/ubuntu gutsy partner
deb-src http://archive.canonical.com/ubuntu gutsy partner

deb http://security.ubuntu.com/ubuntu gutsy-security main restricted
deb-src http://security.ubuntu.com/ubuntu gutsy-security main restricted
deb http://security.ubuntu.com/ubuntu gutsy-security universe
deb-src http://security.ubuntu.com/ubuntu gutsy-security universe
deb http://security.ubuntu.com/ubuntu gutsy-security multiverse
deb-src http://security.ubuntu.com/ubuntu gutsy-security multiverse

Revision history for this message
tadiv (tadiv-comcast) said :
#6

Olivier: gxine will not play a DVD - I have done everything else...

Revision history for this message
Olivier (olivier-lacroix) said :
#7

what was the output of

sudo /usr/share/doc/libdvdread3/install-css.sh

??

did you have any error ?

Revision history for this message
tjagoda (tjagoda) said :
#8

Oliver is correct. Try repeating the steps in the how-to guide, just in case you made a mistake.

Revision history for this message
Olivier (olivier-lacroix) said :
#9

I advise you to use another method : we will add an extra repository containing codec and extra programs.

enter the following commands in a terminal

sudo gedit /etc/apt/sources.list

and add this line at the end of the file

deb http://fr.packages.medibuntu.org/ gutsy free non-free

save and close.

now enter in the terminal

wget -q http://fr.packages.medibuntu.org/medibuntu-key.gpg -O- | sudo apt-key add -

the repository is now added and the key to verify the integrity of the packages has been also added.

enter the following commands (this will install the library needed to decrypt DVD that can be found on the added repository)

sudo apt-get update
sudo apt-get install libdvdcss2

that should work

Revision history for this message
Olivier (olivier-lacroix) said :
#10

If that still fails, try to install vlc and read your dvd with it

Revision history for this message
tadiv (tadiv-comcast) said :
#11

sudo /usr/share/doc/libdvdread3/install-css.sh
result:
[sudo] password for tadiv:
--21:00:54-- http://www.dtek.chalmers.se/groups/dvd/deb/libdvdcss2_1.2.5-1_i386.deb
           => `/tmp/dvdcss-WR5536/libdvdcss.deb'
Resolving www.dtek.chalmers.se... 129.16.30.198
Connecting to www.dtek.chalmers.se|129.16.30.198|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 25,178 (25K) [text/plain]

100%[====================================>] 25,178 40.05K/s

21:00:55 (40.01 KB/s) - `/tmp/dvdcss-WR5536/libdvdcss.deb' saved [25178/25178]

(Reading database ... 89651 files and directories currently installed.)
Preparing to replace libdvdcss2 1.2.5-1 (using .../dvdcss-WR5536/libdvdcss.deb) ...
Unpacking replacement libdvdcss2 ...
Setting up libdvdcss2 (1.2.5-1) ...

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

Trying to play a DVD results in an error dialog box that says:
The xine engine failed to start.
No demuxer found - stream format not recognised.

Revision history for this message
Olivier (olivier-lacroix) said :
#12

also enter in the terminal

sudo apt-get install w32codecs ubuntu-restricted-extra

(if you are using ubuntu 64bits w64codecs)

this will install additional codecs that may be needed

Revision history for this message
Olivier (olivier-lacroix) said :
#13

this seems to be a codec error. doing as advised in my previous post should do the trick

Revision history for this message
tadiv (tadiv-comcast) said :
#14

going to bed - will look for more info in the morning.

here is that result...

tadiv@tadiv-desktop:~$ sudo apt-get install w32codecs ubuntu-restricted-extra
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package w32codecs 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 w32codecs has no installation candidate
tadiv@tadiv-desktop:~$

Revision history for this message
tadiv (tadiv-comcast) said :
#15

vlc plays DVDs, but gxine does not...

Revision history for this message
Best Olivier (olivier-lacroix) said :
#16

You have to update the repositories info before being able to install w32codecs. Enter the following in the terminal :

sudo apt-get update
sudo apt-get install w32codecs libxine1-ffmpeg

that should work

Revision history for this message
tadiv (tadiv-comcast) said :
#17

Thanks! That did it.

Revision history for this message
tadiv (tadiv-comcast) said :
#18

Thanks Olivier, that solved my question.