LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-29-2004, 01:06 AM   #1
pablowablo
Member
 
Registered: Apr 2004
Posts: 131

Rep: Reputation: 15
Problems with dpkg -i


Hi, I'm having problems installing the bittorrent client using dpkg -i filename.deb... here is what happened

oot@HABO:/home/pablo# dpkg -i bit
(Reading database ... 130017 files and directories currently installed.)
Preparing to replace bittorrent 3.4.2-1 (using bit) ...
Unpacking replacement bittorrent ...
dpkg: dependency problems prevent configuration of bittorrent:
bittorrent depends on python (>= 2.3); however:
Version of python on system is 2.2.2-6.
dpkg: error processing bittorrent (--install):
dependency problems - leaving unconfigured
Errors were encountered while processing:
bittorrent


then I downloaded python 2.4 and installed it like this

root@HABO:/home/pablo# dpkg -iR python.deb
dpkg: considering removing python-xmlbase in favour of python ...
dpkg: no, cannot remove python-xmlbase (--auto-deconfigure will help):
gramps depends on python-xmlbase (>= 2.2.2-1)
python-xmlbase is to be removed.
dpkg: regarding python.deb containing python:
python conflicts with python-xmlbase
python-xmlbase (version 2.2.2-6) is installed.
dpkg: error processing python.deb (--install):
conflicting packages - not installing python
Errors were encountered while processing:
python.deb



I don't know what to do now, is there any command where dpkg will have to handle dependencies, so I don't have to install python? thanks in advance
 
Old 07-29-2004, 01:08 AM   #2
Demonbane
LQ Guru
 
Registered: Aug 2003
Location: Sydney, Australia
Distribution: Gentoo
Posts: 1,796

Rep: Reputation: 47
Quote:

I don't know what to do now, is there any command where dpkg will have to handle dependencies, so I don't have to install python? thanks in advance

try apt-get
 
Old 07-29-2004, 01:14 AM   #3
pablowablo
Member
 
Registered: Apr 2004
Posts: 131

Original Poster
Rep: Reputation: 15
Hmmm how do I use apt-get with a .deb file? I don't really know how apt-get works but doesn't that look in /etc/apt/sources.list? What if the file I want to install is not in that list? and how do i know what to put after apt-get install?

I tried apt-get install bit but it couldn't find package bit
 
Old 07-29-2004, 07:47 AM   #4
Demonbane
LQ Guru
 
Registered: Aug 2003
Location: Sydney, Australia
Distribution: Gentoo
Posts: 1,796

Rep: Reputation: 47
bittorrent 3.4.2 is available on unstable/testing branch, add them to your sources.list then do
Code:
apt-get update && apt-get install bittorent
and you're set.

for your reference this is what i have in my /etc/apt/sources.list
Code:
deb http://non-us.debian.org/debian-non-US sid/non-US main contrib non-free
deb-src http://non-us.debian.org/debian-non-US sid/non-US main contrib non-free
 
Old 07-29-2004, 10:30 AM   #5
pablowablo
Member
 
Registered: Apr 2004
Posts: 131

Original Poster
Rep: Reputation: 15
thanks!

but out of curiosity... how do I know what url to put in my sources.list? and before I can use apt-get install, does the package have to be in my sources.list? (I noticed that my sources.list only has a few items)
 
Old 07-29-2004, 10:56 AM   #6
Demonbane
LQ Guru
 
Registered: Aug 2003
Location: Sydney, Australia
Distribution: Gentoo
Posts: 1,796

Rep: Reputation: 47
If you like you can use the one I use, or if you want the US one its
Code:
deb http://http.us.debian.org/debian sid main contrib non-free
If you want sarge instead just change "sid" to "sarge"
Sid is the unstable branch, Sarge is the testing branch, that means sarge will eventually become the next Debian release, sid will always have the latest packages.
"apt-get update" retrieves the package list from the sources specified in your sources.list so you need to do it first.
apt-get makes it easier to update your system and install software packages. For example when Debian Sarge comes out, all you need is have your apt source(s) point to the sarge(or stable which it will become) then do "apt-get dist-upgrade" then it'll automatically download and install all necessary packages for upgrading to Sarge.

Check out the Debian documentation if you want to know more:
http://www.debian.org/doc/manuals/ap.../index.en.html

Last edited by Demonbane; 07-29-2004 at 10:58 AM.
 
Old 07-29-2004, 11:15 AM   #7
pablowablo
Member
 
Registered: Apr 2004
Posts: 131

Original Poster
Rep: Reputation: 15
Thanks again, I'm sorta getting the idea now, I will check out the documentation.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
APT/dpkg errors! /var/lib/dpkg/status bassclarinet Debian 16 12-01-2011 10:24 AM
dpkg is dead! error in /var/lib/dpkg/available dezert_fox Debian 4 11-22-2011 11:28 AM
dpkg dependency problems gandhi Debian 3 03-19-2005 03:50 PM
Dpkg problems... HulkProtector1 Debian 1 12-19-2003 05:36 PM
dpkg -d problems menota Linux - Software 0 09-02-2003 04:09 AM


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

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration