LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices

Reply
 
LinkBack Search this Thread
Old 08-28-2007, 06:11 PM   #1
lazylogic
Member
 
Registered: Aug 2006
Posts: 140

Rep: Reputation: 15
Source list problem - Newbie Question


I had the following mirror in my source list:

deb http://mirror.averse.net/debian/ testing main non-free contrib
deb http://mirror.averse.net/debian/ unstable main non-free contrib

I am using the DWL-G122 Rev C and therefore require the rt73 package. Eventually found it here:
http://mirror.averse.net/debian/pool/contrib/r/rt73/

Q1. There are many new packages that can be found in http://name.of.mirror/debian/pool/contrib/
But I am not able to find this when I do a apt-get or in synpatic. What should I add into the source list so that these packages can be added into apt-get?

Q2. If I were to manually download the packages, which of these packages is the one that needs to be used:
rt73-common_1.0.4.0.dfsg1-1~experimental1_all.deb
rt73-source_1.0.4.0.dfsg1-1~experimental1_all.deb
rt73_1.0.4.0.dfsg1-1~experimental1.diff.gz
rt73_1.0.4.0.dfsg1-1~experimental1.dsc
rt73_1.0.4.0.dfsg1.orig.tar.gz

Q3. How to use the manually downloaded packages?


Thanks in advance for the advise.
 
Old 08-28-2007, 06:36 PM   #2
Dutch Master
Senior Member
 
Registered: Dec 2005
Posts: 1,534

Rep: Reputation: 70
a) For a new user it's recommended not to run a testing/unstable system. Use the backports instead.
b) I presume you have more mirrors in that sources.list? Include at least one of the official Debian mirrors from these pages: http://www.debian.org/mirror/
c) The apt-get command is still available in Etch, but the Debian dev's recommend (urge is the better word) to use aptitude as your sole package manager.

Q1) did you do an "apt-get update" before trying to install the new packages?
Q2) that depends on the functionality each package gives you. Read the accompanying files to figure out what each package does and how they relate to eachother.
Q3) depending on the package you do "dpkg -i <packagename>" if it's a .deb or
Code:
./configure && make && make install
for the source package.
 
Old 08-28-2007, 10:11 PM   #3
HappyTux
Senior Member
 
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 3,513

Rep: Reputation: 57
Quote:
Originally Posted by lazylogic View Post
I had the following mirror in my source list:

deb http://mirror.averse.net/debian/ testing main non-free contrib
deb http://mirror.averse.net/debian/ unstable main non-free contrib

I am using the DWL-G122 Rev C and therefore require the rt73 package. Eventually found it here:
http://mirror.averse.net/debian/pool/contrib/r/rt73/

Q1. There are many new packages that can be found in http://name.of.mirror/debian/pool/contrib/
But I am not able to find this when I do a apt-get or in synpatic. What should I add into the source list so that these packages can be added into apt-get?

Q2. If I were to manually download the packages, which of these packages is the one that needs to be used:
rt73-common_1.0.4.0.dfsg1-1~experimental1_all.deb
rt73-source_1.0.4.0.dfsg1-1~experimental1_all.deb
rt73_1.0.4.0.dfsg1-1~experimental1.diff.gz
rt73_1.0.4.0.dfsg1-1~experimental1.dsc
rt73_1.0.4.0.dfsg1.orig.tar.gz

Q3. How to use the manually downloaded packages?


Thanks in advance for the advise.
Try something like this in your sources.list.

Code:
deb-src http://mirror.averse.net/debian/ experimental main non-free contrib
Now use apt-get update to make sure the line is correct and apt-get install module-assistant then m-a going into the SELECT option to see if the rt73 is available to be built with it if so select it with the space bar then exit out of the dialog going back to prepare to get the system ready to build once done build and install the module. If not available then as root.

Code:
m-a prepare
apt-get build-dep rt73 
apt-get install dpkg-dev build-essential fakeroot
Now as normal user.

Code:
mkdir -p ~/src/rt73
cd ~/src/rt73
apt-get source rt73
cd rt73_1.0.4.0
dpkg-buildpackage -rfakeroot -us -uc
Once the package gets done building then use dpkg -i package.deb as root to install it, if you have any errors cut'n'paste them here.
 
Old 08-29-2007, 05:13 AM   #4
lazylogic
Member
 
