Fórum Ubuntu CZ/SK

Ubuntu pro osobní počítače => Multimédia => Téma založeno: KtK 03 Prosince 2009, 19:45:22

Název: Nejde nainstalovat mplayer
Přispěvatel: KtK 03 Prosince 2009, 19:45:22
Mam problem, ktery asi vyresi mistni bardi jedna dve.. Chci nainstalovat stary dobry mplayer.
s "aptitude install mplayer" ale neuspeju.

Mam xubuntu karmic, tady jsou moje sources.list: (navic snad jen repo s virtualboxem)
Kód: [Vybrat]
#deb cdrom:[Xubuntu 9.10 _Karmic Koala_ - Release i386 (20091028.3)]/ karmic main multiverse restricted universe
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.

deb http://cz.archive.ubuntu.com/ubuntu/ karmic main restricted
deb-src http://cz.archive.ubuntu.com/ubuntu/ karmic main restricted

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

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://cz.archive.ubuntu.com/ubuntu/ karmic universe
deb-src http://cz.archive.ubuntu.com/ubuntu/ karmic universe
deb http://cz.archive.ubuntu.com/ubuntu/ karmic-updates universe
deb-src http://cz.archive.ubuntu.com/ubuntu/ karmic-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://cz.archive.ubuntu.com/ubuntu/ karmic multiverse
deb-src http://cz.archive.ubuntu.com/ubuntu/ karmic multiverse
deb http://cz.archive.ubuntu.com/ubuntu/ karmic-updates multiverse
deb-src http://cz.archive.ubuntu.com/ubuntu/ karmic-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://cz.archive.ubuntu.com/ubuntu/ karmic-backports main restricted universe multiverse
# deb-src http://cz.archive.ubuntu.com/ubuntu/ karmic-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 karmic partner
# deb-src http://archive.canonical.com/ubuntu karmic partner

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

deb http://download.virtualbox.org/virtualbox/debian karmic non-free

a kdyz zkusim nainstalovat pres aptitude, dovim se toto:
Kód: [Vybrat]
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Reading extended state information       
Initializing package states... Done
The following packages are BROKEN:
  mplayer mplayer-nogui
The following NEW packages will be installed:
  libavcodec52{a} libavformat52{a} libavutil49{a} libfaac0{a} libgsm1{a} liblzo2-2{a} libmp3lame0{a} libpostproc51{a} libschroedinger-1.0-0{a} libswscale0{a}
  libxvidcore4{a} mplayer-skins{a}
0 packages upgraded, 14 newly installed, 0 to remove and 1 not upgraded.
Need to get 10.5MB of archives. After unpacking 26.1MB will be used.
The following packages have unmet dependencies:
  mplayer: Depends: libjack0 (>= 0.116.1) which is a virtual package.
           Depends: libopenal1 which is a virtual package.
           Depends: libsvga1 which is a virtual package.
           Depends: libx264-67 (>= 1:0.svn20090502) which is a virtual package.
  mplayer-nogui: Depends: libjack0 (>= 0.116.1) which is a virtual package.
                 Depends: libopenal1 which is a virtual package.
                 Depends: libsvga1 which is a virtual package.
                 Depends: libx264-67 (>= 1:0.svn20090502) which is a virtual package.
The following actions will resolve these dependencies:

Keep the following packages at their current version:
mplayer [Not Installed]
mplayer-nogui [Not Installed]

Score is -9868

Accept this solution? [Y/n/q/?] q
Abandoning all efforts to resolve these dependencies.
Abort.

