LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 12-10-2007, 11:00 PM   #1
Godsgood33
LQ Newbie
 
Registered: Jun 2007
Location: CO
Distribution: Ubuntu 12.10, LFS
Posts: 14

Rep: Reputation: 0
Packages don't install correctly using any method


Kubuntu 7.10 AMD64

I am trying to add various packages, but keep running in the problems. For random package it is unable to find dependent packages and thus errors out upon trying to install. This happens on just about any package I try to install. If I go and manually find the package at packages.ubuntu.com, download and install it then go back and try to install it works fine (provide there are no other absent dependencies). This is really driving me nuts. I thought the problem might be an issue with the repositories so I tried to find other repositories to add, but I'm having a problem with that too. Are there any other repositories for Kubuntu? Or is there another solution that I haven't thought of? Thanks.
 
Old 12-10-2007, 11:27 PM   #2
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
This is too general... pick one package, use standard repo setup. Attempt to install from CLI using

sudo apt-get update
sudo apt-get install packagename

copy the command and the entire output and paste it in reply. That way, we see exactly what you see. Also, copy and paste the result of "cat /etc/apt/sources.list".

You are almost certainly doing something wrong, none of the packages in the repos have broken dependencies. The only time I've seen a message remotely as you describe, it turned out I wasn't online. If you seriously suspect the repos, then use the canonical ones... you can imagine what woulh happen if Mark Shuttleworth had trouble installing software!

Last edited by Simon Bridge; 12-10-2007 at 11:28 PM.
 
Old 12-11-2007, 06:20 AM   #3
nx5000
Senior Member
 
Registered: Sep 2005
Location: Out
Posts: 3,307

Rep: Reputation: 57
If you have at some points installed wrong version while playing with sources.list then your system is a bit broken...
And yes, your post is way to general for giving a conclusion.
 
Old 12-19-2007, 05:15 PM   #4
Godsgood33
LQ Newbie
 
Registered: Jun 2007
Location: CO
Distribution: Ubuntu 12.10, LFS
Posts: 14

Original Poster
Rep: Reputation: 0
I hate it when this happens. It's working now. I don't know what I did, but it's working. I know I added the last two lines and did the sudo apt-get update and it works now. Thanks.

Code:
deb cdrom:[Kubuntu 7.10 _Gutsy Gibbon_ - Release amd64 (20071016.1)]/ gutsy main restricted
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.

# Line commented out by installer because it failed to verify:
# deb http://us.archive.ubuntu.com/ubuntu/ gutsy main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://us.archive.ubuntu.com/ubuntu/ gutsy-updates main restricted

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## universe WILL NOT receive any review or updates from the Ubuntu security
## team.
# Line commented out by installer because it failed to verify:
# deb http://us.archive.ubuntu.com/ubuntu/ gutsy universe
# Line commented out by installer because it failed to verify:
# deb-src http://us.archive.ubuntu.com/ubuntu/ gutsy universe
deb http://us.archive.ubuntu.com/ubuntu/ gutsy-updates universe

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://us.archive.ubuntu.com/ubuntu/ gutsy multiverse universe restricted main
deb http://us.archive.ubuntu.com/ubuntu/ gutsy-updates multiverse

## Uncomment the following two lines to add software from the 'backports'
## repository.
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
# deb http://us.archive.ubuntu.com/ubuntu/ gutsy-backports main restricted universe multiverse
# deb-src http://us.archive.ubuntu.com/ubuntu/ gutsy-backports main restricted universe multiverse

## Uncomment the following two lines to add software from Canonical's
## 'partner' repository. This software is not part of Ubuntu, but is
## offered by Canonical and the respective vendors as a service to Ubuntu
## users.
deb http://archive.canonical.com/ubuntu gutsy partner
deb-src http://archive.canonical.com/ubuntu gutsy partner

deb http://security.ubuntu.com/ubuntu gutsy-security main restricted
deb http://security.ubuntu.com/ubuntu gutsy-security universe
deb http://security.ubuntu.com/ubuntu gutsy-security multiverse
deb http://archive.canonical.com/ubuntu/ gusty-commercial main
deb http://archive.canoncial.com/ubuntu/ gusty main
 
Old 12-20-2007, 04:32 AM   #5
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
You mean you added the canonical repos?
Possibly the packages you wanted to install were only available from there? Or depended on packages in there?

BTW: have a look at

system > administration > software sources
... Ubuntu users don't have to mess about with the sources.list file any more.
(I have mixed feelings about this sort of thing.)

Also look at:
www.hbclinux.net.nz/ubuntu.html
http://ubuntuguide.org/wiki/Ubuntu:Gutsy
... for more on software installation.
 
  


Reply

Tags
apt-get


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
how to save a list of installed packages and install these packages later mandavi Ubuntu 5 09-07-2009 11:36 AM
libXext - install method? rtil Linux - Software 1 12-08-2004 11:53 AM
/usr/share/redhat-config-packages/method.py vladimir-dk Linux - Software 0 04-01-2004 01:35 PM
Mandrake Update/Install Packages/Remove Packages wslyhbb Mandriva 2 03-15-2004 09:43 AM
LFS packages not installing correctly... Chijtska Linux From Scratch 2 02-11-2002 04:41 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:35 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
Open Source Consulting | Domain Registration