PDA

View Full Version : Help using changes to source.list (tanner's HOWTO)



brickWall
05-07-2006, 01:03 PM
I'm using Breezy ubuntu, so at the bottom of /etc/apt/sources.list I added


deb ftp://ftp.real-time.com/linux/real-time-debpool breezy custom
deb-src ftp://ftp.real-time.com/linux/real-time-debpool breezy custom

as Tanner's FAQ says. The problem is when I try to run


% sudo apt-get update

or


% sudo apt-get install showeq

I get errors (posted below). Am I supposed to install gcc and qt before doing this? The FAQ doesn't mention anything about this, and someone told me apt-get was supposed to resolve dependencies or something. Anyway, I have done quite a bit of searching, and I managed to get


% sudo apt-get install build-essential

to work (I think that gives me gcc...), but I can't find qt anywhere... so If I'm supposed to install that, how should I proceed?

Here's the output for running "apt-get update" with the added lines in sources.list



Get:1 http://security.ubuntu.com breezy-security Release.gpg [189B]
Get:2 http://us.archive.ubuntu.com breezy Release.gpg [189B]
Get:3 http://us.archive.ubuntu.com breezy-updates Release.gpg [189B]
Hit http://security.ubuntu.com breezy-security Release
Hit http://us.archive.ubuntu.com breezy Release
Hit http://us.archive.ubuntu.com breezy-updates Release
Hit http://security.ubuntu.com breezy-security/main Packages
Hit http://us.archive.ubuntu.com breezy/main Packages
Hit http://us.archive.ubuntu.com breezy/restricted Packages
Hit http://us.archive.ubuntu.com breezy/main Sources
Hit http://security.ubuntu.com breezy-security/restricted Packages
Hit http://security.ubuntu.com breezy-security/main Sources
Hit http://us.archive.ubuntu.com breezy/restricted Sources
Hit http://us.archive.ubuntu.com breezy-updates/main Packages
Hit http://us.archive.ubuntu.com breezy-updates/restricted Packages
Hit http://us.archive.ubuntu.com breezy-updates/main Sources
Hit http://security.ubuntu.com breezy-security/restricted Sources
Hit http://us.archive.ubuntu.com breezy-updates/restricted Sources
Get:4 ftp://ftp.real-time.com breezy Release.gpg
Ign ftp://ftp.real-time.com breezy Release.gpg
Get:5 ftp://ftp.real-time.com breezy Release
Ign ftp://ftp.real-time.com breezy Release
Get:6 ftp://ftp.real-time.com breezy/custom Packages
Ign ftp://ftp.real-time.com breezy/custom Packages
Get:7 ftp://ftp.real-time.com breezy/custom Sources
Ign ftp://ftp.real-time.com breezy/custom Sources
99% [Working] 14.3kB/s 0s
gzip: stdin: unexpected end of file
Err ftp://ftp.real-time.com breezy/custom Packages
Sub-process gzip returned an error code (1)
99% [Sources gzip 0] 14.3kB/s 0s
gzip: stdin: unexpected end of file
Err ftp://ftp.real-time.com breezy/custom Sources
Sub-process gzip returned an error code (1)
Fetched 3B in 10s (0B/s)
Failed to fetch ftp://ftp.real-time.com/linux/real-time-debpool/dists/breezy/custom/binary-i386/Packages.gz Sub-process gzip returned an error code (1)
Failed to fetch ftp://ftp.real-time.com/linux/real-time-debpool/dists/breezy/custom/source/Sources.gz Sub-process gzip returned an error code (1)
Reading package lists... Done
W: Couldn't stat source package list ftp://ftp.real-time.com breezy/custom Packages (/var/lib/apt/lists/ftp.real-time.com_linux_real-time-debpool_dists_breezy_custom_binary-i386_Packages) - stat (2 No such file or directory)
W: You may want to run apt-get update to correct these problems
E: Some index files failed to download, they have been ignored, or old ones used instead.



and then sudo apt-get install showeq




Reading package lists... Done
Building dependency tree... Done
W: Couldn't stat source package list ftp://ftp.real-time.com breezy/custom Packages (/var/lib/apt/lists/ftp.real-time.com_linux_real-time-debpool_dists_breezy_custom_binary-i386_Packages) - stat (2 No such file or directory)
W: You may want to run apt-get update to correct these problems
E: Couldn't find package showeq
aaron@MR-SPOCK:/etc/apt$



I'm sorry for the annoying noob questions, but I've been working for over a week now and I haven't gotten very far.

Thanks!

tanner
05-07-2006, 04:15 PM
Try reading the FAQ a little closer.

http://faq.eqenchanters.org/index.php?action=artikel&cat=383683&id=51&artlang=en

deb-src ftp://ftp.real-time.com/linux/real-time-debpool sid custom main

# apt-get update
# apt-get build-dep showeq
# apt-get source showeq
# cd showeq-w.x.y.z/
# dpkg-buildpackage -b
# cd ..
# dpkg -i showeq*.deb

brickWall
05-09-2006, 09:38 AM
Thank you, Tanner. You're the best! (and everyone else who makes this project work, because the most I can do on linux unaided is change directories... heh)