Přeskočit na obsah

Xubuntu/Kychot

Z Wikiverzity

Xubuntu/Kychot

Lenovo ThinkPad X280:

Balíky

[editovat]

2021-08-03

[editovat]
File system check of the root filesystem failed
The root filesystem on /dev/nvme0n1p6 requires a manual fsck

2021-08-05

[editovat]
  • Nabootuji LMDE 2 Betsy (Linux Mint Debian Edition 2, rok 2015) z partition p7
e2fsck /dev/nvme0n1p6
  e2fsck 1.42.12 nepodporovan8 vlastnost multi....

2021-08-05

[editovat]

Instalace

[editovat]
  • stahnu obraz
  • LMDE 2 Betsy - vytvoreni bootovaciho USB disku na Kingston DT Micro
  • F12 - volba bootovani
  • instaluji
  • na volnem miste 71639 MB vytvorim prtitions ext4:
    • /dev/nvme0n1p9 35819 MB /DATA35 (33.36 GiB)
    • /dev/nvme0n1p10 35820 MB / (33.36 GiB)
  • hlasi chybu disku - z hlasky neni jasne, jestli ciloveho anebo USB s obrazem

Oprava /dev/nvme0n1p6

[editovat]
  • partition size 22.13 GiB
  • Tady mám už několik let nainstalováno Xubuntu, nyní 18.04

Jedu tedy z live systemu

/cow on / type overlay (rw,relatime,lowerdir=/filesystem.squashfs,upperdir=/cow/upper,workdir=/cow/work)

w: Overlay filesystem

e2fsck /dev/nvme0n1p6
e2fsck 1.45.5 (07-Jan-2020)
/dev/nvme0n1p6 contains a file system with errors, check forced.
Pass 1: Checking inodes, blocks, and sizes
Inodes that were part of a corrupted orphan linked list found.  Fix<y>? yes
Inode 14 was part of the orphaned inode list.  FIXED.
Deleted inode 55 has zero dtime.  Fix<y>? yes
Inode 58 was part of the orphaned inode list.  FIXED.
Inode 59 was part of the orphaned inode list.  FIXED.
Inode 61 was part of the orphaned inode list.  FIXED.
Inode 62 was part of the orphaned inode list.  FIXED.
Inode 78 was part of the orphaned inode list.  FIXED.
Inode 1044548 was part of the orphaned inode list.  FIXED.
Inode 1044844 was part of the orphaned inode list.  FIXED.
Inode 1044989 was part of the orphaned inode list.  FIXED.
Inode 1047167 was part of the orphaned inode list.  FIXED.
Inode 1048314 extent tree (at level 1) could be shorter.  Optimize<y>? yes
Pass 1E: Optimizing extent trees
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information
Block bitmap differences:  -(642189--642193) -(3859569--3859573) -(4260035--4260039) -(4260120--4260124)
Fix<y>? yes
Free blocks count wrong for group #19 (131, counted=136).
Fix<y>? yes
Free blocks count wrong for group #117 (2045, counted=2050).
Fix<y>? yes
Free blocks count wrong for group #130 (9004, counted=9014).
Fix<y>? yes
Free blocks count wrong (614619, counted=614639).
Fix<y>? yes
Inode bitmap differences:  -14 -55 -(58--59) -(61--62) -78 -1044548 -1044844 -1044989 -1047167
Fix<y>? yes
Free inodes count wrong for group #0 (4530, counted=4537).
Fix ('a' enables 'yes' to all) <y>? yes
Free inodes count wrong for group #128 (166, counted=170).
Fix ('a' enables 'yes' to all) <y>? yes
Free inodes count wrong (1009586, counted=1009597).
Fix ('a' enables 'yes' to all) <y>? yes

/dev/nvme0n1p6: ***** FILE SYSTEM WAS MODIFIED *****
/dev/nvme0n1p6: 442883/1452480 files (0.9% non-contiguous), 5186321/5800960 blocks

2026-03-17

[editovat]

Po pěti a půl letech se konečně odhodlávám k upgrade

Čistím root – např. přesun 1.8 GB cookies:

ln -s /DATA35/home/petr/.mozilla/firefox/w3k8oqvj.nvme0n1p6/storage/default default

Nyní:

df -hl -x squashfs -x tmpfs -x devtmpfs
Souborový systém Velikost Užito Volno Uži% Připojeno do
/dev/nvme0n1p10       33G   25G  6,3G  80% /
/dev/nvme0n1p9        33G   28G  3,3G  90% /DATA35
/dev/nvme0n1p1       256M   36M  221M  14% /boot/efi
/dev/nvme0n1p7        22G   20G  829M  97% /nvme0n1p7
/dev/sdb1            367G  239G  129G  65% /media/petr/SDXC1
/dev/sda1            466G  454G   12G  98% /media/petr/SAM1
/dev/nvme0n1p3       118G  109G  9,9G  92% /media/petr/Windows
/dev/nvme0n1p6        22G   20G  800M  97% /media/petr/XENIAL_24G
/dev/nvme0n1p8       999M   11M  989M   2% /media/petr/Namísto Win RE (D:)
/dev/sda2            458G  426G  9,0G  98% /media/petr/SAM2
/dev/sdc1            120G   93G   28G  78% /media/petr/SAMSUNGUSB2

Tak uvidím, jestli 6.3 volných GB na / postačí k upgrade.

Nastavení -> Software a aktualizace – tady se to jen nastavuje

Nastavení -> Správce aktualizací – Stahování o zdroji selhalo

Google chrome stable – to chce každou chvilku

Dřív se mě to dycky ptalo, jestli chci přejít na vyšší verzi – teď už nic

Konečně:

Je k dispozici Ubuntu 22.04.5 LTS (máte 20.04)
[Přechod na novější verzi]

Odkliknu a čekám a furt nic. Konečně:

Pro povýšení systému musíte autorizovat:
Heslo:
Akce: com.ubuntu.release-upgrader.release-upgrade
Dodavatel: Ubuntu
[Ověřit]
ps auxwf
root      186002  0.0  0.0 241064  7040 ?        Ssl  13:45   0:00 /usr/libexec/ubuntu-advantage-desktop-daemon
root      186100  0.9  1.7 233528 136236 ?       SNl  13:47   0:03 /usr/bin/python3 /usr/sbin/aptd
root      187717  0.0  0.2 287376 15956 ?        Ssl  13:47   0:00 /usr/lib/packagekit/packagekitd
...
root      186100  0.4  1.7 233528 136236 ?       SNl  13:47   0:03 /usr/bin/python3 /usr/sbin/aptd

... Zase dlouho nic. Je 13:58 a furt nic není vidět

Na rootu ubylo 200 MB. Něco to asi dělá, ale nic to neříká, černá obrazovka :-(

root 185854 0.0 0.4 58036 33472 ? S 13:45 0:00 python3 /usr/lib/software-properties/software-properties-dbus root 186002 0.0 0.0 241064 7040 ? Ssl 13:45 0:00 /usr/libexec/ubuntu-advantage-desktop-daemon root 186100 0.4 1.7 233528 136236 ? SNl 13:47 0:03 /usr/bin/python3 /usr/sbin/aptd

Cituji:

Upgrading to Xubuntu 22.04

You can easily upgrade over the network with the following procedure. Upgrades from Xubuntu 20.04 or 21.10 are supported. For all other Ubuntu systems, please read JammyUpgrades on ubuntu.com.

  • Run the update-manager application;
  • In Update Manager, click the Settings… button, and enter your password to start the Software Sources application.
  • Select the sub menu Updates from the Software Sources application.
  • Confirm the “Notify me of a new Ubuntu version:” option is set to “For any new version” if you are using 21.10 or to “For long-term support versions” if you are using 20.04 LTS. If it is not set properly modify it to the appropriate option.
  • Close the Software Sources application and return to Update Manager.
  • In Update Manager, click the Check button to check for new updates.
  • If there are any updates to install, use the Install Updates button to install them, then exit.
  • In a terminal run ‘‘update-manager -c -d’’.
  • A message will appear informing you of the availability of the new release.
  • Click Upgrade.
  • Follow the on-screen instructions.

Balíky

[editovat]

Kolik mám nainstalovaných balíků?

  • 2638 dpkg --get-selections | wc
  • 2639 apt list --installed | wc
  • 2638 (2644-6) dpkg -l | wc
  • dtto dpkg-query -l