unable to update and install packages in ubuntu 10.04
Here is my terminal output when i use commands in step 5 at the page: https:/
*******
ehsan@ehsan-
[sudo] password for ehsan:
root@ehsan-
Traceback (most recent call last):
File "/usr/bin/
(still_
File "/usr/bin/
raise Exception("No date tag found")
Exception: No date tag found
root@ehsan-
cat: /etc/dpkg/
root@ehsan-
dpkg: unknown option --print-
Type dpkg --help for help about installing and deinstalling packages [*];
Use `dselect' or `aptitude' 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 --license for copyright license and lack of warranty (GNU GPL) [*].
Options marked [*] produce a lot of output - pipe it through `less' or `more' !
root@ehsan-
root@ehsan-
root@ehsan-
root@ehsan-
root@ehsan-
root@ehsan-
root@ehsan-
cat: /etc/apt/apt.conf: No such file or directory
root@ehsan-
root@ehsan-
root@ehsan-
DISTRIB_ID=Ubuntu
DISTRIB_
DISTRIB_
DISTRIB_
root@ehsan-
Linux ehsan-laptop 2.6.32-34-generic #77-Ubuntu SMP Tue Sep 13 19:39:17 UTC 2011 x86_64 GNU/Linux
root@ehsan-
root@ehsan-
root@ehsan-
root@ehsan-
root@ehsan-
root@ehsan-
bash: /home/ehsan#: No such file or directory
root@ehsan-
root@ehsan-
root@ehsan-
root@ehsan-
root@ehsan-
root@ehsan-
root@ehsan-
root@ehsan-
root@ehsan-
root@ehsan-
root@ehsan-
root@ehsan-
Reading package lists... Done
Building dependency tree
Reading state information... Done
root@ehsan-
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:
libc-dev-bin: Depends: libc6 (< 2.12) but 2.19-0ubuntu6 is installed
libc6-dev-i386: Depends: libc6-dev (= 2.11.1-0ubuntu7.13) but it is not installable
libc6-i386: Depends: libc6 (= 2.11.1-0ubuntu7.13) but 2.19-0ubuntu6 is installed
libexpat1-dev: Depends: libc6-dev but it is not installable or
libfreetype6-dev: Depends: libc6-dev but it is not installable or
libgl1-mesa-dev: Depends: libc6-dev but it is not installable
libjpeg62-dev: Depends: libc-dev but it is not installable
libmpfr4: Depends: libgmp10 but it is not installable
libncurses5-dev: Depends: libc-dev but it is not installable
libnih1: Depends: libc6 (< 2.12) but 2.19-0ubuntu6 is installed
libtiff4-dev: Depends: libc6-dev but it is not installable or
libtool: Depends: libc6-dev but it is not installable or
libxft-dev: Depends: libc6-dev but it is not installable or
zlib1g-dev: Depends: libc6-dev but it is not installable or
E: Unmet dependencies. Try using -f.
root@ehsan-
Get:1 http://
Get:2 http://
Get:3 http://
Get:4 http://
Get:5 http://
Get:6 http://
Ign http://
Ign http://
Get:7 http://
Ign http://
Ign http://
Ign http://
Ign http://
Get:8 http://
Ign http://
Ign http://
Get:9 http://
Get:10 http://
Get:11 http://
Get:12 http://
Get:13 http://
Get:14 http://
Get:15 http://
Get:16 http://
Get:17 http://
Get:18 http://
Get:19 http://
Get:20 http://
Get:21 http://
Get:22 http://
Get:23 http://
Get:24 http://
Get:25 http://
Get:26 http://
Get:27 http://
Get:28 http://
Get:29 http://
Get:30 http://
Get:31 http://
Get:32 http://
Get:33 http://
Get:34 http://
Get:35 http://
Get:36 http://
Get:37 http://
Fetched 19.0MB in 15min 40s (20.2kB/s)
Reading package lists... Done
root@ehsan-
root@ehsan-
dpkg: dependency problems prevent configuration of libmpfr4:
libmpfr4 depends on libgmp10; however:
Package libgmp10 is not installed.
dpkg: error processing libmpfr4 (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
libmpfr4
root@ehsan-
root@ehsan-
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... failed.
The following packages have unmet dependencies:
libc-dev-bin: Depends: libc6 (< 2.12) but 2.19-0ubuntu6 is installed
libc6-dev-i386: Depends: libc6-dev (= 2.11.1-0ubuntu7.13) but it is not installed
libc6-i386: Depends: libc6 (= 2.11.1-0ubuntu7.13) but 2.19-0ubuntu6 is installed
libexpat1-dev: Depends: libc6-dev but it is not installed or
libfreetype6-dev: Depends: libc6-dev but it is not installed or
libgl1-mesa-dev: Depends: libc6-dev but it is not installed
libjpeg62-dev: Depends: libc-dev
libmpfr4: Depends: libgmp10 but it is not installed
libncurses5-dev: Depends: libc-dev
libnih1: Depends: libc6 (< 2.12) but 2.19-0ubuntu6 is installed
libtiff4-dev: Depends: libc6-dev but it is not installed or
libtool: Depends: libc6-dev but it is not installed or
libxft-dev: Depends: libc6-dev but it is not installed or
zlib1g-dev: Depends: libc6-dev but it is not installed or
E: Error, pkgProblemResol
E: Unable to correct dependencies
root@ehsan-
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:
libc-dev-bin: Depends: libc6 (< 2.12) but 2.19-0ubuntu6 is installed
libc6-dev-i386: Depends: libc6-dev (= 2.11.1-0ubuntu7.13) but it is not installed
libc6-i386: Depends: libc6 (= 2.11.1-0ubuntu7.13) but 2.19-0ubuntu6 is installed
libexpat1-dev: Depends: libc6-dev but it is not installed or
libfreetype6-dev: Depends: libc6-dev but it is not installed or
libgl1-mesa-dev: Depends: libc6-dev but it is not installed
libjpeg62-dev: Depends: libc-dev
libmpfr4: Depends: libgmp10 but it is not installed
libncurses5-dev: Depends: libc-dev
libnih1: Depends: libc6 (< 2.12) but 2.19-0ubuntu6 is installed
libtiff4-dev: Depends: libc6-dev but it is not installed or
libtool: Depends: libc6-dev but it is not installed or
libxft-dev: Depends: libc6-dev but it is not installed or
zlib1g-dev: Depends: libc6-dev but it is not installed or
E: Unmet dependencies. Try using -f.
root@ehsan-
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Ign http://
Hit http://
Hit http://
Hit http://
Ign http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Ign http://
Ign http://
Ign http://
Ign http://
Hit http://
Ign http://
Ign http://
Hit http://
Reading package lists... Done
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:
libc-dev-bin: Depends: libc6 (< 2.12) but 2.19-0ubuntu6 is installed
libc6-dev-i386: Depends: libc6-dev (= 2.11.1-0ubuntu7.13) but it is not installed
libc6-i386: Depends: libc6 (= 2.11.1-0ubuntu7.13) but 2.19-0ubuntu6 is installed
libexpat1-dev: Depends: libc6-dev but it is not installed or
libfreetype6-dev: Depends: libc6-dev but it is not installed or
libgl1-mesa-dev: Depends: libc6-dev but it is not installed
libjpeg62-dev: Depends: libc-dev
libmpfr4: Depends: libgmp10 but it is not installed
libncurses5-dev: Depends: libc-dev
libnih1: Depends: libc6 (< 2.12) but 2.19-0ubuntu6 is installed
libtiff4-dev: Depends: libc6-dev but it is not installed or
libtool: Depends: libc6-dev but it is not installed or
libxft-dev: Depends: libc6-dev but it is not installed or
zlib1g-dev: Depends: libc6-dev but it is not installed or
E: Unmet dependencies. Try using -f.
root@ehsan-
/etc/apt/
1 # deb http://
/etc/apt/
1 # deb http://
/etc/apt/
1 # deb http://
/etc/apt/
1 # deb http://
2
/etc/apt/
1 # deb http://
/etc/apt/
1 # deb http://
/etc/apt/
1 # deb cdrom:[Ubuntu 10.04 _Lucid Lynx_ - Beta amd64 (20100318)]/ lucid main restricted
2 # See http://
3 # newer versions of the distribution.
4
5 deb http://
6
7 ## Major bug fix updates produced after the final release of the
8 ## distribution.
9 deb http://
10
11 ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
12 ## team. Also, please note that software in universe WILL NOT receive any
13 ## review or updates from the Ubuntu security team.
14 deb http://
15 deb http://
16
17 ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
18 ## team, and may not be under a free licence. Please satisfy yourself as to
19 ## your rights to use the software. Also, please note that software in
20 ## multiverse WILL NOT receive any review or updates from the Ubuntu
21 ## security team.
22 deb http://
23 deb http://
24
25 ## Uncomment the following two lines to add software from the 'backports'
26 ## repository.
27 ## N.B. software from this repository may not have been tested as
28 ## extensively as that contained in the main release, although it includes
29 ## newer versions of some applications which may provide useful features.
30 ## Also, please note that software in backports WILL NOT receive any review
31 ## or updates from the Ubuntu security team.
32 # deb http://
33 # deb-src http://
34
35 ## Uncomment the following two lines to add software from Canonical's
36 ## 'partner' repository.
37 ## This software is not part of Ubuntu, but is offered by Canonical and the
38 ## respective vendors as a service to Ubuntu users.
39 deb http://
40 # deb-src http://
41
42 deb http://
43 deb http://
44 deb http://
45
46 # Gerris flow solver
47 # deb http://
48 # deb http://
49
50 # Remastersys
51 deb http://
52
53 # openfoam
54 deb http://
55
56 # openmodelica
57 deb http://
58
59 #SIDL
60 deb http://
61
62
63 ##libgmp10
64
65 deb http://
66 deb http://
root@ehsan-
*******
and when i tried to install libc6-dev i faced these lines in terminal:
ehsan@ehsan-
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:
libc-dev-bin: Depends: libc6 (< 2.12) but 2.19-0ubuntu6 is to be installed
libc6-dev: Depends: libc-dev-bin (= 2.19-0ubuntu6) but 2.11.1-0ubuntu7.13 is to be installed
libc6-dev-i386: Depends: libc6-dev (= 2.11.1-0ubuntu7.13) but 2.19-0ubuntu6 is to be installed
libc6-i386: Depends: libc6 (= 2.11.1-0ubuntu7.13) but 2.19-0ubuntu6 is to be installed
libmpfr4: Depends: libgmp10 but it is not going to be installed
libnih1: Depends: libc6 (< 2.12) but 2.19-0ubuntu6 is to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
ehsan@ehsan-
ehsan@ehsan-
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:
libc-dev-bin: Depends: libc6 (< 2.12) but 2.19-0ubuntu6 is to be installed
libc6-dev: Depends: libc-dev-bin (= 2.19-0ubuntu6) but 2.11.1-0ubuntu7.13 is to be installed
libc6-dev-i386: Depends: libc6-dev (= 2.11.1-0ubuntu7.13) but 2.19-0ubuntu6 is to be installed
libc6-i386: Depends: libc6 (= 2.11.1-0ubuntu7.13) but 2.19-0ubuntu6 is to be installed
libmpfr4: Depends: libgmp10 but it is not going to be installed
libnih1: Depends: libc6 (< 2.12) but 2.19-0ubuntu6 is to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
ehsan@ehsan-
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:
libc-dev-bin: Depends: libc6 (< 2.12) but 2.19-0ubuntu6 is to be installed
libc6-dev-i386: Depends: libc6-dev (= 2.11.1-0ubuntu7.13) but it is not going to be installed
libc6-i386: Depends: libc6 (= 2.11.1-0ubuntu7.13) but 2.19-0ubuntu6 is to be installed
libexpat1-dev: Depends: libc6-dev but it is not going to be installed or
libfreetype6-dev: Depends: libc6-dev but it is not going to be installed or
libgl1-mesa-dev: Depends: libc6-dev but it is not going to be installed
libjpeg62-dev: Depends: libc-dev
libncurses5-dev: Depends: libc-dev
libnih1: Depends: libc6 (< 2.12) but 2.19-0ubuntu6 is to be installed
libtiff4-dev: Depends: libc6-dev but it is not going to be installed or
libtool: Depends: libc6-dev but it is not going to be installed or
libxft-dev: Depends: libc6-dev but it is not going to be installed or
zlib1g-dev: Depends: libc6-dev but it is not going to be installed or
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
ehsan@ehsan-
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- Ubuntu apt Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask Ehsan Mirzaee for more information if necessary.