Execute apt-get-f Install prompt error

Source: Internet
Author: User

Execute apt-get-f install prompt errorCategory: Linux 2015-01-24 21:26 554 people read reviews (0) favorite reports

1. Question:

  1. usloft1359:~# RVM Install 2.2.0
  2. Searching for binary rubies, this might take some time.
  3. No binary rubies available for:debian/6/x86_64/ruby-2.2.0.
  4. Continuing with compilation. Please read the ' RVM help Mount ' to get more information on binary rubies.
  5. /usr/local/rvm/scripts/functions/support:line 360:rvm_debug:command not found
  6. Checking Requirements for Debian.
  7. Installing requirements for Debian.
  8. Updating system ...
  9. Installing required Packages:gawk, Libreadline6-dev, Libyaml-dev, Libsqlite3-dev, Sqlite3, Libgdbm-dev, Libffi-dev ...
  10. Error running ' requirements_debian_libs_install gawk libreadline6-dev libyaml-dev libsqlite3-dev sqlite3 Libgdbm-dev Libffi-dev ',
  11. Showing last lines Of/usr/local/rvm/log/1422103005_ruby-2.2.0/package_install_gawk_libreadline6-dev_libyaml-dev _libsqlite3-dev_sqlite3_libgdbm-dev_libffi-dev.log
  12. LIBC6-DEV:DEPENDS:LIBC6 (= 2.19-13) but 2.18-4 was to be installed
  13. LIBC6-I386:DEPENDS:LIBC6 (= 2.19-13) but 2.18-4 was to be installed
  14. Libffi-dev:depends:libffi6 (= 3.1-2+b2) But it isn't going to be installed
  15. LIBGDBM-DEV:DEPENDS:LIBGDBM3 (= 1.8.3-13.1) but 1.8.3-9 was to be installed
  16. BREAKS:LIBGDBM3 (< 1.8.3-12.1) but 1.8.3-9 was to be installed
  17. Libreadline6-dev:depends:libreadline6 (= 6.3-8+b3) but 6.1-3 was to be installed
  18. Depends:libtinfo-dev but it isn't going to being installed
  19. libsqlite3-dev:depends:libsqlite3-0 (= 3.8.7.4-1) but 3.7.3-1 was to be installed
  20. Libyaml-dev:depends:libyaml-0-2 (= 0.1.6-3) But it isn't going to be installed
  21. Locales:depends:glibc-2.19-1
  22. sqlite3:depends:libsqlite3-0 (= 3.8.7.4-1) but 3.7.3-1 was to be installed
  23. Depends:libtinfo5 but it isn't going to being installed
  24. E:unmet dependencies. Try ' apt-get-f install ' with no packages (or specify a solution).
  25. + + RETURN 100
  26. + + RETURN 100


2. Resolve (1) apt-get-f install, but still in error


Hit http://ftp.de.debian.org sid/main amd64 packages/diffindex
fetched 0s (259 b/s)
Reading Package Lists ... Done
W:GPG error:http://us.archive.ubuntu.com Lucid release:the fo                                                                      Llowing signatures couldn ' is verified because the public key I s not available:no_pubkey 40976eaf437d05b5
usloft1359:~# Apt-get Upgrade
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 has unmet dependencies:
LIBC-DEV-BIN:DEPENDS:LIBC6 (> 2.19) but 2.18-4 is installed
LIBC6-DEV:DEPENDS:LIBC6 (= 2.19-13) but 2.18-4 is installed
LIBC6-I386:DEPENDS:LIBC6 (= 2.19-13) but 2.18-4 is installed
Locales:depends:glibc-2.19-1
E:unmet dependencies. Try using-f.

3. Resolve (2) Apt-get check, or error


[Plain]View Plaincopyprint?
    1. usloft1359:~# apt-get--fix-broken Install
    2. <pre name= "code" class= "plain" >debconf:dbdriver "config":/var/cache/debconf/config.dat is lock

4. Resolution (3), use Fuser to find the process ID and kill it

[Plain]View Plaincopyprint?
    1. Fuser/var/cache/debconf/config.dat
[Plain]View Plaincopyprint?
    1. ID found by kill
[Plain]View Plaincopyprint?
    1. Reference http://blog.chinaunix.net/uid-15750156-id-3075708.html
[Plain]View Plaincopyprint?
    1. </pre><pre code_snippet_id= "588231" snippet_file_name= "blog_20150124_8_1223340" name= "code" class= "plain" >
[Plain]View Plaincopyprint?
    1. 5. Re-execute apt-get-f install Final Solution


Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.

http://blog.csdn.net/beiquandeng/article/details/43090899

Execute apt-get-f Install prompt error

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.