zadna volba Y/n/q nevede k nicemu.
Asi staci jen nekde cosi povolit a podobne, ale nejak nevim, jsem v ubuntu novacek, driv jsem mplayer bez potizi kompiloval. tady by mi uplne stacilo stahnout binarku z repozitare..
Název: Re: Nejde nainstalovat mplayer
Přispěvatel: arrange 03 Prosince 2009, 20:24:12
Nejsem bard, snad to nebude vadit... Ani jsem mplayer nikdy nekompiloval... Proto tě požádám, ať aptitudisti prominou, zdali bys mohl poslat ještě výpis z
Kód: [Vybrat]
sudo apt-get update
sudo apt-get install mplayer
grep -EIR 'Package:.*libjack0' /var/lib/apt/lists 2> /dev/null
Název: Re: Nejde nainstalovat mplayer
Přispěvatel: KtK 03 Prosince 2009, 20:32:33
Kód: [Vybrat]
root@r31:~apt-get update
Hit http://security.ubuntu.com karmic-security Release.gpg
Hit http://security.ubuntu.com karmic-security Release                         
Hit http://security.ubuntu.com karmic-security/main Packages                                         
Hit http://security.ubuntu.com karmic-security/restricted Packages             
Hit http://security.ubuntu.com karmic-security/main Sources                     
Hit http://security.ubuntu.com karmic-security/restricted Sources               
Hit http://cz.archive.ubuntu.com karmic Release.gpg                             
Hit http://cz.archive.ubuntu.com karmic-updates Release.gpg         
Hit http://cz.archive.ubuntu.com karmic Release                     
Hit http://cz.archive.ubuntu.com karmic-updates Release                                   
Hit http://cz.archive.ubuntu.com karmic/main Packages                                     
Hit http://cz.archive.ubuntu.com karmic/restricted Packages                               
Hit http://cz.archive.ubuntu.com karmic/main Sources                 
Hit http://cz.archive.ubuntu.com karmic/restricted Sources           
Hit http://cz.archive.ubuntu.com karmic/universe Packages           
Hit http://cz.archive.ubuntu.com karmic/universe Sources             
Hit http://cz.archive.ubuntu.com karmic/multiverse Packages         
Hit http://cz.archive.ubuntu.com karmic/multiverse Sources           
Hit http://cz.archive.ubuntu.com karmic-updates/main Packages       
Hit http://cz.archive.ubuntu.com karmic-updates/restricted Packages 
Hit http://cz.archive.ubuntu.com karmic-updates/main Sources         
Hit http://cz.archive.ubuntu.com karmic-updates/restricted Sources   
Hit http://cz.archive.ubuntu.com karmic-updates/universe Packages   
Hit http://cz.archive.ubuntu.com karmic-updates/universe Sources     
Hit http://cz.archive.ubuntu.com karmic-updates/multiverse Packages 
Hit http://cz.archive.ubuntu.com karmic-updates/multiverse Sources   
Hit http://download.virtualbox.org karmic Release.gpg               
Hit http://security.ubuntu.com karmic-security/universe Packages
Hit http://security.ubuntu.com karmic-security/universe Sources
Hit http://security.ubuntu.com karmic-security/multiverse Packages
Hit http://security.ubuntu.com karmic-security/multiverse Sources
Hit http://download.virtualbox.org karmic Release
Hit http://download.virtualbox.org karmic/non-free Packages

Kód: [Vybrat]
root@r31:~# apt-get install mplayer
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:
  mplayer: Depends: mplayer-nogui but it is not going to be installed
           Depends: libjack0 (>= 0.116.1) but it is not installable
           Depends: libopenal1 but it is not installable
           Depends: libsvga1 but it is not installable
           Depends: libx264-67 (>= 1:0.svn20090502) but it is not installable
E: Broken packages

vcelku zadny rozdil oproti aptitude

a ten grep nedava zadny vystup, asi to tam neni.. :/
Název: Re: Nejde nainstalovat mplayer
Přispěvatel: Evžen Šubrt 03 Prosince 2009, 20:41:29
Tak nevím, ty "unmet dependencies" jsou normálně dostupné v repozitářích. Máš plně upgradovaný systém? Zkus
Kód: [Vybrat]
sudo apt-get dist-upgrade
Název: Re: Nejde nainstalovat mplayer
Přispěvatel: KtK 03 Prosince 2009, 20:47:44
Kód: [Vybrat]
root@r31:~# apt-get dist-upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
The following packages will be upgraded:
  libnautilus-extension1
1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 60.4kB of archives.
After this operation, 0B of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://cz.archive.ubuntu.com karmic-updates/main libnautilus-extension1 1:2.28.1-0ubuntu3 [60.4kB]
Fetched 60.4kB in 0s (234kB/s)             
(Reading database ... 109103 files and directories currently installed.)
Preparing to replace libnautilus-extension1 1:2.28.1-0ubuntu2 (using .../libnautilus-extension1_1%3a2.28.1-0ubuntu3_i386.deb) ...
Unpacking replacement libnautilus-extension1 ...
Setting up libnautilus-extension1 (1:2.28.1-0ubuntu3) ...

Processing triggers for libc-bin ...
ldconfig deferred processing now taking place

