Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 05-01-2013, 09:50 AM   #1
LQ Newbie
Registered: Dec 2006
Posts: 3

Rep: Reputation: 0
links to files in /etc


I tried to update libflash and found an online reference that said to just replace in /etc with the new In the process of trying to do that I first was denied, then deleted (using sudo) from /etc and replaced it with the new

The problem, in retrospect, was that in /etc the file I deleted was NOT, it WAS with a green color.
So, I changed the a green color) to the new (without a green color). I think I am missing some sort of linking to other parts of the system.

I also had trouble shutting down the system. Finally had to resort to "shutdown -h -n" to kill most activities then the "off" button. Fortunately, it did boot up again.

I'm running Linux Mint Debian 13.

Any ideas regarding what I broke and how to fix it will be greatly appreciated.

Old 05-01-2013, 09:57 AM   #2
LQ Newbie
Registered: Jan 2010
Posts: 10

Rep: Reputation: 1
Hi, the best thing you could try is booting the machine from a live CD or DVD and then taking a snapshot of the output of the command:

ls -la /etc
It will be a long output but you should be able to cut/paste it to a text file and email it to yourself or drop it into the local file system on the machine if its possible to mount the hard drive (usually on the gnome desktop you can browse the machines hard drives using a file manager and that should auto-mount it for you). You should then be able to compare your live CD/DVD with your machine.

Interestingly enough Im running Ubuntu (10.04) and I know Mint is based on the same kernel, your /etc would be similar to mine I'd think. I have flash installed but I dont see any reference to it in /etc, heres my output

$ ls -la /etc/lib*
-rw-r--r-- 1 root root   20 2010-03-06 15:05 /etc/libao.conf

total 16
drwxr-xr-x   2 root root  4096 2010-03-06 20:22 .
drwxr-xr-x 174 root root 12288 2013-05-01 14:37 ..
Old 05-01-2013, 02:17 PM   #3
John VV
LQ Muse
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,401

Rep: Reputation: 2586Reputation: 2586Reputation: 2586Reputation: 2586Reputation: 2586Reputation: 2586Reputation: 2586Reputation: 2586Reputation: 2586Reputation: 2586Reputation: 2586
on almost all linux distros
the libflash in /etc is a LINK !!
it links to alternatives , then that link is linked to the libflash in /usr/lib/flash/??? or /usr/lib64/flash/???

it is a rather convoluted set up

my preferences for a 64 bit OS -- mine and others might disagree

if you are NOT using the flash in your distros repo
and this IS a 64 bit install !!!

there is a 32 bit flash wrapper in the /usr/lib folder
-- if you plan on using the 64 bit flash anf NOT the 32 bit flash
you can uninstall this wrapper
remove the links in alternatives
and use the adobe flash installer script
or manually copy/paste
Old 05-04-2013, 09:21 AM   #4
LQ Guru
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 9,078
Blog Entries: 4

Rep: Reputation: 3173Reputation: 3173Reputation: 3173Reputation: 3173Reputation: 3173Reputation: 3173Reputation: 3173Reputation: 3173Reputation: 3173Reputation: 3173Reputation: 3173
Also, understand what "a link" actually is.

In nearly every case, it a "symbolic link," which means that it actually consists of a tiny file with a file-name in it ... which Linux recognizes to be "a link." Therefore, when you open "a link," Linux at that moment reads the link and goes searching for the other file. (It will recurse a limited number of times before giving up, in case of a link loop link loop link loop link loop.)

The link, and its target, are two separate things. The mere presence of a link does not mean that the file being linked-to still exists, nor that you have access to it. If you rename or move the target file, links are not updated, nor is there any sort of "reference count."

Although terminal displays are often set up to use color-cues, always look for the lowercase "l" (el) in the ls display, which indicates a link.


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 On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Links to newest files starmonche Linux - General 3 02-06-2009 09:11 PM
How to filter files from https links spide21 Linux - Newbie 1 10-18-2008 04:29 PM
how to create jar files with symbolic links alps963 Linux - General 1 05-03-2008 07:30 AM
Unziped or Untared Files Have Hard Links? juanbobo Linux - General 1 06-17-2006 03:22 AM
CGI perl links to files in Dir ocularbob Programming 3 04-29-2003 09:40 AM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 07:54 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration