LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 07-05-2005, 03:26 AM   #16
f1dave
Member
 
Registered: Jan 2005
Location: Kinross, Western Australia
Distribution: Kubuntu 5.04 (Hoary)
Posts: 114

Rep: Reputation: 15

yes, sorry bout that.

duff is right. just add them to the bottom of the file.
 
Old 07-05-2005, 09:42 AM   #17
Toonses82
Member
 
Registered: Sep 2004
Location: Calhoun, TN, USA
Distribution: openSUSE
Posts: 131

Original Poster
Rep: Reputation: 15
So then I just enter this at command line?
Code:
sudo nano /etc/apt/sources.list deb http://mirrors.uwa.edu.au/linux/ubuntu/ hoary main restricted universe multiverse
And so on? Sorry, I know nothing about command line. Thanks for the patience.
 
Old 07-05-2005, 10:06 AM   #18
Toonses82
Member
 
Registered: Sep 2004
Location: Calhoun, TN, USA
Distribution: openSUSE
Posts: 131

Original Poster
Rep: Reputation: 15
Or do I just open the list itself somehow and just paste it in there?
 
Old 07-05-2005, 10:14 AM   #19
duffmckagan
Senior Member
 
Registered: Feb 2005
Distribution: Cent OS 6.4
Posts: 1,163

Rep: Reputation: 49
Ok. You don't need to edit the file from command line.
You can use Kwrite instead.

For launching kwrite, you can type this the command line.
Type this at the Konsole as a normal user.

Code:
kdesu kwrite /etc/apt/sources.list
Enter the root password, and append the repositories to this file.

I think that this should make it easy.
 
Old 07-05-2005, 10:35 AM   #20
ingvildr
Member
 
Registered: Mar 2005
Location: England, South East
Distribution: Fedora
Posts: 358

Rep: Reputation: 30
you can't apt-get supertux because you only have main and restricted not universe or multiverse enabled.

EDIT: haha didn't read the second page

Last edited by ingvildr; 07-05-2005 at 10:37 AM.
 
Old 07-05-2005, 10:49 AM   #21
f1dave
Member
 
Registered: Jan 2005
Location: Kinross, Western Australia
Distribution: Kubuntu 5.04 (Hoary)
Posts: 114

Rep: Reputation: 15


yes, just use sudo nano or sudo kwrite or whatever to edit the sources.list
 
Old 07-05-2005, 09:06 PM   #22
Toonses82
Member
 
Registered: Sep 2004
Location: Calhoun, TN, USA
Distribution: openSUSE
Posts: 131

Original Poster
Rep: Reputation: 15
Welp, I think we've made progress. Good stuff. I added the repositories so here's my current source.list:
Code:
deb cdrom:[Kubuntu 5.04 _Hoary Hedgehog_ - Release i386 (20050407)]/ hoary main restricted


deb http://us.archive.ubuntu.com/ubuntu hoary main restricted
deb-src http://us.archive.ubuntu.com/ubuntu hoary main restricted

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

## Uncomment the following two lines to add software from the 'universe'
## repository.
## 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.
# deb http://us.archive.ubuntu.com/ubuntu hoary universe
# deb-src http://us.archive.ubuntu.com/ubuntu hoary universe

deb http://security.ubuntu.com/ubuntu hoary-security main restricted
deb-src http://security.ubuntu.com/ubuntu hoary-security main restricted

# deb http://security.ubuntu.com/ubuntu hoary-security universe
# deb-src http://security.ubuntu.com/ubuntu hoary-security universe

deb http://mirrors.uwa.edu.au/linux/ubuntu/ hoary main restricted universe multiverse
deb-src http://mirrors.uwa.edu.au/linux/ubuntu/ hoary main restricted universe multiverse

