
|
 |
ВНИМАНИЕ: Използвайте форумите на сайта за дa зададете вашите въпроси.
Въпрос |
От: Дебиан |
Дата: 10/29/2003 |
bash-2.05b# dpkg-buildpackage -b -uc -rfakeroot -d
dpkg-buildpackage: source package is mplayer
dpkg-buildpackage: source version is 0.90cvs
....................................................
Checking for gethostbyname2 ... yes
Checking for GUI ... yes
Error: PNG support required for GUI compilation, please
install libpng and libpng-dev packages.
Check "configure.log" if you do not understand why it
failed.
make: *** [configure-stamp] Error 1
bash-2.05b#
bash-2.05b# apt-get install libpng-dev
Reading Package Lists... Done
Building Dependency Tree... 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.
Since you only requested a single operation it is extremely
likely that
the package is simply not installable and a bug report
against
that package should be filed.
The following information may help to resolve the
situation:
The following packages have unmet dependencies:
libpng-dev: Depends: libpng3 (= 1.2.1-1.1.woody.3) but
1.2.5.0-4 is to be installed
E: Broken packages
bash-2.05b# apt-get install libpng-dev libpng3
Reading Package Lists... Done
Building Dependency Tree... 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:
libpng-dev: Depends: libpng3 (= 1.2.1-1.1.woody.3) but
1.2.5.0-4 is to be installed
E: Broken packages
bash-2.05b#
bash-2.05b#
bash-2.05b# apt-get install libpng
Reading Package Lists... Done
Building Dependency Tree... Done
Package libpng has no available version, but exists in the
database.
This typically means that the package was mentioned in a
dependency and
never uploaded, has been obsoleted or is not available with
the contents
of sources.list
E: Package libpng has no installation candidate
bash-2.05b#
Какво да направя? На unstable съм!
|
Отговор #1 |
От: Н. Антонов (nikola__at__linux-bg__dot__org) |
Дата: 10/29/2003 |
Как ти изглежда sources.list? Имаш ли описани и трите
релийза вътре - stable, testing, unstable? libpng-dev го има
само в stable:
> apt-cache policy libpng-dev
libpng-dev:
Installed: (none)
Candidate: 1.2.1-1.1.woody.3
Version Table:
1.2.1-1.1.woody.3 0
500 http://security.debian.org stable/updates/main
Packages
1.2.1-1.1 0
500 ftp://ftp.bg.debian.org stable/main Packages
libpng3 го има и в трите:
> apt-cache policy libpng3
libpng3:
Installed: 1.2.5.0-4
Candidate: 1.2.5.0-4
Version Table:
*** 1.2.5.0-4 0
500 ftp://ftp.bg.debian.org testing/main Packages
500 ftp://ftp.bg.debian.org unstable/main Packages
100 /var/lib/dpkg/status
1.2.1-1.1.woody.3 0
500 http://security.debian.org stable/updates/main
Packages
1.2.1-1.1 0
500 ftp://ftp.bg.debian.org stable/main Packages
А защо не инсталираш този - libpng3-dev
> apt-cache policy libpng3-dev
libpng3-dev:
Installed: 1.2.5.0-4
Candidate: 1.2.5.0-4
Version Table:
*** 1.2.5.0-4 0
500 ftp://ftp.bg.debian.org testing/main Packages
500 ftp://ftp.bg.debian.org unstable/main Packages
100 /var/lib/dpkg/status
Последният съответства на libpng3.
|
Отговор #2 |
От: Дебиан |
Дата: 10/30/2003 |
Здравей,
Този проблем се изчисти, но се появи друг :-(
dpkg-shlibdeps: warning: could not find path for
libdha.so.0.1
..................................
dpkg-shlibdeps: warning: could not find any packages for
(libdha.so.0.1)
dpkg-shlibdeps: warning: unable to find dependency
information for shared library libdha (soname 0.1, path ,
dependency field Depends)
dpkg-shlibdeps: warning: could not find any packages for
(libdha.so.0.1)
dpkg-shlibdeps: warning: unable to find dependency
information for shared library libdha (soname 0.1, path ,
dependency field Depends)
dh_gencontrol
dh_md5sums
dh_builddeb
dpkg-deb: building package `mplayer' in
`../mplayer_0.90cvs_i386.deb'.
dpkg-genchanges -b
dpkg-genchanges: binary-only upload - not including any
source code
dpkg-buildpackage: binary only upload (no source included)
Google ми изкара някои неща, но нищо на разбираем език :-(
|
Отговор #3 |
От: Н. Антонов (nikola (a) linux-bg __точка__ org) |
Дата: 10/31/2003 |
Нищо особено. Това е само warning. Не пречи нито на
компилацията, нито на работата на плеъра.
|
Отговор #4 |
От: Debian |
Дата: 10/31/2003 |
Инсталирах го, но не мога да го реконфигурирам нито да го
премахна :-)
bash-2.05b# dpkg -P mplayer_0.90cvs_i386.deb
dpkg: you must specify packages by their own names, not by
quoting the names of the files they come in
Type dpkg --help for help about installing and deinstalling
packages [*];
Use dselect 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;
Type dpkg --licence for copyright licence and lack of
warranty (GNU GPL) [*].
Options marked [*] produce a lot of output - pipe it through
`less' or `more' !
bash-2.05b#
bash-2.05b# dpkg -P mplayer_0.90cvs_i386
dpkg - warning: ignoring request to remove
mplayer_0.90cvs_i386 which isn't installed.
bash-2.05b#
Никакви опции освен -I не приема :-(
|
Отговор #5 |
От: Н. Антонов (nikola __@__ linux-bg< dot >org) |
Дата: 11/02/2003 |
Ех, хора. Четете си съобщенията.
dpkg: you must specify packages by their own names, not by
quoting the names of the files they come in
Разбираш ли смисъла на написаното? Просто бъркаш
командата!!!
dpkg-reconfigure mplayer
dpkg -P mplayer
Просто има съществена разлика между име на пакет и име на файл;)
|
<< Debian (2
) | скрипт с ping за отпадане на линията (3
) >>
|
|
|
|
|