Re: telling if we've actually booted from /boot/xen-4.14-amd64.gz

2021-12-12 Thread Tim Woodall

On Sun, 12 Dec 2021, Tim Woodall wrote:


On Sun, 12 Dec 2021, Andy Smith wrote:


Hi Tim,

On Fri, Dec 10, 2021 at 10:11:04PM +, Tim Woodall wrote:

Is there a simple way to tell if the kernel/hypervisor that was used to
boot is the one currently installed in /boot.


I do not do this - I build my own hypervisor packages when there is
an upstream XSA that affects me and then I have to schedule downtime
to boot into it, so I am well aware of what is booted into what.

However, it seems you can read the ELF build ID from the kernel file
and also from "xl info" (or /sys/hypervisor/properties/buildid if
you decode it). Please see attached file check_running_hypervisor.sh
for an example.


Awesome! Thank you.



Interesting, and weird. /sys/hypervisor/properties/buildid isn't
consistent in its output:

tim@dirac:~ (none)$ od -v -w20 -t x1 -A none /sys/hypervisor/properties/buildid 
| sed 's/ //g'
87e9d3e5762b1c3aa26b5a82ed3e72c2
d859ad3a8188
tim@dirac:~ (none)$ od -v -w20 -t x1 -A none /sys/hypervisor/properties/buildid 
| sed 's/ //g'
87e9d3e5762b1c3aa26b5a82ed3e72c2
tim@dirac:~ (none)$ od -v -w20 -t x1 -A none /sys/hypervisor/properties/buildid 
| sed 's/ //g'
87e9d3e5762b1c3aa26b5a82ed3e72c2
58c331
tim@dirac:~ (none)$ od -v -w20 -t x1 -A none /sys/hypervisor/properties/buildid 
| sed 's/ //g'
87e9d3e5762b1c3aa26b5a82ed3e72c2
tim@dirac:~ (none)$ od -v -w20 -t x1 -A none /sys/hypervisor/properties/buildid 
| sed 's/ //g'
87e9d3e5762b1c3aa26b5a82ed3e72c2
tim@dirac:~ (none)$ od -v -w20 -t x1 -A none /sys/hypervisor/properties/buildid 
| sed 's/ //g'
87e9d3e5762b1c3aa26b5a82ed3e72c2
tim@dirac:~ (none)$ od -v -w20 -t x1 -A none /sys/hypervisor/properties/buildid 
| sed 's/ //g'
87e9d3e5762b1c3aa26b5a82ed3e72c2
tim@dirac:~ (none)$ od -v -w20 -t x1 -A none /sys/hypervisor/properties/buildid 
| sed 's/ //g'
87e9d3e5762b1c3aa26b5a82ed3e72c2
tim@dirac:~ (none)$ od -v -w20 -t x1 -A none /sys/hypervisor/properties/buildid 
| sed 's/ //g'
87e9d3e5762b1c3aa26b5a82ed3e72c2
tim@dirac:~ (none)$ od -v -w20 -t x1 -A none /sys/hypervisor/properties/buildid 
| sed 's/ //g'
87e9d3e5762b1c3aa26b5a82ed3e72c2
tim@dirac:~ (none)$ od -v -w20 -t x1 -A none /sys/hypervisor/properties/buildid 
| sed 's/ //g'
87e9d3e5762b1c3aa26b5a82ed3e72c2
tim@dirac:~ (none)$ od -v -w20 -t x1 -A none /sys/hypervisor/properties/buildid 
| sed 's/ //g'
87e9d3e5762b1c3aa26b5a82ed3e72c2
58cd31
tim@dirac:~ (none)$ od -v -w20 -t x1 -A none /sys/hypervisor/properties/buildid 
| sed 's/ //g'
87e9d3e5762b1c3aa26b5a82ed3e72c2
584d78368188
tim@dirac:~ (none)$ od -v -w20 -t x1 -A none /sys/hypervisor/properties/buildid 
| sed 's/ //g'
87e9d3e5762b1c3aa26b5a82ed3e72c2


Every now and again it reads 12 extra bytes.

Seems to only happen on buster, not bullseye.

Tim.



Re: telling if we've actually booted from /boot/xen-4.14-amd64.gz

2021-12-12 Thread Andrei POPESCU
On Sb, 11 dec 21, 10:42:56, Charles Curley wrote:
> On Sat, 11 Dec 2021 05:52:30 + (GMT)
> Tim Woodall  wrote:
> 
> > I don't use that but I do something similar. Does unattended-upgrades
> > email me each day until I reboot?
> 
> Not every day, but every day when an upgrade is applied it emails you,
> and tells you that a reboot is pending.

As far as I recall there is some flag file that packages must set to 
signal a reboot is required. It should be trivial to set up a daily cron 
job to send you a mail if that file is (still) present.

Kind regards,
Andrei
-- 
http://wiki.debian.org/FAQsFromDebianUser


signature.asc
Description: PGP signature


Re: telling if we've actually booted from /boot/xen-4.14-amd64.gz

2021-12-11 Thread Tim Woodall

On Sun, 12 Dec 2021, Andy Smith wrote:


Hi Tim,

On Fri, Dec 10, 2021 at 10:11:04PM +, Tim Woodall wrote:

Is there a simple way to tell if the kernel/hypervisor that was used to
boot is the one currently installed in /boot.


I do not do this - I build my own hypervisor packages when there is
an upstream XSA that affects me and then I have to schedule downtime
to boot into it, so I am well aware of what is booted into what.

However, it seems you can read the ELF build ID from the kernel file
and also from "xl info" (or /sys/hypervisor/properties/buildid if
you decode it). Please see attached file check_running_hypervisor.sh
for an example.


Awesome! Thank you.

Tim.



Re: telling if we've actually booted from /boot/xen-4.14-amd64.gz

2021-12-11 Thread Andy Smith
Hi Tim,

On Fri, Dec 10, 2021 at 10:11:04PM +, Tim Woodall wrote:
> Is there a simple way to tell if the kernel/hypervisor that was used to
> boot is the one currently installed in /boot.

I do not do this - I build my own hypervisor packages when there is
an upstream XSA that affects me and then I have to schedule downtime
to boot into it, so I am well aware of what is booted into what.

However, it seems you can read the ELF build ID from the kernel file
and also from "xl info" (or /sys/hypervisor/properties/buildid if
you decode it). Please see attached file check_running_hypervisor.sh
for an example.

Cheers,
Andy

-- 
https://bitfolk.com/ -- No-nonsense VPS hosting


check_running_hypervisor.sh
Description: Bourne shell script


Re: telling if we've actually booted from /boot/xen-4.14-amd64.gz

2021-12-11 Thread Charles Curley
On Fri, 10 Dec 2021 20:14:36 -0700
Charles Curley  wrote:

> If you are using the unattended-upgrades package, you can set it to
> send you emails. Those emails will let you know which packages are
> upgraded, and if a reboot is required. See
> /etc/apt/apt.conf.d/50unattended-upgrades.

I neglected to mention: You also have the option of having
unattended-upgrades reboot the computer for you. *Not* recommended for
encrypted systems, or the OP's (Tim Woodall )
case.

-- 
Does anybody read signatures any more?

https://charlescurley.com
https://charlescurley.com/blog/



Re: telling if we've actually booted from /boot/xen-4.14-amd64.gz

2021-12-11 Thread Charles Curley
On Sat, 11 Dec 2021 05:52:30 + (GMT)
Tim Woodall  wrote:

> I don't use that but I do something similar. Does unattended-upgrades
> email me each day until I reboot?

Not every day, but every day when an upgrade is applied it emails you,
and tells you that a reboot is pending.

-- 
Does anybody read signatures any more?

https://charlescurley.com
https://charlescurley.com/blog/



Re: telling if we've actually booted from /boot/xen-4.14-amd64.gz

2021-12-10 Thread Tim Woodall

On Fri, 10 Dec 2021, Charles Curley wrote:


On Fri, 10 Dec 2021 22:11:04 + (GMT)
Tim Woodall  wrote:


Is there a good way to do what I want (which is to avoid missing an
automatic upgrade and then not rebooting for months)?


If you are using the unattended-upgrades package, you can set it to
send you emails. Those emails will let you know which packages are
upgraded, and if a reboot is required. See
/etc/apt/apt.conf.d/50unattended-upgrades.

Aside from your use case, I highly recommend doing so if your hard
drive is encrypted.


I don't use that but I do something similar. Does unattended-upgrades
email me each day until I reboot? If so then I should take a look at
switching to use it. (I've been doing it 'my way' since potato - so
change is hard ;-) )

Tim.



Re: telling if we've actually booted from /boot/xen-4.14-amd64.gz

2021-12-10 Thread Charles Curley
On Fri, 10 Dec 2021 22:11:04 + (GMT)
Tim Woodall  wrote:

> Is there a good way to do what I want (which is to avoid missing an
> automatic upgrade and then not rebooting for months)?

If you are using the unattended-upgrades package, you can set it to
send you emails. Those emails will let you know which packages are
upgraded, and if a reboot is required. See
/etc/apt/apt.conf.d/50unattended-upgrades.

Aside from your use case, I highly recommend doing so if your hard
drive is encrypted.

-- 
Does anybody read signatures any more?

https://charlescurley.com
https://charlescurley.com/blog/



telling if we've actually booted from /boot/xen-4.14-amd64.gz

2021-12-10 Thread Tim Woodall

Is there a simple way to tell if the kernel/hypervisor that was used to
boot is the one currently installed in /boot.

I have a script that emails me when it detects a mismatch and it's
broken with the latest bullseye xen hypervisor.

I was grepping for major.minor.release (from /sys/hypervisor/version)
but that gives 4.14.4-pre while strings on the (uncompressed) hypervisor gives
4.14.3+32-g9de3671772-1~deb11u1

/sys/hypervisor/compilation/compile_date:Thu Dec  2 20:45:55 UTC 2021
seems to match the timestamp on the files in /boot. Is that something I
can rely on?

Is there a good way to do what I want (which is to avoid missing an automatic
upgrade and then not rebooting for months)?

Automatic rebooting on upgrade is not an option as I only want to reboot
when I have time to deal with any issues if it fails to come up for any
reason.

So far my script to check the kernel version is ok, only the hypervisor
check has failed with the recent update. For the kernel I grep for uname
-r and uname -v.

This update has fixed my power-off problem though :-)

Tim.



Re: Ayuda restaurar partición comprimida gz con comando dd

2019-04-30 Thread Joan Carles Albiñana Medina
Muchísimas gracias


Problema solucionado y copia restaurada.



El mar., 30 abr. 2019 2:43, Ángel 
escribió:

> On 2019-04-29 at 07:27 +0200, Joan Carles Albiñana Medina wrote:
> > Perdón
> >
> > gzip -d archivo.gz | sudo dd of=/dev/sda1
>
> Con este comando estás descomprimiendo en la carpeta actual. El comando
> correcto sería:
>  gzip -d < archivo.gz | sudo dd of=/dev/sda1
>
> o, usando un tamaño de bloque de 4096 como al hacer la copia:
>  gzip -d < archivo.gz | sudo dd of=/dev/sda1 bs=4096
>
>
> Ni que decir tiene que con esto estás sobrescribiendo /dev/sda1
> directamente, por lo que a menos que no contenga ningún dato de utilidad
> por otros motivos puede resultar un tanto 'arriesgado', e interesarte
> hacer alguna prueba antes...
>
> Un saludo
>
>


Re: Ayuda restaurar partición comprimida gz con comando dd

2019-04-29 Thread Ángel
On 2019-04-29 at 07:27 +0200, Joan Carles Albiñana Medina wrote:
> Perdón
>
> gzip -d archivo.gz | sudo dd of=/dev/sda1

Con este comando estás descomprimiendo en la carpeta actual. El comando
correcto sería:
 gzip -d < archivo.gz | sudo dd of=/dev/sda1

o, usando un tamaño de bloque de 4096 como al hacer la copia:
 gzip -d < archivo.gz | sudo dd of=/dev/sda1 bs=4096


Ni que decir tiene que con esto estás sobrescribiendo /dev/sda1
directamente, por lo que a menos que no contenga ningún dato de utilidad
por otros motivos puede resultar un tanto 'arriesgado', e interesarte
hacer alguna prueba antes...

Un saludo



Re: Ayuda restaurar partición comprimida gz con comando dd

2019-04-29 Thread remgasis remgasis
Hola carles. Lo primero, descomprimir la imagen y very si estan Las
particiones. Fdisk -l archivo. Parted archivo, list  Quit. Si estan las
particiones montalas, si estan y no montan reparalas. Si estan y montas ve
si hay files. So no hay nada te jodiste

On Mon, Apr 29, 2019, 1:28 AM Joan Carles Albiñana Medina <
jcalbin...@gmail.com> wrote:

> Perdón
>
> gzip -d archivo.gz l sudo dd of=/dev/sda1
>
> El lun., 29 abr. 2019 7:26, Joan Carles Albiñana Medina <
> jcalbin...@gmail.com> escribió:
>
>> Hola buenas amigos de la lista,
>>
>> Necesito restaurar una partición que guardé comprimida con el comando dd
>> en formato .gz pero no me acuerdo de la sintaxis de la línea de comando y
>> me da error. Estoy haciendo algo mal. ¿Me podéis ayudar?
>>
>> Estoy haciendo
>>
>> gzip -d archivo.gz l sudo of=/dev/sda1
>>
>> Gracias
>>
>>


Re: Ayuda restaurar partición comprimida gz con comando dd

2019-04-28 Thread Joan Carles Albiñana Medina
Perdón

gzip -d archivo.gz l sudo dd of=/dev/sda1

El lun., 29 abr. 2019 7:26, Joan Carles Albiñana Medina <
jcalbin...@gmail.com> escribió:

> Hola buenas amigos de la lista,
>
> Necesito restaurar una partición que guardé comprimida con el comando dd
> en formato .gz pero no me acuerdo de la sintaxis de la línea de comando y
> me da error. Estoy haciendo algo mal. ¿Me podéis ayudar?
>
> Estoy haciendo
>
> gzip -d archivo.gz l sudo of=/dev/sda1
>
> Gracias
>
>


Ayuda restaurar partición comprimida gz con comando dd

2019-04-28 Thread Joan Carles Albiñana Medina
Hola buenas amigos de la lista,

Necesito restaurar una partición que guardé comprimida con el comando dd en
formato .gz pero no me acuerdo de la sintaxis de la línea de comando y me
da error. Estoy haciendo algo mal. ¿Me podéis ayudar?

Estoy haciendo

gzip -d archivo.gz l sudo of=/dev/sda1

Gracias


Re: arquivos .tar e .gz?

2019-02-02 Thread China
São arquivos compactados. Para usar vc deve descompactar e ler o arquivo de
instruções que está dentro da pasta. Alguns já vem prontos, só acionar o
executável. Outros é preciso compilar. Após a leitura do arquivo de
instruções se as tentativas não trouxerem resultados satisfatórios retorne
as dúvidas pra lista.

Em sáb, 2 de fev de 2019 10:24, Daniel Roma <
vendedor.softwareli...@gmail.com escreveu:

> ola pessoal
> esses aqruivos .tar ou gz sao o que, compactados?ou tipo executaveis?
> por exemplo, quero baixar o programa pra linux no site,
> https://web.archive.org/web/20061102182312/http://www.kompozer.net/ , e
> tem algumas opções disponiveis. como descompactar ou fazer pra instalar no
> linux?
> obrigado pela ajuda
>


arquivos .tar e .gz?

2019-02-02 Thread Daniel Roma
ola pessoal
esses aqruivos .tar ou gz sao o que, compactados?ou tipo executaveis?
por exemplo, quero baixar o programa pra linux no site,
https://web.archive.org/web/20061102182312/http://www.kompozer.net/ , e tem
algumas opções disponiveis. como descompactar ou fazer pra instalar no
linux?
obrigado pela ajuda


Re: descomprimir tar .gz en directorio al vuelo

2018-02-01 Thread miguel angel gonzalez
Muchas gracias a todos.
La opción que me ha funcionado sin problemas ha sido la de sergio:

>
> <>
>
> Por ejemplo
>
> lo único que en el tar tenía la estructura de directorios, luego he movido
la carpeta que quería he borrado el resto y ya.

La opción más sencilla: mount -t nfs server:/path/ /carpeta/montaje como
comenta Maykel no me ha funcionado, y no tenía tiempo de investigar porqué.
De todos modos si veo que esto empieza a ser habitual haré un rsync.
Gracias ne nuevo, me habéis sacado de un apuro.
Saludos!

El 1 de febrero de 2018, 14:48, miguel angel gonzalez <
mangelgonza...@gmail.com> escribió:

> Buenas tardes,
> necesito descomprimir un tar gz al vuelo, es decir, que elimine el fichero
> origen, el problema que tengo es el espacio, no tengo espacio para tener el
> fichero descomprimido y el tar.gz en la partición /var y no puedo ampliar
> el lv, política de empresa.
> ¿Se os ocurre algo?
> Gracias!
>
>
> --
> /m.a.
>



-- 
/m.a.


Re: descomprimir tar .gz en directorio al vuelo

2018-02-01 Thread Debian Forever
El 1 feb. 2018 5:41 p. m., "Maykel Franco" 
escribió:

El día 1 de febrero de 2018, 17:28, Galvatorix Torixgalva
 escribió:
> Asi a ojo, se me ocurren varias cosas:
> a) algun error en el comando al montar la unidad nfs
> b) la unidad nfs esta en una maquina con windows?, creo recordar que
cuando
> windows se "apaga" usando el modo hibernacion da errores, a ver si es algo
> de eso
> c) la unidad nfs esta correcta?, es decir has comprobado que no haya
errores
> de algun tipo
>
> Saludos

Le has pasado al comando mount, decirle que quieres montar una unidad nfs?

mount -t nfs server:/path/ /carpeta/montaje

??



También tienes la opción de sshfs o como te han dicho, extraer el fichero y
mandarlo a un pipe para que lo mande por ssh en tiempo real mientras va
descomprimiendo...

Lo tienes muy fácil y de diferentes formas.


Re: descomprimir tar .gz en directorio al vuelo

2018-02-01 Thread Maykel Franco
El día 1 de febrero de 2018, 17:28, Galvatorix Torixgalva
 escribió:
> Asi a ojo, se me ocurren varias cosas:
> a) algun error en el comando al montar la unidad nfs
> b) la unidad nfs esta en una maquina con windows?, creo recordar que cuando
> windows se "apaga" usando el modo hibernacion da errores, a ver si es algo
> de eso
> c) la unidad nfs esta correcta?, es decir has comprobado que no haya errores
> de algun tipo
>
> Saludos

Le has pasado al comando mount, decirle que quieres montar una unidad nfs?

mount -t nfs server:/path/ /carpeta/montaje

??



Re: descomprimir tar .gz en directorio al vuelo

2018-02-01 Thread Galvatorix Torixgalva
Asi a ojo, se me ocurren varias cosas:
a) algun error en el comando al montar la unidad nfs
b) la unidad nfs esta en una maquina con windows?, creo recordar que cuando
windows se "apaga" usando el modo hibernacion da errores, a ver si es algo
de eso
c) la unidad nfs esta correcta?, es decir has comprobado que no haya
errores de algun tipo

Saludos
​


Re: descomprimir tar .gz en directorio al vuelo

2018-02-01 Thread miguel angel gonzalez
buenas tardes montar una unidad nfs hubiera sido lo más fácil y rápido pero
me estaba dando errores, y como siempre, va con prisas la cosa.

mount: wrong fs type, bad option, bad superblock on 192.168.1.190:
/var/export,
   missing codepage or helper program, or other error
   (for several filesystems (e.g. nfs, cifs) you might
   need a /sbin/mount. helper program)
   En algunos casos se encuentra información en syslog, pruebe
   dmesg | tail   o algo parecido
Estoy descomprimiendo en la máquina que lo tengo y a probar.
Buscaré el tema del tunel.
Alguna idea más? Gracias!


El 1 de febrero de 2018, 14:48, miguel angel gonzalez <
mangelgonza...@gmail.com> escribió:

> Buenas tardes,
> necesito descomprimir un tar gz al vuelo, es decir, que elimine el fichero
> origen, el problema que tengo es el espacio, no tengo espacio para tener el
> fichero descomprimido y el tar.gz en la partición /var y no puedo ampliar
> el lv, política de empresa.
> ¿Se os ocurre algo?
> Gracias!
>
>
> --
> /m.a.
>



-- 
/m.a.


Re: descomprimir tar .gz en directorio al vuelo

2018-02-01 Thread Jhosue rui
Si el archivo está en otra máquina, usa un tunel ssh para descomprimirlo.
Una búsqueda en Google te daría pistas al respecto.

El 1 feb. 2018 9:49 a. m., "miguel angel gonzalez" <mangelgonza...@gmail.com>
escribió:

> Buenas tardes,
> necesito descomprimir un tar gz al vuelo, es decir, que elimine el fichero
> origen, el problema que tengo es el espacio, no tengo espacio para tener el
> fichero descomprimido y el tar.gz en la partición /var y no puedo ampliar
> el lv, política de empresa.
> ¿Se os ocurre algo?
> Gracias!
>
>
> --
> /m.a.
>


Re: descomprimir tar .gz en directorio al vuelo

2018-02-01 Thread Maykel Franco
El 1 de febrero de 2018, 14:48, miguel angel gonzalez
<mangelgonza...@gmail.com> escribió:
>
> Buenas tardes,
> necesito descomprimir un tar gz al vuelo, es decir, que elimine el fichero 
> origen, el problema que tengo es el espacio, no tengo espacio para tener el 
> fichero descomprimido y el tar.gz en la partición /var y no puedo ampliar el 
> lv, política de empresa.
> ¿Se os ocurre algo?
> Gracias!
>
>
> --
> /m.a.


 Si el fichero descomprimido si te cabe, puedes descomprimirlo en otra
máquina y pasarlo por red... O incluso montar una carpeta del servidor
por la red, y descomprimirlo al vuelo a través de la red hacia el
servidor.



descomprimir tar .gz en directorio al vuelo

2018-02-01 Thread miguel angel gonzalez
Buenas tardes,
necesito descomprimir un tar gz al vuelo, es decir, que elimine el fichero
origen, el problema que tengo es el espacio, no tengo espacio para tener el
fichero descomprimido y el tar.gz en la partición /var y no puedo ampliar
el lv, política de empresa.
¿Se os ocurre algo?
Gracias!


-- 
/m.a.


Re: Flash- Plugin tar-gz

2013-10-18 Thread moi-meme
Le Thu, 17 Oct 2013 22:40:02 +0200, Dorian Carpentier de Changy a écrit :

 Mon automatisme de windautien est de me placer dans Téléchargement ou
 mon /home/user. J'ai déjà fait cela avec un résultat catastrophique. Où
 contrairement à un éxecutable, je ne me sens pas à l'aise.
 
 Une archive avec les sources est-il automatiquement suivi de ./configure
 = make = make install?

regarde dans l'archive. Normalement il y a un fichier INSTALL qui te dira 
comment faire.

Pour regarder dans l'archive cela dépend de ta distribution.

-- 
Lisez la FAQ de la liste avant de poser une question :
http://wiki.debian.org/fr/FrenchLists

Pour vous DESABONNER, envoyez un message avec comme objet unsubscribe
vers debian-user-french-requ...@lists.debian.org
En cas de soucis, contactez EN ANGLAIS listmas...@lists.debian.org
Archive: http://lists.debian.org/5260d260$0$2045$426a7...@news.free.fr



Re: Flash- Plugin tar-gz

2013-10-18 Thread maderios

On 10/17/2013 10:31 PM, Dorian Carpentier de Changy wrote:

Bonjour,

J'ai un système qui ne dispose pas de la configuration recommandée pour
installer le plugin Flashplayer dans le navigateur ou que c'est le
navigateur qui n'est pas à jour je dirais, ..

Je suis allé à la pêche aux archives.
Je me retrouve avec, une archive donc et là : je suis perdu : '

Où dois-je extraire cette archive? Il s'agit d'un plugin navigateur :
Flash-player pour Iceweasel

Bonjour
Donc ton système  est Debian. Dans ce cas pas la vie est simple : 
installer le paquet flashplugin-nonfree qui se chargera de télécharger 
et installer  la dernière version flash au bon endroit.
Ensuite, pour mettre à jour flash lancer dans une console en root 
'update-flashplugin-nonfree'


--
Maderios


--
Lisez la FAQ de la liste avant de poser une question :
http://wiki.debian.org/fr/FrenchLists

Pour vous DESABONNER, envoyez un message avec comme objet unsubscribe
vers debian-user-french-requ...@lists.debian.org
En cas de soucis, contactez EN ANGLAIS listmas...@lists.debian.org
Archive: http://lists.debian.org/5260ef50.3010...@gmail.com



Re: Flash- Plugin tar-gz

2013-10-18 Thread Dorian Carpentier de Changy

Le 18/10/2013 10:20, maderios a écrit :

Bonjour
Donc ton système  est Debian. Dans ce cas pas la vie est simple : 
installer le paquet flashplugin-nonfree qui se chargera de télécharger 
et installer  la dernière version flash au bon endroit.
Ensuite, pour mettre à jour flash lancer dans une console en root 
'update-flashplugin-nonfree'



Bonjour,

J'ai notamment installé ce flashplugin-nonfree. Au bout du 
téléchargement il m'indique ./install_flash_player_11_linux.x86_64.tar.gz
Une recherche m'indique que l'archive se trouve dans 
/var/cache/flashplugin-nonfree/


