والا ممکن هست از پارتیشن باشه؟
چون من پارتیشن اولی رو پاک کردم( ویندوز بود)( از طریق نصب اوبونتو
۲۰ گیگ بود.بعد این ۲۰ گیگ رو همونجا کردم ۱۰ گیگ که یک پارتیشن دیگه بسازم و بکنمش سواپ که وقتی اینکارو کردم دیگه نشد اون پارتیشن جدید که بخوام کنمش سواپ رو بسازم.همینجوری رو همون ۱۰ گیگ نصی کردم و تا اینجا
root@modern-laptop:/var/lib/dpkg/info# sudo cp /boot/System.map-2.6.24-15-generic /boot/System.map-2.6.22-14-generic
cp: cannot stat `/boot/System.map-2.6.24-15-generic': No such file or directory
root@modern-laptop:/var/lib/dpkg/info# sudo mkdir /lib/modules/2.6.22-14-generic
root@modern-laptop:/var/lib/dpkg/info# sudo cp -R /lib/modules/2.6.24-15-generic/* /lib/modules/2.6.22-14-generic/
cp: cannot stat `/lib/modules/2.6.24-15-generic/*': No such file or directory
root@modern-laptop:/var/lib/dpkg/info# sudo rm /boot/System.map-2.6.22-14-generic
root@modern-laptop:/var/lib/dpkg/info# sudo rm -r /lib/modules/2.6.22-14-generic/
root@modern-laptop:/var/lib/dpkg/info# sudo apt-get install stardict-gnome
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
stardict-common
Recommended packages:
stardict-plugin stardict-plugin-espeak stardict-plugin-festival
stardict-plugin-gucharmap
The following packages will be REMOVED:
linux-backports-modules-2.6.22-14-generic
The following NEW packages will be installed:
stardict-common stardict-gnome
0 upgraded, 2 newly installed, 1 to remove and 119 not upgraded.
1 not fully installed or removed.
Need to get 0B/1185kB of archives.
After this operation, 3240kB disk space will be freed.
Do you want to continue [Y/n]? y
(Reading database ... 101225 files and directories currently installed.)
Removing linux-backports-modules-2.6.22-14-generic ...
FATAL: Could not open '/boot/System.map-2.6.22-14-generic': No such file or directory
update-initramfs: Generating /boot/initrd.img-2.6.22-14-generic
Cannot find /lib/modules/2.6.22-14-generic
update-initramfs: failed for /boot/initrd.img-2.6.22-14-generic
dpkg: error processing linux-backports-modules-2.6.22-14-generic (--remove):
subprocess post-removal script returned error exit status 1
Errors were encountered while processing:
linux-backports-modules-2.6.22-14-generic
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@modern-laptop:/var/lib/dpkg/info# sudo apt-get remove stardict-gnome stardict
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package stardict-gnome is not installed, so not removed
Package stardict is not installed, so not removed
The following packages will be REMOVED:
linux-backports-modules-2.6.22-14-generic
0 upgraded, 0 newly installed, 1 to remove and 119 not upgraded.
1 not fully installed or removed.
After this operation, 6119kB disk space will be freed.
Do you want to continue [Y/n]? y
(Reading database ... 101225 files and directories currently installed.)
Removing linux-backports-modules-2.6.22-14-generic ...
FATAL: Could not open '/boot/System.map-2.6.22-14-generic': No such file or directory
update-initramfs: Generating /boot/initrd.img-2.6.22-14-generic
Cannot find /lib/modules/2.6.22-14-generic
update-initramfs: failed for /boot/initrd.img-2.6.22-14-generic
dpkg: error processing linux-backports-modules-2.6.22-14-generic (--remove):
subprocess post-removal script returned error exit status 1
Errors were encountered while processing:
linux-backports-modules-2.6.22-14-generic
E: Sub-process /usr/bin/dpkg returned an error code (1)