Re: dpkg purge problem

2007-08-02 Thread Alexandar Angelov
On Thursday 02 August 2007, Salvatore Bonaccorso wrote:
 I can't help you to solve the problem, to say it first. But I had the
 exactly the same Problem with a self-compiled 2.6.14 kernel (from the
 kernel-source-2.6.14 package) and packaged with make-kpkg.
Yes I compile with make-kpkg.
 Trying to remove the package worked everytime fine, put when I tried
 to purge the 2.6.14-kernel then I got the same error as You. I
 unfurtunatly don't remember with which version of make-kpkg (i.e.
 kernel-package) i compiled it, but comparing then the remove-script of
 my kernel-image-2.6.14 deb there was a difference with later
 remove-scripts. Maybee so a idea could be to analize the
 remove-script under /var/lib/dpkg/info in the (probably) apropriate
 postrm-Script?


I compare /var/lib/dpkg/info/linux-image-2.6.14-2-k7.postrm 
with /var/lib/dpkg/info/linux-image-2.6.22-1-k7.postrm and scripts are not so 
different.
I copy /var/lib/dpkg/info/linux-image-2.6.22-1-k7.postrm 
to /var/lib/dpkg/info/linux-image-2.6.14-2-k7.postrm and change only the my 
$version variable.
dpkg purge complete successefully and I think that maybe solved the problem.


Alexandar Angelov.


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



Re: dpkg purge problem

2007-08-01 Thread Alexandar Angelov
On Wednesday 01 August 2007, Bob Proulx wrote:

/boot/grub/menu.lst is not corrupted

 After fixing and running update-grub inspect the file.  If update-grub
 runs without hanging then you should be able to purge the package.

 If all else fails and a package simply will not pass the prerm or
 postrm scripts then a reach-into-the-guts of the system approach is to
 edit the /var/lib/dpkg/info/linux-image-2.6.14-2-k7.prerm and/or
 /var/lib/dpkg/info/linux-image-2.6.14-2-k7.postrm files and hack them
 to exit(0); so as to avoid the error.  At that point dpkg will succeed
 without running the script.  But it won't have run the script either
 and so that problem would need to be dealt with but some broken
 packages have required this.

Can I get postrm script form other linux-image and change only 
my $version  to be  = 2.6.14-2-k7;


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



Re: dpkg purge problem

2007-07-31 Thread Alexandar Angelov
On Tuesday 31 July 2007, Karl E. Jorgensen wrote:
 On Tue, Jul 31, 2007 at 01:15:19AM +0300, Sasho Angelov wrote:
  When I try to purge old linux image:
 
  sudo dpkg --purge --force-all linux-image-2.6.14-2-k7

 Why --force-all ?

Without --force-all the result is the same.

 Which debconf frontend do you use? I've had that happen to me when I
 accidentally used the GNOME front-end. Not a problem, unless you're on
 a virtual console and DISPLAY is set - then it shows the GUI on the X
 display that I'm not looking at Took me a while to figure out...


I install this package with dpkg in virtual console. When i try to purge this 
package with stopped X server the result is not different .


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



GRUB gfxmenu

2005-05-18 Thread Alexandar Angelov
How I can build cool grub menu and from where i can read instructions to 
make message file or download samples.
Thanks

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



Re: Network scan

2005-05-15 Thread Alexandar Angelov
Mark Roach wrote:
On Sun, 2005-05-15 at 00:39 +0300, Alexandar Angelov wrote:
 

Do you know any command(script) to scan range from 192.168.35.1 to 92.168.35.255 and return if port :80 , :21 and MAC Addr.
   

nmap
-Mark
 

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



Re: Network scan

2005-05-15 Thread Alexandar Angelov
Phil Dyer wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Alexandar Angelov said:
 

Mark Roach wrote:
   

 

Do you know any command(script) to scan range from 192.168.35.1 to 92.168.35.255 and return if port :80 , :21 and MAC Addr.
  

   

nmap
 

MAC?
   

Sure. nmap will return the mac...if the scanned machine is on your subnet.
- --
/phil
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.0 (MingW32)
iD8DBQFCh8+GGbd/rBLcaFwRAmBzAJ0ZJkIgZcwKhkX+m9KzgxLA6CfWJQCgk9ln
rgI3eOhsL4tggH0sxWH4LiM=
=dw+8
-END PGP SIGNATURE-
 

Sorry to now i was with real ip (not 192.168.*.*)
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Network scan

2005-05-14 Thread Alexandar Angelov
Hello,
Do you know any command(script) to scan range from 192.168.35.1 to 
92.168.35.255 and return if port :80 , :21 and MAC Addr.
thanks

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