Prev: dpkg: error processing linux-image-2.6.26-2-686 (--configure)
Next: repositories for AMD 64 apps
From: lee on 27 Jun 2010 08:40 Hi, I've got some files I compressed years back with bzip. Now bunzip2 can't decompress them, and there doesn't seem to be something like bunzip in Debian. And idea how to uncompress these files? -- 27/06/2010 04:03:46 The X server says there are 10 mouse buttons. -- To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org Archive: http://lists.debian.org/20100627123038.GF3979(a)yun.yagibdah.de
From: Camaleón on 27 Jun 2010 09:20 On Sun, 27 Jun 2010 14:30:38 +0200, lee wrote: > I've got some files I compressed years back with bzip. Run "file myfile.bz" and put here the ouput. > Now bunzip2 can't > decompress them, and there doesn't seem to be something like bunzip in > Debian. What error are you getting? How are you unzipping it? > And idea how to uncompress these files? The bzip file can be damaged somehow. You could try to open with another utility (7-zip, peazip...) or try to recover with "bzip2recover" (work with a copy of the file, *never* with the original one). Greetings, -- Camaleón -- To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org Archive: http://lists.debian.org/pan.2010.06.27.13.15.05(a)gmail.com
From: lee on 27 Jun 2010 09:40 On Sun, Jun 27, 2010 at 01:15:06PM +0000, Camale�n wrote: > On Sun, 27 Jun 2010 14:30:38 +0200, lee wrote: > > > I've got some files I compressed years back with bzip. > > Run "file myfile.bz" and put here the ouput. -rw-r--r-- 1 lee lee 627 Dec 23 1997 rules4writers.txt.bz lee(a)yun:~/Infos$ file rules4writers.txt.bz rules4writers.txt.bz: data lee(a)yun:~/Infos$ > > Now bunzip2 can't > > decompress them, and there doesn't seem to be something like bunzip in > > Debian. > > What error are you getting? How are you unzipping it? lee(a)yun:~/Infos$ bunzip2 rules4writers.txt.bz bunzip2: rules4writers.txt.bz is not a bzip2 file. lee(a)yun:~/Infos$ > > And idea how to uncompress these files? > > The bzip file can be damaged somehow. > > You could try to open with another utility (7-zip, peazip...) or try to > recover with "bzip2recover" (work with a copy of the file, *never* with > the original one). It was compressed with bzip. Back then, bzip2 didn't exist yet, but there was bzip. And afair, bzip2 used to be backwards compatible ... -- 27/06/2010 04:03:46 The X server says there are 10 mouse buttons. -- To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org Archive: http://lists.debian.org/20100627133355.GI3979(a)yun.yagibdah.de
From: Camaleón on 27 Jun 2010 10:10 On Sun, 27 Jun 2010 15:33:55 +0200, lee wrote: > On Sun, Jun 27, 2010 at 01:15:06PM +0000, Camaleón wrote: >> Run "file myfile.bz" and put here the ouput. > > > -rw-r--r-- 1 lee lee 627 Dec 23 1997 rules4writers.txt.bz 1997? That looks quite old. Maybe you will need to use the old bzip decompressor :-? > lee(a)yun:~/Infos$ file rules4writers.txt.bz rules4writers.txt.bz: data > lee(a)yun:~/Infos$ >> What error are you getting? How are you unzipping it? > > > lee(a)yun:~/Infos$ bunzip2 rules4writers.txt.bz bunzip2: > rules4writers.txt.bz is not a bzip2 file. lee(a)yun:~/Infos$ Ouch :-( >> You could try to open with another utility (7-zip, peazip...) or try to >> recover with "bzip2recover" (work with a copy of the file, *never* with >> the original one). > > It was compressed with bzip. Back then, bzip2 didn't exist yet, but > there was bzip. And afair, bzip2 used to be backwards compatible ... Mmmm, maybe not that compatible. Look: *** http://web.archive.org/web/19980704181204/http://www.muraroa.demon.co.uk/ *How can I decompress old .bz files (created by bzip-0.21)?* Here's a the source code for a decompress-only version of bzip-0.21. Or you can download a binary for Linux-ELF. *** Anyway, try with another tools (i.e., peazip). Greetings, -- Camaleón -- To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org Archive: http://lists.debian.org/pan.2010.06.27.14.01.06(a)gmail.com
From: lee on 27 Jun 2010 11:20 On Sun, Jun 27, 2010 at 02:01:06PM +0000, Camale�n wrote: > On Sun, 27 Jun 2010 15:33:55 +0200, lee wrote: > > > On Sun, Jun 27, 2010 at 01:15:06PM +0000, Camale�n wrote: > > >> Run "file myfile.bz" and put here the ouput. > > > > > > -rw-r--r-- 1 lee lee 627 Dec 23 1997 rules4writers.txt.bz > > 1997? That looks quite old. Maybe you will need to use the old bzip > decompressor :-? Here's what I got: http://fi.aminet.net/util/arc/ There's the source of bzip 0.21 you can download. It even compiles on amd_64, you only need to comment out line 2706: Bool notABogStandardFile ( Char* name ) { IntNative i; struct MY_STAT statBuf; i = MY_LSTAT ( name, &statBuf ); if (i != 0) return True; // if (MY_S_IFREG(statBuf.st_mode)) return False; return True; } Then compile with # gcc -o bzip bzip.c -O3 -wall and decompress your files with something like: # cat test.bz |./bzip -d |less Not ideal because it might not be reliable, but easy enough, and it works so far :) I'll sure keep that source at hand now. -- 27/06/2010 04:03:46 The X server says there are 10 mouse buttons. -- To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org Archive: http://lists.debian.org/20100627151102.GJ3979(a)yun.yagibdah.de
|
Pages: 1 Prev: dpkg: error processing linux-image-2.6.26-2-686 (--configure) Next: repositories for AMD 64 apps |