LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 04-16-2012, 12:14 AM   #1
Cyfer Skyd
LQ Newbie
 
Registered: Apr 2012
Posts: 6

Rep: Reputation: Disabled
Post Backtrack 5r1 Yum Error: Error Accessing file for config file


I try running yum and get errors every time:

:~# yum install bzip2
Setting up Install Process
No package bzip2 available.
Nothing to do

So I ran the following code to see if it needed a update:

:~# yum -check-update
CRITICAL:yum.cli:Config Error: Error accessing file for config file:///root/heck-update

(I am assuming that the above should have looked like this file:///root/check-update)

So I ran a "apt-get remove yum" and then "apt-get install yum" again, but I still seem to get this error. I can not use yum at all. all of the guides for fixing this problem that I have seen tell you to:

cd /usr/local/lib
mv libcurl.so.4.2.0 /root/libcurl.so.4.2.0.moved
ln -s /usr/lib/libcurl.so libcurl.so.4.2.0

so on and so forth, but these three steps right here alone I can not get passed because the file is not there:
usr/local/lib# mv libcurl.so.4.2.0 /root/libcurl.so.4.2.0.moved
mv: cannot stat `libcurl.so.4.2.0': No such file or directory

Any, and or all help would be greatly appreciated.

Thanks in advance,
Cyfer Skyd

Last edited by Cyfer Skyd; 04-16-2012 at 12:15 AM.
 
Old 04-16-2012, 12:17 AM   #2
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
Backtrack is based on Ubuntu and therefore uses the APT package management system. Why do you try to run yum, a tool for the RPM system, on Backtrack?
 
1 members found this post helpful.
Old 04-16-2012, 12:35 AM   #3
Cyfer Skyd
LQ Newbie
 
Registered: Apr 2012
Posts: 6

Original Poster
Rep: Reputation: Disabled
I am an idiot

Quote:
Originally Posted by TobiSGD View Post
Backtrack is based on Ubuntu and therefore uses the APT package management system. Why do you try to run yum, a tool for the RPM system, on Backtrack?
Oh wow, I feel like an idiot for asking this question and I should.

Alright, so yeah yum is out of the picture.

I really need to compile a file:

compat-wireless-2.6.38-rc4-1.tar.bz2

So I can get my wireless card working with Backtrack

I tried using bunzip compat-wireless-2.6.38-rc4-1.tar.bz2 and it says it already has a .bz2 suffix

So I was looking at how to get bunzip and all I could find was

yum install bunzip

That is why I was trying to run yum like an idiot.
 
Old 04-16-2012, 12:40 AM   #4
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
Normally it is not necessary to install extra drivers in Backtrack. To help you installing an appropriate driver it would help to know which chipset your wireless device is using.
If it is an USB device please post the output of
Code:
lsusb
, if PCI/PCIe then please post the output of
Code:
lspci
 
1 members found this post helpful.
Old 04-16-2012, 12:44 AM   #5
Cyfer Skyd
LQ Newbie
 
Registered: Apr 2012
Posts: 6

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by TobiSGD View Post
Normally it is not necessary to install extra drivers in Backtrack. To help you installing an appropriate driver it would help to know which chipset your wireless device is using.
If it is an USB device please post the output of
Code:
lsusb
, if PCI/PCIe then please post the output of
Code:
lspci
:~# lspci
00:00.0 Host bridge: Advanced Micro Devices [AMD] RS780 Host Bridge Alternate
00:01.0 PCI bridge: Acer Incorporated [ALI] Device 9602
00:04.0 PCI bridge: Advanced Micro Devices [AMD] RS780 PCI to PCI bridge (PCIE port 0)
00:05.0 PCI bridge: Advanced Micro Devices [AMD] RS780 PCI to PCI bridge (PCIE port 1)
00:11.0 SATA controller: ATI Technologies Inc SB700/SB800 SATA Controller [AHCI mode]
00:12.0 USB Controller: ATI Technologies Inc SB700/SB800 USB OHCI0 Controller
00:12.2 USB Controller: ATI Technologies Inc SB700/SB800 USB EHCI Controller
00:13.0 USB Controller: ATI Technologies Inc SB700/SB800 USB OHCI0 Controller
00:13.2 USB Controller: ATI Technologies Inc SB700/SB800 USB EHCI Controller
00:14.0 SMBus: ATI Technologies Inc SBx00 SMBus Controller (rev 42)
00:14.2 Audio device: ATI Technologies Inc SBx00 Azalia (Intel HDA) (rev 40)
00:14.3 ISA bridge: ATI Technologies Inc SB700/SB800 LPC host controller (rev 40)
00:14.4 PCI bridge: ATI Technologies Inc SBx00 PCI to PCI Bridge (rev 40)
00:18.0 Host bridge: Advanced Micro Devices [AMD] K10 [Opteron, Athlon64, Sempron] HyperTransport Configuration
00:18.1 Host bridge: Advanced Micro Devices [AMD] K10 [Opteron, Athlon64, Sempron] Address Map
00:18.2 Host bridge: Advanced Micro Devices [AMD] K10 [Opteron, Athlon64, Sempron] DRAM Controller
00:18.3 Host bridge: Advanced Micro Devices [AMD] K10 [Opteron, Athlon64, Sempron] Miscellaneous Control
00:18.4 Host bridge: Advanced Micro Devices [AMD] K10 [Opteron, Athlon64, Sempron] Link Control
01:05.0 VGA compatible controller: ATI Technologies Inc M880G [Mobility Radeon HD 4200]
01:05.1 Audio device: ATI Technologies Inc RS880 Audio Device [Radeon HD 4200]
03:00.0 Ethernet controller: Broadcom Corporation NetLink BCM57780 Gigabit Ethernet PCIe (rev 01)
06:00.0 Network controller: Atheros Communications Inc. AR9287 Wireless Network Adapter (rev 01)



I know it is usually not necessary. I have read that a lot of the Ath9k wifi cards need patches and I think I have almost stressed every option. I am up for many more until I get it fixed though.
 
Old 04-16-2012, 12:53 AM   #6
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
The Atheros AR9287 should run out of the box in kernel 2.6.32 and newer. I don't know which kernel Backtrack 5R1 uses, but Backtrack 5R2 uses a 3.2.6 kernel. The chances that it will work after you upgrade your OS are very high.
 
1 members found this post helpful.
Old 04-16-2012, 01:04 AM   #7
Cyfer Skyd
LQ Newbie
 
Registered: Apr 2012
Posts: 6

Original Poster
Rep: Reputation: Disabled
These were my settings:

:~# uname -a
Linux bt 2.6.38 #1 SMP Thu Mar 17 20:52:18 EDT 2011 i686 GNU/Linux


I had an up to date kernel, but I am going to go ahead and run the code below and get back with the results, thanks for everything!

apt-get update

apt-get dist-upgrade
 
Old 04-16-2012, 01:25 AM   #8
Cyfer Skyd
LQ Newbie
 
Registered: Apr 2012
Posts: 6

Original Poster
Rep: Reputation: Disabled
Okay, I updated my os

:~# uname -a
Linux bt 3.2.6 #1 SMP Fri Feb 17 10:40:05 EST 2012 i686 GNU/Linux


now I can confirm that my wifi driver is working with the 3.2.6 Kernel!
(Which I have been searching for the last 3 days to fix my wireless driver because I thought the wireless driver would work on that Kernel according to Backtrack)

I can also confirm that my wifi driver does not work on the previous Kernel.

Thank you so much for your help!
 
  


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
Error while accessing tcl file jothi8 Linux - General 1 03-15-2012 08:19 AM
Make file error 127 ./config.status: No such file or directory przemekfilu Linux - Newbie 4 11-17-2010 02:06 AM
yum config error parsing file failed - yum won't run emuub Linux - Software 9 11-04-2008 05:48 AM
read-only file system error when editing a config file smallfrowne Linux - Newbie 5 02-19-2008 06:06 PM
Config Error: Error accessing config file: /etc/yum.conf dr_zayus69 Linux - Software 2 01-17-2006 05:20 PM

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

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