سلام دوستان وقت بخیر
مشکلی برای سیستم بنده به وجود آمده . بعد از حذف پکیج libpango-1.0-0 ، تعداد زیادی از پکیج های سیستمی و میزکار سیستم به صورت آبشاری حذف شدند (بدون دخالت من)
و بعد از آن میزکار اصلا بالا نیامد و فقط در محیط متنی قادر به لاگین بودم. و از آنجایی که کار اورژانسی با سیستم داشتم ، راه حلی را انتخاب کردم که سیستم احیا شد اما نه به طور کامل و صحیح.
راه حل این بود که کلیه فایل های مسیر /usr/ از فلش بوتیبل شده اوبونتو را به دایرکتوری usr سیستم خودم ، کپی و جایگذاری کردم. و نتیجه این بود که با میزکار وارد سیستم شدم اما ایرادات زیادی به وجود آمد. از جمله اشکال در بعضی برنامه ها و برنامه ای از طریق ترمینال نصب نمیشود و...
تصمیم گرفتم میزکار اوبونتو را با این دستور دوباره نصب کنم :
sudo apt install --reinstall ubuntu-desktop
که با این پیغام رو برو شدم :
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not upgraded.
4 not fully installed or removed.
Need to get 0 B/3,800 B of archives.
After this operation, 0 B of additional disk space will be used.
(Reading database ... 254906 files and directories currently installed.)
Preparing to unpack .../ubuntu-desktop_1.417_amd64.deb ...
Unpacking ubuntu-desktop (1.417) over (1.417) ...
Setting up keyboard-configuration (1.178ubuntu2.7) ...
Your console font configuration will be updated the next time your system
boots. If you want to update it now, run 'setupcon' from a virtual console.
update-initramfs: deferring update (trigger activated)
cp: cannot create regular file '/cdrom/casper/initrd.gz.new': No such file or directory
dpkg: error processing package keyboard-configuration (--configure):
installed keyboard-configuration package post-installation script subprocess returned error exit status 1
Setting up initramfs-tools (0.130ubuntu3.1) ...
update-initramfs: deferring update (trigger activated)
cp: cannot create regular file '/cdrom/casper/initrd.gz.new': No such file or directory
dpkg: error processing package initramfs-tools (--configure):
installed initramfs-tools package post-installation script subprocess returned error exit status 1
Setting up ubuntu-desktop (1.417) ...
dpkg: dependency problems prevent configuration of console-setup-linux:
console-setup-linux depends on keyboard-configuration (= 1.178ubuntu2.7); however:
Package keyboard-configuration is not configured yet.
dpkg: error processing package console-setup-linux (--configure):
dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
dpkg: dependency problems prevent configuration of console-setup:
console-setup depends on console-setup-linux | console-setup-freebsd | hurd; however:
Package console-setup-linux is not configured yet.
Package console-setup-freebsd is not installed.
Package hurd is not installed.
console-setup depends on keyboard-configuration (= 1.178ubuntu2.7); however:
Package keyboard-configuration is not configured yet.
dpkg: error processing package console-setup (--configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports is reached already
Errors were encountered while processing:
keyboard-configuration
initramfs-tools
console-setup-linux
console-setup
E: Sub-process /usr/bin/dpkg returned an error code (1)
از اوبونتو ۱۸.۰۴ استفاده میکنم و میزکار گنوم.
دوستان لطفا اگر راه حلی در این مورد دارید و یا قبلا با این مشکل روبرو شده اید به بنده کمک کنید.