Re: scrolling trough the argument of a command

2003-01-29 Thread Ulf Rompe
Pierre Burri <[EMAIL PROTECTED]> writes:

> with another flavour of linux, I can scroll trough the argument of
> bash command with  instead of scrolling the whole commands
> (with Arrow Up) saved in the history.

Put this into your /etc/inputrc or ~/.inputrc :

# PgUp/Down searches history in bash
"\e[5~":history-search-backward
"\e[6~":history-search-forward


[x] ulf

-- 
Der Computer ist die logische Weiterentwicklung des Menschen:
Intelligenz ohne Moral.  (John Osborne)


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: find a command i have recently used in bash

2003-01-31 Thread Ulf Rompe
[EMAIL PROTECTED] writes:

> tcsh has a far more elegant (tm) approach to the problem. Typing
> "ls" (or META-P) will get you only all the commands that
> begin with "ls" (eliminating such oddities as "echo lst.txt"). If
> somebody knows the precise bash equivalent of this, let me
> know.

As I wrote yesterday you can define keys for "history-search-backward"
and "history-search-forward". A good placement for these commands are
the PgUp/PgDown keys since M-p is already defined per default. Put
this into your /etc/inputrc or ~/.inputrc :

# PgUp/Down searches history in bash
"\e[5~":history-search-backward
"\e[6~":history-search-forward

If you really want M-p a the key to search bachward, you would have to
write this:

"\ep":  history-search-backward

For a list of available readline commands look into the bash manpage.
To see what a key combination ends up as, type C-v (that's Ctrl V)
followed by the key combination. Just translate a leading "^[" of your
key combinations into "\e" in your inputrc.

As an example, another useful (for me) addition to the inputrc is
this one: 

# Ctrl-Left/Right jumps wordwise on cmd line
"\e[D": backward-word
"\e[C": forward-word

This redefines the commands normally known as M-b / M-f to more
intuitive key strokes.

[x] ulf

-- 
A bus station is where a bus stops. A train station is where
a train stops. On my desk, I have a work station...


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: Alternatives To NFS?

2002-09-20 Thread Ulf Rompe

"Charlie Grosvenor" <[EMAIL PROTECTED]> writes:

> Is there any alternative to NFS that I can use to mount my home
> directory on my server?

If you have enough space on your client machines there are always the
distributed filesystems: OpenAFS, CODA, Inter-Mezzo. They keep your
filesystem on both ends of the mount.

If you need something centralized like NFS you can use Samba instead
of an NFS server and mount the homes via SMB.

The better way would of course be to locate your special problem with
NFS (did you try restricting NFS to version 2 or version 3?) rather
than avoiding NFS completely.

BTW: I remember that I had NFS lockups everytime I transferred huge
files (several 100 Megabytes) between two machines with cheap network
adaptors. Changing these adaptors to other (but also cheap) cards
solved the problem.

[x] ulf

-- 
Sicher können Maschinen Probleme lösen, Informationen speichern, kombinieren
und Spiele spielen - aber es macht ihnen keinen Spaß!  (Leo Rosten)



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: filename completion with nfs

2001-07-10 Thread Ulf Rompe
Richard Froehning <[EMAIL PROTECTED]> writes:

> I have troubles using filename completion on nfs-mounted filesystems
> with woody. It generally works. But it seems some dirs are not
> seen... . The directories are working and I can use them. But a cd
> (with using TAB with bash) does not work.

Maybe the NFS server is an SGI or similar and with TAB you see
everything except exactly the last directory entry?

If your answer is yes then your problem is the relatively new function
getdents64(). It occures not only within the bash but also in mc,
every Gnome program, etc. There is a special parameter for compiling
packages in a way that they are able to handle the high directory
indexes (I think that's the key problem) that are given by some NFS
servers. It don't do any harm to the packages. Bad thing is I forgot
which parameter it was - but if this is your problem I will recall it.

I tried compiling programs using the above parameter and it worked,
but since it's no fun to recompile a whole installation I simply
stick with kernel 2.2 on the production hosts.

[x] ulf

-- 
"Well, let's just say, 'if your VCR is still blinking 12:00, you don't
want Linux'".  (Bruce Perens)



Re: apache 1.3.9/stable

2001-07-18 Thread Ulf Rompe
Jens Gecius <[EMAIL PROTECTED]> writes:

> does anybody have a clue regarding user-authorization in
> apache-stable?

I would do everything for a look into your Bilderalbum. ;-)

> I'm trying pretty hard to get it to work on my box, but it just
> doesn't work. Not with access.conf entries nor with .htaccess files.

Did you set AllowOverride to allow this from .htaccess files? For
access.conf, my first guess would be another conflicting 
or  section for the said directory floating around in your
apache configuration.

> AuthName "Bilderalbum"
> AuthType Basic
> AuthUserFile /etc/apache/htpasswd
> require valid-user
> 
> Of course, the entries in htpasswd are generated using htpasswd.

You should nevertheless check the contents of /etc/apache/htpasswd,
there has to be a line starting with "xxx:" (I would really like to
know which kind of pix you have for a user called "xxx").

To check if the above statement is effective you can temporarily
replace it by this one:

Order deny,allow
Deny from all
Allow from localhost

Then give it a try with `lynx --dump http://localhost/...` and check
your logs again.

[x] ulf

-- 
Rome did not create a great empire by having meetings,
they did it by killing all those who opposed them.



Re: Backup of debian

2002-02-13 Thread Ulf Rompe
Al Nikolov <[EMAIL PROTECTED]> writes:

>> So, I thought to take the information about the running system from
>> the file /var/lib/dpkg/status, and just backing up those files
>> deviating from the packages default-configs (the full files, no
>> diffs). Additionally, /home gets backed up, perhaps some
>> exclusions,
>
> IMHO, the debian policy permits a simplest option: just do a backup
> of /etc with following symlinks.

This *should* be OK. But to be shure I would go one step further.


# Backing up config files:

cat /var/lib/dpkg/info/*.conffiles | xargs tar czf /backup/config.tgz


# Backing up all files *not* included in debian packages:

cat /var/lib/dpkg/info/*.list | sort >/tmp/tmplist.debian
find / -xdev -type f | sort >/tmp/tmplist.reallife
comm -13 /tmp/tmplist.debian /tmp/tmplist.reallife | \
 xargs tar czf /backup/additions.tgz


# Backing up all packaged but changed files:

cd /
cat /var/lib/dpkg/info/*.md5sums | \
LANG=en_US md5sum -c 2>&1 | cut -d\' -f2 | \
xargs tar czf /backup/changed.tgz


The above commands are just written thoughts. I havn't actually tested
them, so maybe one have to fiddle a bit to get them working. For
example, the "find" call in the second part needs to be modified to
include the desired filesystems.

To be concrete, chances are high that you will destroy your computer
and kill your relatives by running the above commands. You have been
warned.

Hey Jens, won't you like to test this script and tell me about your
results? ;-)

[x] ulf

-- 
Der Mensch ist immer noch der beste Computer. (John F. Kennedy)



Re: Passwordless connection to ssh-nonfree 1.2.27

2002-02-26 Thread Ulf Rompe
Noah Meyerhans <[EMAIL PROTECTED]> writes:

> Creating an SSH key with a blank passphrase is *absolutely* the
> wrong way to go about this. Yes, it will work, but if anybody ever
> manages to get their hands on the private key, they've got access to
> your account on the remote machine.
>
> Passphrase protected keys can still be used for passwordless
> authentication. Please read the docs on ssh-agent and ssh-add.

This works for interactive use. But it doesn't fit the needs of cron
jobs. OK, you *can* use ssh-agent withing cron jobs, but you give up
more security than you gain using such a hack.

So if you need an ssh connection within a cron job using a blank
passphrase is absolutely the right way. *But* you should be careful
regarding some points:

1. Whenever possible use a separate sandbox user on the remote site
   for these jobs. If someone steals your key he will get full access
   to this user and nothing else.

2. If you use this connection from one or a few source hosts only, use
   the option "from=" in the authorized_keys file on the remote host.
   This will restrict access to this user to connections originating
   from the sources defined here.

3. If you run one or a few commands only on the remote host, use the
   option "command=" in the authorized_keys file on the remote host.
   If this option is given the value will be the only command executed
   on login, also if you try to give a command on the ssh command
   line. If you need more than one command on the remote host you have
   to use multiple keys, one for each command. Or just write a shell
   script containing all commands and use that as a command.

A combination of all these methods should give you reasonable
security for giving remote access to cron jobs.

[x] ulf

-- 
Rome did not create a great empire by having meetings,
they did it by killing all those who opposed them.



Re: Help!!! undelete for ext3fs!!!

2002-03-01 Thread Ulf Rompe
Sebastiaan <[EMAIL PROTECTED]> writes:

>> Is there any way to undelete in ext3fs?

I'm not shure if this works but I would give the normale "recover" for
ext2 a try. Before using it you should umount the partition. And in
the meantime you should use the partition read-only to get a chance
that the deleted inodes aren't assigned to new files.

> You can setup some kind of Trashcan yourself. Make a directory on your
> system somewhere and make an alias for rm:
> alias rm = 'mv ? /tmp/Trashcan'

alias rm = 'mv --backup=numbered --target-directory=/tmp/Trashcan'

If you want to use a parameter within aliases, you have to use
functions instead:

function rm { mv $* /tmp/Trashcan }

Obviously, all this only works in Bourne Shell derivates like bash.

> If you are on a multiuser system, you definitely have to write a
> script, which moves the deleted files into subdirs in the Trashcan
> which are unreadable by other users.

alias rm = 'mkdir -m 0700 -p /tmp/Trashcan/$USER && \
mv --backup=numbered --target-directory=/tmp/Trashcan/$USER'

[x] ulf

-- 
Der Mensch ist immer noch der beste Computer. (John F. Kennedy)



Re: Debian as multimedia system - startup and shutdown

2001-10-31 Thread Ulf Rompe
Meir Kriheli <[EMAIL PROTECTED]> writes:

> Is there a way to log in and start a X session (I prefer not to use
> KDM/GDM etc. I know I can use them-at least KDM), and when exiting
> the session shutdown the machine ?

Maybe you want a system that logs you on when switched on and powers
down on logout? You may be able to build it like this (untested, check
man pages):

Install rungetty and configure it to start an X session for your user
instead of running login. Then configure your X session to run
"sudo shutdown -h now" after the window manager. You could do this in
/etc/X11/Xsession but there should be a better place for it.

If you want to have the ability to switch the system off by pressing a
button on the case you have to work on the hardware. One solution for
those having a game port but no use for it is to stick the wires of
the reset switch into button1 of the game port, install jslaunch and
configure "shutdown -h now" as an action for a single press of
button1. There should be equivalent solutions for other ports like the
serial port - as I think about it, it could be possible to configure a
UPS monitor program like upsd to recognize the button press as a
signal to shut down the machine since many UPS devices signal a power
lossage via a status line of a serial port. So this should be nearly
plug&play. :-)

[x] ulf

-- 
Artificial Intelligence is no match for Natural Stupidity.



Re: Gimp and gif

2001-05-07 Thread Ulf Rompe
Thomas Wegner <[EMAIL PROTECTED]> writes:

> I' ve installed gimp1.2 and gimp1.2-nonfree with gif support. Now
> I'm a little bit confused because it is not possible to save any
> file as a gif-file.

GIF uses a color map. Did you reduce the number of used colors to 256
by converting the image to "indexed"?

[x] ulf



Re: galeon crashes when running as user

2001-05-17 Thread Ulf Rompe
"Thomas Hess" <[EMAIL PROTECTED]> writes:

> I think I have to switch back to mozilla 0.8.1 to use galeon and
> skipstone properly.

Galeon 0.10.6 claims to support Mozilla 0.9. But don't expect too much
of it, I tried it and it crashed regularly. The crashes seem to be UI
related. While the rendering worked perfectly good simple actions like
opening a context menu or leaving and entering the window too fast
sent the browser to hell immediatly. I switched back to galeon 0.10.5
and Mozilla 0.8.1 and am a happy man again.

[x] ulf

-- 
TEAMWORK... means never having to take all the blame yourself.



Re: grep question

2002-04-08 Thread Ulf Rompe
Johann Spies <[EMAIL PROTECTED]> writes:

> In the grep's info page I find the following which works as said.
> But I want to know why. What does the [c] do in this case?
[...]
>   ps -ef | grep '[c]ron'

It defines a character class containig a "c" as it's only member. The
expression "[cp]ron" would match "cron" as well as "pron", whereas
"[cp]r[o0]n" would also match "pr0n" (and "cr0n").

Get enlightened - type `man 7 regex`.

[x] ulf

-- 
Die drei Feinde des Programmierers:
Sonnenlicht, Frischluft und das unerträgliche Gebrüll der Vögel


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: xpdf missing a font?

2002-04-12 Thread Ulf Rompe
Jeroen Valcke  writes:

> I'm using xpdf and notice some kind of font is not displayed. For
> example. In the pdf file http://www.gnupg.org/gph/en/manual.pdf I
> can't see the commands in the example code.

I don't know the answer but maybe I know the reason. You can start
xpdf with the option "-cmd" to see everything it does. This is nice to
find out which font it wants to use.

When it comes to the monospaced text in this document you are likely
to notice this message:

TJ [(gpg) -599 (-gen-key)]
Error: This document uses Type 3 fonts - some text may not be correctly 
displayed
Tf /F45 7.9
  font: tag=F45 name='Courier' 7.9

So it just uses Courier which works on my system - I can see the code
parts of this document. But eventually someone knows what is so evil
with the Type 3 fonts that they work for everyone who is not you.

Interesting is that if I do `pdftops manual.pdf manual.ps` I get the
above error string and the result does NOT include the command
strings. Weird...

If you don't want to know the reason but just want to get your manual
showing up correctly you should try gnome-gv for viewing. It does an
excellent job here and is a bit faster than xpdf in most (not all)
cases.

[x] ulf

-- 
Doing a job RIGHT the first time gets the job done.  Doing the job 
WRONG fourteen times gives you job security.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



debian-user@lists.debian.org

2002-04-22 Thread Ulf Rompe
Joachim Trinkwitz <[EMAIL PROTECTED]> writes:

>> 'Window height 0 too small (after splitting)', I can't open the
>> individual mails. Argh.
>
> I always got this error message when trying to switch over to one of
> the Gnome variants of XEmacs; when I went back to xemacs21-[no]mule
> (without Gnome), gnus worked flawlessly.

If you say "export LANG=C" before starting xemacs-gnome the messages
are displayed without errors. For some reason beyond my unterstanding
of Xemacs internals this function does not work with the
internationalized versions of xemacs-gnome.

> I have given up the Gnome variants completely now.

Me too. While being able to correct the above error it is still no fun
to look at missplaced buttons (mostly in customize buffers) and badly
formatted text scrolling out of it's frame...

It is nice to have god's own editor with the outfit of god's own
desktop environment ;-) but it doesn't have the sleek consistency and
the stability of it's conservative brother.

[x] ulf

-- 
Nie in die ferne Zeit verliere dich! Den Augenblick ergreife! Der ist dein.
(Schiller)


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: crashme

2002-05-02 Thread Ulf Rompe
Oki DZ <[EMAIL PROTECTED]> writes:

> Unfortunately, this machine is down for about every week (if not
> five days). I don't know what happens. I'm still looking for the
> culprit. BTW, some of the oops files said about Java and mgetty
> processes that caused the oops. It makes me wonder...

Check your file systems and swap partitions for bad blocks. Fill up
your physical memory with applications and see what happens. Try using
memory from a sane system.

Sporadic crashes are often caused by memory or harddisk defects - the
system keeps going until it stumbles over the one bad bit.

> I think if crashme couldn't bring down the machine, let alone the
> JVM. Well, I don't know, I'll try to run crashme a lot longer.

Maybe your "why" remains unanswered even if crashme crashes your
system...

[x] ulf

-- 
Artificial Intelligence is no match for Natural Stupidity.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Multi-Gnome-Terminal Copy/Paste

2002-05-02 Thread Ulf Rompe
Carlos A P Gomes <[EMAIL PROTECTED]> writes:

> I can only copy/paste from a Gnome App to Multi Gnome Terminal and
> not from Multi Gnome Terminal to a Gnome App like Gvim or AbiWord.
> Inside Multi Gnome Terminal I can copy/paste to any application. Is
> it a bug or is there any configuration I'm missing?

It is a bug and fixed in 1.4.0-1 which is in sid already. This version
and also the actual 1.4.1-1 have urgency=low, so I'm not shure if this
version will make it into woody.

Maybe you could file a bug about the package urgency. That copy/paste
bug has been _really_ annoying.

[x] ulf

-- 
Die drei Feinde des Programmierers:
Sonnenlicht, Frischluft und das unerträgliche Gebrüll der Vögel


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Multi-Gnome-Terminal Copy/Paste

2002-05-03 Thread Ulf Rompe
Colin Watson <[EMAIL PROTECTED]> writes:

>> Maybe you could file a bug about the package urgency. That
>> copy/paste bug has been _really_ annoying.
>
> It's unlikely to help - woody won't be updated any more except,
> perhaps, for critical problems (certainly security problems).

Oh, you are right. Well, then use Sid - Woody is going to get a bit
antiquated anyway... ;-))

[x] ulf

-- 
Doing a job RIGHT the first time gets the job done.  Doing the job 
WRONG fourteen times gives you job security.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: IRC

2002-05-15 Thread Ulf Rompe
Tommi Komulainen <[EMAIL PROTECTED]> writes:

> 1. There is irssi-gnome and irssi-gtk in Debian also but they are
>*ancient*. Don't use them.

What I love about irssi-gnome is it's panel applet. I tend to keep
some not really busy channels open while doing my work. Doing work
needs screen real estate, so it is nice to have just an applet that
notifies me when there is traffic in a channel and that shows me the
new messages just by hovering over it with the mouse pointer.

How do I get a replacement for this feature using a console client?

[x] ulf

-- 
Die drei Feinde des Programmierers:
Sonnenlicht, Frischluft und das unerträgliche Gebrüll der Vögel


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Recover root password

2002-06-13 Thread Ulf Rompe
Alvin Oga <[EMAIL PROTECTED]> writes:

> http://www.Linux-Consulting.com/Boot/Boot.SingleUser.ForgotRootPasswd.txt

Somebody should point out that you can use your ordinary Debian Rescue
Disk to do this maintenance. Just boot into the normal install
process. As soon as the installation menu occures you can switch to
another virtual console and activate it with . Once you are
there the usual instructions apply: 

mount /dev/hdX /mnt
ae /mnt/etc/shadow
delete the field after "root:" up to the next ":"
reboot from disk
login as root with no password and set a new password.

If you think that living without a root password for a few seconds is
too dangerous you can of course copy the crypted password entry from
another user instead of blanking it. It's just a little bit harder if
you are too lazy to type it by hand and too oblivious to remember how
to copy&paste in ae. :-)

[x] ulf

-- 
Der Computer ist die logische Weiterentwicklung des Menschen:
Intelligenz ohne Moral.  (John Osborne)


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: so how do the pros read all those .gz docs, zless?

2002-06-14 Thread Ulf Rompe
Chris Gushue <[EMAIL PROTECTED]> writes:

> I wish more things supported transparently viewing gzipped files :)

I remember there once was a library which overloaded the original libc
functions for opening files. You had to preload it by setting the
variable LD_PRELOAD to this lib (like you do with libtrash). Once you
had done that, all and every program was able to read compressed files
transparently!

OK, after searching with Google I found out that this this is in
Debian. Of course, yeah, how could I even THINK of something NOT being
part of Debian - besides XFree 4.2. :-)

zlibc - Uncompressing C Library
 Zlibc is a preloadable shared object that allows executables to
 uncompress the data files that they need on the fly. No kernel patch,
 no recompilation of these executables and no recompilation of the
 libraries is needed.

[x] ulf

-- 
Nur wer selbst brennt, kann Feuer in anderen entfachen. (Augustinus)


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Kupdated

2002-06-17 Thread Ulf Rompe
Tinus Kotzé <[EMAIL PROTECTED]> writes:

> Can somebody help me with the kupdate daemon' problem. I looked
> around but could not find a understandable page that could help me.
> The kupdated process takes about 1/3 of my cpu and can't be killed.

You shouldn't kill processes just because you don't like them. Your
kernel may love them, and you don't want an angry kernel!

Have a look at the memory usage of your system. Is the physical memory
filled up and the system is constantly modifying files? Are there any
cronjobs running because you have just booted a fresh Woody?

You could try to benchmark your hard disks (apt-get install bonnie++)
and have an eye on your CPU while doing that. If the disks are slow
and the CPU usage is high, you can try to tune your I/O with hdparm if
it is an IDE system. There are HOWTOs out there describing the use of
hdparm. Read the WARNINGS first. :-)

> Can somebody please help me. 

Not with one definitive sentence, sorry.

[x] ulf

ps: My lastname has the same meaning in some languages as your's has
in mine. ;-)))

-- 
One of the main causes of the fall of the roman empire was that, lacking zero,
they had no way to indicate successful termination of their C programs.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: fbset for all ttys?

2002-06-20 Thread Ulf Rompe
[EMAIL PROTECTED] (andrej hocevar) writes:

> I thought I was clever and added an init script for setting the
> concole with fbset. I've figured that "fbset -t 13334 144 24 29 3
> 136 6" yields the best results. But it affects only the first
> console -- I have to run the script every time I log in.

Just an idea - can't test it at the moment. What happens if you put
something like this into your script?

for i in 1 2 3 4 5 6; do
chvt $i
fbset -t 13334 144 24 29 3 136 6
done

[x] ulf

-- 
"I heard if you play the Windows-XP-CD backwards, you get a satanic message."
"That's nothing, if you play it forward, it installs Windows XP"


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: backup all the changes I made to the "virgin debian system"

2002-06-25 Thread Ulf Rompe
Hi,

about three months ago I wrote some related thoughts in article
<[EMAIL PROTECTED]>. Four weeks ago I got the first and
only reply to it - must be because of the quality and my good english.
:-)

But hey, I don't give up, so here is an extract of my thoughts
*again*, still untested, but it may be a point to start:


# Backing up config files:

cat /var/lib/dpkg/info/*.conffiles | xargs tar czf /backup/config.tgz

# Backing up all files *not* included in debian packages:

cat /var/lib/dpkg/info/*.list | sort >/tmp/tmplist.debian
find / -xdev -type f | sort >/tmp/tmplist.reallife
comm -13 /tmp/tmplist.debian /tmp/tmplist.reallife | \
 xargs tar czf /backup/additions.tgz

# Backing up all packaged but changed files:

cd /
cat /var/lib/dpkg/info/*.md5sums | \
LANG=en_US md5sum -c 2>&1 | cut -d\' -f2 | \
xargs tar czf /backup/changed.tgz


[x] ulf

-- 
"I heard if you play the Windows-XP-CD backwards, you get a satanic message."
"That's nothing, if you play it forward, it installs Windows XP"


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: make-kpkg problem

2002-06-25 Thread Ulf Rompe
Joel <[EMAIL PROTECTED]> writes:

> i tried to compile package a custom built kernel and encountered
> this error.
[...]
> [EMAIL PROTECTED]:/usr/src/kernel-dev/linux-2.5.6/linux$ make-kpkg clean
> dpkg: warning, architecture `i386-none' not in remapping table

Your architecture seems to be misrecognized. If you aren't able to
figure out why, you may want to force a correct name by setting it
yourself: 

make-kpkg --arch i386 clean

This is normally used for cross compiling. Of course it would be
better to find the real reason for your problem.

[x] ulf

-- 
If at first you don't succeed, try management.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]