Hi,

 

I installed Ubuntu 11.04 via Wubi. From beginning on, Ubuntu told me to
reinstall software-center.

After I couldn’t reinstall software-center with apt-get, I tried to
reinstall all packages.

It says “invalid value for ‘-n’ option”.

 

dario@ubuntu:~$ dpkg --get-selections | grep "\binstall" | awk '{print $1}'
> /tmp/dpkg.log

dario@ubuntu:~$ sudo xargs -nl apt-get --reinstall install -y <
/tmp/dpkg.log

xargs: Ungültiger Wert für die "-n" Option.

Aufruf: xargs [-0prtx] [--interactive] [--null] [-d|--delimiter=Begrenzer]

       [-E eof-str] [-e[eof-str]]  [--eof[=eof-str]]

       [-L max-lines] [-l[max-lines]] [--max-lines[=max-Zeilen]]

       [-I replace-str] [-i[replace-str]] [--replace[=replace-str]]

       [-n max-args] [--max-args=max-args]

       [-s max-chars] [--max-chars=max-chars]

       [-P max-procs]  [--max-procs=max-procs] [--show-limits]

       [--verbose] [--exit] [--no-run-if-empty] [--arg-file=file]

       [--version] [--help] [Kommando [Argumente]]

Reply via email to