Alien help for newbie.
Brian Durant
linuxnewbiedk at yahoo.dk
Thu Jan 27 14:29:02 UTC 2005
--- Le grand pinguin <rm at mh-freiburg.de> skrev:
> On Thu, Jan 27, 2005 at 02:06:41PM +0100, Brian
> Durant wrote:
> > --- Eamonn Sullivan <eamonn.sullivan at gmail.com>
> > skrev:
> > > On Thu, 27 Jan 2005 13:46:00 +0100 (CET), Brian
> > > Durant
> > > <linuxnewbiedk at yahoo.dk> wrote:
> > > > dpkg help suggests:
> --no-act|--dry-run|--simulate
> > > Just
> > > > say what we would do - don't do it
> > > >
> > > > that returned:
> > > >
> > > > /stardict $ dpkg --no-act|--dry-run|--simulate
> > > > stardict_2.4.4-2_i386.deb
> > > > dpkg: need an action option
> > > >
> > > > Options marked [*] produce a lot of output -
> pipe
> > > it
> > > > through `less' or `more' !
> > > > bash: --dry-run: command not found
> > > > bash: --simulate: command not found
> > > >
> > >
> > > The | character, in this context, just means
> 'or.'
> > > (i.e., use one of
> > > them). Try the --dry-run option.
> >
> > /stardict $ sudo dpkg --dry-run
> > stardict_2.4.4-2_i386.deb
> > dpkg: need an action option
>
> Hmm, is this a question? '--dry-run' will dpkg make
> to try
> running the given action without actually performing
> it. So
> you can test installation with:
>
> dpkg --dry-run -i my_packet.deb
(Doh) OK, I tried what you suggested. How does this
look?
/stardict $ sudo dpkg --dry-run -i
stardict_2.4.4-2_i386.deb
Password:
Selecting previously deselected package stardict.
(Reading database ... 72623 files and directories
currently installed.)
Unpacking stardict (from stardict_2.4.4-2_i386.deb)
...
Cheers,
Brian
More information about the ubuntu-users
mailing list