apt-get update gond...

Fórumok

üdv!
már számos alkalommal találtam problémáimra megoldást a hup
fórumjában linux ügyekben, azonban most igencsak elakadtam, és
sem itt, sem google tájékán nem lelek ésszerű magyarázatot... :(
a lényeg: adott egy távoli szerver, amin 1 apt-get update majd
upgrade után furcsa üzenetet kaptam:proba:/home/omleny# apt-get upgrade
Reading package lists... Done
Building dependency tree... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
2 not fully installed or removed.
Need to get 0B of archives.
After unpacking 0B of additional disk space will be used.
Do you want to continue [Y/n]? y
Setting up linux-image-2.6.18-5-686 (2.6.18.dfsg.1-17) ...
Running depmod.
Finding valid ramdisk creators.
Using mkinitramfs-kpkg to build the ramdisk.
Not updating initrd symbolic links since we are being updated/reinstalled
(2.6.18.dfsg.1-13 was configured last, according to dpkg)
Not updating image symbolic links since we are being updated/reinstalled
(2.6.18.dfsg.1-13 was configured last, according to dpkg)
Running postinst hook script /sbin/update-grub.
You shouldn't call /sbin/update-grub. Please call /usr/sbin/update-grub instead!

Searching for GRUB installation directory ... found: /boot/grub
Searching for default file ... found: /boot/grub/default
Testing for an existing GRUB menu.lst file ... found: /boot/grub/menu.lst
Searching for splash image ... none found, skipping ...
Found kernel: /vmlinuz-2.6.20.1.intel
Found kernel: /vmlinuz-2.6.18-5-686
Updating /boot/grub/menu.lst ... /usr/sbin/update-grub: line 1154: /boot/grub/menu.lst: Permission denied
User postinst hook script [/sbin/update-grub] exited with value 1
dpkg: error processing linux-image-2.6.18-5-686 (--configure):
subprocess post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of linux-image-2.6-686:
linux-image-2.6-686 depends on linux-image-2.6.18-5-686; however:
Package linux-image-2.6.18-5-686 is not configured yet.
dpkg: error processing linux-image-2.6-686 (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
linux-image-2.6.18-5-686
linux-image-2.6-686
E: Sub-process /usr/bin/dpkg returned an error code (1)

magyarán ugye mégse tudja frissíteni az összes csomagot :(
'apt-get -f install' eredménye ugyanez...
ami igencsak zavar: grub menu.lst-hez hogy a francba nincs hozzáférésem
root-ként? a boot könyvtár amúgy külön partíción fut, aminek defaults
van beallitva /etc/fstab-ban...
segítségeteket előre is köszönöm!

Hozzászólások

szerintem az a gond, hogy rootként adtál a /boot/grub/menu.lst-nek egy chattr +i-t i = immutable, azaz még a root sem tudja a file-t irni, addig amig chattr -i vel le nem veszed az immutable bitet, a násik lehetséges ok, hogy külön particióra raktad a /boot-ot és read-only módba van felcsatolva és azért nem tudja írni

linux v2.6.22.14 + madwifi v0.9.3.3-mal itt
debian gnu/linux @ linux-2.6.22.15-pancs1