Alacon
Parabens pelo tutorial.
Seguindo o material descrito no
http://ubuntuforum-pt.org/index.php?topic=4204&postdays=0&postorder=asc&start=20Ao executar o script não estva logado como Root.
Apos login como Root, surge estas msgs. Já tentei tudo e não consigo, mesmo executando na mão os comandos de acordo com o script não vai. Tentei remover e também dá erro. Pede pra reinstalar.
Segue tela desta vez executando como Root
root@bibika:/home/agomes/Modem/modem-arquivos-v2# ./install-modem.sh
This option is not available. Please see --help for all possible usages.
Instalação concluÃda!
root@bibika:/home/agomes/Modem/modem-arquivos-v2# dpkg -r smartlink-ubuntu
dpkg: error processing smartlink-ubuntu (--remove):
Package is in a very bad inconsistent state - you should
reinstall it before attempting a removal.
Errors were encountered while processing:
smartlink-ubuntu
root@bibika:/home/agomes/Modem/modem-arquivos-v2# dpkg -i --force-all smartlink-ubuntu.deb
Selecting previously deselected package smartlink-ubuntu.
(Reading database ... 73488 files and directories currently installed.)
Preparing to replace smartlink-ubuntu 1.1 (using smartlink-ubuntu.deb) ...
cat: /etc/init.d/ativar-modem: No such file or directory
This option is not available. Please see --help for all possible usages.
dpkg: warning - old pre-removal script returned error exit status 255
dpkg - trying script from the new package instead ...
cat: /etc/init.d/ativar-modem: No such file or directory
slmodemd: no process killed
This option is not available. Please see --help for all possible usages.
dpkg: error processing smartlink-ubuntu.deb (--install):
subprocess new pre-removal script returned error exit status 255
This option is not available. Please see --help for all possible usages.
This option is not available. Please see --help for all possible usages.
This option is not available. Please see --help for all possible usages.
/var/lib/dpkg/info/smartlink-ubuntu.postinst: line 143: [: too many arguments
/var/lib/dpkg/info/smartlink-ubuntu.postinst: line 166: /home/$Usuario/.wvdial.conf: ambiguous redirect
Usage: chown [OPTION]... OWNER[:[GROUP]] FILE...
or: chown [OPTION]... :GROUP FILE...
or: chown [OPTION]... --reference=RFILE FILE...
Change the owner and/or group of each FILE to OWNER and/or GROUP.
With --reference, change the owner and group of each FILE to those of RFILE.
-c, --changes like verbose but report only when a change is made
--dereference affect the referent of each symbolic link, rather
than the symbolic link itself
-h, --no-dereference affect each symbolic link instead of any referenced
file (useful only on systems that can change the
ownership of a symlink)
--from=CURRENT_OWNER:CURRENT_GROUP
change the owner and/or group of each file only if
its current owner and/or group match those specified
here. Either may be omitted, in which case a match
is not required for the omitted attribute.
--no-preserve-root do not treat `/' specially (the default)
--preserve-root fail to operate recursively on `/'
-f, --silent, --quiet suppress most error messages
--reference=RFILE use RFILE's owner and group rather than
the specifying OWNER:GROUP values
-R, --recursive operate on files and directories recursively
-v, --verbose output a diagnostic for every file processed
The following options modify how a hierarchy is traversed when the -R
option is also specified. If more than one is specified, only the final
one takes effect.
-H if a command line argument is a symbolic link
to a directory, traverse it
-L traverse every symbolic link to a directory
encountered
-P do not traverse any symbolic links (default)
--help display this help and exit
--version output version information and exit
Owner is unchanged if missing. Group is unchanged if missing, but changed
to login group if implied by a `:'. OWNER and GROUP may be numeric as well
as symbolic.
Report bugs to <bug-coreutils@gnu.org>.
This option is not available. Please see --help for all possible usages.
dpkg: error while cleaning up:
subprocess post-installation script returned error exit status 255
Errors were encountered while processing:
smartlink-ubuntu.deb
agradeço a ajuda.
:arrow: