Finding Configuration Files.

Using package manager to remove configuration files while uninstalling a software is easy but how to find and remove configuration files of software that you install from external sources? suppose i compiled from source of installed an external package, how to find and remove those configuration files that these programs created?


Similar Content



Help Move & Sumo

I run Move, I did set Node, Edge, Configuration ==>> 3 file (.nod.xml .edg.xml .netc.cfg) but when i set Create Map is have a problem:

Quote:
Loading configuration...
Warning: Please note that 'xml-node-files' is deprecated.
Use 'node-files' instead.
Warning: Please note that 'xml-edge-files' is deprecated.
Use 'edge-files' instead.
Error: No option with the name 'type' exists.
Warning: Please note that 'lanenumber' is deprecated.
Use 'default.lanenumber' instead.
Warning: Please note that 'speed' is deprecated.
Use 'default.speed' instead.
Warning: Please note that 'priority' is deprecated.
Use 'default.priority' instead.
Warning: Please note that 'remove-geometry' is deprecated.
Use 'geometry.remove' instead.
Warning: Please note that 'remove-isolated' is deprecated.
Use 'remove-edges.isolated' instead.
Error: Could not load configuration '/home/huynhloc/Move/Simulation/map.netc.cfg'.
Quitting (on error).
Loading configuration...
Warning: Please note that 'xml-node-files' is deprecated.
Use 'node-files' instead.
Warning: Please note that 'xml-edge-files' is deprecated.
Use 'edge-files' instead.
Error: No option with the name 'type' exists.
Warning: Please note that 'lanenumber' is deprecated.
Use 'default.lanenumber' instead.
Warning: Please note that 'speed' is deprecated.
Use 'default.speed' instead.
Warning: Please note that 'priority' is deprecated.
Use 'default.priority' instead.
Warning: Please note that 'remove-geometry' is deprecated.
Use 'geometry.remove' instead.
Warning: Please note that 'remove-isolated' is deprecated.
Use 'remove-edges.isolated' instead.
Error: Could not load configuration '/home/huynhloc/Move/Simulation/map.netc.cfg'.
Quitting (on error).
Loading configuration...
This is file Configuration of me: map.netc.cfg
Code:
<configuration>

    <input>
       <xml-node-files value="/home/huynhloc/Move/Simulation/node.nod.xml"/>
       <xml-edge-files value="/home/huynhloc/Move/Simulation/edge.edg.xml"/>
       <xml-connection-files value=""/>
       <xml-type-files value=""/>
    </input>

    <output>
       <output-file value="/home/huynhloc/Move/Simulation/map.net.xml"/>
    </output>

    <defaults>
       <type value="Unknown"/>
       <lanenumber value="2"/>
       <speed value="40"/>
       <priority value="75"/>
       <capacity-norm value=""/>
    </defaults>

    <reports>
       <print-options value="false"/>
    </reports>

    <processing>
       <speed-in-kmh value="false"/>
       <no-turnarounds value="false"/>
       <remove-geometry value="false"/>
       <remove-isolated value="false"/>
    </processing>

</configuration>

I use ubuntu 14.04, version of sumo 0.12.3, please help me.

Installing New Software

I am about to attempt my first software installation - upgrading my LibreOffice package to the latest version. Since all my software came preloaded with my computer I have not been involved in this exercise previously.

I realize how irritating newbies can be, by asking questions that have already been answered in other threads, so I have read the post offering basic software installation instructions, together with anything else that seemed relevant. Then I got the installation instructions from the LibreOffice website. When I compared these with the LQ version it was difficult to find much in common, so what do I do? I am inclined to follow the LibreOffice instructions. Apart from anything else, they are simpler. However, I notice reference to a 'desktop-integration' folder in the latter. I do not appear to have such a folder in my present system. Can I assume that it will be created as part of the installation of the updated package?

I am happy to experiment but one thing that terrifies me is the instruction to purge my existing version of LibreOffice before installing the latest one. I do not question the logic of so doing, it being pointed out that otherwise I will finish up with both new and old versions. The worry is that, if I remove the old version and am then unable to successfully install the new one, I will have well and truly 'burned my boats behind me'- and I have only just got the spell checker to work in the old version!

I have so far managed to download the .tar.gz file and extract the installation folder and associated files from it. I realise that the latter could well be lost when purging the existing LibreOffice installation but that does not matter. I have slightly renamed the .tar.gz file so that the purge command will not find it. I can then quickly re-extract the installation folder, with its .deb files, if I need to, the extraction process yielding exactly the same files whatever the .tar.gz file name.

