TUXEDO InfinityBook Pro 14 v5 : Migration de Ubuntu 18.04 vers Ubuntu 20.04

Avant la migration j’avais ceci comme kernel:

Linux CYBERNEURONES 5.4.0-64-generic #72~18.04.1-Ubuntu SMP Fri Jan 15 14:06:34 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

Début de la migration vers 10h18:

$ head /var/log/dist-upgrade/main.log
2021-01-28 10:18:23,079 INFO Using config files '['./DistUpgrade.cfg.bionic', '/etc/update-manager/release-upgrades.d/opera-stable.cfg']'
2021-01-28 10:18:23,079 INFO uname information: 'Linux CYBERNEURONES 5.4.0-64-generic #72~18.04.1-Ubuntu SMP Fri Jan 15 14:06:34 UTC 2021 x86_64'
2021-01-28 10:18:23,604 INFO apt version: '1.6.12ubuntu0.2'
2021-01-28 10:18:23,604 INFO python version: '3.6.9 (default, Oct  8 2020, 12:12:24) 
[GCC 8.4.0]'
2021-01-28 10:18:23,609 INFO release-upgrader version '20.04.29' started
2021-01-28 10:18:23,670 INFO locale: 'fr_FR' 'UTF-8'
2021-01-28 10:18:23,857 DEBUG Using 'DistUpgradeViewGtk3' view
2021-01-28 10:18:23,900 DEBUG enable dpkg --force-overwrite
2021-01-28 10:18:23,915 DEBUG creating statefile: '/var/log/dist-upgrade/apt-clone_system_state.tar.gz'

Fin de l’installation vers 13h18:

# ls -l /var/log/dist-upgrade/
total 7080
drwxr-xr-x 2 root root    4096 janv. 28 10:18 20210128-1018
-rw------- 1 root root 1158915 janv. 28 10:18 apt-clone_system_state.tar.gz
-rw-r--r-- 1 root root 4201420 janv. 28 13:17 apt.log
-rw-r----- 1 root adm  1025950 janv. 28 13:10 apt-term.log
-rw-r--r-- 1 root root  209716 janv. 28 10:57 eipp.log.xz
-rw-r--r-- 1 root root  394960 janv. 28 13:10 history.log
-rw-r--r-- 1 root root    2081 janv. 28 10:18 lspci.txt
-rw-r--r-- 1 root root  228804 janv. 28 13:18 main.log
-rw-r--r-- 1 root root       0 avril  5  2020 main.log.partial
-rw-r--r-- 1 root root       0 janv. 28 10:18 term.log

Quelques captures d’écrans :

A suivre, mais maintenant j’ai la dernière version de VirtualBox 6.1 .

Ubuntu : Crash de update-manager

J’avais donc des crash de update-manage, j’ai donc utilisé plusieurs méthodes vu sur Google.

Voici le crash que j’avais :

$ update-manager 
Traceback (most recent call last):
  File "/usr/bin/update-manager", line 28, in 
    import gi
  File "/usr/lib/python3/dist-packages/gi/__init__.py", line 42, in 
    from . import _gi
ImportError: cannot import name '_gi' from partially initialized module 'gi' (most likely due to a circular import) (/usr/lib/python3/dist-packages/gi/__init__.py)

$ cd /usr/lib/python3/dist-packages/gi/
/usr/lib/python3/dist-packages/gi$ ls *.so
_gi_cairo.cpython-36m-x86_64-linux-gnu.so
_gi.cpython-36m-x86_64-linux-gnu.so
_gi.cpython-37m-x86_64-linux-gnu.so

Solution 1 :

$ sudo apt-get install --reinstall dbus python-dbus python3-dbus

=> Echec.

Solution 2 :

$ sudo apt purge update-manager && sudo apt install update-manager

=> Echec.

Solution 3 :

$ sudo rm  /usr/bin/python3
$ sudo ln -s /usr/bin/python3.6 /usr/bin/python3

Avant j’avais (python3 -> python3.8) et maintenant j’ai (python3 -> python3.6)

==> Réussite (partielle).