J'ouvre l'archive, lis le readme.txt.  Je suis les instructions:
A vue de nez,
contenu origine/   /destination
 libflashplayer.so = /usr/lib/iceweasel/components/
 usr/*=/usr/

Je recharge la page du navigateur m'indiquant que pr afficher tous les 
éléments il suffit d'installer un plugin

et résultat inchangé, j'ai tjs cet invite de plugin.

Qu'est ce que j'ai mal fait?

J'ai alors fait une recherche sur shockwave avec apt-cache
browser-plugin-gnash  -GNU Shockwave Flash (SWF) player - Plugin for 
Mozilla and derivatives= insatllé

Tjs rien pr qui améliore mes actions

Merci
attachment: dechangydorian.vcf

Re: Flash- Plugin tar-gz

2013-10-18 Thread Daniel Huhardeaux

Bonjour

Le 18/10/2013 11:12, Dorian Carpentier de Changy a écrit :

[...]

Je recharge la page du navigateur m'indiquant que pr afficher tous les 
éléments il suffit d'installer un plugin

et résultat inchangé, j'ai tjs cet invite de plugin.

Qu'est ce que j'ai mal fait?


Il faut fermer le navigateur et le relancer. Les plugins sont chargés au 
démarrage. Un about:plugins affiche la liste des plugins installés


--
Daniel

--
Lisez la FAQ de la liste avant de poser une question :
http://wiki.debian.org/fr/FrenchLists

Pour vous DESABONNER, envoyez un message avec comme objet unsubscribe
vers debian-user-french-requ...@lists.debian.org
En cas de soucis, contactez EN ANGLAIS listmas...@lists.debian.org
Archive: http://lists.debian.org/5260ff0c.7060...@tootai.net



Re: Flash- Plugin tar-gz

2013-10-18 Thread maderios

On 10/18/2013 11:12 AM, Dorian Carpentier de Changy wrote:

Le 18/10/2013 10:20, maderios a écrit :

Bonjour
Donc ton système  est Debian. Dans ce cas pas la vie est simple :
installer le paquet flashplugin-nonfree qui se chargera de télécharger
et installer  la dernière version flash au bon endroit.
Ensuite, pour mettre à jour flash lancer dans une console en root
'update-flashplugin-nonfree'


Bonjour,

J'ai notamment installé ce flashplugin-nonfree. Au bout du
téléchargement il m'indique ./install_flash_player_11_linux.x86_64.tar.gz
Une recherche m'indique que l'archive se trouve dans
/var/cache/flashplugin-nonfree/

J'ouvre l'archive, lis le readme.txt.  Je suis les instructions:
Si tu es bien sur Debian (?),  après l'install de  flashplugin-nonfree, 
 tu n'as rien à chercher ni ouvrir ni configurer. On lance iceweasel, 
c'est tout...


--
Maderios


--
Lisez la FAQ de la liste avant de poser une question :
http://wiki.debian.org/fr/FrenchLists

Pour vous DESABONNER, envoyez un message avec comme objet unsubscribe
vers debian-user-french-requ...@lists.debian.org
En cas de soucis, contactez EN ANGLAIS listmas...@lists.debian.org
Archive: http://lists.debian.org/52610093.4000...@gmail.com



Re: Flash- Plugin tar-gz

2013-10-18 Thread Haricophile
Le vendredi 18 octobre 2013 à 11:12 +0200, Dorian Carpentier de Changy a
écrit :

 Je recharge la page du navigateur m'indiquant que pr afficher tous les 
 éléments il suffit d'installer un plugin
 et résultat inchangé, j'ai tjs cet invite de plugin.

- Sur un site particulier ou partout ?
- Quel navigateur ? Iceweasel ?

L'avantage de flashplugin-nonfree c'est pour les mises à jour. Sinon
flashplayer c'est 1 (un) fichier libflashplayer.so
à mettre dans le path des plugins du navigateur, par exemple
~/.mozilla/plugins/libflashplayer.so pour l'installer uniquement pour
l'utilisateur.

flashplugin-nonfree apporte une fonctionalité supplémentaire : Il
enregistre flashplayer comme alternative. Ce qui signifie si tu installe
à la fois flashplayer et gnash que tu peux changer en faisant :

update-alternatives --config flash-mozilla.so

Bien entendu, il faut redémarrer le navigateur à chaque fois pour le
prendre en compte.

Pour Iceweasel, tu peux aussi vérifier quels plugins sont installés dans
le menu outils - Modules complémentaires - plugins  si tu n'utilise
pas le paquet Debian et si tu a installé aussi Gnash, tu risque d'avoir
2 modules flash, désactive à cet endroit Gnash ou Flashplayer au choix.

Enfin et je termine sur cette a-daube de flash, il faut bien évidement
que javascript soit activé pour que le plugin soit lancé.


P.S. Pour avoir un iceweasel plus récent, on peut prendre celui des
backports ou utiliser le dépôt de l'upstream en ajoutant dans ton
sources.list (en supprimant le # de commentaire selon ta version) :

# Iceweasel upstream
#deb http://cdn.debian.net/debian stable main
#deb http://cdn.debian.net/debian testing main
#deb http://cdn.debian.net/debian unstable main
#deb http://cdn.debian.net/debian experimental main

Je pense avoir été assez exhaustif.

-- 
Lisez la FAQ de la liste avant de poser une question :
http://wiki.debian.org/fr/FrenchLists

Pour vous DESABONNER, envoyez un message avec comme objet unsubscribe
vers debian-user-french-requ...@lists.debian.org
En cas de soucis, contactez EN ANGLAIS listmas...@lists.debian.org
Archive: http://lists.debian.org/1382093268.22218.15.camel@azuki.jisui



Re: Flash- Plugin tar-gz

2013-10-18 Thread Dorian Carpentier de Changy


Le 18/10/2013 11:34, maderios a écrit :

On 10/18/2013 11:12 AM, Dorian Carpentier de Changy wrote:

Une recherche m'indique que l'archive se trouve dans
/var/cache/flashplugin-nonfree/

J'ouvre l'archive, lis le readme.txt.  Je suis les instructions:
Si tu es bien sur Debian (?),  après l'install de flashplugin-nonfree, 
 tu n'as rien à chercher ni ouvrir ni configurer. On lance iceweasel, 
c'est tout...



Salut,

Oui, je suis sur Debian,
Suite à un redémarrage complet de la machine, le plugin est pris en compte.
J'avais bien redémarré uniquement le navigateur, mais là sans résultat.
Avec chacune des manips, difficile de conclure ce qui a permis, de 
obtenir les résultats in fine. L'usage de l'option -v aurait été utile 
pr voir si je n'écrasais pas des fichiers existants lors d'un cp.


Merci, au final

attachment: dechangydorian.vcf

Re: Flash- Plugin tar-gz

2013-10-18 Thread Dorian Carpentier de Changy


Le 18/10/2013 12:47, Haricophile a écrit :

Bien entendu, il faut redémarrer le navigateur à chaque fois pour le
prendre en compte.

Pour Iceweasel, tu peux aussi vérifier quels plugins sont installés dans
le menu outils - Modules complémentaires - plugins  si tu n'utilise
pas le paquet Debian et si tu a installé aussi Gnash, tu risque d'avoir
2 modules flash, désactive à cet endroit Gnash ou Flashplayer au choix.

Enfin et je termine sur cette a-daube de flash, il faut bien évidement
que javascript soit activé pour que le plugin soit lancé.



LE menu  outils - Modules complémentaires - plugins
indique que j'ai shockwave d'installé.

ccl: le script d'installation du paquet flashplugin-nonfree a échoué. A 
moins que ce soit que je n'ai pas de machine java installée.
chose le plus plausible. Est-ce que le bon paquet est javascript-common? 
Chez moi pas encore installé


BàT
attachment: dechangydorian.vcf

Re: Flash- Plugin tar-gz

2013-10-18 Thread Dorian Carpentier de Changy


Le 18/10/2013 12:47, Haricophile a écrit :

flashplugin-nonfree apporte une fonctionalité supplémentaire : Il
enregistre flashplayer comme alternative. Ce qui signifie si tu installe
à la fois flashplayer et gnash que tu peux changer en faisant :

update-alternatives --config flash-mozilla.so



J'ai essayé cette commande et j'ai le choix entre
/usr/lib/flashplayer-nonfree/libflashplayer.so mode 
automatique ou manuel

/usr/lib/gnash/libgnashplugin mode manuel

J'ai alors une différence de version dans le plugin de iceweasel (v 
11.2..202.310 ou 11.1.7XXX.XXX) mais toujours nommé Shockwave Flash.
Je n'ai pas le choix depuis l'onglet plugin. I l n'affiche qu'un plugin 
à la fois.


Pour reprendre où j'en suis resté ds mon mail précédent, est-ce que 
shockwave fonctionne séparémment de javascript?
Sans doute une bête question mais il y n'y a de bête que l'ignorance, 
dans ce cas je ne sais pas si java est fonctionnel sur ma machine.


Slt )
attachment: dechangydorian.vcf

Re: Flash- Plugin tar-gz

2013-10-18 Thread Sébastien NOBILI
Bonjour,

Le vendredi 18 octobre 2013 à 13:23, Dorian Carpentier de Changy a écrit :
 Enfin et je termine sur cette a-daube de flash, il faut bien évidement
 que javascript soit activé pour que le plugin soit lancé.
 
 ccl: le script d'installation du paquet flashplugin-nonfree a
 échoué. A moins que ce soit que je n'ai pas de machine java
 installée.

Attention à une confusion classique. Java et JavaScript sont deux langages et
environnements complètement différents.

Seb

-- 
Lisez la FAQ de la liste avant de poser une question :
http://wiki.debian.org/fr/FrenchLists

Pour vous DESABONNER, envoyez un message avec comme objet unsubscribe
vers debian-user-french-requ...@lists.debian.org
En cas de soucis, contactez EN ANGLAIS listmas...@lists.debian.org
Archive: http://lists.debian.org/20131018123950.gc12...@sebian.nob900.homeip.net



Re: Flash- Plugin tar-gz

2013-10-18 Thread Jérôme
Le vendredi 18 octobre 2013 à 13:51 +0200, Dorian Carpentier de Changy a
écrit :
 Pour reprendre où j'en suis resté ds mon mail précédent, est-ce que 
 shockwave fonctionne séparémment de javascript?
 Sans doute une bête question mais il y n'y a de bête que l'ignorance, 
 dans ce cas je ne sais pas si java est fonctionnel sur ma machine.

Java n'a strictement rien à voir avec javascript sinon une confusion au
niveau du nom.

Si javascript est désactivé dans les options de iceweasel ou que tu as
une extension comme noscript qui bloque les javascript, le player flash
ne démarre pas.

Pour savoir ou est ton(tes) plugin flash, tu peux faire un : 
locate flashplayer.so
qui devrait renvoyer: 
/usr/lib/flashplugin-nonfree/libflashplayer.so 

et si tu fais un :
ls -l /etc/alternatives
tu devrais avoir un lien symbolique :
flash-mozilla.so - /usr/lib/flashplugin-nonfree/libflashplayer.so
et si Gnash est par défaut :
flash-mozilla.so - /usr/lib/gnash/libgnashplugin.so

S'il y a d'autres libflashplayer.so qui traînent, c'est probablement des
restes de tes manipulations.



-- 
Lisez la FAQ de la liste avant de poser une question :
http://wiki.debian.org/fr/FrenchLists

Pour vous DESABONNER, envoyez un message avec comme objet unsubscribe
vers debian-user-french-requ...@lists.debian.org
En cas de soucis, contactez EN ANGLAIS listmas...@lists.debian.org
Archive: http://lists.debian.org/1382100955.10206.21.camel@azuki.jisui



Re: Flash- Plugin tar-gz

2013-10-18 Thread Haricophile
Le vendredi 18 octobre 2013 à 13:51 +0200, Dorian Carpentier de Changy a
écrit :
 Pour reprendre où j'en suis resté ds mon mail précédent, est-ce que 
 shockwave fonctionne séparémment de javascript?
 Sans doute une bête question mais il y n'y a de bête que l'ignorance, 
 dans ce cas je ne sais pas si java est fonctionnel sur ma machine.

Java n'a strictement rien à voir avec javascript sinon une confusion au
niveau du nom.

Si javascript est désactivé dans les options de iceweasel ou que tu as
une extension comme noscript qui bloque les javascript, le player flash
ne démarre pas.

Pour savoir ou est ton(tes) plugin flash, tu peux faire un : 
locate flashplayer.so
qui devrait renvoyer: 
/usr/lib/flashplugin-nonfree/libflashplayer.so 

et si tu fais un :
ls -l /etc/alternatives
tu devrais avoir un lien symbolique :
flash-mozilla.so - /usr/lib/flashplugin-nonfree/libflashplayer.so
et si Gnash est par défaut :
flash-mozilla.so - /usr/lib/gnash/libgnashplugin.so

S'il y a d'autres libflashplayer.so qui traînent, c'est probablement des
restes de tes manipulations.



-- 
Lisez la FAQ de la liste avant de poser une question :
http://wiki.debian.org/fr/FrenchLists

Pour vous DESABONNER, envoyez un message avec comme objet unsubscribe
vers debian-user-french-requ...@lists.debian.org
En cas de soucis, contactez EN ANGLAIS listmas...@lists.debian.org
Archive: http://lists.debian.org/1382100970.10206.22.camel@azuki.jisui



Flash- Plugin tar-gz

2013-10-17 Thread Dorian Carpentier de Changy

Bonjour,

J'ai un système qui ne dispose pas de la configuration recommandée pour 
installer le plugin Flashplayer dans le navigateur ou que c'est le 
navigateur qui n'est pas à jour je dirais, ..


Je suis allé à la pêche aux archives.
Je me retrouve avec, une archive donc et là : je suis perdu : '

Où dois-je extraire cette archive? Il s'agit d'un plugin navigateur : 
Flash-player pour Iceweasel

Y-a-t-il un répertoire valise qui s’accommode bien de cette technique?
Y a-t-il des répertoires préférés selon le type d'application (/var /etc 
/tmp /usr ...)?


Mon automatisme de windautien est de me placer dans Téléchargement ou 
mon /home/user. J'ai déjà fait cela avec un résultat catastrophique. Où 
contrairement à un éxecutable, je ne me sens pas à l'aise.


Une archive avec les sources est-il automatiquement suivi de ./configure 
= make = make install?


Que me conseillez vous?

Bonne soirée

attachment: dechangydorian.vcf

Re: Need help undeleting a Big gz compressed tar ball

2013-06-16 Thread Chris Bannister
On Sat, Jun 15, 2013 at 01:14:47PM -0400, To Ro wrote:
 I started testing one of the recovered files, with a binary file editor can
 se a long sequence of zeros at the very beginning of it, took some
 precautions, and here is what I see
 
 ls -lh
 total 5.8G
 -r 1 xyz xyz 5.8G Jun 14 17:52 inode_17000
 
 tried gunzip, djview, tar -x, mplayer, etc, thinking of the possible files
 that I had of that size. Nothing comes up. By the way, did bcrypt disappear
 from wheezy?
 
 Any ideas what else could be done?

Just an idea, but what does
file inode_17000 say?

-- 
If you're not careful, the newspapers will have you hating the people
who are being oppressed, and loving the people who are doing the 
oppressing. --- Malcolm X


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20130616103457.GJ28111@tal



Re: Need help undeleting a Big gz compressed tar ball

2013-06-16 Thread Ralf Mardorf
On Sun, 2013-06-16 at 22:34 +1200, Chris Bannister wrote:
 On Sat, Jun 15, 2013 at 01:14:47PM -0400, To Ro wrote:
  I started testing one of the recovered files, with a binary file editor can
  se a long sequence of zeros at the very beginning of it, took some
  precautions, and here is what I see
  
  ls -lh
  total 5.8G
  -r 1 xyz xyz 5.8G Jun 14 17:52 inode_17000
  
  tried gunzip, djview, tar -x, mplayer, etc, thinking of the possible files
  that I had of that size. Nothing comes up. By the way, did bcrypt disappear
  from wheezy?
  
  Any ideas what else could be done?
 
 Just an idea, but what does
 file inode_17000 say?

I experienced recovering ext4 files as nearly impossible, some can be
recovered, but most is lost when trying to recover it with tools doing
it automatically, however, IIRC _all_ (at least most) tools provide an
option to recover lost directories and files as directories and files in
a human readable way. Take a look at

THE_COMMAND_YOU_USE --help

or

man THE_COMMAND_YOU_USE

;).

Hth,
Ralf


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1371380058.886.4.camel@archlinux



Re: Need help undeleting a Big gz compressed tar ball

2013-06-16 Thread Ralf Mardorf
PS:

If the OP does remember the date, it might help to recover files only
from this date or at least recover only files from a given time span,
most, if not all tools provide this option too.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1371380208.886.7.camel@archlinux



Re: Need help undeleting a Big gz compressed tar ball

2013-06-15 Thread To Ro
On Fri, Jun 14, 2013 at 1:13 PM, green greenfreedo...@gmail.com wrote:

 To Ro wrote at 2013-06-14 06:02 -0500:
  At this point I have to wait about two weeks before I can afford
  getting a 2TB drive where I could dump the recovered parts and try to
  resuscitate it. Is there any site that would have information about
  forensics? The best way to prepare is by learning the fundamentals, since
  anyway I have two weeks of waiting time.

 Because I prefer to learn as I go, I (personally) would in this case
 immediately start working with the NTFS filesystem.  If you *always*
 mount it read-only, do not feel that a drive failure is imminent, and
 trust the NTFS drivers, then this should be completely safe.  If you
 can get even a small portion (at the beginning) of the tar.gz, you
 could (I suppose) use gzcat and then see some of the tar contents on
 stdout.  Perhaps you could even find a way to re-compress it to 4.7GB
 chunks, and then burn those to DVD or something.  Or…
 http://qntm.org/transit


I started testing one of the recovered files, with a binary file editor can
se a long sequence of zeros at the very beginning of it, took some
precautions, and here is what I see

ls -lh
total 5.8G
-r 1 xyz xyz 5.8G Jun 14 17:52 inode_17000

tried gunzip, djview, tar -x, mplayer, etc, thinking of the possible files
that I had of that size. Nothing comes up. By the way, did bcrypt disappear
from wheezy?

Any ideas what else could be done?


Re: Need help undeleting a Big gz compressed tar ball

2013-06-15 Thread green
To Ro wrote at 2013-06-15 12:14 -0500:
 I started testing one of the recovered files, with a binary file editor can
 se a long sequence of zeros at the very beginning of it, took some
 precautions, and here is what I see
 
 ls -lh
 total 5.8G
 -r 1 xyz xyz 5.8G Jun 14 17:52 inode_17000
 
 tried gunzip, djview, tar -x, mplayer, etc, thinking of the possible files
 that I had of that size. Nothing comes up.

If the data is compressed, it will probably not be understood by
anything other than gunzip, and even not that if there is not a proper
header.  You probably will not see anything familiar in the file (nor
will any other reader/viewer) without somehow decompressing it.

Perhaps you could find out what a gzip header looks like and search
for it at the beginning of the recovered files or on the NTFS
filesystem.  Note that I can not provide more than a little help from
here on, I am familiar with no more than (or less than) the basics of
data recovery.

http://www.gzip.org/recover.txt


signature.asc
Description: Digital signature


Re: Need help undeleting a Big gz compressed tar ball

2013-06-14 Thread To Ro
On Thu, Jun 13, 2013 at 10:53 PM, green greenfreedo...@gmail.com wrote:

 Bob Proulx wrote at 2013-06-13 11:45 -0500:
  Good to hear that it was not ext3!

 For ext3, there is the ext4magic tool.  (I have not used it.)


Thank you guys for all your input. The mention of scalpel, scrounge-ntfs
reminded me that I should do some apt-cache search forensic, and I found
several other packages: foremost, autopsy, safecopy, guymager, etc. Is
there any preference on any of these tools or warning that you would like
to share? At this point I have to wait about two weeks before I can afford
getting a 2TB drive where I could dump the recovered parts and try to
resuscitate it. Is there any site that would have information about
forensics? The best way to prepare is by learning the fundamentals, since
anyway I have two weeks of waiting time.


Re: Need help undeleting a Big gz compressed tar ball

2013-06-14 Thread green
To Ro wrote at 2013-06-14 06:02 -0500:
 At this point I have to wait about two weeks before I can afford
 getting a 2TB drive where I could dump the recovered parts and try to
 resuscitate it. Is there any site that would have information about
 forensics? The best way to prepare is by learning the fundamentals, since
 anyway I have two weeks of waiting time.

Because I prefer to learn as I go, I (personally) would in this case
immediately start working with the NTFS filesystem.  If you *always*
mount it read-only, do not feel that a drive failure is imminent, and
trust the NTFS drivers, then this should be completely safe.  If you
can get even a small portion (at the beginning) of the tar.gz, you
could (I suppose) use gzcat and then see some of the tar contents on
stdout.  Perhaps you could even find a way to re-compress it to 4.7GB
chunks, and then burn those to DVD or something.  Or…
http://qntm.org/transit


signature.asc
Description: Digital signature


Re: Need help undeleting a Big gz compressed tar ball

2013-06-13 Thread To Ro
Thank you Bob. The Seagate drive has NTFS, I never reformatted it. There is
where the big tar file was.
Here is another question: How does the creation of a tar.gz ball occur? Is
it

a) first compressing files and directories and then taring them
or
b) taring and then compressing?

If the procedure is a), how big the compressed chunks are, how exactly does
it happen? It may explain the recovered pieces of 20,30,50 etc GB that are
declared by file to be data.

One experience I got: Never create big tar balls unless you have the
computer power to handle it. Especially if it is compressed.


On Wed, Jun 12, 2013 at 8:18 PM, Bob Proulx b...@proulx.com wrote:

 To Ro wrote:
  After a few hours, my Big.tar.gz was gone. I tried testdisk, but has not
  been very succesful. I was able to see and copy to another disk about 18
  files of different sizes, from 6 gb to 70 gb, with names such as
 inode_x
  Running the command file inode_x yields not much, it says data
 file.
  The process of copying by testdisk had to be halted because the target
 disk
  was full, and testdisk hung for several hours (night time) before I
 stopped
  the whole thing.
  What should I do?

 What filesystem are you using?  Because if it is ext3 then things look
 pretty grim.  See this reference:

   http://batleth.sapienti-sat.org/projects/FAQs/ext3-faq.html

   Q: How can I recover (undelete) deleted files from my ext3 partition?
   Actually, you can't! This is what one of the developers, Andreas
   Dilger, said about it:

   In order to ensure that ext3 can safely resume an unlink after a
   crash, it actually zeros out the block pointers in the inode, whereas
   ext2 just marks these blocks as unused in the block bitmaps and marks
   the inode as deleted and leaves the block pointers alone.

   Your only hope is to grep for parts of your files that have been
   deleted and hope for the best.

 Otherwise everything I know about recovering deleted files is here:


 http://www.gnu.org/software/coreutils/faq/#I-used-rm-to-remove-a-file_002e-How-can-I-get-it-back-now_003f

 It is a pretty pessimistic view.  I hope others have more optimistic
 information for you.

 Good luck!
 Bob



Re: Need help undeleting a Big gz compressed tar ball

2013-06-13 Thread Linux-Fan
On 06/13/2013 11:29 AM, To Ro wrote:
 Thank you Bob. The Seagate drive has NTFS, I never reformatted it. There is
 where the big tar file was.
 Here is another question: How does the creation of a tar.gz ball occur? Is
 it
 
 a) first compressing files and directories and then taring them
 or
 b) taring and then compressing?
 
 If the procedure is a), how big the compressed chunks are, how exactly does
 it happen? It may explain the recovered pieces of 20,30,50 etc GB that are
 declared by file to be data.
 
 One experience I got: Never create big tar balls unless you have the
 computer power to handle it. Especially if it is compressed.

It is first tar and then gz. Tar creates one file of all the data and
then filters them trough gz. (You can create a tar.gz by issuing tar -cf
test.tar file...; gzip test.tar).

Linux-Fan

-- 
http://masysma.ohost.de/



signature.asc
Description: OpenPGP digital signature


Re: Need help undeleting a Big gz compressed tar ball

2013-06-13 Thread green
To Ro wrote at 2013-06-12 14:44 -0500:
 Where: External SeaGate Drive of 1 TB
 I had a Big.tar.gz file (about 400gb) with all the contents of my home
 directory, in a maze of directories and subdirectories.
 After extracting a directory with all its contents from Big.tar.gz to my
 hard drive, I decided to delete that particular directory. My mistake was
 to use archive manager from gnome 3 (debian wheezy), insted of using the
 command line. A wrong click started the deletion of the whole Big.tar.gz
 After a few hours, my Big.tar.gz was gone. I tried testdisk, but has not
 been very succesful. I was able to see and copy to another disk about 18
 files of different sizes, from 6 gb to 70 gb, with names such as inode_x
 Running the command file inode_x yields not much, it says data file.
 The process of copying by testdisk had to be halted because the target disk
 was full, and testdisk hung for several hours (night time) before I stopped
 the whole thing.

Make sure you do *not* have the NTFS filesystem mounted as
read-write.  Use `mount -o remount,ro /dev/sdx` with the appropriate
device file to mount read-only.

If you do not have a target disk that is large enough, you need to get
one.  Go with maybe 2 TB so that you have room to store the 400 GB
archive, plus extract it.  If you will be using this with Linux only,
do not use NTFS.

If you have not made *any* writes to the filesystem after the delete,
then the data *should* be there.  Try tools like scalpel,
scrounge-ntfs, and testdisk (now that you have adequate target disk
space).


signature.asc
Description: Digital signature


Re: Need help undeleting a Big gz compressed tar ball

2013-06-13 Thread Bob Proulx
To Ro wrote:
 Here is another question: How does the creation of a tar.gz ball occur? Is
 it

That is one of those questions like Bilbo's riddle.  It is created by
the commands that created it and there isn't any other way to know.
Except that you said it was 400G and that means almost certainly it
was created on the fly and not in place.

 a) first compressing files and directories and then taring them
 or

If the file was 400G compressed then to have done that would have
needed more space.  If the compression was 10x (not uncommon) then it
would have needed 4000G of space to hold the uncompressed image first
and then enough additional space to create the compressed file.  You
would have needed, say, at least 5T of space in that case.  Unlikely.
And inefficient.  (And it all depends upon the compression factor.
Images are already compressed and generally do not compress more.  My
10x number might be 1.2x overall.  But text and source code and
particularly data files tend to compress very well and my 10x number
might be 100x then.  It all depends upon the data.)

 b) taring and then compressing?

Normally people working with tar.gz files compress them on the fly.

  tar cf - DIRPATH | gzip  TARFILE.tar.gz

Or they do the above combined all at one time using the 'z' option
which does the same thing but is a nice typing saver aid.  Internally
tar will use popen() to create the pipe for you.

  tar czf TARFILE.tar.gz DIRPATH

Since that runs as a pipe the output file is always compressed and
disk space used is at a minimum.  Also each process can get a
different cpu in a multi-core cpu system.  That is the most likely way
that your 400G tar.gz file was created.  However that is still not the
only way and other possibilities exist so this can not be said with
absolute certainty.

 One experience I got: Never create big tar balls unless you have the
 computer power to handle it. Especially if it is compressed.

I have to say that when I saw that you had a 400G tar.gz I had a sharp
intake of breath thinking about it.

Good to hear that it was not ext3!  Do what user green said and you
may have good success recovering the file.

Good luck!
Bob


signature.asc
Description: Digital signature


Re: Need help undeleting a Big gz compressed tar ball

2013-06-13 Thread green
Bob Proulx wrote at 2013-06-13 11:45 -0500:
 Good to hear that it was not ext3!

For ext3, there is the ext4magic tool.  (I have not used it.)


signature.asc
Description: Digital signature


Need help undeleting a Big gz compressed tar ball

2013-06-12 Thread To Ro
Where: External SeaGate Drive of 1 TB
I had a Big.tar.gz file (about 400gb) with all the contents of my home
directory, in a maze of directories and subdirectories.
After extracting a directory with all its contents from Big.tar.gz to my
hard drive, I decided to delete that particular directory. My mistake was
to use archive manager from gnome 3 (debian wheezy), insted of using the
command line. A wrong click started the deletion of the whole Big.tar.gz
After a few hours, my Big.tar.gz was gone. I tried testdisk, but has not
been very succesful. I was able to see and copy to another disk about 18
files of different sizes, from 6 gb to 70 gb, with names such as inode_x
Running the command file inode_x yields not much, it says data file.
The process of copying by testdisk had to be halted because the target disk
was full, and testdisk hung for several hours (night time) before I stopped
the whole thing.
What should I do?
(Thanks in advance to all).


Re: Need help undeleting a Big gz compressed tar ball

2013-06-12 Thread Bob Proulx
To Ro wrote:
 After a few hours, my Big.tar.gz was gone. I tried testdisk, but has not
 been very succesful. I was able to see and copy to another disk about 18
 files of different sizes, from 6 gb to 70 gb, with names such as inode_x
 Running the command file inode_x yields not much, it says data file.
 The process of copying by testdisk had to be halted because the target disk
 was full, and testdisk hung for several hours (night time) before I stopped
 the whole thing.
 What should I do?

What filesystem are you using?  Because if it is ext3 then things look
pretty grim.  See this reference:

  http://batleth.sapienti-sat.org/projects/FAQs/ext3-faq.html

  Q: How can I recover (undelete) deleted files from my ext3 partition?
  Actually, you can't! This is what one of the developers, Andreas
  Dilger, said about it:

  In order to ensure that ext3 can safely resume an unlink after a
  crash, it actually zeros out the block pointers in the inode, whereas
  ext2 just marks these blocks as unused in the block bitmaps and marks
  the inode as deleted and leaves the block pointers alone.

  Your only hope is to grep for parts of your files that have been
  deleted and hope for the best.

Otherwise everything I know about recovering deleted files is here:

  
http://www.gnu.org/software/coreutils/faq/#I-used-rm-to-remove-a-file_002e-How-can-I-get-it-back-now_003f

It is a pretty pessimistic view.  I hope others have more optimistic
information for you.

Good luck!
Bob


signature.asc
Description: Digital signature


Re: apt-file update doesn't get Contents-i386.gz from my own apt repository

2009-12-12 Thread Osamu Aoki
Hi,

On Fri, Dec 11, 2009 at 01:49:13PM -0800, Peter Michaux wrote:
 Hi,
 
 I have created my own apt simple repository

Which documentation recommended you to create a so called simple
repository?  It should be avoided these days.

(See 
http://www.debian.org/doc/manuals/debian-reference/ch02.en.html#_small_public_package_archive
 )
 
   # ls -1 /home/code/apt
   Contents
   Contents-i386.gz
   Packages
   Packages.gz
   db
   libconfig-properties-perl_1.70-1_all.deb
 
 I can install the package from that apt repository
 
   # cat EOF  /etc/apt/sources.list
   deb file:///home/code/apt ./
   EOF
   # apt-get update
   Ign file: ./ Release.gpg
   Ign file: ./ Release
   Ign file: ./ Packages

Since  simple repository does not have no secureAPT support without
Release.gpg.  It does not work well with modern APT system.

   ...
   # apt-get install libconfig-properties-perl
   ...
   # perl -MConfig::Properties -e 'print($Config::Properties::VERSION.\n);'
   1.70
 
 Great. That works.

I think you got libconfig-properties-perl from some properly made remote
repository ... most likely from http://security.debian.org/dists/lenny/updates/.
If it is from file:///home/code/apt, secure APT should
complain (as I understand when I made my local repository as local http
service.  file:// may be different from http:// ... though.)

I do not know all the inside works of apt-file.  It is not core APT
tool.  If it has bus as commented, we need to work around it.
 
 What to do to get apt-file update behaving properly?

Wait its bug to be fixed ... ?
 
 (I'm using dh-make-perl which uses apt-file to locate prerequisite
 packages and that is how I ran into this problem.)

Osamu


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: apt-file update doesn't get Contents-i386.gz from my own apt repository

2009-12-12 Thread Peter Michaux
On Sat, Dec 12, 2009 at 3:47 AM, Osamu Aoki os...@debian.org wrote:
 On Fri, Dec 11, 2009 at 01:49:13PM -0800, Peter Michaux wrote:

 I have created my own apt simple repository

 Which documentation recommended you to create a so called simple
 repository?  It should be avoided these days.

 (See 
 http://www.debian.org/doc/manuals/debian-reference/ch02.en.html#_small_public_package_archive
  )

Thanks for the link. I am trying it now.

I'd think it is a bit unfortunate if a simple little repository like I
created won't work anymore.


   # ls -1 /home/code/apt
   Contents
   Contents-i386.gz
   Packages
   Packages.gz
   db
   libconfig-properties-perl_1.70-1_all.deb

 I can install the package from that apt repository

   # cat EOF  /etc/apt/sources.list
   deb file:///home/code/apt ./
   EOF
   # apt-get update
   Ign file: ./ Release.gpg
   Ign file: ./ Release
   Ign file: ./ Packages

 Since  simple repository does not have no secureAPT support without
 Release.gpg.  It does not work well with modern APT system.

   ...
   # apt-get install libconfig-properties-perl
   ...
   # perl -MConfig::Properties -e 'print($Config::Properties::VERSION.\n);'
   1.70

 Great. That works.

 I think you got libconfig-properties-perl from some properly made remote
 repository ... most likely from 
 http://security.debian.org/dists/lenny/updates/.

I think I am installing from my local repository because if I comment
out the line for my local repository in /etc/apt/sources.list then
libconfig-properties-perl cannot be found: Package
libconfig-properties-perl has no installation candidate.


 If it is from file:///home/code/apt, secure APT should
 complain (as I understand when I made my local repository as local http
 service.  file:// may be different from http:// ... though.)

 I do not know all the inside works of apt-file.  It is not core APT
 tool.  If it has bus as commented, we need to work around it.

 What to do to get apt-file update behaving properly?

 Wait its bug to be fixed ... ?

Does any know if there actually is there a known bug that I'm
encountering here or if I have something misconfigured?

Thanks,
Peter


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: apt-file update doesn't get Contents-i386.gz from my own apt repository

2009-12-12 Thread Peter Michaux
On Sat, Dec 12, 2009 at 3:47 AM, Osamu Aoki os...@debian.org wrote:

 On Fri, Dec 11, 2009 at 01:49:13PM -0800, Peter Michaux wrote:

 I have created my own apt simple repository

 Which documentation recommended you to create a so called simple
 repository?  It should be avoided these days.

 (See 
 http://www.debian.org/doc/manuals/debian-reference/ch02.en.html#_small_public_package_archive
  )

It seems that a simple repository directory structure is the
problem. apt-file update only searches in a more complex, standard
apt repository structure with a directory hierarchy for distributions
and then main, free, non-free etc.

Thanks for pointing me in the right direction.

Peter


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: apt-file update error because missing Contents-i386.gz file

2009-12-11 Thread Camaleón
On Thu, 10 Dec 2009 21:45:31 -0800, Peter Michaux wrote:

 I have a new Debian Lenny system. The /etc/apt/sources.list file
 contains
 
   deb http://ftp.us.debian.org/debian lenny main contrib deb
   http://security.debian.org/ lenny/updates main deb-src
   http://ftp.us.debian.org/debian lenny main contrib
 
 When I do apt-file update I see the following error.
 
   Can't get
   http://security.debian.org/dists/lenny/updates/Contents-i386.gz
 
 Sure enough that file doesn't exist.
 
 Is this a known issue? Any solution other than commenting out the line
 in sources.list?

Just a thought, but... is it possible that any of your ISP|proxy provider 
is caching the content and trying to give you some file that is not 
currently there?

Greetings,

-- 
Camaleón


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: apt-file update error because missing Contents-i386.gz file

2009-12-11 Thread Sven Joachim
On 2009-12-11 06:45 +0100, Peter Michaux wrote:

 I have a new Debian Lenny system. The /etc/apt/sources.list file contains

   deb http://ftp.us.debian.org/debian lenny main contrib
   deb http://security.debian.org/ lenny/updates main
   deb-src http://ftp.us.debian.org/debian lenny main contrib

 When I do apt-file update I see the following error.

   Can't get http://security.debian.org/dists/lenny/updates/Contents-i386.gz

 Sure enough that file doesn't exist.

 Is this a known issue?

Yes, bug #479585¹.

 Any solution other than commenting out the line in sources.list?

A patch is suggested at the end of the bug log.  Commenting out the line
for security.debian.org is by all means *not* recommended.

Sven


¹ http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=479585


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: apt-file update error because missing Contents-i386.gz file

2009-12-11 Thread Liam O'Toole
On 2009-12-11, Peter Michaux petermich...@gmail.com wrote:
 Hi,

 I have a new Debian Lenny system. The /etc/apt/sources.list file contains

   deb http://ftp.us.debian.org/debian lenny main contrib
   deb http://security.debian.org/ lenny/updates main
   deb-src http://ftp.us.debian.org/debian lenny main contrib

 When I do apt-file update I see the following error.

   Can't get http://security.debian.org/dists/lenny/updates/Contents-i386.gz

 Sure enough that file doesn't exist.

 Is this a known issue? Any solution other than commenting out the line
 in sources.list?

 Thanks,
 Peter



It is a known issue. The only effect is that the contents of the 'updates'
won't be available to apt-file, but those contents should be the same as 'main'
anyway.

Do not comment out the line. Doing so would affect the operation of apt-get and
aptitude as well, and you would miss security updates. If the error message
bothers you then you can create a new sources file and reference it using the
'-s' option of apt-file.

-- 
Liam O'Toole
Birmingham, United Kingdom



-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



apt-file update doesn't get Contents-i386.gz from my own apt repository

2009-12-11 Thread Peter Michaux
Hi,

I have created my own apt simple repository

  # ls -1 /home/code/apt
  Contents
  Contents-i386.gz
  Packages
  Packages.gz
  db
  libconfig-properties-perl_1.70-1_all.deb

I can install the package from that apt repository

  # cat EOF  /etc/apt/sources.list
  deb file:///home/code/apt ./
  EOF
  # apt-get update
  Ign file: ./ Release.gpg
  Ign file: ./ Release
  Ign file: ./ Packages
  ...
  # apt-get install libconfig-properties-perl
  ...
  # perl -MConfig::Properties -e 'print($Config::Properties::VERSION.\n);'
  1.70

Great. That works.

I cannot seem to get apt-file to download the Contents-i386.gz file.

  # apt-file update
  Can't get http://security.debian.org/dists/lenny/updates/Contents-i386.gz

Even if I delete the /home/code/apt/Contents-i386.gz file, apt-file
update doesn't complain that the file is missing. It is as if
apt-file update isn't even trying to get that file.

  # apt-file search Config::Properties
  liblog-handler-perl:
/usr/share/man/man3/Log::Handler::Plugin::Config::Properties.3pm.gz

My package libconfig-properties-perl_1.70-1_all.deb is not in the
search results, of course.

What to do to get apt-file update behaving properly?

(I'm using dh-make-perl which uses apt-file to locate prerequisite
packages and that is how I ran into this problem.)

Thanks,
Peter


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



apt-file update error because missing Contents-i386.gz file

2009-12-10 Thread Peter Michaux
Hi,

I have a new Debian Lenny system. The /etc/apt/sources.list file contains

  deb http://ftp.us.debian.org/debian lenny main contrib
  deb http://security.debian.org/ lenny/updates main
  deb-src http://ftp.us.debian.org/debian lenny main contrib

When I do apt-file update I see the following error.

  Can't get http://security.debian.org/dists/lenny/updates/Contents-i386.gz

Sure enough that file doesn't exist.

Is this a known issue? Any solution other than commenting out the line
in sources.list?

Thanks,
Peter


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



[Résolu] vim et archive .gz

2009-03-22 Thread Adrien

En cette matinée du samedi 21 mars 2009,
Gaëtan PERRIER gaetan.perr...@free.fr a écrit :

 Je suis en testing et pas de soucis...

J’ai trouvé la solution à mon problème : J’utilise fish à la place de bash… et 
fish pose quelques soucis avec vim.
il faut donc rajouter les lignes suivantes dans le .vimrc :
if $SHELL =~ 'bin/fish'
set shell=/bin/sh
endif

source : http://fishshell.org/wiki/moin.cgi/Recipes

Bon week end à tous,

Adrien


--
Lisez la FAQ de la liste avant de poser une question :
http://wiki.debian.org/fr/FrenchLists Vous pouvez aussi ajouter le mot
``spam'' dans vos champs From et Reply-To:

Pour vous DESABONNER, envoyez un message avec comme objet unsubscribe
vers debian-user-french-requ...@lists.debian.org
En cas de soucis, contactez EN ANGLAIS listmas...@lists.debian.org



vim et archive .gz

2009-03-21 Thread Adrien

Bonjour,

Depuis quelques temps je n’arrive plus à ouvrir directement de fichiers 
compressé avec vim :

$ vim /usr/share/doc/bash/changelog.Debian.gz
me donne par exemple :

Erreur détectée en traitant function gzip#read :
ligne   41 :
E484: Impossible d'ouvrir le fichier /tmp/v641155/1
ligne   44 :
Error: Could not read uncompressed file

Et vim ouvre l’archive sans la décompresser  ; je vois donc une suite de 
caractère bizarre dans le fichier.

Je pense que ça doit faire ça depuis le passage de Lenny en stable (je suis en 
testing), mais je ne suis pas sûr.


D’autres personnes ont ce problème aussi ? Savez-vous comment le résoudre ?

Adrien


--
Lisez la FAQ de la liste avant de poser une question :
http://wiki.debian.org/fr/FrenchLists Vous pouvez aussi ajouter le mot
``spam'' dans vos champs From et Reply-To:

Pour vous DESABONNER, envoyez un message avec comme objet unsubscribe
vers debian-user-french-requ...@lists.debian.org
En cas de soucis, contactez EN ANGLAIS listmas...@lists.debian.org



Re: vim et archive .gz

2009-03-21 Thread Gaëtan PERRIER
Le Sat, 21 Mar 2009 10:44:33 +
Adrien alfr...@laposte.net a écrit:

 
   Bonjour,
 
 Depuis quelques temps je n’arrive plus à ouvrir directement de fichiers
 compressé avec vim :
 
 $ vim /usr/share/doc/bash/changelog.Debian.gz
 me donne par exemple :
 
 Erreur détectée en traitant function gzip#read :
 ligne   41 :
 E484: Impossible d'ouvrir le fichier /tmp/v641155/1
 ligne   44 :
 Error: Could not read uncompressed file
 
 Et vim ouvre l’archive sans la décompresser  ; je vois donc une suite de
 caractère bizarre dans le fichier.
 
 Je pense que ça doit faire ça depuis le passage de Lenny en stable (je suis
 en testing), mais je ne suis pas sûr.
 
 
 D’autres personnes ont ce problème aussi ? Savez-vous comment le résoudre ?
 

Je suis en testing et pas de soucis...

Gaëtan

-- 
Lisez la FAQ de la liste avant de poser une question :
http://wiki.debian.org/fr/FrenchLists Vous pouvez aussi ajouter le mot
``spam'' dans vos champs From et Reply-To:

Pour vous DESABONNER, envoyez un message avec comme objet unsubscribe
vers debian-user-french-requ...@lists.debian.org
En cas de soucis, contactez EN ANGLAIS listmas...@lists.debian.org



Modificar arquivo minirt24.gz

2007-05-30 Thread Ricardo Miranda
ola,
eu estou tentando modificar um arquivo minirt24.gz que teria um mini
linux dentro
eu descomprimo o arquivo e monto ele com o comando
#mount -o loop minirt /mnt/arquivo
no /mnt/arquivo eu edito um arquivo e depois desmonto usando o umont
compacto o arquivo gzip -9 minirt 
coloco no pendrive o sistema começa a carregar e para
andes de modificar funciona normal mais apos essa modificacao nao
funciona
eu estou fazendo alguma coisa erra para o arquivo minirt24.gz nao
funcionar ?


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



Re: Pacotes geram arquivos .gz

2007-05-03 Thread Rodrigo Tavares
Pessoal,

Entendi visa economizar espaço.

Mas existe alguma forma, com que esses arquivos não
sejam compactados ? 

fiz na marreta mesmo...

system dpkg -L cake | grep php.gz  file.txt;
open(FILE, file.txt) || die N pode abrir arquivo:
$!\n;
while (FILE)
 {
   system gunzip $_;
 }

close FILE;

T+

Faria


--- Marcos Lazarini [EMAIL PROTECTED] escreveu:

 Em 02/05/07, Edmundo Valle
 Neto[EMAIL PROTECTED] escreveu:
  Rodrigo Tavares escreveu:
   Pessoal,
  
   Porque os pacotes debian cria arquivos .gz, para
   arquivos texto, como por exemplo:
  
   dbo_postgres.php.gz
  
   No meu makefile, crio um diretorio no
 /usr/share/doc
   do pacote e copio para o /opt.
  
   Consultei o debian policy, mas não achei nada de
 util.
  
   Tem como configurar isso ?
   Para os arquivos não gerarem arquivos gz e sim
 no
   formato original do arquivo.
  
   Pois ficar dando gunzip em todos arquivos é a
 muito
   marreta.
  
   Att,
  
   Faria
  
 
  Os arquivos são compactados para não ocuparem
 tanto espaço, existem
  ferramentas muito práticas para lê-los ou
 descompactá-los, normalmente
  eles começam com z..., tipo zcat, zless, etc.
 Ficam nos pacotes dos
  compactadores gzip e bzip2.
 
 É isso mesmo, eu inclusive uso bastante o zxpdf :-)
 Mas diz sim, em algum lugar do policy que arquivos
 de documentação
 devem ficar compactados se o ganho for
 considerável... só não me
 lembro onde.
 Inclusive isso já foi discutido na lista aqui...
 
 -- 
 Marcos
 
 


__
Fale com seus amigos  de graça com o novo Yahoo! Messenger 
http://br.messenger.yahoo.com/ 


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



Re: Pacotes geram arquivos .gz

2007-05-03 Thread Ataliba Neto

Você pode visualizar os arquivos apenas com o vi, exemplo são os arquivos
de logs:
# vi /var/log/dmesg.1.gz

Sempre às Ordens,
--
Ataliba Neto.
O que Deus faz nenhum software é capaz.


Pacotes geram arquivos .gz

2007-05-02 Thread Rodrigo Tavares
Pessoal,

Porque os pacotes debian cria arquivos .gz, para
arquivos texto, como por exemplo:

dbo_postgres.php.gz

No meu makefile, crio um diretorio no /usr/share/doc
do pacote e copio para o /opt.

Consultei o debian policy, mas não achei nada de util.

Tem como configurar isso ?
Para os arquivos não gerarem arquivos gz e sim no
formato original do arquivo.

Pois ficar dando gunzip em todos arquivos é a muito
marreta.

Att,

Faria


__
Fale com seus amigos  de graça com o novo Yahoo! Messenger 
http://br.messenger.yahoo.com/ 


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



Re: Pacotes geram arquivos .gz

2007-05-02 Thread Edmundo Valle Neto

Rodrigo Tavares escreveu:

Pessoal,

Porque os pacotes debian cria arquivos .gz, para
arquivos texto, como por exemplo:

dbo_postgres.php.gz

No meu makefile, crio um diretorio no /usr/share/doc
do pacote e copio para o /opt.

Consultei o debian policy, mas não achei nada de util.

Tem como configurar isso ?
Para os arquivos não gerarem arquivos gz e sim no
formato original do arquivo.

Pois ficar dando gunzip em todos arquivos é a muito
marreta.

Att,

Faria
  


Os arquivos são compactados para não ocuparem tanto espaço, existem 
ferramentas muito práticas para lê-los ou descompactá-los, normalmente 
eles começam com z..., tipo zcat, zless, etc. Ficam nos pacotes dos 
compactadores gzip e bzip2.


Edmundo Valle Neto


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



Re: Pacotes geram arquivos .gz

2007-05-02 Thread Marcos Lazarini

Em 02/05/07, Edmundo Valle Neto[EMAIL PROTECTED] escreveu:

Rodrigo Tavares escreveu:
 Pessoal,

 Porque os pacotes debian cria arquivos .gz, para
 arquivos texto, como por exemplo:

 dbo_postgres.php.gz

 No meu makefile, crio um diretorio no /usr/share/doc
 do pacote e copio para o /opt.

 Consultei o debian policy, mas não achei nada de util.

 Tem como configurar isso ?
 Para os arquivos não gerarem arquivos gz e sim no
 formato original do arquivo.

 Pois ficar dando gunzip em todos arquivos é a muito
 marreta.

 Att,

 Faria


Os arquivos são compactados para não ocuparem tanto espaço, existem
ferramentas muito práticas para lê-los ou descompactá-los, normalmente
eles começam com z..., tipo zcat, zless, etc. Ficam nos pacotes dos
compactadores gzip e bzip2.


É isso mesmo, eu inclusive uso bastante o zxpdf :-)
Mas diz sim, em algum lugar do policy que arquivos de documentação
devem ficar compactados se o ganho for considerável... só não me
lembro onde.
Inclusive isso já foi discutido na lista aqui...

--
Marcos



Problema com arquivos grandes - .gz e .bz2

2006-08-02 Thread Pedro - Debian

Olá pessoal

Estou passando por maus bocados com meus bkps. Uso o tar para fazer bkps 
dos dados da rede, usando os compactadores gzip e bzip2. Porém quando os 
arquivos passam de 750 mb no .bz2 e 1 Gb no gz eu não consigo restaurar 
os arquivos compactados. Ele restaura até um certo ponto depois encerra 
o programa com erro de crc.

bzip2: Data integrity error when decompressing.
   Input file = (stdin), output file = (stdout)

It is possible that the compressed file(s) have become corrupted.
You can use the -tvv option to test integrity of such files.

You can use the `bzip2recover' program to attempt to recover
data from undamaged sections of corrupted files.

Já tentei usar o bzip2recover mas não adiantou nada.

Já troquei a partição para XFS, troquei o hd pensando que poderia ser um 
problema de disco, mas o erro permance.
Os arquivos são gravados por máquinas Windows, tem nomes extensos, 
acentuação isso tem algo haver? Alguém já passou por isso... tem uma 
solução para me apresentar... uma luz no fim do túnel... Estou fazendo 
testes agora com o tar sem parâmetro de compactação... mas o duro que ai 
os arquivos ficam gigantes.


Meu servidor é um Debian 3 Sarge, kernel 2.6.8 no servidor que gera o 
bkp, e 2.6.10 no servidor que armazena o arquivo rodando Coneciva 10.


Qualquer ajudar ou explicação sobre o caso é muito bem vinda

Obrigado


Pedro


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



Re: Problema com arquivos grandes - .gz e .bz2

2006-08-02 Thread Pedro - Debian




Estou usando XFS como filesystem

Pedro

Renato Martins escreveu:

  qual o filesystem vc esta usando ext2 ?

- Original Message -
From: "Pedro - Debian" [EMAIL PROTECTED]
To: debian-user-portuguese@lists.debian.org
Sent: Wednesday, August 02, 2006 10:22 AM
Subject: Problema com arquivos grandes - .gz e .bz2


  
  
Ol pessoal

Estou passando por maus bocados com meus bkps. Uso o tar para fazer bkps
dos dados da rede, usando os compactadores gzip e bzip2. Porm quando os
arquivos passam de 750 mb no .bz2 e 1 Gb no gz eu no consigo restaurar
os arquivos compactados. Ele restaura at um certo ponto depois encerra
o programa com erro de crc.
"bzip2: Data integrity error when decompressing.
Input file = (stdin), output file = (stdout)

It is possible that the compressed file(s) have become corrupted.
You can use the -tvv option to test integrity of such files.

You can use the `bzip2recover' program to attempt to recover
data from undamaged sections of corrupted files."

J tentei usar o bzip2recover mas no adiantou nada.

J troquei a partio para XFS, troquei o hd pensando que poderia ser um
problema de disco, mas o erro permance.
Os arquivos so gravados por mquinas Windows, tem nomes extensos,
acentuao isso tem algo haver? Algum j passou por isso... tem uma
soluo para me apresentar... uma luz no fim do tnel... Estou fazendo
testes agora com o tar sem parmetro de compactao... mas o duro que ai
os arquivos ficam gigantes.

Meu servidor  um Debian 3 Sarge, kernel 2.6.8 no servidor que gera o
bkp, e 2.6.10 no servidor que armazena o arquivo rodando Coneciva 10.

Qualquer ajudar ou explicao sobre o caso  muito bem vinda

Obrigado


Pedro


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

  
  [EMAIL PROTECTED]
  
  



--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.394 / Virus Database: 268.10.5/405 - Release Date: 1/8/2006



  
  

  






Re: compactar arquivo em .gz

2006-06-26 Thread Carlos Ribeiro
Obrigado pela explicação companheiro.Sucesso.CREm 25/06/06, pruonckk [EMAIL PROTECTED] escreveu:
neste caso nao, o gunzip gera arquivos .gz, e o bunzip2 gera .bz2, oqueé usado normalmente é o seguinte
tar -czvf diretorio arquivo.tar.gzoutar -cjvf diretorio arquivo.tar.bz2pode cer usado apenas para compactar um arquivo tambémEm Dom, 2006-06-25 às 11:23 -0300, Carlos Ribeiro escreveu:
 Isso Pruonckk. Na pergunta que nos fez, Anubis não diz que está com problemas com o FileRoller, deseja apenas saber quem dá suporte ao gz. Mas quero aproveita o ensejo para te perguntar se podemos usar o bzip2
 e gerar arquivos com extensão gz. Sucesso. CR Em 25/06/06, pruonckk le punk [EMAIL PROTECTED] escreveu: a tua logica ta certa, mas acredito que o gzip ja ai instalado
 no ubuntu, e tem tb o bzip2 para .bz2 Em Dom, 2006-06-25 às 01:57 -0300, Carlos Ribeiro escreveu:  É pruonckk, falei baseado em que todos esses aplicativos
 gráficos  utilizam os programas básicos em modo texto para efetuar as tarefas.  Fiz uma instalação do Ubuntu e não consegui descompactar arquivos .rar
  antes de instalar o pacote rar. Por dedução... Caso eu esteja errado,  terei o maior prazer de aprender, OK?  Sucesso.  CR
   Em 24/06/06, pruonckk le punk [EMAIL PROTECTED] escreveu:  gzip ? 
  Em Sex, 2006-06-23 às 22:36 -0300, _Anubis_ escreveu:   galera qual o nome do pacote q dá suporte ao .gz ao programa  Filer Roller?
  --  Pruonckk le Punk  Hospedagem de sites é na playhosting ( 
www.playhosting.com.br)  Documentação para debian (www.debianfordummies.org)  
  --  To UNSUBSCRIBE, email to  [EMAIL PROTECTED]
  with a subject of unsubscribe. Trouble? Contact  [EMAIL PROTECTED] 
 --  CARLOS RIBEIRO  Usando Ubuntu Dapper 6.06 LTS  Linux-User: 183.572Machine: 
195.669  São Luís - Maranhão - Brasil -- Pruonckk le Punk Hospedagem de sites é na playhosting (www.playhosting.com.br
) Documentação para debian (www.debianfordummies.org) -- CARLOS RIBEIRO Usando Ubuntu Dapper 6.06 LTS
 Linux-User: 183.572Machine: 195.669 São Luís - Maranhão - Brasil-- CARLOS RIBEIROUsando Ubuntu Dapper 6.06 LTSLinux-User: 183.572Machine: 
195.669São Luís - Maranhão - Brasil


Re: compactar arquivo em .gz

2006-06-24 Thread pruonckk le punk
gzip ?

Em Sex, 2006-06-23 às 22:36 -0300, _Anubis_ escreveu:
 galera qual o nome do pacote q dá suporte ao .gz ao programa Filer Roller?
 
 
-- 
Pruonckk le Punk
Hospedagem de sites é na playhosting (www.playhosting.com.br)
Documentação para debian (www.debianfordummies.org)


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



compactar arquivo em .gz

2006-06-23 Thread _Anubis_

galera qual o nome do pacote q dá suporte ao .gz ao programa Filer Roller?


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



Help with gz files

2006-06-23 Thread Chuck Payne

hi all,

I need to pull out one file out of gzip file. Can someone explain to me 
how.


Thanks,

Payne


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




Re: Help with gz files

2006-06-23 Thread Lothar Braun
On Fri, 2006-06-23 at 02:10 -0400, Chuck Payne wrote:
 hi all,
 
 I need to pull out one file out of gzip file. Can someone explain to me 
 how.

Use gunzip to do that:

$ gunzip filename.gz

-- Lothar


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



Re: Help with gz files

2006-06-23 Thread Chuck Payne

Lothar Braun wrote:

On Fri, 2006-06-23 at 02:10 -0400, Chuck Payne wrote:
  

hi all,

I need to pull out one file out of gzip file. Can someone explain to me 
how.



Use gunzip to do that:

$ gunzip filename.gz

-- Lothar


  

Sorry, what I am wanting to do is pull a file out that gzip

file x extracted from mygzip.gz

That what I need to know, I don't want to extract the whole file because 
it too large.


Payne


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




Re: Help with gz files

2006-06-23 Thread John Miller
Chuck Payne wrote:
 hi all,

 I need to pull out one file out of gzip file. Can someone explain to
 me how.
Is the file a single .gz file or a .tar.gz file?  Sometimes a tar.gz
archive will be saved with only the .gz extension, so you have to run
'file filename' to be sure.  If it's a .tar.gz archive, then you need
to run 'tar xzf filename'.

--John


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



Re: Help with gz files

2006-06-23 Thread David Goodenough
On Friday 23 June 2006 08:47, Chuck Payne wrote:
 Lothar Braun wrote:
  On Fri, 2006-06-23 at 02:10 -0400, Chuck Payne wrote:
  hi all,
 
  I need to pull out one file out of gzip file. Can someone explain to me
  how.
 
  Use gunzip to do that:
 
  $ gunzip filename.gz
 
  -- Lothar

 Sorry, what I am wanting to do is pull a file out that gzip

 file x extracted from mygzip.gz

 That what I need to know, I don't want to extract the whole file because
 it too large.

 Payne
I think you have misunderstood .gz files.  filename.gz is a packed version
of one file.  If that file is say a TAR file, then it can contain multiple 
files, but the gz just contains one file.  If the original is a gziped tar 
file then you can extract one file using tar.  So if you have a gziped tar
file called large.tgz which contains amongst other things a file called fred
which you wish to extract you can say:-

tar xzvf large.tgz fred

If you do not have a gziped tar file then you need to tell us more about
the file and what you want to extract.

David


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



Re: Help with gz files

2006-06-23 Thread Nyizsnyik Ferenc
On Fri, 2006-06-23 at 09:07 +0100, David Goodenough wrote:
 On Friday 23 June 2006 08:47, Chuck Payne wrote:
  Lothar Braun wrote:
   On Fri, 2006-06-23 at 02:10 -0400, Chuck Payne wrote:
   hi all,
  
   I need to pull out one file out of gzip file. Can someone explain to me
   how.
  
   Use gunzip to do that:
  
   $ gunzip filename.gz
  
   -- Lothar
 
  Sorry, what I am wanting to do is pull a file out that gzip
 
  file x extracted from mygzip.gz
 
  That what I need to know, I don't want to extract the whole file because
  it too large.
 
  Payne
 I think you have misunderstood .gz files.  filename.gz is a packed version
 of one file.  If that file is say a TAR file, then it can contain multiple 
 files, but the gz just contains one file.  If the original is a gziped tar 
 file then you can extract one file using tar.  So if you have a gziped tar
 file called large.tgz which contains amongst other things a file called fred
 which you wish to extract you can say:-
 
 tar xzvf large.tgz fred
 
 If you do not have a gziped tar file then you need to tell us more about
 the file and what you want to extract.
 
 David
 
 

The simplest solution is to use file-roller. Provided that you have a
GUI and file-roller installed, of course. This will let you browse
several types of archives, and also extract one or more files.

-- 
Szia:
Nyizsa.


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



Re: Probleme décompression archive .tar. gz

2006-01-30 Thread deny

Manu a écrit :


Bonjour

J'ai un truc que je n'ai jamais vu !

Je n'arrive pas à decompressé une archive .tar.gz

Voici la commande que je lance pour décompresser mon archive .tar.gz 
et l'erreur qu'il en ressort :


web1:/home/admin# tar zxvf public_html/squirrelmail-1.4.5.tar.gz

gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Statut d'erreur reporté d'erreurs précédentes.


salut
essaie d'abord en root
gunzip tonarchive.gz
et ensuite
tar xvf   tonarchive.tar


a+


--
Pensez à lire la FAQ de la liste avant de poser une question :
http://wiki.debian.net/?DebianFrench

Pensez à rajouter le mot ``spam'' dans vos champs From et Reply-To:

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



Spam (.gz) durchsuchen

2005-12-19 Thread Al Bogner
Ich möchte in meinen Spammails, die als .gz komprimiert sind, nach bestimmten 
Textstellen suchen. kann ich das direkt mit einer Pipe für alle Spammails 
machen, oder muss ich jedes Mail vorher einzeln entpacken?

Al



Re: Spam (.gz) durchsuchen

2005-12-19 Thread Wolf Wiegand
Hallo!

Al Bogner wrote:

 Ich möchte in meinen Spammails, die als .gz komprimiert sind, nach bestimmten 
 Textstellen suchen. kann ich das direkt mit einer Pipe für alle Spammails 
 machen, oder muss ich jedes Mail vorher einzeln entpacken?

Hm, wenn ich Dich richtig verstehe, macht zgrep das, was Du suchst.

hth, Wolf
-- 
Jeder BWLer weiss, wenn Excel nicht mehr reicht, muss man eine echte 
Datenbank nehmen: Microsoft Access (Trevor Dart 2004 im Heise-Forum)


-- 
Haeufig gestellte Fragen und Antworten (FAQ): 
http://www.de.debian.org/debian-user-german-FAQ/

Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED]
mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)



Re: Spam (.gz) durchsuchen

2005-12-19 Thread Andreas Pakulat
On 19.12.05 22:44:10, Al Bogner wrote:
 Ich möchte in meinen Spammails, die als .gz komprimiert sind, nach bestimmten 
 Textstellen suchen. kann ich das direkt mit einer Pipe für alle Spammails 
 machen, oder muss ich jedes Mail vorher einzeln entpacken?

?? Waere es nicht guenstiger die Mails vorher zu tarren, anstatt jede
einzeln zu zippen?

Zum Greppen in (G)Zip-Archiven gibts zgrep, wenn du ein tar.gz hast,
kannst du 

tar -xzOf | grep blah nutzen.

Ist *nix nicht toll :-)

Andreas

-- 
Your boyfriend takes chocolate from strangers.


-- 
Haeufig gestellte Fragen und Antworten (FAQ): 
http://www.de.debian.org/debian-user-german-FAQ/

Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED]
mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)



Re: Spam (.gz) durchsuchen

2005-12-19 Thread Al Bogner
Am Montag, 19. Dezember 2005 22:54 schrieb Andreas Pakulat:

 ?? Waere es nicht guenstiger die Mails vorher zu tarren, anstatt jede
 einzeln zu zippen?

Das ist auf einem SusE-Rechner bereits so default. Es geht 
um /var/spool/amavis/virusmails

 Zum Greppen in (G)Zip-Archiven gibts zgrep, wenn du ein tar.gz hast,
 kannst du

 tar -xzOf | grep blah nutzen.

 Ist *nix nicht toll :-)

Logo, sonst würde ich es nicht verwenden. :-)
Mit zgrep konnte ich mein Problem aber auch lösen. Zgrep kannte ich sogar, nur 
brauche ich es nie und daher fiel es mir nicht ein.

Al



Re: Spam (.gz) durchsuchen

2005-12-19 Thread Andreas Pakulat
On 19.12.05 23:15:46, Al Bogner wrote:
 Am Montag, 19. Dezember 2005 22:54 schrieb Andreas Pakulat:
 
  ?? Waere es nicht guenstiger die Mails vorher zu tarren, anstatt jede
  einzeln zu zippen?
 
 Das ist auf einem SusE-Rechner bereits so default. Es geht 
 um /var/spool/amavis/virusmails

Naja, wenn die gross genug sind...

Andreas

-- 
Celebrate Hannibal Day this year.  Take an elephant to lunch.


-- 
Haeufig gestellte Fragen und Antworten (FAQ): 
http://www.de.debian.org/debian-user-german-FAQ/

Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED]
mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)



Re: Spam (.gz) durchsuchen

2005-12-19 Thread Thomas Weinbrenner
Al Bogner schrieb:
 Ich möchte in meinen Spammails, die als .gz komprimiert sind, nach bestimmten 
 Textstellen suchen. kann ich das direkt mit einer Pipe für alle Spammails 
 machen, oder muss ich jedes Mail vorher einzeln entpacken?

Ich würde einfach zgrep verwenden.

,[ man zgrep ]-
| NAME
|zgrep - search possibly compressed files for a regular expression
| 
| SYNOPSIS
|zgrep [ grep_options ] [ -e ] pattern filename...
| 
| DESCRIPTION
|Zgrep  is  used to invoke the grep on compress'ed or gzip'ed
|files. All options specified are passed directly to grep.[...]  
`

-- 
Thomas Weinbrenner


-- 
Haeufig gestellte Fragen und Antworten (FAQ): 
http://www.de.debian.org/debian-user-german-FAQ/

Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED]
mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)



Re: gview and viewing .gz text files

2005-09-19 Thread Henrik Andersson

Antony Gelberg wrote:

John Talbut wrote:

Once upon a time I could view various types of file from Nautilus 
using gview.  Now it offers to open files using gview but comes up 
with an error when I try.  And gview does not seem to exist anywhere 
any more, not on my system nor in Debian.  What has happened to it and 
what has replaced it?


What is the best Gnome viewer for .gz compressed text files?



most.



emacs does, gedit doesn't :-(

--
-
Henrik Andersson
Netherlands Institute of Ecology -
Centre for Estuarine and Marine Ecology
P.O. Box 140
4400 AC Yerseke
Phone: +31 113 577473
[EMAIL PROTECTED]
http://www.nioo.knaw.nl/ppages/handersson


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




Re: gview and viewing .gz text files

2005-09-19 Thread H.S.
John Talbut wrote:
 Once upon a time I could view various types of file from Nautilus using
 gview.  Now it offers to open files using gview but comes up with an
 error when I try.  And gview does not seem to exist anywhere any more,
 not on my system nor in Debian.  What has happened to it and what has
 replaced it?
 
 What is the best Gnome viewer for .gz compressed text files?
 
 

I know this is not 'gnome viewer' (by which I understand you want a GUI
viewer in Gnome), but zless works just fine on a command prompt:
$ zless textfile.txt.gz

I guess if this can be made to run just by clicking on an icon of a text
gzipped file, it might be almost the exact thing you wanted.

-HS


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



gview and viewing .gz text files

2005-09-16 Thread John Talbut
Once upon a time I could view various types of file from Nautilus using 
gview.  Now it offers to open files using gview but comes up with an 
error when I try.  And gview does not seem to exist anywhere any more, 
not on my system nor in Debian.  What has happened to it and what has 
replaced it?


What is the best Gnome viewer for .gz compressed text files?


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




Re: gview and viewing .gz text files

2005-09-16 Thread Antony Gelberg

John Talbut wrote:
Once upon a time I could view various types of file from Nautilus using 
gview.  Now it offers to open files using gview but comes up with an 
error when I try.  And gview does not seem to exist anywhere any more, 
not on my system nor in Debian.  What has happened to it and what has 
replaced it?


What is the best Gnome viewer for .gz compressed text files?


most.


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




How to configure less to read *.gz files?

2005-06-20 Thread Adam Funk
On my home computer `less foo.gz` automatically pages through the gunzipped
text (assuming foo is a text file of course).  I'd like to get this
behaviour on another machine but I can't remember how I configured it to do
this (instead of `gunzip -c foo.gz |less`).

I'd appreciate it if someone could remind me!

Thanks,
Adam


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



Re: How to configure less to read *.gz files?

2005-06-20 Thread Andy Smith
On Mon, Jun 20, 2005 at 11:47:39AM +0100, Adam Funk wrote:
 On my home computer `less foo.gz` automatically pages through the gunzipped
 text (assuming foo is a text file of course).  I'd like to get this
 behaviour on another machine but I can't remember how I configured it to do
 this (instead of `gunzip -c foo.gz |less`).

man lesspipe


signature.asc
Description: Digital signature


Re: How to configure less to read *.gz files?

2005-06-20 Thread kalasala
put

eval $(lesspipe)

to your ~/.bash_profile ( or another appropriate file case you useing some ther shell )
On 6/20/05, Adam Funk [EMAIL PROTECTED] wrote:
On my home computer `less foo.gz` automatically pages through the gunzippedtext (assuming foo is a text file of course).I'd like to get thisbehaviour on another machine but I can't remember how I configured it to do
this (instead of `gunzip -c foo.gz |less`).I'd appreciate it if someone could remind me!Thanks,Adam--To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]-- 
http://www.axeltabs.com/http://roundhound.com/http://linuxarcher.net/bb/http://divx-subtitles.org/
http://guitar-tabs-lyrics.com/--


Re: How to configure less to read *.gz files?

2005-06-20 Thread Simon Kitching
On Mon, 2005-06-20 at 11:47 +0100, Adam Funk wrote:
 On my home computer `less foo.gz` automatically pages through the gunzipped
 text (assuming foo is a text file of course).  I'd like to get this
 behaviour on another machine but I can't remember how I configured it to do
 this (instead of `gunzip -c foo.gz |less`).
 
 I'd appreciate it if someone could remind me!

man less and look for Input Preprocessor section...

Regards,

Simon


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



Re: How to configure less to read *.gz files?

2005-06-20 Thread Adam Funk
Andy Smith wrote:

 On Mon, Jun 20, 2005 at 11:47:39AM +0100, Adam Funk wrote:
 On my home computer `less foo.gz` automatically pages through the
 gunzipped
 text (assuming foo is a text file of course).  I'd like to get this
 behaviour on another machine but I can't remember how I configured it to
 do this (instead of `gunzip -c foo.gz |less`).
 
 man lesspipe

Perfect, thanks!


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



Re: How to configure less to read *.gz files?

2005-06-20 Thread Joerg Rossdeutscher
Am Montag, den 20.06.2005, 11:47 +0100 schrieb Adam Funk:
 On my home computer `less foo.gz` automatically pages through the gunzipped
 text (assuming foo is a text file of course).  I'd like to get this
 behaviour on another machine but I can't remember how I configured it to do
 this (instead of `gunzip -c foo.gz |less`).
 
 I'd appreciate it if someone could remind me!

use zless instead.

Bye,
Ratti

-- 
 -o) fontlinge | Fontmanagement for Linux | Schriftenverwaltung in Linux
 /\\ http://freshmeat.net/projects/fontlinge/
_\_V http://www.gesindel.de https://sourceforge.net/projects/fontlinge/


signature.asc
Description: This is a digitally signed message part


Mirroirs (Contents-i386.gz et autres)

2005-06-10 Thread Emmanuel Doguet


Glop à tous,

Suite au passage 'stable' de la Sarge, le fichier 'Contents-i386.gz' 
n'existe plus dans le repertoire testing :/ Mon apt-file ne fonctionne 
donc plus :/


Vous avez une explication?


--
Pensez à lire la FAQ de la liste avant de poser une question :
http://wiki.debian.net/?DebianFrench

Pensez à rajouter le mot ``spam'' dans vos champs From et Reply-To:

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



Re: Leyendo gz de /usr/share/doc

2004-10-29 Thread jamarier
On Fri, 29 Oct 2004 13:34:45 +0200, Rafael Ledesma
[EMAIL PROTECTED] wrote:
 Pregunta de muy novato Como se ve la documentacion que se incluye en
 /usr/share/doc/x/ y que esta comprimida en .gz??

yo antes lo que hacía era copiarla a mi home y descomprimirla con gunzip.

Ahora la leo directamente con zless.

Por cierto, intenta poner en los correos que mandes a la lista un
asunto (o subject) referente al tema de la pregunta. En general se
hace una preclasificación de los correos que se van a leer en función
del asunto. Un asunto mal puesto es una invitación a que se ignore el
correo.

Y segundo en los archivos queda todo más claro luego, para buscar
soluciones pasadas

atte. javier m mora



Unstable sisteme upgrade ederken /etc/alternatives/editor.1.gz problemi

2004-09-28 Thread Emre Sevinc
Title: Unstable sisteme upgrade ederken /etc/alternatives/editor.1.gz problemi







Merhaba,

Acilen yardima ihtiyacim var, evdeki Debian (Woody) sistemimi
unstable'a upgrade etmeye calisiyorum, yaklasik 390 MB veri cektikten
sonra bana birkac soru sordu sonra kurmaya basladi ancak bir
yere gelip takildi. Bunun üzerine bana önerdigi

apt-get -u -f dist-upgrade

komutunu denedim gene olmadi. Dönüp dolasip su asamaya geliyorum:

debian:/# apt-get -u -f dist-upgrade
Reading Package Lists... Done
Building Dependency Tree... Done
Calculating Upgrade... Done
The following packages have been kept back:
 eterm grip plotutils
The following packages will be upgraded:
 nano
1 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
581 not fully installed or removed.
Need to get 0B/406kB of archives.
After unpacking 483kB of additional disk space will be used.
Do you want to continue? [Y/n] Y
debconf: unable to initialize frontend: Kde
debconf: (Can't locate Qt.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.8.4 /usr/local/share/perl/5.8.4 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl /usr/local/lib/perl/5.8.0 /usr/local/share/perl/5.8.0 .) at /usr/share/perl5/Debconf/FrontEnd/Kde/Wizard.pm line 7,  line 1.)
debconf: falling back to frontend: Dialog
(Reading database ... 62316 files and directories currently installed.)
Preparing to replace nano 1.0.6-2 (using .../archives/nano_1.2.4-2_i386.deb) ...
update-alternatives: unable to make /usr/man/man1/editor.1.gz.dpkg-tmp a symlink to /etc/alternatives/editor.1.gz: No such file or directory
dpkg: error processing /var/cache/apt/archives/nano_1.2.4-2_i386.deb (--unpack):
subprocess pre-installation script returned error exit status 2
Errors were encountered while processing:
/var/cache/apt/archives/nano_1.2.4-2_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)


Yani sanirim kala kala bir nano problemi kaldi ancak problem
neden cikiyor ve cözümü tam olarak nedir bilmiyorum.

Google'da, Debian listelerinde arayip da buldugum seyler
pek ise yaramadi.

cd /var/cache/apt/archives
dpkg -i --force-overwrite all_package_names_listed_at_the_bottom_of_error_output
dpkg --configure -a

ya da

dpkg --purge nano
apt-get clean
apt-get autoclean

gibi seyler de isimi görmedi.

Hala ayni durumdayim, mütemadiyen ayni hatayi aliyor ve sistemi
güncelleyemiyorum.

/etc/alternatives ile ilgili olarak:

debian:/# ls -la /etc/alternatives/ed*
lrwxrwxrwx 1 root root 12 Sep 28 08:31 /etc/alternatives/editor - /usr/bin/vim

Burada bir sembolik link daha vardi, onu sildim belki bir sey
degisir diye ama gene degismedi, önceki hali:

lrwxrwxrwx 1 root root 28 Oct 27 2002 /etc/alternatives/editor.1.gz - /usr/share/man/man1/vim.1.gz

Sanirim burada sorun $u:

debian:/# ls -la /usr/man/man1/editor.1.gz.dpkg-tmp
ls: /usr/man/man1/editor.1.gz.dpkg-tmp: No such file or directory

sistem hakli olarak böyle bir dosya olmadigindan ve dolayisi ile sembolk
link kuramadigindan sikayet ediyor. Bundan kurtulmak icin ne yapmaliyim?
Sistemi güncellemeye nasil devam edebilirim?

Simdiden tesekkürler.









Re: Unstable sisteme upgrade ederken /etc/alternatives/editor.1.gz problemi

2004-09-28 Thread Emre Sevinç


editor.1.gz problemi halloldu, tesekkür ederim.

apt-get ile dist upgrade'e devam ettim. Bir hata daha aldim asagidaki 
gibi, onu
da ilgili dosyada, ilgili yere gidip Türkce I karakterini iye 
cevirdim, tekrar

calistirdim, o sorun da cözüldü.

Arada bana bazi sorular sordu, filanca konfigürasyon dosyasini koruyayim 
mi yoksa
yenisini mi kurayim diye. Ben bir kismina evet, bir kismina hayir dedim. 
Önemli oldugunu

düsündügüm

/etc/X11/xkb/symbols/tr

dosyasini korudum mesela ama

/etc/X11/fonts/misc/xfonts-base.alias

dosyasini degistirdim. Umarim X-Window ortaminda Türkce yazmaya
devam edebilirim. En son unstable ortamindan xcdroast cektigimde 
console'daki

Türkce fontlar gitmisti, X ortaminda ise devam ediyordu Türkce karakterler.

Su anda ofisteyim, son degisiklikleri ssh ile eve baglanip yaptim, eve 
gidince makinayi
kapatip acacagim (lilo'yu da güncellemisti diye hatirliyorum). Sonra da 
bir test edecegim
her zaman kullandigim programlar düzgün calisiyor mu, catlayan patlayan 
bir yer var mi diye :)


Bir sorun olursa yine kafa sisiririm :) Debian Türk kullanicilarina 
tesekkürler.


Not: Debian fanatigi Recai Oktas'a konu ile bizzat ilgilendigi ve her türlü
iletisim kanalini kullanaraz aninda destek verdigi icin de ayrica tesekkürü
bir borc bilirim :)



-
apt-get -u -f dist-upgrade
Reading Package Lists... Done
Building Dependency Tree... Done
Calculating Upgrade... Done
The following packages have been kept back:
eterm grip plotutils
The following packages will be upgraded:
nano
1 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
581 not fully installed or removed.
Need to get 0B/406kB of archives.
After unpacking 483kB of additional disk space will be used.
Do you want to continue? [Y/n] Y
debconf: unable to initialize frontend: Kde
debconf: (Can't locate Qt.pm in @INC (@INC contains: /etc/perl 
/usr/local/lib/perl/5.8.4 /usr/local/share/perl/5.8.4 /usr/lib/perl5 
/usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 
/usr/local/lib/site_perl /usr/local/lib/perl/5.8.0 
/usr/local/share/perl/5.8.0 .) at 
/usr/share/perl5/Debconf/FrontEnd/Kde/Wizard.pm line 7,  line 1.)

debconf: falling back to frontend: Dialog
dpkg: parse error, in file `/var/lib/dpkg/available' near line 217555 
package `libcgi-perl':
`Replaces' field, invalid package name `cg?-modules': character `?' not 
allowed - only letters, digits and -+._ allowed

E: Sub-process /usr/bin/dpkg returned an error code (2)


Serdar Aytekin wrote:


Merhaba,

Bahsettiginiz problem daha once bir bug olarakda
bildirilmis.(http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=143302), cozum
icin, /var/lib/dpkg/alternatives/editor  dosyanizi kontrol edip, orada
/usr/man/man1/ seklinde kalan yol tanimlari varsa onlari,
/usr/share/man/man1/... sekline cevirip deneyiniz.

Saniyorum ki, /var/lib/dpkg/alternatives/editor dosyanizda asagidakine
benzer sekilde olmasi gereken satirlar

/usr/bin/editor
editor.1.gz
/usr/share/man/man1/editor.1.gz

sizde,

/usr/bin/editor
editor.1.gz
/usr/man/man1/editor.1.gz

seklinde yer aliyor. Sorun burdan kaynakliyor gibi. Sayet durum boyle ise,
bahsettigim sekilde yol tanimini/tanimlarini degisitirip bir denermisiniz.
Yani /share/ kismi sizin yol tanimlarinda eksik.

Saygilar,
Serdar Aytekin

- Original Message - 
From: Emre Sevinc [EMAIL PROTECTED]

To: debian-user-turkish@lists.debian.org
Sent: Tuesday, September 28, 2004 8:38 AM
Subject: Unstable sisteme upgrade ederken /etc/alternatives/editor.1.gz
problemi



Merhaba,

Acilen yardima ihtiyacim var, evdeki Debian (Woody) sistemimi
unstable'a upgrade etmeye calisiyorum, yaklasik 390 MB veri cektikten
sonra bana birkac soru sordu sonra kurmaya basladi ancak bir
yere gelip takildi. Bunun üzerine bana önerdigi

apt-get -u -f dist-upgrade

komutunu denedim gene olmadi. Dönüp dolasip su asamaya geliyorum:

debian:/# apt-get -u -f dist-upgrade
Reading Package Lists... Done
Building Dependency Tree... Done
Calculating Upgrade... Done
The following packages have been kept back:
 eterm grip plotutils
The following packages will be upgraded:
 nano
1 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
581 not fully installed or removed.
Need to get 0B/406kB of archives.
After unpacking 483kB of additional disk space will be used.
Do you want to continue? [Y/n] Y
debconf: unable to initialize frontend: Kde
debconf: (Can't locate Qt.pm in @INC (@INC contains: /etc/perl
/usr/local/lib/perl/5.8.4 /usr/local/share/perl/5.8.4 /usr/lib/perl5
/usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8
/usr/local/lib/site_perl /usr/local/lib/perl/5.8.0
/usr/local/share/perl/5.8.0 .) at
/usr/share/perl5/Debconf/FrontEnd/Kde/Wizard.pm line 7,  line 1.)
debconf: falling back to frontend: Dialog
(Reading database ... 62316 files and directories currently installed.)
Preparing to replace nano 1.0.6-2 (using .../archives/nano_1.2.4-2_i386.deb

  1   2   3   >