Registered: Aug 2006
Posts: 140

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by Dutch Master View Post
a) For a new user it's recommended not to run a testing/unstable system. Use the backports instead.
b) I presume you have more mirrors in that sources.list? Include at least one of the official Debian mirrors from these pages: http://www.debian.org/mirror/
c) The apt-get command is still available in Etch, but the Debian dev's recommend (urge is the better word) to use aptitude as your sole package manager.

Q1) did you do an "apt-get update" before trying to install the new packages?
Q2) that depends on the functionality each package gives you. Read the accompanying files to figure out what each package does and how they relate to eachother.
Q3) depending on the package you do "dpkg -i <packagename>" if it's a .deb or
Code:
./configure && make && make install
for the source package.
Hi Dutch Master, thanks for the reply.

a) I will be trying backports
b) Yup, these 2 plus a debian security and multimedia.
c) Thanks for the tip.

Q1) did a apt-get everytime before installing anything.

Cheers
 
Old 08-29-2007, 05:25 AM   #5
lazylogic
Member
 
Registered: Aug 2006
Posts: 140

Original Poster
Rep: Reputation: 15
Talking

HappyTux, thanks for the load full of tips

I have just added these two into my source list:
deb http://mirror.averse.net/debian/ experimental main non-free contrib
deb-src http://mirror.averse.net/debian/ experimental main non-free contrib

Apt-get (actually i tried synaptic) update now shows rt73-common and rt73-source .. yippee !!

Quote:
Originally Posted by HappyTux View Post

Now use apt-get update to make sure the line is correct and apt-get install module-assistant then m-a going into the SELECT option to see if the rt73 is available to be built with it if so select it with the space bar then exit out of the dialog going back to prepare to get the system ready to build once done build and install the module. If not available then as root.

Code:
m-a prepare
apt-get build-dep rt73 
apt-get install dpkg-dev build-essential fakeroot
Now as normal user.

Code:
mkdir -p ~/src/rt73
cd ~/src/rt73
apt-get source rt73
cd rt73_1.0.4.0
dpkg-buildpackage -rfakeroot -us -uc
Once the package gets done building then use dpkg -i package.deb as root to install it, if you have any errors cut'n'paste them here.

Can I just use the usual apt-get install these 2 packages and (hopefully) get the rt73 drivers working?

Do not quite understand the m-a part ... definitely I have to do a lot more reading ... or if you are kind enough a explain a little


Thanks !!
 
Old 08-29-2007, 08:53 AM   #6
HappyTux
Senior Member
 
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 3,513

Rep: Reputation: 57
Quote:
Originally Posted by lazylogic View Post
HappyTux, thanks for the load full of tips

I have just added these two into my source list:
deb http://mirror.averse.net/debian/ experimental main non-free contrib
deb-src http://mirror.averse.net/debian/ experimental main non-free contrib

Apt-get (actually i tried synaptic) update now shows rt73-common and rt73-source .. yippee !!




Can I just use the usual apt-get install these 2 packages and (hopefully) get the rt73 drivers working?

Do not quite understand the m-a part ... definitely I have to do a lot more reading ... or if you are kind enough a explain a little


Thanks !!
The m-a is the short form of the module-assistant program which is used to help you build packages from source for a kernel module to be installed for your running kernel so you can use it. Now since you see you have the packages needed available you are going to want to run as root the m-a command so you get the curses interface then see if the rt73 is available to be selected for building/installing if not there then you need to use the manual build/install I describe in my second part.
 
Old 09-02-2007, 02:28 AM   #7
lazylogic
Member
 
Registered: Aug 2006
Posts: 140

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by HappyTux View Post
Try something like this in your sources.list.

Once the package gets done building then use dpkg -i package.deb as root to install it, if you have any errors cut'n'paste them here.
dpkg doesn't gives any error message, everything seems normal but when I reboot, the usb wasn't recognised

so i went directly to ralink and downloaded its driver
RT73_Linux_STA_Drv1.0.4.0.tar.gz and manually got it working.

Anyway, thanks for the info
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Not a problem, but a very newbie question :) crispyleif Linux - Networking 3 11-01-2005 09:41 AM
what is the best source to put on apt-get source list j.vilon Debian 3 09-28-2004 08:49 PM
Newbie question - problem booting nitzguy1 Debian 7 07-03-2004 09:06 AM
total newbie type question-where do i find the good links for /etc/apt/sources.list? petkov Debian 2 03-28-2004 12:44 AM
Newbie question on rpm problem Jojodi Linux - Software 2 07-06-2003 07:55 AM


All times are GMT -5. The time now is 02:24 AM.

Main Menu
 
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
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration