Ubuntu 24.04.1 LTS | Lataa ja asenna | Tutustu yhteisöön | Blogi | Yritysten tarjoamat palvelutUusimmat julkaisut: 24.04.1 LTS (suositeltu, 29.8.2024) ja 24.10 - Ubuntun 20-vuotisjulkaisu! (10.10.2024).
erkkimon@mauri-pentti ~ $ sudo apt-get install qtpartedReading package lists... DoneBuilding dependency tree Reading state information... DoneThe following packages were automatically installed and are no longer required: acroread-escript libatk1.0-dev libglib2.0-dev x11proto-xinerama-dev libpango1.0-dev x11proto-render-dev libxrender-dev libcairo2-dev libpng12-dev libfontconfig1-dev libxcursor-dev x11proto-randr-dev libgtk2.0-dev libfreetype6-dev x11proto-fixes-dev libxrandr-dev libexpat1-dev libxft-dev libxfixes-dev libxinerama-devUse 'apt-get autoremove' to remove them.The following extra packages will be installed: gpartedRecommended packages: jfsutils ntfsprogs xfsprogsThe following NEW packages will be installed: qtpartedThe following packages will be upgraded: gparted1 upgraded, 1 newly installed, 0 to remove and 41 not upgraded.1 not fully installed or removed.Need to get 0B/529kB of archives.After unpacking 2359kB of additional disk space will be used.Do you want to continue [Y/n]? ySelecting previously deselected package gparted.(Reading database ... dpkg: serious warning: files list file for package `gparted' missing, assuming package has no files currently installed.144075 files and directories currently installed.)Preparing to replace gparted 0.2.5-1.1ubuntu11 (using .../gparted_0.2.5-1.1ubuntu11_i386.deb) ...Unpacking replacement gparted ...dpkg: error processing /var/cache/apt/archives/gparted_0.2.5-1.1ubuntu11_i386.deb (--unpack): fork failed: Cannot allocate memorydpkg: error while cleaning up: fork failed: Cannot allocate memorydpkg: error while cleaning up: fork failed: Cannot allocate memoryErrors were encountered while processing: /var/cache/apt/archives/gparted_0.2.5-1.1ubuntu11_i386.debProcessing was halted because there were too many errors.Running prelink, please wait...E: Sub-process /usr/bin/dpkg returned an error code (1)erkkimon@mauri-pentti ~ $
erkkimon@mauri-pentti ~ $ sudo apt-get -f remove gpartedReading package lists... DoneBuilding dependency tree Reading state information... DoneThe following packages were automatically installed and are no longer required: acroread-escript libatk1.0-dev libglib2.0-dev x11proto-xinerama-dev libpango1.0-dev gparted x11proto-render-dev libxrender-dev libcairo2-dev libpng12-dev libfontconfig1-dev libxcursor-dev x11proto-randr-dev libgtk2.0-dev libfreetype6-dev x11proto-fixes-dev libxrandr-dev libexpat1-dev libxft-dev libxfixes-dev libxinerama-devUse 'apt-get autoremove' to remove them.The following packages will be REMOVED: gparted0 upgraded, 0 newly installed, 1 to remove and 41 not upgraded.1 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]? ydpkg: error processing gparted (--remove): Package is in a very bad inconsistent state - you should reinstall it before attempting a removal.terminate called after throwing an instance of 'std::logic_error' what(): basic_string::_S_construct NULL not validErrors were encountered while processing: gpartedAborted (core dumped)erkkimon@mauri-pentti ~ $
sudo apt-get clean
sudo apt-get install --reinstall gparted