i po tom instalace mplayeru dela to samy.
Název: Re: Nejde nainstalovat mplayer
Přispěvatel: arrange 03 Prosince 2009, 21:11:29
Dej tady prosím výstup z
Kód: [Vybrat]
ls -lR /var/lib/apt/lists
Název: Re: Nejde nainstalovat mplayer
Přispěvatel: Evžen Šubrt 04 Prosince 2009, 10:16:55
No, zkus se kdyžtak podívat (např. přes Synaptic), jaké verze těch "neinstalovatelných" balíčků máš případně nainstalované (libjack0, libx264-67, ...) či je případně odebrat. Pokud tedy nainstalované vůbec jsou. Pokud ne, zkusil bych je nainstalovat "po jednom".
Název: Re: Nejde nainstalovat mplayer
Přispěvatel: KtK 04 Prosince 2009, 20:23:37
arrange, tady je vystup:
Kód: [Vybrat]
root@r31:/home/ktk# ls -lR /var/lib/apt/lists
/var/lib/apt/lists:
total 26192
-rw-r--r-- 1 root root  8292848 2009-10-28 15:12 cz.archive.ubuntu.com_ubuntu_dists_karmic_main_binary-i386_Packages
-rw-r--r-- 1 root root  3161799 2009-10-28 15:21 cz.archive.ubuntu.com_ubuntu_dists_karmic_main_source_Sources
-rw-r--r-- 1 root root   903036 2009-10-28 15:13 cz.archive.ubuntu.com_ubuntu_dists_karmic_multiverse_binary-i386_Packages
-rw-r--r-- 1 root root   499724 2009-10-28 15:23 cz.archive.ubuntu.com_ubuntu_dists_karmic_multiverse_source_Sources
-rw-r--r-- 1 root root    65940 2009-10-28 15:23 cz.archive.ubuntu.com_ubuntu_dists_karmic_Release
-rw-r--r-- 1 root root      189 2009-10-28 15:23 cz.archive.ubuntu.com_ubuntu_dists_karmic_Release.gpg
-rw-r--r-- 1 root root    39910 2009-10-28 15:12 cz.archive.ubuntu.com_ubuntu_dists_karmic_restricted_binary-i386_Packages
-rw-r--r-- 1 root root    10213 2009-10-28 15:21 cz.archive.ubuntu.com_ubuntu_dists_karmic_restricted_source_Sources
-rw-r--r-- 1 root root        0 2009-10-28 15:13 cz.archive.ubuntu.com_ubuntu_dists_karmic_universe_binary-i386_Packages
-rw-r--r-- 1 root root 12381808 2009-10-28 15:23 cz.archive.ubuntu.com_ubuntu_dists_karmic_universe_source_Sources
-rw-r--r-- 1 root root   618932 2009-12-03 15:20 cz.archive.ubuntu.com_ubuntu_dists_karmic-updates_main_binary-i386_Packages
-rw-r--r-- 1 root root   123214 2009-12-03 15:30 cz.archive.ubuntu.com_ubuntu_dists_karmic-updates_main_source_Sources
-rw-r--r-- 1 root root     3345 2009-12-03 15:20 cz.archive.ubuntu.com_ubuntu_dists_karmic-updates_multiverse_binary-i386_Packages
-rw-r--r-- 1 root root     2350 2009-12-03 15:30 cz.archive.ubuntu.com_ubuntu_dists_karmic-updates_multiverse_source_Sources
-rw-r--r-- 1 root root    44054 2009-12-03 15:30 cz.archive.ubuntu.com_ubuntu_dists_karmic-updates_Release
-rw-r--r-- 1 root root      189 2009-12-03 15:30 cz.archive.ubuntu.com_ubuntu_dists_karmic-updates_Release.gpg
-rw-r--r-- 1 root root        0 2009-12-03 15:20 cz.archive.ubuntu.com_ubuntu_dists_karmic-updates_restricted_binary-i386_Packages
-rw-r--r-- 1 root root        0 2009-12-03 15:30 cz.archive.ubuntu.com_ubuntu_dists_karmic-updates_restricted_source_Sources
-rw-r--r-- 1 root root   325410 2009-12-03 15:20 cz.archive.ubuntu.com_ubuntu_dists_karmic-updates_universe_binary-i386_Packages
-rw-r--r-- 1 root root    49570 2009-12-03 15:30 cz.archive.ubuntu.com_ubuntu_dists_karmic-updates_universe_source_Sources
-rw-r--r-- 1 root root     4516 2009-11-30 16:32 download.virtualbox.org_virtualbox_debian_dists_karmic_non-free_binary-i386_Packages
-rw-r--r-- 1 root root     3454 2009-11-30 16:32 download.virtualbox.org_virtualbox_debian_dists_karmic_Release
-rw-r--r-- 1 root root      197 2009-11-30 16:32 download.virtualbox.org_virtualbox_debian_dists_karmic_Release.gpg
-rw-r----- 1 root root        0 2009-10-28 21:07 lock
drwxr-xr-x 2 root root     4096 2009-12-03 20:46 partial
-rw-r--r-- 1 root root   132398 2009-11-26 21:13 security.ubuntu.com_ubuntu_dists_karmic-security_main_binary-i386_Packages
-rw-r--r-- 1 root root    18907 2009-11-26 21:15 security.ubuntu.com_ubuntu_dists_karmic-security_main_source_Sources
-rw-r--r-- 1 root root        0 2009-11-26 21:13 security.ubuntu.com_ubuntu_dists_karmic-security_multiverse_binary-i386_Packages
-rw-r--r-- 1 root root        0 2009-11-26 21:15 security.ubuntu.com_ubuntu_dists_karmic-security_multiverse_source_Sources
-rw-r--r-- 1 root root    37093 2009-11-26 21:15 security.ubuntu.com_ubuntu_dists_karmic-security_Release
-rw-r--r-- 1 root root      189 2009-11-26 21:15 security.ubuntu.com_ubuntu_dists_karmic-security_Release.gpg
-rw-r--r-- 1 root root        0 2009-11-26 21:13 security.ubuntu.com_ubuntu_dists_karmic-security_restricted_binary-i386_Packages
-rw-r--r-- 1 root root        0 2009-11-26 21:15 security.ubuntu.com_ubuntu_dists_karmic-security_restricted_source_Sources
-rw-r--r-- 1 root root    29681 2009-11-26 21:13 security.ubuntu.com_ubuntu_dists_karmic-security_universe_binary-i386_Packages
-rw-r--r-- 1 root root     1285 2009-11-26 21:15 security.ubuntu.com_ubuntu_dists_karmic-security_universe_source_Sources

