[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: apt-get erro e ou duvidas



Carlucio Lopes wrote:
On Fri, 24 Mar 2006 00:18:23 -0300
Marcos Vinicius Lazarini <lazarini@nics.unicamp.br> wrote:


Qual seu sources.list? certamente vc pegou esses pacotes de outro lugar, não é?


cpd:/# cat /etc/apt/sources.list
deb http://http.us.debian.org/debian stable main contrib non-free
#deb http://http.us.debian.org/debian stable non-free
cpd:/#
sugiro vc fazer tbm um
dpkg-reconfigure --priority low debconf


cpd:/# dpkg-reconfigure --priority low debconf
--output-fd: unknown option
debconf: whiptail output to the above errors, giving up!

Meu palpite é que seu problema tá aqui... esse comando deveria reconfigurar o pacote, abrindo uma janelinha com as opçoes, mas nem isso ele consegue! Ou entao, quem tá doido é o cara que chamou o whiptail (passando parametro errado, por exemplo), mas ai nao saberia dizer quem foi... só testando ai pra saber.

confere ai seu sistema com o meu, veja que existe a opção --output-fd nele:

$ dpkg -L whiptail
/.
/usr
/usr/bin
/usr/bin/whiptail
/usr/share
/usr/share/doc
/usr/share/doc/whiptail
/usr/share/doc/whiptail/changelog.gz
/usr/share/doc/whiptail/README.whiptail
/usr/share/doc/whiptail/copyright
/usr/share/doc/whiptail/newt.spec.gz
/usr/share/doc/whiptail/changelog.Debian.gz
/usr/share/man
/usr/share/man/man1
/usr/share/man/man1/whiptail.1.gz

$ /usr/bin/whiptail --version
whiptail (newt): 0.51.6
$ whiptail
Box options:
        --msgbox <text> <height> <width>
        --yesno  <text> <height> <width>
        --infobox <text> <height> <width>
        --inputbox <text> <height> <width> [init]
        --passwordbox <text> <height> <width> [init]
        --textbox <text> <height> <width>
        --menu <text> <height> <width> <listheight> [tag item] ...
        --checklist <text> <height> <width> <listheight> [tag item status]...
        --radiolist <text> <height> <width> <listheight> [tag item stautus]...
        --gauge <text> <height> <width> <percent>
Options: (depend on box-option)
        --clear                         clear screen on exit
        -defaultno                      default no button
        --default-item <string>         set default string
        --fb                            use full buttons
        --nocancel                      no cancel button
        --noitem                        display tags only
        --separate-output <fd>          output one line at a time
        --output-fd <fd>                output to fd, not stdout
        --title <title>                 display title
        --backtitle <backtitle>         display backtitle
        --scrolltext                    force verical scrollbars


Se tiver que reinstalar o pacote, sugiro pegar o .deb e reinstalar via dpkg.... ou então dar o --unpack e comparar os arquivos.

--
Marcos



Reply to: