Execute apt-get-f install prompt errorCategory: Linux 2015-01-24 21:26 554 people read reviews (0) favorite reports
1. Question:
- usloft1359:~# RVM Install 2.2.0
- Searching for binary rubies, this might take some time.
- No binary rubies available for:debian/6/x86_64/ruby-2.2.0.
- Continuing with compilation. Please read the ' RVM help Mount ' to get more information on binary rubies.
- /usr/local/rvm/scripts/functions/support:line 360:rvm_debug:command not found
- Checking Requirements for Debian.
- Installing requirements for Debian.
- Updating system ...
- Installing required Packages:gawk, Libreadline6-dev, Libyaml-dev, Libsqlite3-dev, Sqlite3, Libgdbm-dev, Libffi-dev ...
- Error running ' requirements_debian_libs_install gawk libreadline6-dev libyaml-dev libsqlite3-dev sqlite3 Libgdbm-dev Libffi-dev ',
- 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
- LIBC6-DEV:DEPENDS:LIBC6 (= 2.19-13) but 2.18-4 was to be installed
- LIBC6-I386:DEPENDS:LIBC6 (= 2.19-13) but 2.18-4 was to be installed
- Libffi-dev:depends:libffi6 (= 3.1-2+b2) But it isn't going to be installed
- LIBGDBM-DEV:DEPENDS:LIBGDBM3 (= 1.8.3-13.1) but 1.8.3-9 was to be installed
- BREAKS:LIBGDBM3 (< 1.8.3-12.1) but 1.8.3-9 was to be installed
- Libreadline6-dev:depends:libreadline6 (= 6.3-8+b3) but 6.1-3 was to be installed
- Depends:libtinfo-dev but it isn't going to being installed
- libsqlite3-dev:depends:libsqlite3-0 (= 3.8.7.4-1) but 3.7.3-1 was to be installed
- Libyaml-dev:depends:libyaml-0-2 (= 0.1.6-3) But it isn't going to be installed
- Locales:depends:glibc-2.19-1
- sqlite3:depends:libsqlite3-0 (= 3.8.7.4-1) but 3.7.3-1 was to be installed
- Depends:libtinfo5 but it isn't going to being installed
- E:unmet dependencies. Try ' apt-get-f install ' with no packages (or specify a solution).
- + + RETURN 100
- + + 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?
- usloft1359:~# apt-get--fix-broken Install
- <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?
- Fuser/var/cache/debconf/config.dat
[Plain]View Plaincopyprint?
- ID found by kill
[Plain]View Plaincopyprint?
- Reference http://blog.chinaunix.net/uid-15750156-id-3075708.html
[Plain]View Plaincopyprint?
- </pre><pre code_snippet_id= "588231" snippet_file_name= "blog_20150124_8_1223340" name= "code" class= "plain" >
[Plain]View Plaincopyprint?
- 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