Problem with .deb package installation ! please !!!
DebianThis forum is for the discussion of Debian Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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 -i '//root/kchmviewer_2.7-1_i386.deb' ;echo RESULT=$? tar: ./postinst: time stamp 2006-12-08 17:07:48 is 55917712 s in the future tar: ./postrm: time stamp 2006-12-08 17:07:48 is 55917712 s in the future tar: ./md5sums: time stamp 2006-12-08 17:07:50 is 55917714 s in the future tar: ./control: time 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-1 (using .../root/kchmviewer_2.7-1_i386.deb) ... Unpacking replacement kchmviewer ... dpkg: dependency 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++6 (>= 4.1.1-12); however: Package libstdc++6 is not installed. kchmviewer depends on libxinerama1; however: Package libxinerama1 is not installed. dpkg: error processing kchmviewer (--install): dependency problems - leaving unconfigured Errors were encountered while processing: kchmviewer RESULT=1
please help me for this matter .
I will crazy as soon if this problem not solve !!!
please help ... please help !
where is the problem !?
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
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: kchmviewer: Depends: kdelibs4c2a (>= 4:3.5.5-1) but it is not going to be installed Depends: libc6 (>= 2.3.6-6) but 2.3.2.ds1-22 is to be installed Depends: libchm1 (>= 0.36-3) but it is not going to be installed Depends: libfontconfig1 (>= 2.4.0) but 2.3.1-2 is to be installed Depends: libfreetype6 (>= 2.2) but 2.1.7-2.4 is to be installed Depends: libgcc1 (>= 1:4.1.1-12) but 1:3.4.3-13 is to be installed Depends: libice6 (>= 1:1.0.0) but 4.3.0.dfsg.1-14 is to be installed Depends: libidn11 (>= 0.5.18) but 0.5.13-1.0 is to be installed Depends: libqt3-mt (>= 3:3.3.7) but it is not going to be installed Depends: libstdc++6 (>= 4.1.1-12) but 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 !!!
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.
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 ?
#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-8 (20050605)]/ unstable contrib main deb cdrom:[Debian GNU/Linux 3.1 r0 _Sarge_ - Official i386 Binary-7 (20050605)]/ unstable contrib main deb cdrom:[Debian GNU/Linux 3.1 r0 _Sarge_ - Official i386 Binary-6 (20050605)]/ unstable contrib main deb cdrom:[Debian GNU/Linux 3.1 r0 _Sarge_ - Official i386 Binary-4 (20050605)]/ unstable contrib main deb cdrom:[Debian GNU/Linux 3.1 r0 _Sarge_ - Official i386 Binary-3 (20050605)]/ unstable contrib main deb cdrom:[Debian GNU/Linux 3.1 r0 _Sarge_ - Official i386 Binary-2 (20050605)]/ unstable contrib main deb cdrom:[Debian GNU/Linux 3.1 r0 _Sarge_ - Official i386 Binary-1 (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/preferences: No such file or directory
what's the matter ?
is it have problem ?
please help me my friends .
(
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.