LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   Problem with .deb package installation ! please !!! (https://www.linuxquestions.org/questions/debian-26/problem-with-deb-package-installation-please-540282/)

*Mafia* 03-24-2007 04:26 PM

Problem with .deb package installation ! please !!!
 
hi ...........
i'm using linux sagre debian .
for installing .deb package :
dpkg -i [name of .deb file]
it has problem .
then i'm try to using kpackage (GUI)
but this error on installation was occured !!!
PHP Code:

dpkg -'//root/kchmviewer_2.7-1_i386.deb' ;echo RESULT=$?
tar: ./postinsttime stamp 2006-12-08 17:07:48 is 55917712 s in the future
tar
: ./postrmtime stamp 2006-12-08 17:07:48 is 55917712 s in the future
tar
: ./md5sumstime stamp 2006-12-08 17:07:50 is 55917714 s in the future
tar
: ./controltime stamp 2006-12-08 17:07:50 is 55917714 s in the future
tar
: .: time stamp 2006-12-08 17:07:50 is 55917714 s in the future
(Reading database ... 118719 files and directories currently installed.)
Preparing to replace kchmviewer 2.7-(using .../root/kchmviewer_2.7-1_i386.deb) ...
Unpacking replacement kchmviewer ...
dpkgdependency problems prevent configuration of kchmviewer:
 
kchmviewer depends on kdelibs4c2a (>= 4:3.5.5-1); however:
  
Package kdelibs4c2a is not installed.
 
kchmviewer depends on libc6 (>= 2.3.6-6); however:
  
Version of libc6 on system is 2.3.2.ds1-22.
 kchmviewer depends on libchm1 
(>= 0.36-3); however:
  
Package libchm1 is not installed.
 
kchmviewer depends on libfontconfig1 (>= 2.4.0); however:
  
Version of libfontconfig1 on system is 2.3.1-2.
 kchmviewer depends on libfreetype6 
(>= 2.2); however:
  
Version of libfreetype6 on system is 2.1.7-2.4.
 
kchmviewer depends on libgcc1 (>= 1:4.1.1-12); however:
  
Version of libgcc1 on system is 1:3.4.3-13.
 kchmviewer depends on libice6 
(>= 1:1.0.0); however:
  
Version of libice6 on system is 4.3.0.dfsg.1-14.
 kchmviewer depends on libidn11 
(>= 0.5.18); however:
  
Version of libidn11 on system is 0.5.13-1.0.
 
kchmviewer depends on libqt3-mt (>= 3:3.3.7); however:
  
Package libqt3-mt is not installed.
 
kchmviewer depends on libstdc++(>= 4.1.1-12); however:
  
Package libstdc++6 is not installed.
 
kchmviewer depends on libxinerama1however:
  
Package libxinerama1 is not installed.
dpkgerror processing kchmviewer (--install):
 
dependency problems leaving unconfigured
Errors were encountered 
while processing:
 
kchmviewer
RESULT
=

please help me for this matter .
I will crazy as soon if this problem not solve !!!
please help ... please help !
where is the problem !?

drewbug01 03-24-2007 04:43 PM

well, those errors are telling you that the deb you are trying to install requires other deb's to function. Why don't you use apt-get? that would automatically solve those problems.
You'll need to temporarily add the testing repositories, but that won't be too terribly bad.
Edit (as the super-user) /etc/apt/sources.list
add the following line:
deb http://ftp.fr.debian.org/debian/ testing main contrib non-free

save the file

in a terminal,
Code:

apt-get update
apt-get install kchmviewer

and that should download the necesary files, and install them.
after that, reopen /etc/apt/sources.list
add a # to the beginning of the line you added, and save the file

--drew

*Mafia* 03-24-2007 05:26 PM

Tnx for your nice reply my brother .
one question :

Quote:

and that should download the necesary files, and install them.
what's this mean !?
manual work ... or automatic ?!
how can i download the neccesary files and then setup them !?
little help ....
tnX

*Mafia* 03-24-2007 05:30 PM

I followed your instructions .
this is result :
PHP Code:

debian:~# apt-get update
............
Fetched 5816kB in 3m44s (25.9kB/s)
Reading Package Lists... Done
debian
:~# apt-get install kchmviewer
Reading Package Lists... Done
Building Dependency Tree
... Done
kchmviewer is already the newest version
.
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
  
kchmviewerDependskdelibs4c2a (>= 4:3.5.5-1but it is not going to be installed
              Depends
libc6 (>= 2.3.6-6but 2.3.2.ds1-22 is to be installed
              Depends
libchm1 (>= 0.36-3but it is not going to be installed
              Depends
libfontconfig1 (>= 2.4.0but 2.3.1-2 is to be installed
              Depends
libfreetype6 (>= 2.2but 2.1.7-2.4 is to be installed
              Depends
libgcc1 (>= 1:4.1.1-12but 1:3.4.3-13 is to be installed
              Depends
libice6 (>= 1:1.0.0but 4.3.0.dfsg.1-14 is to be installed
              Depends
libidn11 (>= 0.5.18but 0.5.13-1.0 is to be installed
              Depends
libqt3-mt (>= 3:3.3.7but it is not going to be installed
              Depends
libstdc++(>= 4.1.1-12but it is not going to be installed
              Depends
libxinerama1 but it is not going to be installed
E
Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution). 

what's the matter ?
what happend !?
problem not solved still !!!

*Mafia* 03-24-2007 05:42 PM

please help my friends.
problem still active !!! :(

sumguy231 03-24-2007 07:13 PM

As it says, you should try running 'apt-get -f install' so it can try to fix your dependency problems. That's usually enough to fix it.

rickh 03-24-2007 07:39 PM

One issue here is that you are trying to install a new package in Sarge. Sarge is Stable. That means, among other things, that if you try to add new packages from any source other than the Sarge repos, or backports.org, you are likely to break your system. It's well past time you moved to Etch instead.

*Mafia* 03-24-2007 08:01 PM

Quote:

Originally Posted by sumguy231
As it says, you should try running 'apt-get -f install' so it can try to fix your dependency problems. That's usually enough to fix it.

tnx my brothers .
but in the last time than I installed debian in my computer I understand the problem and follow your command :
apt-get -f install
but this is very bad !!!
when i restarted my linux ..... the kde + Gnome and very softwares deleted !!!
it is a jeer problem !
one of my friends told me : the problem are dependcies !!!
in the debian installation i didn't introduce all 14 cd of debian !
i'm forgot this matter .
bu with the following command i introdocted all 14 cd in the 1 hours ago :
apt-setup
but this is no useful and my problem don't solved still !
do u like to attach the content of etc/apt/sources.list here ?

*Mafia* 03-25-2007 04:20 AM

My problem not solved still !!

Daws 03-25-2007 04:27 AM

What does
Code:

cat /etc/apt/preferences
produce?

XavierP 03-25-2007 04:58 AM

As this is a Debian problem, I have moved it to the Debian forum.

*Mafia* 03-25-2007 08:43 PM

cat /etc/apt/source.list
PHP Code:

#deb file:///cdrom/ sarge main

#deb cdrom:[Debian GNU/Linux 3.1 r0 _Sarge_ - Official i386 Binary-1 (20050605)]/ unstable contrib main

# deb http://security.debian.org/ testing/updates main contrib

deb cdrom:[Debian GNU/Linux 3.1 r0 _Sarge_ Official i386 Binary-14 (20050605)]/ unstable contrib main
deb cdrom
:[Debian GNU/Linux 3.1 r0 _Sarge_ Official i386 Binary-12 (20050605)]/ unstable contrib main
deb cdrom
:[Debian GNU/Linux 3.1 r0 _Sarge_ Official i386 Binary-11 (20050605)]/ unstable contrib main
deb cdrom
:[Debian GNU/Linux 3.1 r0 _Sarge_ Official i386 Binary-10 (20050605)]/ unstable contrib main
deb cdrom
:[Debian GNU/Linux 3.1 r0 _Sarge_ Official i386 Binary-(20050605)]/ unstable contrib main
deb cdrom
:[Debian GNU/Linux 3.1 r0 _Sarge_ Official i386 Binary-(20050605)]/ unstable contrib main
deb cdrom
:[Debian GNU/Linux 3.1 r0 _Sarge_ Official i386 Binary-(20050605)]/ unstable contrib main
deb cdrom
:[Debian GNU/Linux 3.1 r0 _Sarge_ Official i386 Binary-(20050605)]/ unstable contrib main
deb cdrom
:[Debian GNU/Linux 3.1 r0 _Sarge_ Official i386 Binary-(20050605)]/ unstable contrib main
deb cdrom
:[Debian GNU/Linux 3.1 r0 _Sarge_ Official i386 Binary-(20050605)]/ unstable contrib main
deb cdrom
:[Debian GNU/Linux 3.1 r0 _Sarge_ Official i386 Binary-(20050605)]/ unstable contrib main

deb http
://ftp.fr.debian.org/debian/ testing main contrib non-free 

and
cat /etc/apt/preferences
PHP Code:

cat: /etc/apt/preferencesNo such file or directory 

what's the matter ?
:(
is it have problem ?
please help me my friends .
:((

Daws 03-25-2007 09:24 PM

preferences not existing is not a problem.

It looks like you started with unstable so you may want to stick with it.

In your sources.list move the line "deb http://ftp.fr.debian.org/debian/ testing main contrib non-free" to the top of the list and change testing to unstable.

Then "apt-get update && apt-get dist-upgrade"

rickh 03-25-2007 09:39 PM

Quote:

In your sources.list move the line "deb http://ftp.fr.debian.org/debian/ testing main contrib non-free" to the top of the list and change testing to unstable.

Then "apt-get update && apt-get dist-upgrade"
My prediction: If you do that your system will die ... but that's OK. You need to start over and install Etch from the get-go, anyway.

Daws 03-25-2007 09:44 PM

Quote:

My prediction: If you do that your system will die
Care to place a wager? :) I've seen Debian systems pull through worse, admittedly with a helping hand...


All times are GMT -5. The time now is 05:02 AM.