Re: Pakages in a very bad inconsistent state
On Mon, Mar 19, 2001 at 09:20:09PM +0100, Willi Dyck wrote: Hi group, I have several problems installing the latest version of modutils. 1.) Output of 'apt-get install modutils': Preparing to replace modutils 2.3.11-13.1 (using.../modutils_2.4.2-0.bunk_i386.deb) ... Removing obsoleted files: Unpacking replacement modutils ... dpkg: error processing /var/cache/apt/archives/modutils_2.4.2-0.bunk_i386.deb (--unpack): unable to install new version of `./sbin/lsmod': Operation not permitted dpkg: error while cleaning up: unable to restore backup version of `/sbin/lsmod': Operation not permitted dpkg-deb: subprocess paste killed by signal (Broken pipe) Errors were encountered while processing: /var/cache/apt/archives/modutils_2.4.2-0.bunk_i386.deb E: Sub-process /usr/bin/dpkg returned an error code (1) 2.) 'apt-get remove modutils' to install it from scratch, won't work, because of the inconsistence in [1]. The same for 'apt-get install modutils --reinstall'. 3.) What kind of Operation not permitted is ment in [1]? read/write/execute? $ ls -al /sbin/lsmod: l-ws-ws--x1 root root6 Dec 10 22:18 /sbin/lsmod - insmod Several friends of mine have the same file-permissions for that file. Changing that permissions to whatever I want, does not solve this problem. Waiting hopefully for any suggestions ;-) did you try `dpkg --purge modutils`. What are the results of this? -W -- ~~~ Wesley Wannemacher Instructor / Network Administrator University of Northwestern Ohio http://www.unoh.edu/ [EMAIL PROTECTED] ~~~ Anyway, my money is still on use strict vars . . . -- Larry Wall in [EMAIL PROTECTED]
Re: Pakages in a very bad inconsistent state
On Mon, Mar 19, 2001 at 09:20:09PM +0100, Willi Dyck wrote: unable to install new version of `./sbin/lsmod': Operation not permitted Try 'lsattr /sbin/lsmod' and if it shows any attributes set then do 'chattr -attributes /sbin/lsmod' listing the appropriate attributes which are shows by lsattr. I'm guessing it is set +i, +u or possibly +a. Corwin Grey What does this tell me? That if Microsoft were the last software company left in the world, 13% of the US population would be scouring garage sales Goodwill for old TRS-80s, CPM machines Apple ]['s before they would buy Microsoft. That's not exactly a ringing endorsement. -- Seen on Slashdot
Re: Pakages in a very bad inconsistent state
Output of 'lsattr /sbin/lsmod': /sbin/lsmod Output of 'dpkg --purge modutils': dpkg: error processing modutils (--purge): Package is in a very bad inconsistent state - you should reinstall it before attempting a removal. Still the same problem :-( On Mon, Mar 19, 2001 at 12:53:38PM -0800, Corwin Grey wrote: On Mon, Mar 19, 2001 at 09:20:09PM +0100, Willi Dyck wrote: unable to install new version of `./sbin/lsmod': Operation not permitted Try 'lsattr /sbin/lsmod' and if it shows any attributes set then do 'chattr -attributes /sbin/lsmod' listing the appropriate attributes which are shows by lsattr. I'm guessing it is set +i, +u or possibly +a. Corwin Grey What does this tell me? That if Microsoft were the last software company left in the world, 13% of the US population would be scouring garage sales Goodwill for old TRS-80s, CPM machines Apple ]['s before they would buy Microsoft. That's not exactly a ringing endorsement. -- Seen on Slashdot -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED] -- L I N U X .~. The Choice /V\ of a GNU /( )\ Generation ^^-^^ . Waehrend in Redmond noch gebootet wird, ICQ# 49564996 wird in Villa Pinguin schon gearbeitet. AIM wdyck
Re: Pakages in a very bad inconsistent state
On Mon, Mar 19, 2001 at 12:53:38PM -0800, Corwin Grey wrote: On Mon, Mar 19, 2001 at 09:20:09PM +0100, Willi Dyck wrote: unable to install new version of `./sbin/lsmod': Operation not permitted Try 'lsattr /sbin/lsmod' and if it shows any attributes set then do 'chattr -attributes /sbin/lsmod' listing the appropriate attributes which are shows by lsattr. I'm guessing it is set +i, +u or possibly +a. If it would be so, would that really be a problem for root-apps? Isn't the user root a Superuser so that he's able to do everything even damaging the system? I think so! Corwin Grey What does this tell me? That if Microsoft were the last software company left in the world, 13% of the US population would be scouring garage sales Goodwill for old TRS-80s, CPM machines Apple ]['s before they would buy Microsoft. That's not exactly a ringing endorsement. -- Seen on Slashdot -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED] MfG/Regards, Willi Dyck -- L I N U X .~. The Choice /V\ of a GNU /( )\ Generation ^^-^^ . Waehrend in Redmond noch gebootet wird, ICQ# 49564996 wird in Villa Pinguin schon gearbeitet. AIM wdyck
Re: Pakages in a very bad inconsistent state
'chattr -attributes /sbin/lsmod' listing the appropriate attributes which are shows by lsattr. I'm guessing it is set +i, +u or possibly +a. If it would be so, would that really be a problem for root-apps? Isn't the user root a Superuser so that he's able to do everything even damaging the system? I think so! Not if the attributes are set. If +i is set, the file is IMMUTABLE, even by root until the attibute is removed. Corwin J. Grey Techline, Inc. http://www.techline.com Engineering and Application Development What does this tell me? That if Microsoft were the last software company left in the world, 13% of the US population would be scouring garage sales Goodwill for old TRS-80s, CPM machines Apple ]['s before they would buy Microsoft. That's not exactly a ringing endorsement. -- Seen on Slashdot