/var/lib/apt/lists/partial:
total 0
root@r31:/home/ktk#

EuGenio - ani pres synaptic, ani pres aptitude search je nenachazim, jakoby tam nebyly.. Tak nevim, sources.list jsem sem daval hned v prvnim postu, nechybi mi tam nejaky repositare? Jinak instalace je to cerstva, jen jsem si dodal ten repositar s virtualboxem.
Název: Re: Nejde nainstalovat mplayer
Přispěvatel: arrange 04 Prosince 2009, 22:24:49
Sources vypadají v pořádku, ale tento řádek v lists není:
Kód: [Vybrat]
-rw-r--r-- 1 root root        0 2009-10-28 15:13 cz.archive.ubuntu.com_ubuntu_dists_karmic_universe_binary-i386_PackagesNení tam nic, proč? Pak není divu, že ti tam chybí ty balíky.

Já bych zkusil ten soubor vymazat a pak aktualizovat, dej tu příp. výpis
Kód: [Vybrat]
sudo apt-get update
sudo rm /var/lib/apt/lists/cz.archive.ubuntu.com_ubuntu_dists_karmic_universe_binary-i386_Packages
sudo apt-get update
stat /var/lib/apt/lists/cz.archive.ubuntu.com_ubuntu_dists_karmic_universe_binary-i386_Packages

To update je tam 2x správně, potřebujeme vidět, jestli se něco po tom vymazání stáhlo.

EDIT: pokud nepomůže, zkus ten seznam stáhnout normálně wgetem
Kód: [Vybrat]
cd /tmp
wget http://cz.archive.ubuntu.com/ubuntu/dists/karmic/universe/binary-i386/Packages.bz2
Název: Re: Nejde nainstalovat mplayer
Přispěvatel: KtK 05 Prosince 2009, 12:26:41
Jo, tak to pomohlo - mplayer uz je nainstalovanej. Dekuji mnohokrat, a rozdavam karmu..

vymazal jsem ten soubor, dal jsem aptitude update - stahlo to novej (24MB) a hlasilo status +23689 nebo podobne mnozstvi baliku nove k nainstalovani. Znovu update, to uz byl status 0, pak aptitude install mplayer, et voila, hrajem!

Zbyva otazka - tech souboru s nulovou velikosti je tam vic (restricted, resctricted sources, multiverse, multiverse sources,..), mam totez udelat i s nimi? Pocitam ze asi jo?
Název: Re: Nejde nainstalovat mplayer
Přispěvatel: arrange 05 Prosince 2009, 20:52:57
No tak někdy je tam velikost 0, protože na serveru je taky velikost 0. Divné to bylo pouze v tom případě, který jsme tady řešili, protože tam nefungovala synchronizace, ale proč, to nevím.