I am just about ready to jump but I would like a handle on the 'desktop-integration' file, or folder, before I do.

Slime Will Not Load In Emacs

Thanks for any help
Cliff

This is new for me changed hard drives installed Ubuntu 14.10.
It used to work well, I have used Emacs since Ubuntu 8.04

Slime is looking for cl-asdf 3.1? Ubuntu loads 3.o?
I have deleted Emacs and cl-asdf and Slime from the computer thru Synaptic Package Manager and then re-enstalled each.

This is what Emacs is looking for

(progn (load "/usr/share/common-lisp/source/slime/swank-loader.lisp" :verbose t) (funcall (read-from-string "swank-loader:init")) (funcall (read-from-string "swank:start-server") "/tmp/slime.31806"))

This is SBCL 1.2.3.debian, an implementation of ANSI Common Lisp.
More information about SBCL is available at <http://www.sbcl.org/>.

SBCL is free software, provided as is, with absolutely no warranty.
It is mostly in the public domain; some portions are provided under
BSD-style licenses. See the CREDITS and COPYING files in the
distribution for more information.
*
; loading #P"/usr/share/common-lisp/source/slime/swank-loader.lisp"

; file: /usr/share/common-lisp/source/slime/swank-sbcl.lisp
; in: EVAL-WHEN (:COMPILE-TOPLEVEL :LOAD-TOPLEVEL :EXECUTE)
; (REQUIRE 'SWANK-BACKEND::SB-BSD-SOCKETS)
;
; caught WARNING:
; You are using ASDF version 3.1.3 (probably from (require "asdf") or loaded by
; quicklisp) and have an older version of ASDF 3.0.3 registered at
; #P"/usr/share/common-lisp/source/cl-asdf/asdf.asd". Having an ASDF installed
; and registered is the normal way of configuring ASDF to upgrade itself, and
; having an old version registered is a configuration error. ASDF will ignore
; this configured system rather than downgrade itself. In the future, you may
; want to either: (a) upgrade this configured ASDF to a newer version, (b)
; install a newer ASDF and register it in front of the former in your
; configuration, or (c) uninstall or unregister this and any other old version of
; ASDF from your configuration. Note that the older ASDF might be registered
; implicitly through configuration inherited from your system installation, in
; which case you might have to specify :ignore-inherited-configuration in your in
; your ~/.config/common-lisp/source-registry.conf or other source-registry
; configuration file, environment variable or lisp parameter. Indeed, a likely
; offender is an obsolete version of the cl-asdf debian or ubuntu package, that
; you might want to upgrade (if a recent enough version is available) or else
; remove altogether (since most implementations ship with a recent asdf); if you
; lack the system administration rights to upgrade or remove this package, then
; you might indeed want to either install and register a more recent version, or
; use :ignore-inherited-configuration to avoid registering the old one. Please
; consult ASDF documentation and/or experts.
;

; in: DEFIMPLEMENTATION FRAME-CALL
; (PPRINT-LOGICAL-BLOCK (STREAM NIL :PREFIX "(" :SUFFIX ")")
; (LET ((*PRINT-LENGTH* NIL) (*PRINT-LEVEL* NIL))
; (PRIN1 (SB-DEBUG::ENSURE-PRINTABLE-OBJECT SWANK-BACKEND::NAME) STREAM))
; (LET ((SWANK-BACKEND::ARGS
; (SB-DEBUG::ENSURE-PRINTABLE-OBJECT SWANK-BACKEND::ARGS)))
; (IF (LISTP SWANK-BACKEND::ARGS)
; (FORMAT STREAM "~{ ~_~S~}" SWANK-BACKEND::ARGS)
; (FORMAT STREAM " ~S" SWANK-BACKEND::ARGS))))
; --> LET LET SB-PRETTY::WITH-PRETTY-STREAM FLET LET IF
; --> #:WITH-PRETTY-STREAM1961
; ==>
; STREAM
;
; note: deleting unreachable code

;
; caught ERROR:
; READ error during COMPILE-FILE:
;
; Symbol "CODE-TRACE-TABLE-OFFSET-SLOT" not found in the SB-VM package.
;
; Line: 1507, Column: 70, File-Position: 60197
;
; Stream: #<SB-SYS:FD-STREAM
; for "file /usr/share/common-lisp/source/slime/swank-sbcl.lisp"
; {1005E387B3}>
;
; compilation unit aborted
; caught 1 fatal ERROR condition
; caught 1 ERROR condition
; caught 1 WARNING condition
; printed 1 note
;;
;; Error while compiling /usr/share/common-lisp/source/slime/swank-sbcl.lisp:
;; COMPILE-FILE returned NIL.
;; Aborting.
;; *

Remove Rsync Partially Transfered Files

Is there an easy way to remove partially transfered files of rsync? I don't want to resume the transfer any more.

I'm currently trying to locate them through Code:
find ./ -name ".*.?????"

I Installed An External Hard Drive Using Gparted. I Cannot Move Files To The External

Hello.

I have checked the other threads and either I have missed my answer or did not understand that it was the answer. I apologise in advance if I am being a repeater:

The Problem: I am running 17 mint. I installed a toshiba external Hard Drive using Gparted- Fast and easy, BUT, somehow I installed the external as root, I cannot move files to the external because I am not root? Under permissions it states that the Owner Cannot Be Determined.
Any help would be great.

Have a great night, morning or afternoon!

Understanding Configuration Files Better

Hey, I'm aware that /etc/ stores config files and in my home directory I also have dot files as well as a .config folder.

And I'm told not to edit /etc/ but create a copy in my home directory to preserve original files. Is it as simple as creating the full path the same as /etc/ and editing it in home folder?

Ideally this is how I hope it works, because I don't want to edit /etc/ and end up with a bunch of custom, non default files.

Generating /boot/initrd.img-3.13.0-53-generic Was Interrupted Before It Could Finish

Just did an update via terminal:

Calculating upgrade... Done
The following packages were automatically installed and are no longer required:
linux-headers-3.13.0-49 linux-headers-3.13.0-49-generic
linux-image-3.13.0-49-generic linux-image-extra-3.13.0-49-generic
Use 'apt-get autoremove' to remove them.
The following NEW packages will be installed:
fglrx-core linux-headers-3.13.0-53 linux-headers-3.13.0-53-generic
linux-image-3.13.0-53-generic linux-image-extra-3.13.0-53-generic
The following packages will be upgraded:
accountsservice apport apport-gtk fglrx fglrx-amdcccle fuse
libaccountsservice0 libfuse2 liboxideqt-qmlplugin liboxideqtcore0
liboxideqtquick0 libspice-server1 linux-firmware linux-headers-generic
linux-image-generic linux-libc-dev oxideqt-codecs-extra python3-apport
python3-problem-report
19 upgraded, 5 newly installed, 0 to remove and 0 not upgraded.
Need to get 227 MB of archives.
After this operation, 490 MB of additional disk space will be used.
Do you want to continue? [Y/n] Y

It downloaded and unpacked files, everything was automated until it asked for my input before replacing the following files:
I backed them up then chose to replace them:

DKMS: install completed.
update-initramfs: deferring update (trigger activated)
Setting up fglrx (2:15.200-0ubuntu0.3) ...

Configuration file '/etc/ati/amdpcsdb.default'
==> File on system created by you or by a script.
==> File also in package provided by package maintainer.
What would you like to do about it ? Your options a
Y or I : install the package maintainer's version
N or O : keep your currently-installed version
D : show the differences between the versions
Z : start a shell to examine the situation
The default action is to keep your current version.
*** amdpcsdb.default (Y/I/N/O/D/Z) [default=N] ? Y
Installing new version of config file /etc/ati/amdpcsdb.default ...

Configuration file '/etc/ati/atiapfxx'
==> File on system created by you or by a script.
==> File also in package provided by package maintainer.
What would you like to do about it ? Your options a
Y or I : install the package maintainer's version
N or O : keep your currently-installed version
D : show the differences between the versions
Z : start a shell to examine the situation
The default action is to keep your current version.
*** atiapfxx (Y/I/N/O/D/Z) [default=N] ? Y
Installing new version of config file /etc/ati/atiapfxx ...

Configuration file '/etc/ati/control'
==> File on system created by you or by a script.
==> File also in package provided by package maintainer.
What would you like to do about it ? Your options a
Y or I : install the package maintainer's version
N or O : keep your currently-installed version
D : show the differences between the versions
Z : start a shell to examine the situation
The default action is to keep your current version.
*** control (Y/I/N/O/D/Z) [default=N] ? ^[Y

Configuration file '/etc/ati/control'
==> File on system created by you or by a script.
==> File also in package provided by package maintainer.
What would you like to do about it ? Your options a
Y or I : install the package maintainer's version
N or O : keep your currently-installed version
D : show the differences between the versions
Z : start a shell to examine the situation
The default action is to keep your current version.
*** control (Y/I/N/O/D/Z) [default=N] ? Y
Installing new version of config file /etc/ati/control ...

Configuration file '/etc/ati/signature'
==> File on system created by you or by a script.
==> File also in package provided by package maintainer.
What would you like to do about it ? Your options a
Y or I : install the package maintainer's version
N or O : keep your currently-installed version
D : show the differences between the versions
Z : start a shell to examine the situation
The default action is to keep your current version.
*** signature (Y/I/N/O/D/Z) [default=N] ? Y
Installing new version of config file /etc/ati/signature ...

Configuration file '/etc/ati/atiapfxx.log'
==> File on system created by you or by a script.
==> File also in package provided by package maintainer.
What would you like to do about it ? Your options a
Y or I : install the package maintainer's version
N or O : keep your currently-installed version
D : show the differences between the versions
Z : start a shell to examine the situation
The default action is to keep your current version.
*** atiapfxx.log (Y/I/N/O/D/Z) [default=N] ? Y
Installing new version of config file /etc/ati/atiapfxx.log ...

Configuration file '/etc/ati/atiapfxx.blb'
==> File on system created by you or by a script.
==> File also in package provided by package maintainer.
What would you like to do about it ? Your options a
Y or I : install the package maintainer's version
N or O : keep your currently-installed version
D : show the differences between the versions
Z : start a shell to examine the situation
The default action is to keep your current version.
*** atiapfxx.blb (Y/I/N/O/D/Z) [default=N] ? Y
Installing new version of config file /etc/ati/atiapfxx.blb ...
Creating backups for the fglrx-core transition
update-alternatives: warning: forcing reinstallation of alternative /usr/lib/fglrx/ld.so.conf because link group x86_64-linux-gnu_gl_conf is broken
Restoring backups for the fglrx-core transition
Setting up fglrx-amdcccle (2:15.200-0ubuntu0.3) ...
Setting up linux-firmware (1.127.12) ...
Setting up linux-headers-3.13.0-53 (3.13.0-53.89) ...
Setting up linux-headers-3.13.0-53-generic (3.13.0-53.89) ...
Examining /etc/kernel/header_postinst.d.
run-parts: executing /etc/kernel/header_postinst.d/dkms 3.13.0-53-generic /boot/vmlinuz-3.13.0-53-generic

Good news! Module version for fglrx.ko
exactly matches what is already found in kernel 3.13.0-53-generic.
DKMS will not replace this module.
You may override by specifying --force.
Setting up linux-headers-generic (3.13.0.53.60) ...
Setting up linux-image-extra-3.13.0-53-generic (3.13.0-53.89) ...
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 3.13.0-53-generic /boot/vmlinuz-3.13.0-53-generic
run-parts: executing /etc/kernel/postinst.d/dkms 3.13.0-53-generic /boot/vmlinuz-3.13.0-53-generic
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.13.0-53-generic /boot/vmlinuz-3.13.0-53-generic
update-initramfs: Generating /boot/initrd.img-3.13.0-53-generic
run-parts: executing /etc/kernel/postinst.d/pm-utils 3.13.0-53-generic /boot/vmlinuz-3.13.0-53-generic
run-parts: executing /etc/kernel/postinst.d/update-notifier 3.13.0-53-generic /boot/vmlinuz-3.13.0-53-generic
run-parts: executing /etc/kernel/postinst.d/zz-update-grub 3.13.0-53-generic /boot/vmlinuz-3.13.0-53-generic
Generating grub configuration file ...
Found theme: /boot/grub/themes/Zorin/theme.txt
Found linux image: /boot/vmlinuz-3.13.0-53-generic
Found initrd image: /boot/initrd.img-3.13.0-53-generic
Found linux image: /boot/vmlinuz-3.13.0-52-generic
Found initrd image: /boot/initrd.img-3.13.0-52-generic
Found linux image: /boot/vmlinuz-3.13.0-51-generic
Found initrd image: /boot/initrd.img-3.13.0-51-generic
Found linux image: /boot/vmlinuz-3.13.0-49-generic
Found initrd image: /boot/initrd.img-3.13.0-49-generic
Found linux image: /boot/vmlinuz-3.13.0-48-generic
Found initrd image: /boot/initrd.img-3.13.0-48-generic
Found linux image: /boot/vmlinuz-3.13.0-46-generic
Found initrd image: /boot/initrd.img-3.13.0-46-generic
Found memtest86+ image: /boot/memtest86+.elf
Found memtest86+ image: /boot/memtest86+.bin
No volume groups found
Found Windows XP Professional x64 Edition on /dev/sda1
done
Setting up linux-image-generic (3.13.0.53.60) ...
Setting up oxideqt-codecs-extra:amd64 (1.7.8-0ubuntu0.14.04.1) ...
Setting up liboxideqtcore0:amd64 (1.7.8-0ubuntu0.14.04.1) ...
Setting up liboxideqtquick0:amd64 (1.7.8-0ubuntu0.14.04.1) ...
Setting up liboxideqt-qmlplugin:amd64 (1.7.8-0ubuntu0.14.04.1) ...
Processing triggers for libc-bin (2.19-0ubuntu6.6) ...
Processing triggers for initramfs-tools (0.103ubuntu4.2) ...
update-initramfs: Generating /boot/initrd.img-3.13.0-53-generic
W: Operation was interrupted before it could finish

Finally the error in red immediately above pops up.
I searched the net and found a site with an article dated back in 2010 that said to fix the error before rebooting or I'd probably not be able to boot to Linux.
Which I'm doing right now, I've not yet rebooted.

How should I recover from such an error before I reboot.

The site had several solutions depending upon other variables, one of which was to delete and/or re-run something. But none of the solutions seemed to fit my case.

I'm running the Zorin OS 9 Theme on top of Ubuntu 14.04 LTS, an AMD PhenomII 64bit 4 core processor on an ASUS MB. The video card is also an AMD/ATI, hence the need for the fglrx drivers listed above.

I'm not sure if the overwriting of the ATI/AMD driver config files shown above are responsible for the error or not. I did nothing that I was aware of that might have caused it, except close another instance of terminal that was runnning, and a libre office writer window.

Any ideas on how to solve this before I reboot would be greatly appreciated.

TIA

Reinstall Linuxmint Rebecca 17.1 Without Losing Personal Data, When There Is No Bckup

Hi,
I'm very new at this. This is probably to long. This is the first time I've posted a question in a forum like this. Don't know yet how to state this kind of problem concisely.
-The problem: my Linuxmint Rebecca 17.1 won't boot up. I believe I deleted an essential file from the OS and need to reinstall Rebecca. But, here's the big thing I feel desperate about. I need to do this (reinstall) without destroying (overwriting, erasing or such) all my data, and thus losing all my research and writing project files, audios and so on, my life.
-From my newbie view, very incomplete view,, here's what I think I was doing just before the catastrophe.
-I got a dialog box telling me I had twenty packages that were broken.
-I tried several things involving the update manager, which I can't remember now, to resolve the broken package thing.
-I kept getting a dialog box asking me, in effect, if I wanted to remove these broken packages, which I thought I should probably do.
However, one of these broken packages/files was labeled as an 'essential file.' And, the dialog box asked, in effect: "Are you sure you want to remove this essential file?"
Well no, of course, I didn't want to remove an essential file, so I spent an hour or so trying to get that 'essential file' off that broken package list. I couldn't find a way to do it.
Finally, super frustrated, I went ahead and removed all the broken packages, and along with those, the 'essential' file. (this was the mistake, a huge mistake on my part).
-And ta da. No more Rebecca. I exhausted every approach I know to reboot, but it wasn't going to happen. Quess the 'essential' file I removed was 'essential.' :-).
-I put Rebecca on a USB. Finally got the BIOS to boot up the Rebecca USB. So, I can run Rebecca from the USB. It looks like I could install her again on my desktop from this point. But, I don't dare, without knowing how to do so without further shooting myself in the foot.
Any direction? I would be so grateful if there was. Thanks

How To Delete Number Of Files

I'm trying to figure out if find could do this. I have a folder with 1000 files. I want to delete 150 files on that folder regardless of timestamp and filename. Is there a tool, command or option on find that could do this, please let me know.

Combining mtime or ctime to find is not advisable since it will not count the files or even if there are matches, I would still need to sum up the files until I reach 150 files.

Any suggestions?

Removing Files Starting With Dot

Hello,

I would like to remove those files:

MyDir/boo.tmp
MyDir/.zip.tmp

rm MyDir/*.tmp removes only boo.tmp but not .zip.tmp (No such file or directory).

I want to be able to remove any file that finishes with the .tmp extension even if the filename starts with . something.tmp

Thanks for your help :}