deb http://mirrors.uwa.edu.au/linux/ubuntu/ hoary-security main restricted universe multiverse
deb-src http://mirrors.uwa.edu.au/linux/ubuntu/ hoary-security main restricted universe multiverse
So then I did the following:
Code:
grassman20@Grassman:~$ sudo apt-get update
Get:1 http://us.archive.ubuntu.com hoary Release.gpg [189B]
Get:2 http://us.archive.ubuntu.com hoary-updates Release.gpg [189B]
Get:3 http://security.ubuntu.com hoary-security Release.gpg [189B]
Hit http://us.archive.ubuntu.com hoary Release
Get:4 http://security.ubuntu.com hoary-security Release [16.9kB]
Get:5 http://us.archive.ubuntu.com hoary-updates Release [16.8kB]
Hit http://us.archive.ubuntu.com hoary/main Packages
Hit http://us.archive.ubuntu.com hoary/restricted Packages
Hit http://us.archive.ubuntu.com hoary/main Sources
Hit http://us.archive.ubuntu.com hoary/restricted Sources
Hit http://us.archive.ubuntu.com hoary-updates/main Packages
Hit http://us.archive.ubuntu.com hoary-updates/restricted Packages
Hit http://us.archive.ubuntu.com hoary-updates/main Sources
Hit http://us.archive.ubuntu.com hoary-updates/restricted Sources
Hit http://security.ubuntu.com hoary-security/main Packages
Hit http://security.ubuntu.com hoary-security/restricted Packages
Hit http://security.ubuntu.com hoary-security/main Sources
Hit http://security.ubuntu.com hoary-security/restricted Sources
Get:6 http://mirrors.uwa.edu.au hoary Release.gpg [189B]
Get:7 http://mirrors.uwa.edu.au hoary-security Release.gpg [189B]
Get:8 http://mirrors.uwa.edu.au hoary Release [26.2kB]
Get:9 http://mirrors.uwa.edu.au hoary-security Release [16.9kB]
Get:10 http://mirrors.uwa.edu.au hoary/main Packages [490kB]
Get:11 http://mirrors.uwa.edu.au hoary/restricted Packages [4374B]
Get:12 http://mirrors.uwa.edu.au hoary/universe Packages [2169kB]
Get:13 http://mirrors.uwa.edu.au hoary/multiverse Packages [88.4kB]
Get:14 http://mirrors.uwa.edu.au hoary/main Sources [175kB]
Get:15 http://mirrors.uwa.edu.au hoary/restricted Sources [1320B]
Get:16 http://mirrors.uwa.edu.au hoary/universe Sources [857kB]
Get:17 http://mirrors.uwa.edu.au hoary/multiverse Sources [48.4kB]
Get:18 http://mirrors.uwa.edu.au hoary-security/main Packages [27.1kB]
Get:19 http://mirrors.uwa.edu.au hoary-security/restricted Packages [14B]
Get:20 http://mirrors.uwa.edu.au hoary-security/universe Packages [24.0kB]
Get:21 http://mirrors.uwa.edu.au hoary-security/multiverse Packages [14B]
Get:22 http://mirrors.uwa.edu.au hoary-security/main Sources [7607B]
Get:23 http://mirrors.uwa.edu.au hoary-security/restricted Sources [14B]
Get:24 http://mirrors.uwa.edu.au hoary-security/universe Sources [4410B]
Get:25 http://mirrors.uwa.edu.au hoary-security/multiverse Sources [14B]
Fetched 3974kB in 1m6s (59.9kB/s)
Reading package lists... Done
grassman20@Grassman:~$ sudo apt-get install supertux
Reading package lists... Done
Building dependency tree... Done
The following extra packages will be installed:
  libsdl-image1.2 libsdl-mixer1.2 libsdl1.2debian libsdl1.2debian-oss
  libsmpeg0 supertux-data
The following NEW packages will be installed:
  libsdl-image1.2 libsdl-mixer1.2 libsdl1.2debian libsdl1.2debian-oss
  libsmpeg0 supertux supertux-data
0 upgraded, 7 newly installed, 0 to remove and 0 not upgraded.
Need to get 6645kB/6932kB of archives.
After unpacking 15.8MB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://us.archive.ubuntu.com hoary/main libsdl-mixer1.2 1.2.5-9 [121kB]
Get:2 http://mirrors.uwa.edu.au hoary/universe libsdl-image1.2 1.2.3-6 [25.0kB]
Get:3 http://mirrors.uwa.edu.au hoary/universe supertux-data 0.1.2-3 [6276kB]
Get:4 http://mirrors.uwa.edu.au hoary/universe supertux 0.1.2-3 [223kB]
Fetched 6645kB in 1m29s (74.0kB/s)

Preconfiguring packages ...
dpkg: parse error, in file `/var/lib/dpkg/available' near line 3776 package `kivio':
 missing version
E: Sub-process /usr/bin/dpkg returned an error code (2)
So it looks like I got further than before thanks to the extra repositories, but still couldn't bring home the victory. What do you guys think?
 
Old 07-06-2005, 03:51 AM   #23
f1dave
Member
 
Registered: Jan 2005
Location: Kinross, Western Australia
Distribution: Kubuntu 5.04 (Hoary)
Posts: 114

Rep: Reputation: 15
Hmm. You've stumped me I'm afraid.

At this stage, this is where i'd start tinkering, reinstalling stuff, -f ing stuff, etc. But I don't really want to guide someone else into doing that. So I might just wait until some apt-expert gives me an idea before putting anything else in.
 
Old 07-06-2005, 04:28 AM   #24
duffmckagan
Senior Member
 
Registered: Feb 2005
Distribution: Cent OS 6.4
Posts: 1,163

Rep: Reputation: 49
I googled and found the Kubuntu Guide, which is almost similar to the Unofficial Ubuntu Guide.

Software Repositories and Package Management in Kubuntu
 
Old 07-06-2005, 12:29 PM   #25
Toonses82
Member
 
Registered: Sep 2004
Location: Calhoun, TN, USA
Distribution: openSUSE
Posts: 131

Original Poster
Rep: Reputation: 15
Well yeah, that's my first instinct is to uninstall and reinstall stuff. But the problem is the installation program itself! The only thing I can figure is to just do a clean install of the whole system.

Maybe I'll just do that anyway. Thanks for the help though dudes.
 
Old 07-06-2005, 12:40 PM   #26
angkor
Member
 
Registered: Mar 2005
Location: Amsterdam
Distribution: Debian => Ubuntu => Mac Osx
Posts: 165

Rep: Reputation: 31
Quote:
Originally posted by Toonses82
Perhaps. I'm pretty sure that Ubuntu is the "official" supported version and that Kubuntu is community driven so maybe it's not quite as good. Who knows.

I did learn something though. I was getting frustrated that "su" and "sudo" weren't working. Every time I tried to do either, it would say that my root password was incorrect. But when I tried "sudo su" together as in your above post, it worked.

Curious . . .
If you start a command with 'sudo' you need to enter your user password.

If you start a command with 'su' you will be prompted for the root password, which in Ubuntu you need to setup first, with:

sudo passwd root
 
Old 07-06-2005, 03:11 PM   #27
sbassett
Member
 
Registered: Dec 2004
Location: USA
Distribution: CentOS 4.4,Ubuntu 6.10&7.04,Win XP(the wife's)
Posts: 151

Rep: Reputation: 30
Tooonses-
Have you tried the following:
dpkg --clear-avail
apt-get update
apt-get install supertux?
 
Old 07-06-2005, 09:18 PM   #28
Toonses82
Member
 
Registered: Sep 2004
Location: Calhoun, TN, USA
Distribution: openSUSE
Posts: 131

Original Poster
Rep: Reputation: 15
My God! That worked!!

What exactly did I do there?
 
Old 07-07-2005, 09:09 AM   #29
sbassett
Member
 
Registered: Dec 2004
Location: USA
Distribution: CentOS 4.4,Ubuntu 6.10&7.04,Win XP(the wife's)
Posts: 151

Rep: Reputation: 30
You cleared out the "available" settings, which appeared to be gunking up you're apt-gets. After the apt-get update this should have been replaced. The big question is, How did it get all messy in the first place. Did you add any wacky sources recently?
 
Old 07-07-2005, 12:43 PM   #30
Toonses82
Member
 
Registered: Sep 2004
Location: Calhoun, TN, USA
Distribution: openSUSE
Posts: 131

Original Poster
Rep: Reputation: 15
What do you mean by "wacky sources?" Are you talking about extra repositories? The only repositories I've ever added were the ones posted earlier by f1dave.
 
  


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
can't install g++ so I can't compile and install any programs musicmaniac414 Linux - Software 12 02-06-2008 09:31 PM
can't install some programs khh80 Linux - Software 2 08-02-2005 09:43 PM
'Best practices' when installing downloads/programs? wmcase Linux - General 2 12-18-2004 06:30 PM
/home and install/downloads screamoboy86 Linux - Software 2 10-05-2004 08:39 PM
Where are all my programs install to? Stevetgn Linux - Newbie 14 06-27-2003 08:42 PM

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

All times are GMT -5. The time now is 09:36 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