09-09-2011
If you don't have backup, might worth to give a try to use a rescue CD to either
- have a minimal working system, mount disk and possibly backup data offline, or
- re-install the whole system (lib .so etc.)
That won't be fun anyway,
/Lew
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
I've got a strange one. As root, in aptitude, I'll do an update successfully. Then I do an upgrade, the files download, the progress bar will not show total progress, just progress per file, then reset to 0% for the next file. When the files complete downloading, I hit a carrige return to go to... (1 Reply)
Discussion started by: mikek147
1 Replies
2. Shell Programming and Scripting
I have a script that reads from a file and deletes all files in tha path specified in the file.The problem,however, is the script also deletes itself from the home directory where I run it :-(
#!/bin/ksh
while read DAYS PURGE_PATH
do
cd $PURGE_PATH
find . \( -type d ! -name . -prune \)... (5 Replies)
Discussion started by: kayarsenal
5 Replies
3. UNIX for Advanced & Expert Users
Hi all I dont know if this is right place but I saw somewhere dd tutorial so I decidet to write a little tutorial about debian package manager. I hope this will clear some misundersands about it, maybe somewher i will be wrong or somebody could explain it better so any comments are welcomed.
Many... (3 Replies)
Discussion started by: wakatana
3 Replies
4. UNIX for Advanced & Expert Users
I have the simple gawk script below. When the script runs in the output of all the ITM lines the FS is replaced with a space, the Non ITM lines retain the | field separator.
The ITM lines have many fields and I can't insert "|" between each field because some of the fields are blank.
Is... (1 Reply)
Discussion started by: paulr211
1 Replies
5. UNIX for Dummies Questions & Answers
Hi,
=============
In one of my config files, I have below command
eval echo RECORDDELIMITER '\n'
The above command results in removing backslash and outputs:
RECORDDELIMITER n
=============
Any workaround to retain the backslash after eval.
Appreciated for your... (10 Replies)
Discussion started by: axes
10 Replies
6. Slackware
Hi!
Let me introduce a project for find and download Slackware packages and browse Slackware repositories.
The site provides following features:
* Large, daily updated database with RPM, DEB, TGZ, TXZ packages for well-known repositories of the Slackware, Fedora, CentOS, RHEL, Debian,... (2 Replies)
Discussion started by: lystor
2 Replies
7. UNIX for Advanced & Expert Users
hello,
is it a behavior of or
that "-i" removes unix link .
example :
i create a file "src_file" and link it to "link_file" and then i start "perl -i"
the link is removed. does another option exists to change content of a file without temporary files ?
UNIX-Version: HP-UX and... (2 Replies)
Discussion started by: bora99
2 Replies
8. Shell Programming and Scripting
Hi all,
Hoping someone hoping someone might be able to help. i've got the following sed command which i'm using in a bash script that i'm trying to use to insert a new line into an already existing file so i don't have to manually enter it when setting stuff up. the existing script test2/3 are... (3 Replies)
Discussion started by: springs2
3 Replies
9. UNIX for Dummies Questions & Answers
Code :
echo "1,2,3,4"|awk -F "," 'NR==n{$3=a}1' n=1 a=45
Output :
1 2 45 4
Expected :
1,2,45,4 (4 Replies)
Discussion started by: Rajesh_us
4 Replies
10. Shell Programming and Scripting
datafile:
blah,blah,blah,blah,blah,blah,blah,blah,blah=0_nblah=0-- ,blah,blah,blah
im using the following command to turn the "_n" and "-- " to just a space " " only in the $9th field. meaning, it has to make the changes only in the 9th column/field of the datafile.
awk -F, '{... (1 Reply)
Discussion started by: SkySmart
1 Replies
LEARN ABOUT DEBIAN
germinate-pkg-diff
GERMINATE-PKG-DIFF(1) Ubuntu General Commands Manual GERMINATE-PKG-DIFF(1)
NAME
germinate-pkg-diff -- compare seeds against currently installed packages
SYNOPSIS
germinate-pkg-diff [-l file] [-m {i|r|d}] [-a arch] [seeds]
DESCRIPTION
germinate-pkg-diff compares the expansion of a list of seed packages against the set of packages installed on the current system. When con-
structing seeds for a software distribution, it can be used to iteratively find packages installed on developers' systems that should be
included in the seeds.
A list of seeds against which to compare may be supplied as non-option arguments. Seeds from which they inherit will be added automatically.
The default is 'desktop'.
OPTIONS
-l, --list file
Read the list of currently installed packages from file. The default is to read the output of dpkg --get-selections, and any supplied
file should be in the same format.
-m, --mode {i|r|d}
Set the output mode as follows:
i Show the dpkg selections needed to install just these seeds. List unseeded but installed files as ``deinstall'', and seeded but
uninstalled files as ``install''.
r List unseeded but installed files as ``install'', and seeded but uninstalled files as ``deinstall''.
d Show the differences between the packages specified by the seeds and the list of installed packages, in a somewhat diff-like for-
mat.
-S, --seed-source source,...
Fetch seeds from the specified sources. The default is http://people.canonical.com/~ubuntu-archive/seeds/.
-s, --seed-dist dist
Fetch seeds for distribution dist. The default is ubuntu.precise.
-d, --dist dist,...
Operate on the specified distributions. The default is precise. Listing multiple distributions may be useful, for example, when exam-
ining both a released distribution and its security updates.
-a, --arch arch
Operate on architecture arch. The default is i386.
BUGS
--mode r is useless as dpkg --set-selections input.
AUTHORS
Lamont Jones <lamont@ubuntu.com>
Colin Watson <cjwatson@canonical.com>
germinate-pkg-diff is copyright (C) 2004, 2005, 2006, 2007, 2008 Canonical Ltd. See the GNU General Public License version 2 or later for
copying conditions. A copy of the GNU General Public License is available in /usr/share/common-licenses/GPL.
Ubuntu Jul 18, 2007 Ubuntu