LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 03-24-2007, 04:26 PM   #1
*Mafia*
LQ Newbie
 
Registered: Mar 2007
Posts: 12

Rep: Reputation: 0
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 !?
 
Old 03-24-2007, 04:43 PM   #2
drewbug01
Member
 
Registered: Aug 2006
Location: Detroit!
Distribution: Ubuntu 7.04
Posts: 182

Rep: Reputation: 30
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
 
Old 03-24-2007, 05:26 PM   #3
*Mafia*
LQ Newbie
 
Registered: Mar 2007
Posts: 12

Original Poster
Rep: Reputation: 0
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
 
Old 03-24-2007, 05:30 PM   #4
*Mafia*
LQ Newbie
 
Registered: Mar 2007
Posts: 12

Original Poster
Rep: Reputation: 0
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 !!!
 
Old 03-24-2007, 05:42 PM   #5
*Mafia*
LQ Newbie
 
Registered: Mar 2007
Posts: 12

Original Poster
Rep: Reputation: 0
please help my friends.
problem still active !!!
 
Old 03-24-2007, 07:13 PM   #6
sumguy231
Member
 
Registered: Apr 2004
Location: North America
Distribution: Kubuntu 7.04 - Feisty Fawn
Posts: 296

Rep: Reputation: 30
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.
 
Old 03-24-2007, 07:39 PM   #7
rickh
Senior Member
 
Registered: May 2004
Location: Albuquerque, NM USA
Distribution: Debian-Lenny/Sid 32/64 Desktop: Generic AMD64-EVGA 680i Laptop: Generic Intel SIS-AC97
Posts: 4,250

Rep: Reputation: 62
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.
 
Old 03-24-2007, 08:01 PM   #8
*Mafia*
LQ Newbie
 
Registered: Mar 2007
Posts: 12

Original Poster
Rep: Reputation: 0
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 ?

Last edited by *Mafia*; 03-24-2007 at 08:03 PM.
 
Old 03-25-2007, 04:20 AM   #9
*Mafia*
LQ Newbie
 
Registered: Mar 2007
Posts: 12

Original Poster
Rep: Reputation: 0
My problem not solved still !!
 
Old 03-25-2007, 04:27 AM   #10
Daws
Member
 
Registered: May 2006
Location: UK
Distribution: Debian
Posts: 447

Rep: Reputation: 39
What does
Code:
cat /etc/apt/preferences
produce?
 
Old 03-25-2007, 04:58 AM   #11
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 475Reputation: 475Reputation: 475Reputation: 475Reputation: 475
As this is a Debian problem, I have moved it to the Debian forum.
 
Old 03-25-2007, 08:43 PM   #12
*Mafia*
LQ Newbie
 
Registered: Mar 2007
Posts: 12

Original Poster
Rep: Reputation: 0
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 .
(
 
Old 03-25-2007, 09:24 PM   #13
Daws
Member
 
Registered: May 2006
Location: UK
Distribution: Debian
Posts: 447

Rep: Reputation: 39
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"
 
Old 03-25-2007, 09:39 PM   #14
rickh
Senior Member
 
Registered: May 2004
Location: Albuquerque, NM USA
Distribution: Debian-Lenny/Sid 32/64 Desktop: Generic AMD64-EVGA 680i Laptop: Generic Intel SIS-AC97
Posts: 4,250

Rep: Reputation: 62
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.
 
Old 03-25-2007, 09:44 PM   #15
Daws
Member
 
Registered: May 2006
Location: UK
Distribution: Debian
Posts: 447

Rep: Reputation: 39
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...
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Linux 2.6.20 deb package available nx5000 Debian 4 02-09-2007 03:08 AM
How to install deb package tstrickland Linux - Newbie 10 07-21-2005 06:39 PM
NFS DEB Package? Al Hawley MEPIS 3 07-11-2005 10:16 AM
message "Problem during installation: x package needed for (installed) x package frayed2 Linux - Newbie 1 04-24-2005 07:05 PM
PROBLEM with Qt library and KDE installation from .deb lipkaj Debian 4 10-31-2003 06:43 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 09:39 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration