Титла: Проблем с аптитуде (aptitude)
Публикувано от: antivirys в Nov 12, 2008, 23:15
Здравеите имам един малък проблем с които немога да се справя четох и в гоогле но нищо неможах да намеря :) darkstar:/home/core# aptitude safe-upgrade Reading package lists... Done Building dependency tree Reading state information... Done Reading extended state information Initializing package states... Done Reading task descriptions... Done The following packages have unmet dependencies: perl: Depends: perl-modules (>= 5.10.0-17) but 5.10.0-16 is installed. darkstar:/home/core#
Мерси предварително : :)
Титла: Re: Проблем с аптитуде (aptitude)
Публикувано от: gizi_ в Nov 12, 2008, 23:28
Пробвай с apt-get -f install
Титла: Re: Проблем с аптитуде (aptitude)
Публикувано от: antivirys в Nov 12, 2008, 23:43
darkstar:/# apt-get -f install Reading package lists... Done Building dependency tree Reading state information... Done Correcting dependencies... failed. The following packages have unmet dependencies: perl: Depends: perl-modules (>= 5.10.0-17) but 5.10.0-16 is installed Recommends: perl-doc but it is not installed E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages. E: Unable to correct dependencies
нестава :)
Титла: Re: Проблем с аптитуде (aptitude)
Публикувано от: completer в Nov 13, 2008, 00:30
apt-get remove perl-modules
след това обнови хранилищата и пробвай с apt-get install perl-modules ако иснталира пак същата версия просто си я намери в Synaptic или някъде другаде и си я инсталирай
Титла: Re: Проблем с аптитуде (aptitude)
Публикувано от: antivirys в Nov 13, 2008, 00:39
apt-get remove perl-modules darkstar:/home/core# apt-get remove perl-modules 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: crossover-pro: Depends: perl-modules but it is not going to be installed cups: Depends: perl-modules but it is not going to be installed dpkg-dev: Depends: perl-modules but it is not going to be installed libmailtools-perl: Depends: libnet-perl libmime-tools-perl: Depends: perl-modules (>= 5.10) but it is not going to be installed or libfile-temp-perl (>= 0.18) liburi-perl: Depends: libnet-perl perl: Depends: perl-modules (>= 5.10.0-17) but it is not going to be installed Recommends: perl-doc but it is not going to be installed E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution). darkstar:/home/core# пробвал сам ги тези варианти :)
Титла: Re: Проблем с аптитуде (aptitude)
Публикувано от: antivirys в Nov 13, 2008, 00:42
darkstar:/home/core# aptitude install perl-doc Reading package lists... Done Building dependency tree Reading state information... Done Reading extended state information Initializing package states... Done Reading task descriptions... Done The following packages are BROKEN: perl The following NEW packages will be installed: perl-doc The following partially installed packages will be configured: perl-suid 0 packages upgraded, 1 newly installed, 0 to remove and 36 not upgraded. Need to get 8222kB of archives. After unpacking 14.1MB will be used. The following packages have unmet dependencies: perl: Depends: perl-modules (>= 5.10.0-17) but 5.10.0-16 is installed. Unable to resolve dependencies! Giving up... The following packages are BROKEN: perl The following NEW packages will be installed: perl-doc The following partially installed packages will be configured: perl-suid 0 packages upgraded, 1 newly installed, 0 to remove and 36 not upgraded. Need to get 8222kB of archives. After unpacking 14.1MB will be used. aptitude failed to find a solution to these dependencies. You can solve them yourself by hand or type 'n' to quit. The following packages have unmet dependencies: perl: Depends: perl-modules (>= 5.10.0-17) but 5.10.0-16 is installed. Resolve these dependencies by hand? [N/+/-/_/:/?] + The following packages are BROKEN: perl The following NEW packages will be installed: perl-doc The following partially installed packages will be configured: perl-suid 0 packages upgraded, 1 newly installed, 0 to remove and 36 not upgraded. Need to get 8222kB of archives. After unpacking 14.1MB will be used. Resolve these dependencies by hand? [N/+/-/_/:/?] _ The following packages are BROKEN: perl The following NEW packages will be installed: perl-doc The following partially installed packages will be configured: perl-suid 0 packages upgraded, 1 newly installed, 0 to remove and 36 not upgraded. Need to get 8222kB of archives. After unpacking 14.1MB will be used. Resolve these dependencies by hand? [N/+/-/_/:/?] ? Commands: y: continue with the installation n: abort and quit i: show information about one or more packages; the package names should follow the 'i' c: show the Debian changelogs of one or more packages; the package names should follow the 'c' d: toggle the display of dependency information s: toggle the display of changes in package sizes v: toggle the display of version numbers w: try to find a reason for installing a single package, or explain why installing one package should lead to installing another package. r: run the automatic dependency resolver to fix the broken dependencies. e: enter the full visual interface
You may also specify modification to the actions which will be taken. To do so, type an action character followed by one or more package names (or patterns). The action will be applied to all the packages that you list. The following actions are available:
'+' to install packages '+M' to install packages and immediately flag them as automatically installed '-' to remove packages '_' to purge packages '=' to place packages on hold ':' to keep packages in their current state without placing them on hold '&M' to mark packages as automatically installed '&m' to mark packages as manually installed '&BD' to install the build-dependencies of a package. Resolve these dependencies by hand? [N/+/-/_/:/?] +M The following packages are BROKEN: perl The following NEW packages will be installed: perl-doc The following partially installed packages will be configured: perl-suid 0 packages upgraded, 1 newly installed, 0 to remove and 36 not upgraded. Need to get 8222kB of archives. After unpacking 14.1MB will be used. Resolve these dependencies by hand? [N/+/-/_/:/?] _ The following packages are BROKEN: perl The following NEW packages will be installed: perl-doc The following partially installed packages will be configured: perl-suid 0 packages upgraded, 1 newly installed, 0 to remove and 36 not upgraded. Need to get 8222kB of archives. After unpacking 14.1MB will be used. Resolve these dependencies by hand? [N/+/-/_/:/?] + The following packages are BROKEN: perl The following NEW packages will be installed: perl-doc The following partially installed packages will be configured: perl-suid 0 packages upgraded, 1 newly installed, 0 to remove and 36 not upgraded. Need to get 8222kB of archives. After unpacking 14.1MB will be used. Resolve these dependencies by hand? [N/+/-/_/:/?] ? Commands: y: continue with the installation n: abort and quit i: show information about one or more packages; the package names should follow the 'i' c: show the Debian changelogs of one or more packages; the package names should follow the 'c' d: toggle the display of dependency information s: toggle the display of changes in package sizes v: toggle the display of version numbers w: try to find a reason for installing a single package, or explain why installing one package should lead to installing another package. r: run the automatic dependency resolver to fix the broken dependencies. e: enter the full visual interface
You may also specify modification to the actions which will be taken. To do so, type an action character followed by one or more package names (or patterns). The action will be applied to all the packages that you list. The following actions are available:
'+' to install packages '+M' to install packages and immediately flag them as automatically installed '-' to remove packages '_' to purge packages '=' to place packages on hold ':' to keep packages in their current state without placing them on hold '&M' to mark packages as automatically installed '&m' to mark packages as manually installed '&BD' to install the build-dependencies of a package. Resolve these dependencies by hand? [N/+/-/_/:/?] &BD The following packages are BROKEN: perl The following NEW packages will be installed: perl-doc The following partially installed packages will be configured: perl-suid 0 packages upgraded, 1 newly installed, 0 to remove and 36 not upgraded. Need to get 8222kB of archives. After unpacking 14.1MB will be used. Resolve these dependencies by hand? [N/+/-/_/:/?]
опитах със сички букви където ги пише но не става нито :o също така опитах и darkstar:/home/core# dpkg --configure perl-modules dpkg: parse error, in file `/var/lib/dpkg/available' near line 470822 package `kwin4': invalid package name (character `,' not allowed (only letters, digits and characters `-+._')) darkstar:/home/core# тук пук друг проблем :) Радвам се да ми помогнете ;)
Титла: Re: Проблем с аптитуде (aptitude)
Публикувано от: neter в Nov 13, 2008, 02:18
Сподели с коя дистрибуция си и коя версия на дистрибуцията. Как ще се оправят зависимости без тази информация? Иначе, това, което трябва да направиш, е да махнеш споменатите perl пакети (няма лошо дори с опция --purge) и след това да качиш пасващи си версии на пакетите. Мисли логично. В началото е било достатъчно просто да надградиш perl-modules до нужната версия 5.10.0-17, щом тази версия на perl изисква тази версия на perl-modules. Ако не намериш хранилище за твоята дистрибуция, която да съдържа тази версия на perl-modules (малко вероятно), то намери пакета и го изтегли и инсталирай ръчно. Пакетът perl-doc съдържа документация, остави го за накрая, нищо не зависи от него. Следвай алгоритмите логично. Ако си с Debian, тази версия на perl се намира в unstable/sid хранилищата, така че трябва да добавиш тях или да изтеглиш нужните пакети с нужната версия от тук ($2). Ето ти линк за изтегляне на текущата версия на perl-modules за sid ($2). Командата "apt-get -f install" действа коректно само при добър избор на хранилища и зависи донякъде от текущо инсталираните и счупени пакети. Ръчното наместване на зависимостите е по-сигурен метод. Дерзай ;)
Титла: Re: Проблем с аптитуде (aptitude)
Публикувано от: nedpetko в Nov 13, 2008, 09:02
Първо пробвай да премахнеш пакета с: като е писал Нетер след това проверка и поправка на зависимостите: И ако ти даде, че всичко е наред може да ъпгрейдваш, но ако тази зависимост е необходима за ъпгреида най - вероятно ще ти даде грешка отново. Тогава пак гледаш какво е писал Нетер и пробваш да инсталираш само версията на perl-modules която е необходима за удовлетворяване на зависимостите. А най - лесно е да изчакаш докато в хранилищата се поправят версиите и няма счупени пакети - това ще сатане най - вероятно като добавят по - нова версия.
Титла: Re: Проблем с аптитуде (aptitude)
Публикувано от: antivirys в Nov 13, 2008, 10:26
справих се и по малко по лесни начини от тези но мерси се пак много :) :) :)
|