$ update-manager 
WARNING:root:can not import unity GI Namespace Dbusmenu not available
Gtk-Message: 09:25:18.817: GtkDialog mapped without a transient parent. This is discouraged.
debconf: DbDriver "passwords" warning: could not open /var/cache/debconf/passwords.dat: Permission denied
Use of uninitialized value $template in exists at /usr/share/perl5/Debconf/Template.pm line 86, <> line 9.
Use of uninitialized value $item in exists at /usr/share/perl5/Debconf/DbDriver/Cache.pm line 40, <> line 9.
Use of uninitialized value $item in exists at /usr/share/perl5/Debconf/DbDriver/Cache.pm line 40, <> line 9.
Use of uninitialized value $template in exists at /usr/share/perl5/Debconf/Template.pm line 86, <> line 21.
Use of uninitialized value $item in exists at /usr/share/perl5/Debconf/DbDriver/Cache.pm line 40, <> line 21.
Use of uninitialized value $item in exists at /usr/share/perl5/Debconf/DbDriver/Cache.pm line 40, <> line 21.
Use of uninitialized value $template in exists at /usr/share/perl5/Debconf/Template.pm line 86, <> line 25.
Use of uninitialized value $item in exists at /usr/share/perl5/Debconf/DbDriver/Cache.pm line 40, <> line 25.
Use of uninitialized value $item in exists at /usr/share/perl5/Debconf/DbDriver/Cache.pm line 40, <> line 25.
debconf: DbDriver "passwords" warning: could not open /var/cache/debconf/passwords.dat: Permission denied
Use of uninitialized value $template in exists at /usr/share/perl5/Debconf/Template.pm line 86, <> line 12.
Use of uninitialized value $item in exists at /usr/share/perl5/Debconf/DbDriver/Cache.pm line 40, <> line 12.
Use of uninitialized value $item in exists at /usr/share/perl5/Debconf/DbDriver/Cache.pm line 40, <> line 12.
Use of uninitialized value $template in exists at /usr/share/perl5/Debconf/Template.pm line 86, <> line 16.
Use of uninitialized value $item in exists at /usr/share/perl5/Debconf/DbDriver/Cache.pm line 40, <> line 16.
Use of uninitialized value $item in exists at /usr/share/perl5/Debconf/DbDriver/Cache.pm line 40, <> line 16.
debconf: DbDriver "passwords" warning: could not open /var/cache/debconf/passwords.dat: Permission denied
debconf: DbDriver "passwords" warning: could not open /var/cache/debconf/passwords.dat: Permission denied
debconf: DbDriver "passwords" warning: could not open /var/cache/debconf/passwords.dat: Permission denied
...

Ubuntu : Itunes via Wine : rien de bon …

J’ai essayé l’installation de iTunes avec Wine sous Ubuntu.

Les versions :

J’ai eu une seule erreur, c’est lors de l’installation des fonts. Pour la fixer j’ai du faire la modification du checkum. L’erreur c’était : sha256sum mismatch! Rename .cache/winetricks/PowerPointViewer/PowerPointViewer.exe and try again.

sudo sed -i -e s/249473568eba7a1e4f95498acba594e0f42e6581add4dead70c1dfb908a09423/e17cb384eeac4caf08a4f5d4bceb9697fff83fa942d2a3d9ad0294a9b1774390/g /usr/bin/winetricks

L’installation des fonts :

sudo apt install winetricks
winetricks allfonts

Sachant que l’installation suivante permet d’eviter des problèmes de checksum :

sudo apt-get remove winetricks
wget  https://raw.githubusercontent.com/Winetricks/winetricks/master/src/winetricks
chmod +x winetricks 
sudo mv -v winetricks /usr/bin

L’espace que cela prend sur le disque :

$ du -sh .cache/winetricks/
350M .cache/winetricks/
$ du -sh .wine/
1,9G .wine/

Quand je lance iTunes j’ai un joli carré noir :

Bref c’est pas le top. J’ai donc lancé winecfg pour modifier et passer de Windows 7 à Windows XP.

Avec Windows XP pas de lancement de iTunes, j’ai donc mis Windows 8.1 et Windows 10 (toujours noir).

Ensuite j’ai essayé de mettre Steam :

Crash …

Ubuntu : ntfsfix ( chkdsk sous Windows) pour fixer les problèmes NFTS sous Ubuntu.

Voici un petit exemple pour fixer les problèmes NTFS sous Ubuntu :

$ sudo mount /dev/sdc2 /media/usb-drive/
$MFTMirr does not match $MFT (record 0).
Failed to mount '/dev/sdc2': Input/output error
NTFS is either inconsistent, or there is a hardware fault, or it's a
SoftRAID/FakeRAID hardware. In the first case run chkdsk /f on Windows
then reboot into Windows twice. The usage of the /f parameter is very
important! If the device is a SoftRAID/FakeRAID then first activate
it and mount a different device under the /dev/mapper/ directory, (e.g.
/dev/mapper/nvidia_eahaabcc1). Please see the 'dmraid' documentation
for more details.
$ sudo ntfsfix /dev/sdc2
Mounting volume... $MFTMirr does not match $MFT (record 0).
FAILED
Attempting to correct errors... 
Processing $MFT and $MFTMirr...
Reading $MFT... OK
Reading $MFTMirr... OK
Comparing $MFTMirr to $MFT... FAILED
Correcting differences in $MFTMirr record 0...OK
Processing of $MFT and $MFTMirr completed successfully.
Setting required flags on partition... OK
Going to empty the journal ($LogFile)... OK
Checking the alternate boot sector... OK
NTFS volume version is 3.1.
NTFS partition /dev/sdc2 was processed successfully.
$ sudo mount /dev/sdc2 /media/usb-drive/
$